cancel
Showing results for 
Search instead for 
Did you mean: 

Adaptive RFC import

Former Member
0 Kudos

Hi ,

I am importing certain ZBAPI's using an adaptive RFC model . I am able to import the model and have done all the bindings and context mapping as well.

When i try to instantiate the bapi , it is giving me a null pointer exception. That is suppose i have a zbapi called "zbapi_get_order"

then i am trying to instantiate the BAPI as foloows:

zbapi_get_order order = new zbapi_get_order().

This statement alone is throwing a null pointer exception.

Kindly let me know the solution to the problem.

Regards,

Madhu.

View Entire Topic
Former Member
0 Kudos

Right now your module in ABAP is only a Functional Module.

You have to mark it as "Remote Enabled" in order to access it remotely, only then it will become a Remote Function Module.

Follow the steps suggested by Poojith.