Structure and Task of Data Field Structure PSnnnn

Definition

Structure containing infotypedata fields that are to be saved in the infotype.

Use

The fields are required when the infotype’s data structures and database tables are defined. The data fields are grouped together in structure PSnnnn to keep the definition as free of redundancy as possible. Structure PSnnnn can then be used as a substructure when other structures and tables are defined in the ABAP Dictionary.

Caution Caution

Do not use integer data types (INT1, INT2, INT4) or floating point number data types (FLTP) for the fields of the data field structure PSnnnn. Otherwise the infotype cannot be used. Instead, use the data types NUMC and DEC.

End of the caution.

Structure

  • Customer include

    The Personnel Administration and Recruitment infotypes contain a customer include CI_Pnnnn in the data field structure PSnnnn. You can include your customer fields in this include. This is then an enhancement of a standard SAP infotype .

  • Duplicate fields for subtypes

    • If you want to divide an infotype into subtypes, you must assign structure PSnnnn a duplicate of key field Pnnnn-SUBTY in which the subtype is then stored. This field requires its own name and data element.

      You must include the duplicate subtype field in the appropriate infotype screens. The user can then make entries in this field.

      You must also specify the name of the duplicate subtype field in the Subtype Field field when you maintain the infotype characteristics in the Infotypes: Dialog/Database Assignment table (T777D). Central infotype modules automatically write data to key field Pnnnn-SUBTY from the entries in this field. Key field Pnnnn-SUBTY does not appear on infotype screens.

      A duplicate subtype field has the following advantages:

    • Special check tables are used for the infotype subtype

    • Field-specific documentation can be created for the subtype and then displayed using the field help.

      Example Example

      • Field PS0006-ANSSA for the address type (check table Infotype Subtype Characteristics (T591A))

      • Field PS0014-LGART for the wage type (check table Permitted Wage Types (T512Z))

      End of the example.