2009 Jun 15 8:27 AM
Hi all,
I have extended existing CREMAS05 idoc .When am trying to fill the data into this extended segment
using user_exit-EXIT_SAPLKD01_001 the segment ZE1LFA1M is not visible during debugging.
I will be thankful if somebody point out the error.
Thank you.
2009 Jun 15 10:18 PM
Hi,
The segment is not pre-populated in the idoc when the user exit is hit, you have to explicitly append your Z segment to the idoc.
move wa_ZE1LFA1M to wa_edidd-sdata.
move 'ZE1LFA1M' to wa_edidd-segnam.
append wa_edidd to edidd.
Also remember, before you append, to check the CIMTYP ( Extension name ) is the same as the extension that you have created for the IDoc in T-code WE30.
regards,
Advait
2009 Jun 15 10:11 PM
You need to activate your extension and you need to use the extended (Z...) IDoc type, not the standard one.
2009 Jun 15 10:18 PM
Hi,
The segment is not pre-populated in the idoc when the user exit is hit, you have to explicitly append your Z segment to the idoc.
move wa_ZE1LFA1M to wa_edidd-sdata.
move 'ZE1LFA1M' to wa_edidd-segnam.
append wa_edidd to edidd.
Also remember, before you append, to check the CIMTYP ( Extension name ) is the same as the extension that you have created for the IDoc in T-code WE30.
regards,
Advait