Skip to Content
0
Former Member
Mar 05, 2009 at 08:25 PM

Calling a BAPI from outside world Vs from a se38 program

183 Views

Hello SAP gurus,

We are trying to call BAPI_SALESORDER_GETLIST from our product. We are sending the mandatory Parameters which are customer_number (10Characters) padded with right number of zeros and sales_organization (4Characters).

For some reason every time it fails when called from our non sap program with a message data not found. I tried to put a external break point and noticed that both varialbles customer_number and sales_organization sent from our program are Showing the right values. But still in the end it says data not found.

However, I wrote a short program (SE38) and called the same BAPI with the same parameter values and it works from inside SE38. It lists the records that satisfies the condition.

So I am wondering why the same bapi behaves differently when called from SE38 Vs calling from outside world.

I would appreciate anybody can please let us know.

Thanks in advance

Ram

Edited by: Ram Prasad on Mar 5, 2009 9:28 PM