‎2013 Apr 03 9:30 AM
Hi SAP All,
I have to use the BAPI BAPI_REQUISITION_DELETE to delete the Purchase requisitions line item wise.
I have get the data in the program from Excel file in which mention PR No. and PR Line Item No. only.
then showing error message
*******
E:W5024No purchase req:000
Message no. W5024No purchase req000
*********
guide me........
‎2013 Apr 03 9:46 AM
Hi Saurabh,
Please check the format of the purchase order number and the line items. Before sending the data to the BAPI, use the internal conversion routine to add preceding zeros to Item Number and purchase order.
Also make sure update the TABLES REQUISITION_ITEMS_TO_DELETE within the FM with the line items and set the deletion indicator or close indicator.
You may need to use the BAPI COMMIT after the using this BAPI.
Cheers
~Niranjan
‎2013 Apr 03 9:46 AM
Hi Saurabh,
Please check the format of the purchase order number and the line items. Before sending the data to the BAPI, use the internal conversion routine to add preceding zeros to Item Number and purchase order.
Also make sure update the TABLES REQUISITION_ITEMS_TO_DELETE within the FM with the line items and set the deletion indicator or close indicator.
You may need to use the BAPI COMMIT after the using this BAPI.
Cheers
~Niranjan
‎2013 Apr 03 10:04 AM
HI Saurabh,
I Agree with niranjan! But just to add to that. Since you are importing the data from the excel file pleas check whether the mapping in between the excel file to the internal table is Proper.
Even though u might have mapped he proper field of the internal table to the BAPI parameter, the Excel import may not be mapped Properly!! Do tell if this worked for YOU.