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: 

The problem for IDOC outbound DN and inbound

yong_ye
Explorer
0 Kudos

Hi ALL,
  
  I have a problem for IDOC VL01N send the outbound DN. I already configured this IDOC that can send the DN from DEV200 to DEV800 when i click 'save' in VL01N, But i found a problem,i created the DN that is a outbound DN in DEV200 VL01N,then the IDOC send succeed,i checked DEV800 and i found the DN is inbound DN !  I don't know why it is inbound DN,i need outbound DN as DEV200 in DEV800. Please help me ,thanks a lot .

10 REPLIES 10

Jelena
Active Contributor
0 Kudos

Sorry, I don't really get what the problem is (and also what have been done already to resolve it). If, as you're saying, it's been configured to send an IDoc from client 200 to 800 then, naturally, you'll get an outbound IDoc in 200 and an inbound IDoc in 800.

0 Kudos

Hello,what I mean is,i created the DN in VL01N(dev200),so it is a 'Outbound Delivery', but when the IDOC send succeed,i check dev800,the delivery become 'Inbound Delivery' which is created in VL31N . Is this right ? If i need 'Outbound Delivery' in dev800 please tell me what to do. If you cannot understand yet,please see tcode VL01N and VL31N,thanks .

Jelena
Active Contributor
0 Kudos

It's not clear what IDoc/message type you're using, but if the IDoc/message is meant to create a delivery then that's how I'd expect it to work. If you need an outbound IDoc in DEV 800 then I don't get what the other DEV client has to do with it... What kind of a business process are you configuring?

PeterJonker
Active Contributor
0 Kudos

Both inbound and outbound delivery can use the same IDoc (DELVRY03), so you need to check the function module that is coupled to the inbound IDoc + messagetype (whichever messagetype you created for the inbound Outbound delivery IDoc).

It looks like you have this IDoc coupled in a partner profile to the inbound delivery function module in stead of the outbound function module.

Check the how your IDoc is defined in DEV800 (partner Profile, Inbound process code, etcetera) TC we57 gives you a place to start with these checks.

0 Kudos

Hi ,would you tell me how about using the outbound function module ? 

I already written my configuration below,thanks .

dev200:

Partner No.          10023
Partn.Type           KU
Partner Role         SH

Message Type      DESADV

Basic type           DELVRY03

Message Control:

Application           V2

Message Type      LD00

Process code       DELV

-------------------------------------------------------------------

dev800:

Partn.Type            LS

Message type       DESADV

Process code       DELS

0 Kudos

I'm sorry fot it,but i have written my configuration yesterday,pls check.

below are my configuration:

dev200:

Partner No.          10023
Partn.Type           KU
Partner Role         SH

Message Type      DESADV

Basic type           DELVRY03

Message Control:

Application           V2

Message Type      LD00

Process code       DELV

-------------------------------------------------------------------

dev800:

Partn.Type            LS

Message type       DESADV

Process code       DELS

yong_ye
Explorer
0 Kudos

Thanks your reply,below are my configuration in dev200 and dev800 for IDOC,please check whether it have problems ?

dev200:

Partner No.          10023
Partn.Type           KU
Partner Role         SH

Message Type      DESADV

Basic type           DELVRY03

Message Control:

Application           V2

Message Type      LD00

Process code       DELV

-------------------------------------------------------------------

dev800:

Partn.Type            LS

Message type       DESADV

Process code       DELS

Jelena
Active Contributor
0 Kudos

I don't mean to be rude, but are you aware that we're not an SAP Help Desk? SCN is just a community forum, we are not paid to answer the questions here.

Peter has already given enough good pointers above for the items to look at and I've asked some clarification questions that still remain unanswered, by the way. So I'd strongly suggest to do some research yourself and then return to the forum with more specific questions, if necessary.

yong_ye
Explorer
0 Kudos

Who could help me for this problem ? I had described it in detail.

0 Kudos

Hi,

Go through the below link. It may helpful to you.

http://wiki.sdn.sap.com/wiki/display/ABAP/ALE+and+IDocs

Regards,

John.