Application Development and Automation 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: 
Read only

RFC BAPI call vs. SE37 execute process differently

Former Member
0 Kudos
202

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
Read only

Former Member
0 Kudos
146

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
Read only

suresh_datti
Active Contributor
0 Kudos
146

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

Read only

Former Member
0 Kudos
147

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!

Read only

Former Member
0 Kudos
146

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.