2007 Feb 16 2:57 PM
Hi,
For Inbound Idocs for "orders05" I need one segment 'E1EDKA1 ZW' to be removed.I am using exit "EXIT_SAPLVEDA_001" and added the following code but still that segment gets populated..
IF segment-segnam EQ 'E1EDKA1'.
MOVE p_segment-sdata TO ls_e1edka1.
IF ls_e1edka1-parvw = 'ZW'.
DELETE p_dxvbadr WHERE parvw = 'ZW'.
ENDIF.
ENDIF.
Also I tried in exit "EXIT_SAPLVEDA_011" to delete the EDIDD entries but I know its too late to do it there..Still I am getting thissegment...
Can anyone please let me know what needs to be done or in which place the code needs to be in place..Am I using the wrong user exit??
How to delete this segment and where to place the code...
2007 Feb 16 3:20 PM
Hi Prabu,
Please try this in EXIT_SAPLVEDA_001.
...
IF segment-segnam EQ 'E1EDKA1'.
MOVE segment-sdata TO ls_e1edka1.
IF ls_e1edka1-parvw = 'ZW'.
DELETE dxvbadr WHERE parvw = 'ZW'.
ENDIF.
ENDIF.
...
Regards,
Ferry Lianto