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: 

Can I create new IDOC segmemnt in user exit( edidd structure ) forcefully ?

Former Member
0 Kudos

RFFOEDI1 is the standard driver program which call the below user exit zxf08u06...

Am programing user exit ZXF08U06...

In user exit zxf08u06, actually edidd structue contains all the segments...

In user exit zxf08u06, I am reading each segment which are in edidd structure, pulling required data from database and passing this data into this segment, so that this data appears in the IDOC's segments (we02).

Now I need to create one new segment which is not there in edidd structure.

Still I inserted this new segment and updated data. This new is coming in IDOC out put But IDOC was crested with error . Am I not supposed to create new segment whcih was not there in edidd structure forcefully ?

MUCH THANKS IN ADVENCE.

2 REPLIES 2

former_member181962
Active Contributor
0 Kudos

Hi Sam,

You should extend the IDoc type first and then code in the User Exit:

Follow this link:

http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b7d6243d711d1893e0000e8323c4f/frameset.htm

Regards,

Ravi