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

Problem in updating the GR processing time using BAPI 'BAPI_SAG_CHANGE'

Former Member
0 Likes
678

Hi,

I am using the BAPI 'BAPI_SAG_CHANGE' for uopdating the GR processing time(BAPIMEOUTITEM-GR_PR_TIME) of the scheduling agreements.

Issue: when there is no value maintained for GR processing time for a particular scheduling agreemnet the BAPI updates the GR processing time successfully but when there is some value already existing for a particular scheculing agreement then the BAPI does not update this field eventhough the return parameter shows the message 'successfully updated'.

Can somebody suggest what could be the reason.

OR

Is there any other way/FM to update the scheduling agreements.

Thanks,

Ravindra

2 REPLIES 2
Read only

Former Member
0 Likes
517

This appears to be old-style BAPI, with ....X tables. Did you populate the field in the X version of the outitem for the column(s) to be changed? Did you call the COMMIT bapi after the update?

Read only

0 Likes
517

Yes, I am doing both: passing 'X' and using the commit BAPI.