12-24-2013 6:34 AM
Hi Experts,
We have third party interface for sales processing. Sales order, Outbound delivery and PGI will be done in Third party software and XML files will be send to SAP.
We have to process this XML file into SAP with IDOC.
Sales order processing is done but i am not able to find correct IDOC type for creating outbound delivery.
Can you suggest Basic IDOC type / Message type and process code for the same.
Regards,
Sahadev Abhyankar
12-24-2013 7:31 AM
Hello Sahadev,
you better use proxys than IDCO's for this.
Thanks,
VIjay.
12-24-2013 8:20 AM
Vijay,
Thanks for quick reply.
Can you explain in details what exactly i have to do ?
Regards,
Sahadev Abhyankar
12-24-2013 8:30 AM
12-24-2013 10:21 AM
HI Vijay,
The process described in link is outbound process means IDOC will be trigerred after delivery created.
My requirement is to create delivery from IDOC.
Thanks in Advance.
Sahadev Abhyankar
12-24-2013 10:40 AM
Hello Sahadev,
In that case
use BAPI -
BAPI_DELIVERYPROCESSING_EXEC
Thanks,
Vijay.
12-24-2013 11:00 AM
Hi Vijay,
Thanks for the quick response but as per client requirement we need to do this through IDOC.
Regards,
Sahadev Abhyankar
12-24-2013 11:10 AM
12-25-2013 6:13 AM
12-25-2013 11:48 PM
Hello Vijay,
I have gone through the link provided by you, but the message type & process code provided is for outbound process. Hence it is not useful for my requirement.
As per my requirement, i am going to receive XML file of delivery which is processed in third party.
This delivery i have to replicate in SAP through IDOC.
Can you suggest any other alternative for this?.
Thanks,
Sahadev Abhyankar
12-26-2013 3:44 AM
Hello Sahadev,
The only way is create a custom IDOC and use the BAPI BAPI_DELIVERYPROCESSING_EXEC as the custom process code and achieve the functionality,.
Thanks,
VJ.
12-26-2013 6:52 AM
Hi Sahadev,
ABAP Proxies is best alternative for your requirement, try to implement proxy interface for this.
12-26-2013 8:31 AM
Hi Raju,
I am new to IDOC, Can you please provide me details on how to create ABAP Proxy?
Thanks in Advance,
Sahadev Abhyankar
12-26-2013 9:38 AM
Basically it is a collective work interface, Proxy will be created in XI/PI level, once they activate it in XI/PI, in SPROXY Tcode it'll be available in R3 system . again we have to activate the proxy then Proxy will be having method, in that method we have to write our code.
Pls check this, you'll get some idea on Proxy implementation
http://wiki.scn.sap.com/wiki/display/SI/ABAP+proxy+provider+implementation+and+testing
12-26-2013 1:55 PM
Hello Sahadev,
Check the below Proxy for the sales order so that it might help you.
http://wiki.scn.sap.com/wiki/display/profile/ABAP+Proxy+inbound+program+-+sales+order+creation
Thanks,
Vijay.
12-27-2013 5:43 AM
Hi Raju
We do not have any EDI subsystem in place means we are not using XI/PI or any other system.
XML files are stored on FTP server of third party which are picked by ABAP program and passed to IDOC through FM ' IDOC_XML_FROM_FILE'.
Thank you,
Sahadev Abhyankar
12-27-2013 5:46 AM
Hi Vijay,
We do not have any EDI subsystem in place means we are not using XI/PI or any other system.
XML files are stored on FTP server of third party which are picked by ABAP program and passed to IDOC through FM ' IDOC_XML_FROM_FILE'.
Thank you,
Sahadev Abhyankar
12-27-2013 5:51 AM
Hello Sahadev,
Best way create a custom IDOC and use the BAPI
BAPI_DELIVERYPROCESSING_EXEC
there is no other way if you cannot have XI/PI system configured.
Thanks,
VIjay.
01-02-2014 8:42 AM
Hi Sahadev,
Message type: SHP_OBDLV_CREATE_SLS
Basic Type: SHP_OBDLV_CREATE_SLS01
Process code: BAPI
Distribution Model: Add message type mentioned above using 'Add BAPI' tool bar push button with Object name 'OutboundDelivery' and Method 'CreateFromSalesOrder'.
With the above settings, SAP will call 'BAPI_OUTB_DELIVERY_CREATE_SLS' internally to create a Outbound delivery from Sales order with Inbound Idoc.
Regards,
SG
02-17-2021 4:43 PM
04-08-2015 9:00 AM
Good morning !
In the transaction WE20 to create the customer EDI KU with EM function.
Output parameter: message type DESADV and basic IDOC DESADV01.
I associate the IDoc message type to LAVA, you should link it to the XML file, that is not how.
Please : Could you please explain how you linked the XML file to IDOCS to create sales order ?
Sorry for my poor English
A greeting.