03-26-2010 8:27 AM
Hi
I want to create outbound delivery from sales order (similar to vl01n) only using idocs.
please i only want the code. dont tell the basic idoc type, message type, process code and FM's to be used...
i know them .....
its been very painfull in populating the segments edidc etc so pls give code....
03-28-2010 2:27 AM
Hi,
Do you want to create IDOC with Outbound Delivery document data?. If yes then copy code of IDOC OUTBOUND DESADV.
Harry
03-29-2010 7:22 AM
hi Harry,
i have a Sales Order with me.
I want to create a Outbound delivery.
I cannot use VL01N..
beacause I have to write code to create Outbound delivery.[ BDC is not allowed according to clients requirement]
I could have used the BAPI to create Outbound delivery. but the requirement is i should not use BAPI's instead i have to use IDOCS.
So now please tell me... how to create Outbound delivery ( for the Sales Order I have) using iDOCS.
03-29-2010 3:45 PM
Hi Iqbal Mohammed
Write Custom z* program and Populate the data in idoc format.
Use
Basic type :DELVRY03
Message type : DESADV
Use FM: MASTER_IDOC_DISTRIBUTE
Pass the data to below parameter
master_idoc_control
master_idoc_data
write the code and forum can help you correct the errors...
Thanks
Ramesh
03-30-2010 7:35 AM
Hi Ramesh, thank you from my heart
i did exactly what you said.
The IDOC status now is green it says (status 03)
IDoc sent to SAP system or external program
Message no. EA083
My question is where is the delivery number... i checked the table
communication_idoc_control = i_edidc_delv1
there is no delivery number in this i did all this to get a delivery number how can i get it
should i do some more stuff to get the delivery number....
pls help
03-30-2010 8:00 AM
please somebody help ...
i really need to complete this....
i really need your help if you know the answer pls reply....
04-01-2010 6:43 PM
Hi Iqbal Mohammed
with Z* PROGRAM you created.....can send the Created delivery info from SAP to Other system or another SAP System....
if you want to created Delivery & Delivery idoc ..... from Sales order .... then configuration is need in Sale order...
Check with your Functional Team.....
To send idoc from created delivery info from SAP to Other system or another SAP System...Message control tech is needed..
For this idoc type message type needed.....
above info helps you
Thanks
RAMESH
04-13-2010 10:09 AM
Hello, I read that you solved your problem, I too have the same problem but I did not understand how you solved. You can have the source code Z * you did?
many thanks
04-13-2010 1:24 PM
hi i have not solved it yet you said its solved... no body replied properly