Application Development 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: 

Problem while using BAPI_REQUISITION_DELETE

Former Member
0 Kudos

Dear All,

I am using BAPI_REQUISITION_DELETE to delete items from purchase requisition. I am uploading PR number and item number from an excel sheet. It is working fine when I am passing only one item for one PR, but in case of more than one item from single PR it is deleteing the first line item but giving error 'User already processing Purch. Requisition ' for other line items.

I have use commit and wait but it is not working.

Please suggest.

Thanks ,

Salman Zahir

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Are you populating REQUISITION_ITEMS_TO_DELETE in one shot (all the items) or you are one item at a time

Regards

Hiren K.Chitalia

6 REPLIES 6

Former Member
0 Kudos

Hi,

Are you populating REQUISITION_ITEMS_TO_DELETE in one shot (all the items) or you are one item at a time

Regards

Hiren K.Chitalia

0 Kudos

Hi Hiren,

I am putting BAPI_REQUISITION_DELETE in loop and providing one line item at a time , but let me try as per your suggestion by giving all the line items in one go.

Thanks,

Salman Zahir

0 Kudos

This message was moderated.

0 Kudos

Thanks Hiren, it worked .

0 Kudos

This message was moderated.

anilplacer
Discoverer
0 Kudos

Hi,

you need to add your FM in LOOP, because same program I have done.

for more information you can send your current program, then I'll solve and revert.

 

Regards,

Anil Kumar