Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Webservice end up in Access via 'NULL' object reference not possible error

Hello everyone,

I have a particular issue when I run a webservice on webclient but when i run on sap R/3 it works fine.

The dump which it give when I test the web service is

Short text

Access via 'NULL' object reference not possible.

What happened?

Error in the ABAP Application Program

The current ABAP program "RPCTRSU0" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

The code where it ends up in error is

2607 data: l_wb_interface type ref to fp_wb_interface.

2609 data: p_interface_data type ref to

fb_interface_data.

2610 data: l_interface TYPE REF TO

if_fp_interface.

2611 data: l_exceptions type ref to cx_root.

2613 data: l_parameters type ref to

if_fp_parameters,

2614 l_parameter_table type tfpiopar.

2615 data: l_fpintf_name type fpname.

2616 data: wa_dd03p type dd03p,

2617 DD40V_WA type dd40v.

2618 data: l_intf_imp_item type line of tfpiopar.

2620 l_fpintf_name = i51t8_adb_fpint.

2621 TRY.

2622 l_wb_interface = cl_fp_wb_interface=>load(

2623 i_name = l_fpintf_name

2624 i_mode =

if_fp_wb_object=>c_mode_read

2626 i_language = sy-langu

2627 ).

2628 CATCH cx_fp_api_usage into l_exceptions.

2629 * RAISE error.

2630 CATCH cx_fp_api_repository into l_exceptions.

2631 * RAISE error.

2632 CATCH cx_fp_api_internal into l_exceptions.

2633 * RAISE error.

2634 ENDTRY.

2635

>>>>> l_interface ?= l_wb_interface->get_object

( ).

2637 p_interface_data = l_interface->get_interface_data( ).

2638 l_parameters = p_interface_data->get_parameters( ).

Please let me know how to go about twith this error

Regards,

Raj

Former Member
Not what you were looking for? View more on this topic or Ask a question