04-18-2006 9:15 AM
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
04-18-2006 9:27 AM
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
04-18-2006 9:36 AM
Hi,
Message Type :DESADV
IDOC Type : DELVRY01
PRocess Code : DELS.
regards,
Ravi
Note : Please mark the helpful answers
04-18-2006 9:41 AM
Hi Ravi,
Do you know the segments required for this to work?
Regards,
Finbarr
04-18-2006 9:43 AM
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
04-18-2006 9:49 AM
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
04-18-2006 9:59 AM
Sorry, was thinking something else. I gave the process code for inbound, and forgot that it was inbound.
Regards,
Ravi
04-18-2006 10:01 AM
04-18-2006 10:06 AM
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
06-13-2006 10:13 AM
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
06-13-2006 10:32 AM
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