2008 Jun 12 3:58 PM
Hi
I am using L_TO_CREATE_SINGLE to create a transfer order.
after execution a TO is created and database tables are updated. i want to stop this updation until some time( like i should show a TO data on a custom screen before and on that screen if user press ok then updation should take place.
Please help as this is a very urgent requirement.
atleast share your idea.
thanks
regards
vamsi.
2008 Jun 12 4:01 PM
L_TO_CREATE_SINGLE is a BAPI and the Changes will be updated when you are going to call the FM BAPI_TRANSACTION_COMMIT. So Call the Commit only after the User presses OK.
Hi
I am using L_TO_CREATE_SINGLE to create a transfer order.
after execution a TO is created and database tables are updated. i want to stop this updation until some time( like i should show a TO data on a custom screen before and on that screen if user press ok then updation should take place.
Please help as this is a very urgent requirement.
atleast share your idea.
thanks
regards
vamsi.
2008 Jun 12 4:01 PM
L_TO_CREATE_SINGLE is a BAPI and the Changes will be updated when you are going to call the FM BAPI_TRANSACTION_COMMIT. So Call the Commit only after the User presses OK.
2008 Jun 12 4:34 PM
Thank you for your response.
can you clearly explain what you wrote.
i dont understand that.
where to use commit and how.
thanks
2008 Jun 12 5:08 PM
Hi ..
I mean that you are creating the TO Via this FM. Once you have processed the FM, then dont do commit work. Do the custom screen and once the user says yes then you do Commit work.
FM Call for TO -
> Display Screen -
> User Confirmation -
> Commit via FM or normally.
Regards
Saket Sharma
2008 Jun 12 8:11 PM
Thanks buddy.
It almost solved the issue.
very foolish i might have gone through FM document.
any way thanks.
vamsi.
2008 Jun 13 8:14 AM
Hi,
When I tried to update it gives back a error. ans data is not updated.
2008 Jun 13 8:44 AM
2008 Jun 13 10:15 AM
Hi
If user wish to change the data on the screen and press save the previous data must be refreshed and a new TO should be created. but now once the second TO is created and updated the first TO is also updated.
2008 Jun 13 10:20 AM
Try using BAPI_TRANSACTION_ROLLBACK in between if the data is changed by user intervention.
and again u call ur TO creation FM with the new data and call the commit FM.
Hope this will help u!!
2008 Jun 13 10:59 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |