Show TOC

 Enhancing the Single Screen

Procedure

  1. Choose Enhance Single Screen.

  2. In the Infotype Number field, enter the four-digit number of the infotype you want to enhance.

    You must enter leading zeros for the infotype number.

    Caution Caution

    It is not possible to enhance the single screen for the Actions infotype (0000) or the Time Management infotypes, as well as some other infotypes. For a list of these infotypes, see Enhancing an Infotype Included in the SAP Standard System .

    End of the caution.
  3. In the Subobjects group box, select Customer Include.

  4. Choose Generate Objects.

    You see the message CI_Pnnnn does not exist . How do you want to continue?

  5. Choose Create .

    You branch to the ABAP dictionary structure maintenance.

  6. Enter a short description for the structure CI_Pnnnn.

  7. Enter an enhancement category. To do this, choose Start of the navigation path Extras Next navigation step Enhancement Category. End of the navigation path

  8. Define the customer-specific components (infotype fields).

  9. Save and check the structure CI_Pnnnn .

  10. Go back.

    The initial screen of the transaction appears.

  11. You must store the checks for the customer fields manually in the BAdI HRPAS00INFTYBL :

    To enter the code for the BAdI, choose Start of the navigation path BAdI in Check Class Next navigation step Edit End of the navigation path .

  12. Choose Start of the navigation path Module Pool Next navigation step Edit, and enter the same code as in the BAdI. End of the navigation path

  13. You must edit the include screen manually.

    Choose Start of the navigation path Include Screen Next navigation step Edit End of the navigation path (default value 0200). On this screen, you can make the enhancement and carry out the relevant processing in the flow logic of the include screen.

Result

You have added fields to the standard single screen for an infotype nnnn. You can edit the additional fields using the infotype maintenance tools.

Migrating the single screen

To decouple non-decoupled enhancements from standard infotypes, you must migrate them.

You do this once you have enhanced the single screen of a standard infotype by choosing Start of the navigation path Single Screen Next navigation step Migrate Enhancement End of the navigation path in the Enhance Single Screen screen of the Create Infotype transaction (PM01) .

The screen structure include CI_XX_Rnnnn is created as a copy of include CI_Pnnnn , and the fields of the existing customer include are copied to the screen structure include.

If you want to add fields that are not in the customer include, you must do so manually. To do this, choose Enhance Screen Structure.

It is not necessary to modify the conversion class or the entry in table T588UICONVCLAS . Instead, the HRPAD00INFTYUI BAdI must be implemented.

The checks for the customer fields are stored in the HRPAD00INFTYUI BAdI.

Deleting the additional fields

You can delete the fields that have been added to the standard single screen.

You do this on the Enhance Single Screen screen of the Create Infotype transaction (PM01) by choosing Start of the navigation path SingleScreen Next navigation step Delete Enhancement. End of the navigation path

This deletes the customer include.