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

using FM BAPI_REQUISITION_DELETE

Former Member
0 Likes
980

Hi All,

I have a requirement where i should delete the purchase requisition, this deletion is needs to be done in a function exit, but this exit called in UPDATE . Problem is for FM 'BAPI_REQUISITION_DELETE' there is no need for explicit commit.

As the function exit called in update mode, we cant do commit in the function exit, when i used this function module i am getting an error in my work place as "Update was terminated" . Can anybody have ideas how to deal with this type of situations.

3 REPLIES 3
Read only

Former Member
0 Likes
577

what is the need of calling this BAPI in useer Exit ? u cannt do 2 thing @ the same time.

<b>then y u are using BAPI ? u can also use commands like</b> <b>Delete ztable where pr = migo-pr</b>

Regards

Prabhu

Message was edited by:

Prabhu Peram

Read only

0 Likes
577

Hi Prabhu,

When the goods issue happens(through MIGO transaction) based on some conditions

1. i have to create PR & create an entry in Z table

2. I need to delete the PR which was saved in the Z table

Read only

Former Member
0 Likes
577

Alternative option is used