Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to create from outbound delivery from sales order as INBOUND process

Former Member
0 Kudos

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

20 REPLIES 20

VijayCR
Active Contributor
0 Kudos

Hello Sahadev,

you better use proxys than IDCO's for this.

Thanks,

VIjay.

Former Member
0 Kudos

Vijay,

Thanks for quick reply.

Can you explain in details what exactly i have to do ?

Regards,

Sahadev Abhyankar

VijayCR
Active Contributor
0 Kudos

This message was moderated.

Former Member
0 Kudos

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

VijayCR
Active Contributor
0 Kudos

Hello Sahadev,

In that case

use BAPI - 

BAPI_DELIVERYPROCESSING_EXEC

Thanks,

Vijay.

Former Member
0 Kudos

Hi Vijay,

Thanks for the quick response but as per client requirement we need to do this through IDOC.

Regards,

Sahadev Abhyankar

VijayCR
Active Contributor
0 Kudos

This message was moderated.

VijayCR
Active Contributor
0 Kudos

Hello Sahadev Abhyankar,

Did it solve your issue?

Thanks,

VJ.

Former Member
0 Kudos

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

VijayCR
Active Contributor
0 Kudos

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.

rajucd81
Participant
0 Kudos

Hi Sahadev,

ABAP Proxies is best alternative for your requirement, try to implement proxy interface for this.

Former Member
0 Kudos

Hi Raju,

I am new to IDOC, Can you please provide me details on how to create ABAP Proxy?

Thanks in Advance,

Sahadev Abhyankar

0 Kudos

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


VijayCR
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

VijayCR
Active Contributor
0 Kudos

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.

former_member215575
Active Participant
0 Kudos

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

0 Kudos

Excellent !!!

javier_lopez22
Explorer
0 Kudos

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.