2009 Apr 17 8:31 PM
Hi All,
I'm trying to understand user-exits.
Can anybody send me sample code to populate the data segments in the enhancement MM06E001 for the function module EXIT_SAPLEINM_002 to create an outbound IDOC.
Any input appreciated.
Meghna
Hi All,
I'm trying to understand user-exits.
Can anybody send me sample code to populate the data segments in the enhancement MM06E001 for the function module EXIT_SAPLEINM_002 to create an outbound IDOC.
Any input appreciated.
Meghna
2009 Apr 18 3:40 PM
DATA: z_e1edp10 LIKE e1edp10,
z_e1edk09 LIKE e1edk09,
z_e1edka1 LIKE e1edka1.
IF int_edidd-segnam = 'E1EDKA1'.
lv_index = sy-tabix.
MOVE int_edidd-sdata TO z_e1edka1.
if z_e1edka1-parvw(2) = 'EK' or
z_e1edka1-parvw(2) = 'AP'.
delete int_edidd index lv_index.
check 0 = 1.
endif.
endif.
2009 Apr 19 6:41 PM
Thanks very much for your help.
I'll try that code and add other segments.
Do I need to add any other function modules to generate the idoc within the user-exit?
please advise.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |