0% found this document useful (0 votes)
52 views

Se Configura El Status de La Subscreen Que Se Va A Visualizar

This document configures the status of a subscreen to be displayed. It sets the status to "STATUS_MAESTROS" for screen 0621, sets the title bar to "TITLE_0621", and defines a table "it_slis_extab" to exclude function codes. It also defines variables and logic for tabstrip processing and initializing dynamic screen 7170 depending on the active tab.

Uploaded by

dsalvare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views

Se Configura El Status de La Subscreen Que Se Va A Visualizar

This document configures the status of a subscreen to be displayed. It sets the status to "STATUS_MAESTROS" for screen 0621, sets the title bar to "TITLE_0621", and defines a table "it_slis_extab" to exclude function codes. It also defines variables and logic for tabstrip processing and initializing dynamic screen 7170 depending on the active tab.

Uploaded by

dsalvare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

* Se configura el status de la subscreen que se va a visualizar

MODULE set_status_subscreen.

WHEN '0621'.
*{AD_OC1422
PERFORM set_status_0621.
FORM set_status_0621 .

PERFORM set_status_maestros.
SET PF-STATUS 'STATUS_MAESTROS' EXCLUDING it_slis_extab.
SET TITLEBAR 'TITLE_0621'.


ENDFORM.


CLEAR wa_slis_extab-fcode.
wa_slis_extab-fcode = 'CREA'.
APPEND wa_slis_extab-fcode TO it_slis_extab.
CLEAR wa_slis_extab-fcode.
wa_slis_extab-fcode = 'VISU'.
APPEND wa_slis_extab-fcode TO it_slis_extab.
CLEAR wa_slis_extab-fcode.
wa_slis_extab-fcode = 'DELE'.
APPEND wa_slis_extab-fcode TO it_slis_extab.
CLEAR wa_slis_extab-fcode.
wa_slis_extab-fcode = 'SAVE'.
APPEND wa_slis_extab-fcode TO it_slis_extab.

DATA it_slis_extab TYPE STANDARD TABLE OF st_slis_extab. "Tabla para exl
uir FC

TYPES: BEGIN OF st_slis_extab,
fcode TYPE rsmpe-func,
END OF st_slis_extab.
DATA: wa_slis_extab LIKE LINE OF it_slis_extab.










TABSCRIP


WHEN 'PGMA' OR 'PRBAS' OR 'V_AGC'.
ts_dispo-activetab = ok_code. (ts_dispo : nombre tabascrip)


PROCESS BEFORE OUTPUT.

CALL SUBSCREEN selection_screen INCLUDING gv_prog '0117'.
* MODULE cargar_datos_dyn7170.
MODULE inicializar_dyn7170.
CALL SUBSCREEN subscreen_tabdis INCLUDING gv_prog g_dyn_tab_disponib.

PROCESS AFTER INPUT.

CALL SUBSCREEN selection_screen.
CALL SUBSCREEN subscreen_tabdis.
MODULE user_command_7170.


MODULE inicializar_dyn7170 OUTPUT.

CASE ts_dispo-activetab.
WHEN 'PGMA'.
g_dyn_tab_disponib = '7181'.

WHEN 'PRBAS'.
g_dyn_tab_disponib = '7181'.

WHEN 'V_AGC'.
g_dyn_tab_disponib = '7181'.

WHEN OTHERS.

g_dyn_tab_disponib = '7181'.
ts_dispo-activetab = 'PGMA'.

ENDCASE.
ENDMODULE.

You might also like