Quantcast
Channel: SCN : Discussion List - Business Server Pages (BSP)
Viewing all articles
Browse latest Browse all 237

BSP - 500 Internal Server Error Access via 'NULL' object reference not possible.

$
0
0

Hello Colleagues, I'm new to BSP maybe someone could help me.

I’m taking data from a DB table through select an put them into htmlb tables. 

 

The layout looks like:

 

<htmlb:tableViewColumn columnName="PK_Terms"

<%--wrapping="true"--%>

width="50"

horizontalAlignment = "center"

verticalAlignment = "middle"

fixedColumn="true">

&lt;/htmlb:tableViewColumn>

 

 

 

After I select the vendor (first table), another table appears with additional Info (see screenshot). I've set the the visible row count to 10 and the data appears without errors, but when I click the next page button or type  page number to see the next 10 rows, following error message appears:

 

 

The ABAP call hierarchy was:
Method: _ONINPUTPROCESSING of program CL_O2DH4AGZFD1H3VPXDQ9541G8559CP
Method: %_ONINPUTPROCESSING of program CL_O2DH4AGZFD1H3VPXDQ9541G8559CP
Method: DO_REQUEST of program CL_BSP_PAGE===================CP
Method: ON_REQUEST of program CL_BSP_RUNTIME================CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP



My select statement:

 

if tv_data->row_key is not initial.

select ekko~lifnr ekko~ekorg as po ekpo~netwr as netwr ekko~bukrs as cc

ekpo~ebeln    from ekpo join ekko on ekpo~ebeln eq ekko~ebeln
into corresponding fields of table lt_ek1
where lifnr eq tv_data->row_key
.

 

Whats wrong ?


Viewing all articles
Browse latest Browse all 237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>