Application Development and Automation 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: 
Read only

IDOC type

Former Member
0 Likes
649

Hey..friends,

What is an IDOC type?..

How can we extend any IDOC?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
618

hi,

IDoc type is a template from which IDOC is populated/ prepared.

It is like ->Idoc type is a class and IDOC is an instance/ object of that class( Analogy for e.g.)

You can extend IDOC in WE30.

By adding new segments at child level.

Rgds

Vivek

Reward if helps

5 REPLIES 5
Read only

Former Member
0 Likes
619

hi,

IDoc type is a template from which IDOC is populated/ prepared.

It is like ->Idoc type is a class and IDOC is an instance/ object of that class( Analogy for e.g.)

You can extend IDOC in WE30.

By adding new segments at child level.

Rgds

Vivek

Reward if helps

Read only

former_member404244
Active Contributor
0 Likes
618

hI,

The messages exchanged between systems are of various message types. The message type depends on the data contained and the process involved. It determines the technical structure of the message, the IDoc type. For example, the FIDCMT message type is used for journal messages.

The IDoc type indicates the SAP format that is to be used to interpret the data of a business transaction.

An IDoc type consists of the following components:

· a control record

This is identical for each IDoc type.

· several data records

One data record consists of a fixed key part and a variable data part. The data part is interpreted using segments, which differ depending on the IDoc type selected.

· several status records

These are identical for each IDoc type and describe the statuses an IDoc has already passed through or the status an IDoc has attained.

2>U can extend an idoc in WE30 tcode.First create a segment in WE31 tcode, then go to WE30 tcode,give one z basictype and click on second radio button.Then press on create button and then copy the original basic type and then u can have ur zbasictype with all the segments of original basic type.Now add ur zsegment to the parent segment of ur zbasictype .Thats all.Now u r idoc will have original basic type strucures and also ur new segemnts.But u make sure before adding the segment it should be released.Also release the basic type...

regards,

nagaraj

Read only

Former Member
0 Likes
618

Hi

Idoc type is like defination for idoc.

We can extend the idoc using we30.

Read only

Former Member
0 Likes
618

HI

What is an IDOC type?..

The IDoc type indicates the SAP format that is to be used to transfer the data for a business transaction. An IDoc is a real business process in the form of an IDoc type. An IDoc type can transfer several message types:

These are the "logical messages" that correspond to different business processes.

An IDoc type is described using the following components:

1) a control record

the format of the control record is identical for all IDoc types.

2)one or more data records

a data record consists of a fixed administration part and a data part (segment). The number and format of the segments can be different for each IDoc type.

3) status records

the status records describe the processing stages which an IDoc can pass through and have an identical format for each IDoc type.

Example

Purchase order number 4711 was sent to a vendor as IDoc number 0815. IDoc number 0815 is formatted in IDoc type ORDERS01 and has the status records "created" and "sent". The purchase order corresponds to the "logical" message ORDERS.

How can we extend any IDOC?

U can extend an idoc in WE30 tcode.First create a segment in WE31 tcode, then go to WE30 tcode,give one z basictype and click on second radio button.Then press on create button and then copy the original basic type and then u can have ur zbasictype with all the segments of original basic type.Now add ur zsegment to the parent segment of ur zbasictype .Thats all.Now u r idoc will have original basic type strucures and also ur new segemnts.But u make sure before adding the segment it should be released.

Just go through this link:

regards,

Gunasree.

Read only

Former Member
0 Likes
618

hi

good

The messages exchanged between systems are of various message types. The message type depends on the data contained and the process involved. It determines the technical structure of the message, the IDoc type. For example, the FIDCMT message type is used for journal messages.

The IDoc type indicates the SAP format that is to be used to interpret the data of a business transaction.

An IDoc type consists of the following components:

· a control record

This is identical for each IDoc type.

· several data records

One data record consists of a fixed key part and a variable data part. The data part is interpreted using segments, which differ depending on the IDoc type selected.

· several status records

These are identical for each IDoc type and describe the statuses an IDoc has already passed through or the status an IDoc has attained.

EXTENDING THE IDOC->

In the case of a customer extension, you add additional segments to an IDoc type supplied by SAP (basic type), so that you can transfer more (or simply other) business information. This extension is upward compatible, that is, it will be supported by future releases.

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b7d6243d711d1893e0000e8323c4f/content.htm

thanks

mrutyun^