Fonction SAP BKK_OLD_PAYM_GET_FIELDSTAT - To Delete: Link Field Status Depending on Document Type/Activity

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACTIVITY TBKKIDT-AKTYP C 2 Activity
I_DOCTYPE TBKKIDT-DOCTYPE C 2 Document Type
I_EXCLBUTTON TBKKIFV-EXCLBUTTON N 2 X Sequential Number for Functions to Be Hidden
I_XDATE_POST TBKKIDT-XDATE_POST C 1 X Date as Required Entry Field

Paramètre Reférence Long. Facultatif Description
T_EXCL_BUTTONS BKKP_T_EXCL_BUTTONS 0 X Exclusion of Functions
T_FIELDSTATUS BKKP_T_FIELDSTATUS 0 X Field Status

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 the r
esult 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 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.