Changing the data in IDOC segment
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
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
Amol Lohade replied
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.
Edited by: Amol Lohade on Sep 5, 2008 10:28 AM
Edited by: Amol Lohade on Sep 5, 2008 10:29 AM