Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

EXIT_SAPLFMFR_001 -

EXIT_SAPLFMFR_001 -

General Data in Customer Master   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

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.






ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1601 Date: 20211201 Time: 074005     sap01-206 ( 30 ms )