Skip to Content
0
Former Member
May 27, 2008 at 06:18 AM

ERROR HANDLING IN LSMW

19 Views

Hi experts,

i want to collect errored record in system file .

i have used below code in 5th (Maintain Field Mapping and Conversion Rules).

DATA ITAB LIKE ZDEMO1 OCCURS 0 WITH HEADER LIN

ZDEMO1-COUNTRY = ZMM01-COUNTRY.

IF ZDEMO1-COUNTRY NE 'IN'.

ITAB-NAME_FIRST = ZDEMO1-NAME_FIRST.

APPEND ITAB.

SKIP_RECORD.

ENDIF.

END_OF_PROCESSING

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

FILENAME = 'D:\ERRO

TABLES

DATA_TAB = ITAB.

but this give following error.

Statement "END_OF_PROCESSING" is not defined. Check your spelling

. .