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 create Delivery

Former Member
0 Kudos

Hi,

We create sales orders in SAP. These orders are interfaced to an external system where they are delivered and despatched. The despatch details are sent from the external system back to SAP.

Can anyone help me on determining what process code / message type to use to create a simple delivery from the inbound idoc despatch details?

Thanks in advance,

Finbarr

10 REPLIES 10

Former Member
0 Kudos

Hi

Outbound Status Codes

01 Error --> Idoc Added

30 Error --> Idoc ready for dispatch(ALE Service)

then goto SE38 --> Execute the Program RBDMIDOC

29 Error --> ALE Service Layer

then goto SE38 --> Execute the Program RSEOUT00

03 Error --> Data Passed to Port ok

then goto SE38 --> Execute the Program RBDMOIND

12 Error --> Dispatch ok

Inbound Status Codes

50 Error --> It will go for ALE Service Layer

56 Error --> Idoc with Errors added

51 Error --> Application Document not posted

65 Error --> Error in ALE Service Layer

for 51 or 56 Errors do the following steps

goto WE19 > give the IDOC Number and Execute>

Press on Inbound function Module

for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error

Thanks & regards

Sreenivasulu P

Former Member
0 Kudos

Hi,

Message Type :DESADV

IDOC Type : DELVRY01

PRocess Code : DELS.

regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

Hi Ravi,

Do you know the segments required for this to work?

Regards,

Finbarr

0 Kudos

Hi,

I am not sure of the Segments, but when you are creating a DELIVERY document in SAP, if you can configure the output determination it takes care of populating the segments and triggering the IDOC, right?

Regards,

Ravi

Note :Please mark the helpful answers

0 Kudos

Hi,

I will not be creating an idoc in SAP, what I need to do is to create an inbound idoc for an outbound delivery.

Regards,

Finbarr

0 Kudos

Sorry, was thinking something else. I gave the process code for inbound, and forgot that it was inbound.

Regards,

Ravi

0 Kudos

Ravi,

So, should I ignore the above?

Finbarr

0 Kudos

No, don't ignore, I think they are still valid for an inbound IDOC. I just don't know what segments / fields are mandatory.

Regards,

Ravi

0 Kudos

Hi Finbarr,

I need to create an outbound delivery with reference to a sales order using an inbound idoc coming from an external system. I cannot find a standard suitable IDoc.

I wonder if you succeeded in doing that.

Thank you very much,

regards.

Chiara

0 Kudos

Hi Chiara,

We are using proxy and SAP XI to create the delivery. In the proxy we are using function module W_FRM_DELIVERY_CREATE_GENERAL to create the delivery and then BAPI_OUTB_DELIVERY_CONFIRM_DEC to change the delivery.

Its taking a while to get right.

Regards,

Finbarr