Deshabilitar boton status
Hola,
La sentencia es correcta:
SET PF-STATUS 'STANDARD_FULLSCREEN' EXCLUDING it_auth.
pero la variable que les pasas debe de ser una table interna con la siguiente definición:
TYPES: BEGIN OF t_auth,
fcode LIKE rsmpe-func,
END OF t_auth.
DATA: it_auth TYPE TABLE OF t_auth, "Tabla interna
wa_auth TYPE t_auth. "Work Area
Por último hay que rellenarla:
CLEAR wa_auth.
MOVE 'VE' TO wa_auth-fcode. "VE = código del botón
APPEND wa_auth TO it_auth.
Espero que te sirva. Saludos.
|