Fonction SAP BKK_PAYM_ORDER_CHNG_FIELDSTAT - Connect Field Statuses According to Recipient Identification

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACTIVITY TBKKI_02A-AKTYP C 2 Activity
I_DIA_VAR BKK_BANK_VAR_FL C 1 Field Status Variants
I_DOCTYPE TBKKI_02A-DOCTYPE C 2 Document Type
I_DYNNR SYST-DYNNR C 4 ABAP Program, Number of Current Screen
I_FLG_BKS BOOLE-BOOLE C 1 X Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

Paramètre Reférence Long. Facultatif Description
C_T_FIELDSTATUS BKKP_T_FIELDSTATUS 0

Functionality
This checks the field status of the layout (T_ANZVAR) and of the actiontype (T_AKTTYP).
Determination of the field status (results table T_FIELDSTATUS):
The system searches for the field group of the action type that issuitable for the layout. If the field group status is the same as thatof the layout, or of the action type, then the status is placed in theresult table. The sequence is important for this: Hidden -> DisplayOnly -> Required Entry -> Optional Entry -> Space (n. defin.)
Sequence for required entry, only the display is exchanged:
Change to Customizing:
The layout is now the document type.
The problem was as follows:
The document type Payment Order with the Enter activityhas required entry fields for the bank number of the recipient. Thedocument type Internal Payment Order with the same activity has,however, got only the display mode for the same recipient fields. Thisis because this document type is the same for the sender and therecipient, and must not be changed.