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

Error in BAPI_REQUISITION_CHANGE

Former Member
0 Likes
410

Hi All,

I have encountered the following when I am trying to change the PR using the BAPI_REQUISITION_CHANGE.

I have entered all the required data in the old and new items. When i executed it, it gave an error 'Please enter valid release date'.

I have entered the valid date only. Anyway, I have put the date properly in both old and new items and executed it again. Now, the error is, 'old data does not correspond to the database data'.

I am facing this problem only for one PR.

Did anyone faced this kind of error?

Please suggest.

Regards,

Adapala M.

2 REPLIES 2
Read only

Former Member
0 Likes
361

hi

try this BAPI_PR_CHANGE and after this BAPI add this function call:

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'.

hope this helps

regards

Aakash Banga

Read only

john_pawski
Participant
0 Likes
361

I am also getting a similar message when using BAPI_REQUISTION_CHANGE, please let me know if you found a successful work around for your issue.

Thanks