Ansicht
Dokumentation
EXIT_SAPLFMFR_001 -
ROGBILLS - Synchronize billing plans CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Program Exit for the PBO in the initial screen.
You can use this Exit to change the header data and the control of the fields on the initial screen of the Earmarked funds. You can also regulate which functions are then deactivated.
The status or activity is also given in parameter I_TCTYPE. The status describes whether you are in create mode, change mode, and so on (see st2_* in Iinclude FMREQUAT) You can define field control information for the initial screen and and all other screens in table T_FLDPR.
Example
You do not want the vendor to appear in the funds commitment display:
IF I_TCTYPE = ST2_ANL AND F_KBLK-BLTYP = BTY_COMMIT.
* Delete old entry
DELETE T_FLDPR WHERE FNAME = 'KBLD-LIFNR'.
T_FLDPR-FNAME = 'KBLD-LIFNR'.
T_FLDPR-KENNZ = '-'.
APPEND T_FLDPR.
ENDIF.
Meaning of the indicator (KENNZ field).
Will accept input: '.'
Required: '+'
Display only: '*'
Hide: '-'
The functions which are not to be available can be listed in T_EXCL.
Example
If you want to link the usage history display with an authorization check, the matching coding fragment could look like this:
...... "Query the authorization object
IF SY-SUBRC NE 0.
T_EXCL-FCODE = 'ENTW'.
APPEND T_EXCL.
ENDIF.
In addition, header data can be changed in F_KBLK.
CPI1466 during Backup BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 1601 Date: 20240419 Time: 180542 sap01-206 ( 18 ms )