cancel
Showing results for 
Search instead for 
Did you mean: 

bapi_po_change issue in looping when mass deleting the BOM components

mayukki
Discoverer
0 Kudos
109

Hello everyone, I'm having a problem when using the BAPI_PO_CHANGE when deleting the BOM components inside the loop. the first line is deleted but when the second line hits, it says "no data changed". can anybody know what is the problem? I'm stuck on this one.  If there is a solution, may I know how? 

View Entire Topic
Savio_Dmello
Active Participant
0 Kudos

Did you analyze the RETURN table from BAPI_PO_CHANGE to identify any specific errors or warnings related to the deletion process.

Make sure that you are providing the correct key fields in the PO_ITEM and PO_ITEM_EXT structures. For deleting an item, you need to specify the item number and the appropriate fields.

mayukki
Discoverer
0 Kudos
Thank you for reply. But the main objective is delete all BOM components under 1 item but when I used the BAPI_PO_CHANGE first component is deleted but when hits the second component to delete , it always returned "NO CHANGED"