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.