Skip to Content
0
Jan 11, 2011 at 11:41 AM

Need to Filter Record at START routine

548 Views

Hi to all,

Please can any one tell me logic to right a START ROUTINE at TRANSFORMATION to filter record.

example : i need to filter record based on field HKONT at START ROUTINE.

data: wa_source like line of SOURCE_PACKAGE.

loop at SOURCE_PACKAGE into wa_source.

if wa_source-HKONT = '00003417 ' OR wa_source-HKONT = '00003417'

OR wa_source-HKONT = '00003418'.

Modify SOURCE_PACKAGE from wa_source.

else.

Delete SOURCE_PACKAGE index sy-tabix .

endif.

endloop.

But i am not getting proper result .

I shall be thankful to you for this.

Regards

Pavneet Rana

Edited by: pavneet rana on Jan 11, 2011 12:42 PM