set pf-status是用来设置ALV或者SCREEN中的状态栏的,包括:菜单栏、工具栏的;'FLIGHT'是状态栏的名字,需要在应用程序下创建自己的状态栏或者使用标准的状态栏即可,状态栏如下图;
set pf-status是用来设置ALV或者SCREEN中的状态栏的;复制源程序需要注意要把程序里的Include也复制成Z开头的include才行。如果还是解决不了问题,那就要debug跟踪具体原因了。
i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_sort = gt_sort[] i_save = g_save i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = gs_keyinfo TABLE...
SET PF-STATUS 'TEST'. WRITE: 'PF-Status:', sy-pfkey. AT LINE-SELECTION. IF sy-lsind = 20. SET PF-STATUS 'TEST' EXCLUDING fcode. ENDIF. WRITE: 'Line-Selection, SY-LSIND:', sy-lsind, / ' SY-PFKEY:', sy-pfkey. AT USER-COMMAND. IF sy-lsind = 20. SET PF-STATUS 'TEST' EXCL...
subsequentscreen layouts. The components of the set status are active in the user interface from the next time a screen layout is sent, and remain active until the end of the program or until the nextSET PF-STATUSstatement. The name of the current GUI status can be read from the system ...
A status remains valid for the duration of a transaction or until you set a new status. Note You can use a namespace prefix with status names. Example Event in program: START-OF-SELECTION. SET PF-STATUS 'MAIN'. WRITE SY-PFKEY. AT USER-COMMAND. CASE SY-UCOMM. WHEN '...
> > - set_bit(ADF_STATUS_PF_RUNNING, &accel_dev->status); > > - > > ret = adf_dev_init(accel_dev); > > if (ret) > > goto out_err_dev_shutdown; > > > > + set_bit(ADF_STATUS_PF_RUNNING, &accel_dev->status);