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: 

Adding field to Extension IDOC

Former Member
0 Kudos

There is an extension IDOC already defined for Orders  which has one Z*segment type defined. The release flag is not set on this segment . I would like to add another field to this segment. I added the field in WE31(Z1EDk02-->Z2EDK02) but when I checked in Se11, the field was not added in Z1EDK02 structure. It was avl only in Z2EDK02. So I manually added the field in SE11. Could you please advise if this is correct process or should I create a  new segment type ? Thanks in advance for your help!

6 REPLIES 6

former_member215575
Active Participant
0 Kudos

Hi,

There is no need to explicitly add the new filed in SE11. It will reflect automatically.

Guest UV wrote:

I added the field in WE31(Z1EDk02-->Z2EDK02)

I do not understand the above notation. Is Z1EDK02 is header segment and Z2EDK02 is child segment or else have you added field Z2EDK02 in segment Z1EDK02?

Regards,

SG

Former Member
0 Kudos

Hi,

If Z1EDK02 is the header segment and Z2EDK02 is the child segment then the fields in the child segment would not be reflected in the header segment. But don't worry in the child segment, the field is available which would be enough.

After adding the fields, mention the segment names in the Extension IDOC for it to be reflected in the IDOC Extension.

Hope this is helpful.

Regards,

Adithi

Former Member
0 Kudos

Hi,

Once if want to add the  field to the segment at first it need  to exists in the table level rite. After adding the field, then release the segment.

Let me know if any clarification/help required.

Thanks & Best Regards.

Pavan Neerukonda.

Former Member
0 Kudos

Hi,

I'm new to idocs kindly advise on the following issue:

I have a similar requirement.I have to add BUKRS field to a z-segment(extension of E1COBK). I added it through se11.

I also added the same field on the sender end  as well as the receiver end.

I have also modified the inbound function module so that it receives value being sent.

However the value for the new field is not being passed.

is this correct way of adding field to pass value?

thanks,

shobhika

0 Kudos

Hi,

Once you have added the new field in the Z Segment you need to Set Release the segment for it to impact in the IDOC.

Goto WE31 and mention the IDOC and Goto EDIT menu and select SET RELEASE

Hope this helps.

Regards,

Adithi

0 Kudos

This message was moderated.