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_RESERVATION_CREATE1

Former Member
0 Likes
1,265

Hi guys,

We developed a custom program that creates material reservation using BAPI_RESERVATION_CREATE1. Upon program execution, reservations are successfully created for each material we specified. However, upon viewing the Stock Requirements List for of the material (TX MD07), the reservation created via the custom program does not reflect on this transaction. Does anyone have an issue similar to this? Any help on this matter will be highly appreciated. Thanks!

5 REPLIES 5
Read only

Former Member
0 Likes
1,027

Dear,

I think you forgot to commit your work.

Use BAPI.COMMIT function module.

Then it will reflect in the stock also..

Regards,

Vikas Madaan

Read only

0 Likes
1,027

There is actually a bapi commit.

Read only

0 Likes
1,027

Hi Imelda,

1. use FM

DATA : ret LIKE bapiret2 OCCURS 0 WITH HEADER LINE.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'

IMPORTING

return = ret.

regards,

amit m.

Read only

0 Likes
1,027

Hi amit m,

That is exactly the same code I'm using....

Message was edited by: Imelda Nachor

Read only

Former Member
0 Likes
1,027

hi imelda nachor ,

Are u able to solve the problem , i am also facing same problem in network confirmation please send me the solution to meetsridhar76@yahoo.com