Skip to Content

BAPI Reservation and PR issue


I have created a reservation and purchase requisition(PR) with reference to the reservation. In my program I am changing the quantity where in both the reservation and PR should be updated. I am using BAPI_RESERVATION_CHANGE and BAPI_PR_CHANGE for the same and using the BAPI_TRANSACTION_COMMIT individually for both.

For example:

BAPI_RESERVATION_CHANGE , BAPI_TRANSACTION_COMMIT, when I check the RESB table the values are changed and then BAPI_PR_CHANGE is executed. TIll this time the RESB table has the changes but as soon as the BAPI_TRANSACTION_COMMIT is triggered for PR change then the record for the reservation from RESB is getting deleted. The return paramater of the PR says PR changed and EBAN is also updated with the changes.

My problem is the record getting deleted for Reservation in RESB table.

Any suggestion/solution for this issue.

Thanks in advance.



Edited by: Shakeel on Aug 5, 2010 10:36 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 08, 2010 at 05:07 AM

    Issue resolved.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Shakeel,

      Plz let me know how to delete the open reservations in the system by using the BAPIs.And will these deletion takes place permanantly from the system or any deletion kind of mark will be there? Since my reservation is haviuing 10 materials against one particular reservation number .in that only 2-3 materials are issued remaining are not (ie open).Now if I delete them by the std process total res.number is getting where we dont havethe track of the goods recieved materails against that paticular reser.num. For this I want to develop a BAPI which will keep closed reservations and delete them.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.