What I need is to create a z program with screen then in the PAI event I don't need to handle the function code comes out from the menu's buttons. by using ok_code like the code below:
case ok_code.
when 'BACK'.
leave screen.
when 'PRINT'.
PERFORM CALL_ADOBEFORM.
when 'EXIT'.
leave screen.
ENDCASE.
It is supposed the system gives you an option to use same functionality of standard menu when I omit the code written above.