Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RFC BAPI call vs. SE37 execute process differently

Former Member
0 Kudos

I can execute BAPI_PO_CREATE1 using SE37, put a negative value in on the POCOND table, COND_VALUE field, and I get my PO created with a negative discount amount condition record. Yet, when it is called from XI, only a positive value is passed in to the created PO.

While processing goods receipts, I have differences in processing as well.

Are there some flags that need to be set/changed, so that I can call a BAPI remotely and have it process the same way as SE37?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I dont think there is a flag to specify this!

Did you check your XML-mapping with XI? The problem could very well be in the XI side!

3 REPLIES 3

suresh_datti
Active Contributor
0 Kudos

Hi,

Are you putting the sign in front while calling from XI?

there are no separate flags in the code that would make it drop the sign..

Regards,

Suresh Datti

Former Member
0 Kudos

I dont think there is a flag to specify this!

Did you check your XML-mapping with XI? The problem could very well be in the XI side!

Former Member
0 Kudos

No, it is not an XI problem. I've put error log write statements in, the values are negative before the call to BAPI_PO_CREATE1 and BAPI_PO_CHANGE. But, are positive when returning from them.