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: 

Extending a Basic IDOC Type

Former Member
0 Kudos

Hi,

Can anyone give me details regarding the extestion of Basic IDOC type? I need to add a new segment to basic IDOC type HROT_USP as well as modify an SAP standard segment in this IDOC type by adding a new field. Is this possible?

Thanks,

Sai.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Enter transaction WE30 (ALE->Extension-> IDOC types->Maintain Idoc type)

- Type in your name of the extended IDOC type (usually starting with 'Z') and click on the Basic IDoc type, click the create icon.

- Click on Create new and enter a description and press enter.

- Click on ZIDOCTYPE01 and then on the Create icon.

- Enter ZIDOCTYPE as the segment type, click on Segment Editor.

- Enter a description for your segment type and create.

- Enter a description for your segment, enter each field required in your IDoc and press enter to validate.

- Save and generate, press back

- To release the segment choose Goto, Release from the menu.

- Check the box on the line of your segment.

- Save, back and enter.

- Your Idoc type structure should be displayed with your new segment.

- Save and back.

- To release the Idoc type choose Extras, Release type from the menu and Yes.

Reward points if found helpfull..

Cheers,

Chandra Sekhar.

4 REPLIES 4

Former Member
0 Kudos

Extending IDOC type is possible ( we30--exteonsion radio buton and say create) but not a standard segment. Segment is like a structure to change it you need a key.

0 Kudos

Append structures are posible though...provided you get good usereixt to populate those new feilds in that standard segment.

Former Member
0 Kudos

Hi,

Enter transaction WE30 (ALE->Extension-> IDOC types->Maintain Idoc type)

- Type in your name of the extended IDOC type (usually starting with 'Z') and click on the Basic IDoc type, click the create icon.

- Click on Create new and enter a description and press enter.

- Click on ZIDOCTYPE01 and then on the Create icon.

- Enter ZIDOCTYPE as the segment type, click on Segment Editor.

- Enter a description for your segment type and create.

- Enter a description for your segment, enter each field required in your IDoc and press enter to validate.

- Save and generate, press back

- To release the segment choose Goto, Release from the menu.

- Check the box on the line of your segment.

- Save, back and enter.

- Your Idoc type structure should be displayed with your new segment.

- Save and back.

- To release the Idoc type choose Extras, Release type from the menu and Yes.

Reward points if found helpfull..

Cheers,

Chandra Sekhar.