Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Changing the data in IDOC segment

HI Guru's,

I am working on an user exit, through which I need to change the data in segment data.

The segment name is E1IDKU2. In this I am having three fields. I want to change the second

field data. the exit function module name is EXIT_SAPLIEDP_001. Can any body help me how to

do this.

IF SEGMENT_NAME = 'E1IDKU2'.

IF THE FIELD NAME IS 'BUSFUN' THEN I WANT TO CHANGE THE DATA of this field.

can any body help me with some sample data for this

Thanks,

Deepak.

Tags:
Former Member
Former Member replied

Deepak

Do following:

data: wa_E1IDKU2 type E1IDKU2.

loop at EDIDD_TABLE where segnam = 'E1IDKU2'.

wa_E1IDKU2 = EDIDD_TABLE-SDATA.

modify data in wa_E1IDKU2 as per ur requirement.

EDIDD_TABLE-SDATA = wa_E1IDKU2.

modify EDIDD_TABLE.

endloop.

Thanks

Amol Lohade

Edited by: Amol Lohade on Sep 5, 2008 10:28 AM

Edited by: Amol Lohade on Sep 5, 2008 10:29 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question