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

How outbound IDoc with Z segment is creating without using a program/FM?

Former Member
0 Likes
1,725

Hi,

I am having an outbound IDoc with Z message type and segments.
I need to find how this IDoc/ IDoc segment is getting created. I tried to find
it using the segment’s where used list (in SE11- IDoc segment structure). But it
is showing that the structure and fields are not used anywhere.

How it is possible to create a Z segment in IDoc without
using the corresponding structure in some program or function module?

I have searched in google/scn for a solution, but didn’t find
anything.

Any one please helps me to find how this IDoc segment is
populating?

Regards,

Dipin

Hi,

I am having an outbound IDoc with Z message type and segments.
I need to find how this IDoc/ IDoc segment is getting created. I tried to find
it using the segment’s where used list (in SE11- IDoc segment structure). But it
is showing that the structure and fields are not used anywhere.

How it is possible to create a Z segment in IDoc without
using the corresponding structure in some program or function module?

I have searched in google/scn for a solution, but didn’t find
anything.

Any one please helps me to find how this IDoc segment is
populating?

Regards,

Dipin

4 REPLIES 4
Read only

arthur_alvesteixeira
Active Participant
0 Likes
1,173

Dipin,

It's possible to create Z segment using WE31 transaction and call this Z segment using this function 'ALE_IDOCS_CREATE',
if you are using this solution, a break-point here and you know more details about where this Idoc is calling and how (and data from) the segment was filled.

Read only

0 Likes
1,173

Hi Arthur,

This IDoc is catering as part of a flow (Tcode IW21). I have
set a break point in the function module ALE_IDOCS_CREATE and processed the transaction
IW21, but the program didn’t stop in the break point, but the IDoc got created.

Regards,

Dipin

Read only

0 Likes
1,173

Dinpin, try this function: MASTER_IDOC_DISTRIBUTE

Read only

Former Member
0 Likes
1,173

Hi Dipin,

Create a z segment and check your tcode IW21 processing logic how other segments are getting populated. Search any exit present for populating the new z segment in that standard logic.

Regards,

Lokeswari