19.09.2016 Views

Transportation Management with SAP LES

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IDocs 16.3<br />

Figure 16.12 Structure of an Individual Segment<br />

16.3.4 Partner Profile<br />

The next question is: how is this IDoc type processed? The first thing you need to<br />

do is create a partner profile for your EDI and IDoc partners. To do this, besides<br />

some technical data, you also have to specify a process code. This process code<br />

expresses what you intend do to <strong>with</strong> this partner. Start the partner profile process<br />

using Transaction WE20. On the Message Control tab, link the output type to the<br />

process code for each individual IDoc type that you have agreed <strong>with</strong> this partner<br />

(see Figure 16.13).<br />

The process code is permanently linked to a program (function module) that is<br />

called when an IDoc comes in or when an IDoc is created by means of the output<br />

type. The following is a simplified description of how an outbound IDoc is<br />

processed.<br />

An output is created in the sales document. This output type is set as an EDI output.<br />

Then, the system searches for a partner profile for the individual partner roles<br />

in the document. In doing so, it searches for a process code for this output type.<br />

Once it finds this process code, the processing program for this process code is<br />

called, and this program creates the IDoc. After the IDoc is created, the status of<br />

the output is set to green in the sales document.<br />

Personal Copy for Tina Mastrup, user id 9f19c686-d5e1-4016-94fd-ebc72e1b8f7e<br />

523

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!