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

creating segment in IDOC

Former Member
0 Likes
1,029

Hi friends ,

I am new to idoc's. I was trying to create a basic idoc . I went to /we31 transaction and entered the name and the fields .When i try to save . It gives an error message the "data element is not active" .can u please tell how do i activate it so that i can go to next step .

thank you

Hi friends ,

I am new to idoc's. I was trying to create a basic idoc . I went to /we31 transaction and entered the name and the fields .When i try to save . It gives an error message the "data element is not active" .can u please tell how do i activate it so that i can go to next step .

thank you

5 REPLIES 5
Read only

Former Member
0 Likes
711

when you assign the data element, check it is active or not.

in the table control click on the data element and see it is active or not. activate the data element and check..

vijay

Read only

Former Member
0 Likes
711

Hi,

Here is the general steps to create segments. Check the following steps.

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.

Thanks,

Naga

Read only

0 Likes
711

Hi naga ,

thanks for the info . I tried doing it . as u said went to we30 and created z zidoctype01 , gave description and then when i went to create a seg type . i typed the name of the segment as zidoctype and clicked on segment editor it gives the following message "Entry ZIDOCTYPE does not exist - check your entry " . Am i doing something wrong ? Please correct me .

thank you ,

Hari

Read only

0 Likes
711

Hari,

You will have to create the Segments first using transaction WE31. Once you create all the segments, come back to WE30 and then create the IDOC type.

Regards,

Ravi

Note : Please reward the posts that help you.

Read only

0 Likes
711

first create the segments in we31 and then goto we30 and then add the segments to that basic type.

vijay