Professional Documents
Culture Documents
Idoc is a data carrier recognize by SAP. Every Idoc type has predefined structure and segments. K
represent header data and P represents line items.
810 IB INVOICE
810 OB INVOICE
IDOC has control record – Idoc ID, Dender ID, Recipient ID, Idoc type, EDI structure
Data record – Idoc Id, Sequence/hierarchy, Segment – Structure definition for header data and item data
Creation of IDoc
To Create Idoc we need to follow these steps:
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Electronic Data Interchange is here to stay. SAP has provided many tools to ease the
integration to EDI subsystems and these, together with a methodology of how to
implement EDI are described in the following pages.
Some thoughts
You should not to attempt to switch to a full SAP EDI implementation overnight. It
takes time for people, systems, and processes to adapt to any new methodology.
Implementing SAP EDI is a project in its own right and needs to be handled phase
by phase as in any other information system implementation. We describe some of
the issues and how to implement an SAP EDI solution in the following pages.
The painful issues of implementing EDI are considered to be:
Application level configuration – Message control, partner determination, output
determination
Technical configuration – Just getting the systems to talk to each other. SAP,
translator, modem…
Testing – How do you test with someone you may never meet? How do you do your
own testing without sending data to your partner? How do you differentiate
between a test message and a real one?
Thus as mentioned above the EDI SubSystem acts like a translator. SAP does certify
some EDI subsystems and this is based on the version of SAP.
OutBound Process
InBound Process
OutBound Process
The OutBound Document is Created. This could be a Sales Order or a Purchase
Order or an Invoice. The process of creating the document is no different than the
normal way. But prior to this IDOC configuration is made so that on the document is
saved an IDOC is generated. The document is saved in the SAP tables in the usual
way but in addition to that an IDOC with the same data is also generated and saved.
You can view this IDOC using the appropriate transactions. Example WE05 — IDOC
List WE02 Display IDOC. Once the IDOC is generated it is transferred to the
operating system level for the EDI system to pick it up. Further to this the IDOC is
converted to the EDI standards and the IDOC is then transferred to the desired
Partner. The status of this transaction is sent back to SAP
Inbound Process
The transaction code is WE16 and menu path is From the Area menu of EDI, choose
Test, Inbound procg of.orig.inb.file.We can use this utility to start the inbound process
from an inbound file, but first, we have to build an inbound file.Different ways to start in
bound process are1.Copy an existing inbound IDoc in the system, and save the IDoc to
a file via transaction WE19, by selecting an existing IDoc number and clicking the
Create icon. On the next screen, you can change the values.
Then, click the Inbound File button, enter the file name, and deselect the Start IDoc
Inbound Processing of File Immediately flag. Click the Continue button, and an IDoc file
is created .2.Copy an outbound file and modify it to look like an inbound file.
Alternatively, if you have an outbound file, you can set a breakpoint while executing the
turnaround utility. Set the breakpoint where it has copied an outbound file, has modified
it to look like an inbound file, and is ready to start the inbound process. At that point, you
can end the session. Now you have an IDoc file you can use for your inbound process.
SAP workflow
The following factors need to be considered to decide whether sap workflow should
be used for the business situations.