2006 Jul 15 4:15 PM
hi friends
i have developed outbound interface to distribute vendor master. for this i extended idoc CREMAS04. i have extended the idoc for four address fields (stree2 to street5) can anybody pls tell me how to write the code to populate this segment. i know the enhancement and the user exit.
exit_saplokd1_001
hi friends
i have developed outbound interface to distribute vendor master. for this i extended idoc CREMAS04. i have extended the idoc for four address fields (stree2 to street5) can anybody pls tell me how to write the code to populate this segment. i know the enhancement and the user exit.
exit_saplokd1_001
2006 Jul 15 4:19 PM
Refer this thread if you haven't done it already:
http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b7d6243d711d1893e0000e8323c4f/frameset.htm
Regards,
Ravi
2006 Jul 15 5:52 PM
Hi Deepak,
check this link , it clearly explains the procedure to write the code for populating the extended segments
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
Regards
Appana
2007 Apr 17 7:07 PM
i have developed outbound interface to distribute vendor master. for this i extended idoc CREMAS04. i have extended the idoc for four address fields (stree2 to street5) can anybody pls tell me how to write the code to populate this segment. i know the enhancement and the user exit.
exit_saplokd1_001..
Hi deepak,
can u pl clearly send the fields name that u added int he segment while extending the idoc..
thanking u..
ajay([email protected])
2007 Apr 17 7:11 PM
Deepak,
You can use the exit <b>EXIT_SAPLKD01_001</b> to populate the data for the extended segments...
EX:
case SEGMENT_NAME.
when C_E1LFA1M.
I_E1LFA1M = IDOC_DATA-SDATA.
read table IDOC_DATA with
key SEGNAM = C_E1LFA1M.
if SY-SUBRC = 0.
I_E1LFA1M = IDOC_DATA-SDATA.
* Update Block Indicator to Y when LFA1-SPERQ
if I_E1LFA1M-SPERQ NE ''.
I_E1LFA1M-SPERQ = C_Y.
else.
I_E1LFA1M-SPERQ = C_N.
endif.
IDOC_DATA-SDATA = I_E1LFA1M.
modify IDOC_DATA index SY-TABIX.
endif.
endcase.
Message was edited by:
Ch@ndra
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |