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

BAPI BAPI_AGREEMENT_MAINTAIN for uploading SA data

Former Member
0 Likes
445

HI All,

I am trying to upload the new prices of the SA line items with individual pricing conditions with the same effective date.

I am using the BAPI 'BAPI_AGREEMENT_MAINTAIN' to change the price. But, seems like the BAPI is not working? I have added all the fields in the header and item structures, sy-subrc shows 0 after the FM, but it does not upload the SA line item with hte new price.

Please advice!

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
375

BAPIs should always show a 0 return code. Have you looked at the RETURN table?

Rob

2 REPLIES 2
Read only

Former Member
0 Likes
376

BAPIs should always show a 0 return code. Have you looked at the RETURN table?

Rob

Read only

0 Likes
375

Yes, I looked at the return table, and there are no errors in there.