Skip to Content
0
Former Member
Mar 02, 2009 at 03:03 AM

form entry using return_code us_screenj

1349 Views

hi experts,

id like to ask on how these codes work,

FORM entry USING return_code us_screen.

CLEAR retcode.

xscreen = us_screen.

PERFORM processing USING us_screen.

CASE retcode.

WHEN 0.

return_code = 0.

WHEN 3.

return_code = 3.

WHEN OTHERS.

return_code = 1.

ENDCASE.

ENDFORM. "entry

im having hard time to understand it, since its my first time encountering this codes.

also when i check the syntax an error prompt, that retcode is unknown,

do i have to declare it in data section?

thanks in advance.