‎2008 Jun 29 7:38 AM
Dear Gurus,
To do delivery with reference to saleorder i m using bapi BAPI_DELIVERYPROCESSING_EXEC which is working fine if there is a single line item in salesorder.
But If i want to do delivery for multiple line items of particular sales order and when i m using the above bapi it is creating delivery document with only one line item of particular salesorder..i need the delivery document with all items which are there in salesorder...please helpme out in this..
Thanks in advance
Raj
‎2008 Jun 30 7:06 AM
Hi Raj,
try to populate the Item values into an internal table, then using workarea for each item call this BAPI FM by looping this internal table.
Reward if helpful.
Regards
Chandralekha
‎2008 Jun 29 11:08 AM
‎2008 Jun 30 7:06 AM
Hi Raj,
try to populate the Item values into an internal table, then using workarea for each item call this BAPI FM by looping this internal table.
Reward if helpful.
Regards
Chandralekha
‎2008 Jun 30 7:16 AM
Hi Lekha,
Thanks for your reply,
when i have loop that bapi it is creating one delivery number for each line item of sales order i want to have only one delivery number with respect to particular sales order...
‎2008 Jun 30 8:01 AM
Hi Raj ,
what ID u are maintaining for Multiple items of the Sales Orders , everything is Ok, just u need to see How u are Giving ID for the Sales Order Items.
Just check this one and also check the Documentation of this BAPI.
Regards
Prabhu
‎2008 Jun 30 8:09 AM
Hi Prabhu,
I m passing id as serialnumber like 1 for first line item 2 for
second line item etc.. is this correct value or else i need to pass any other value to that....
‎2008 Jun 30 9:24 AM
no , pass the same ID for all items of the Sales Order 1, then check, it should be like that only , sorry i am not sure , but i have seen another BAPI's which requires some identifications to process all togetther.
regards
Prabhu