0% found this document useful (0 votes)
95 views3 pages

Custom IDOC - Outbound

This document discusses creating a custom IDOC for purchase orders in SAP. It will trigger for specific K2 purchase orders if there is any change in SAP. The document explains that an IDOC is a data container used to exchange information between processes and is assigned a unique number. It also provides steps for creating a segment, which defines the format and structure of an IDOC, including providing a name, fields, and description. The segment definition and equivalent data structure are then automatically generated in the DDIC.

Uploaded by

Manish Shankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views3 pages

Custom IDOC - Outbound

This document discusses creating a custom IDOC for purchase orders in SAP. It will trigger for specific K2 purchase orders if there is any change in SAP. The document explains that an IDOC is a data container used to exchange information between processes and is assigned a unique number. It also provides steps for creating a segment, which defines the format and structure of an IDOC, including providing a name, fields, and description. The segment definition and equivalent data structure are then automatically generated in the DDIC.

Uploaded by

Manish Shankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Custom IDOC - Outbound

The term IDoc stands for intermediate document. It is simply a data container used to exchange
information between any two processes that can understand the semantics of the data. When an IDoc is
generated in the system, a unique number is assigned to it via a Number Range Object.

In this document, we’ll be creating ‘Custom IDOC’ for Purchase Order and same will be triggered for K2
Specific Purchase Orders if there is any change in SAP.

Interface

RFC Web Service IDOC


Consume EDI
Provide Change Pointer
Create Segment:

A segment defines the format and structure of a data record. Segments are reusable components, which
means they can be used in more than one IDoc type. A segment consists of various fields that represent
data in a data record.

Steps to create a segment: GoTo the TCode: WE31  Provide name for Segment type  Create 
You’ll get following screen:

Enter the description  Provide the required fields and Data elements in the Segment  Save
After creating the segment, segment definition and equivalent structure is created in the DDIC
automatically.

Segment Definition:

Auto generated structure for Segment in SE11:

You might also like