Skip to Content
0
Former Member
Feb 16, 2007 at 02:57 PM

Reg: User Exit in IDOC_INPUT_ORDERS

479 Views

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...