Show TOC

 Developing an Infotype

Use

The Create Infotype transaction (PM01) can be used by customers and SAP to develop new infotypes.

Prerequisites

  • Before you begin implementing a new infotype, you should complete the modeling and design of the infotype.

  • You must use customer-specific development classes for all subobjects of your infotype. This ensures that your customer developments are not affected by a release upgrade.

  • Note the naming convention. The number range 9000 to 9999 is reserved for customer infotypes. You must use this number range if you want your customer-specific developments to be retained after a release upgrade.

Features

The following steps are involved in creating an infotype:

  • Creating the data field structure in the ABAP Dictionary

  • Creating all other required Dictionary objects, a supporting program containing the standard functionality for the infotype, the dialog module that calls the initial screen of the infotype, the conversion class, and the check class.

  • Maintaining the characteristics of the infotype.

The system creates all subobjects that belong to an infotype in the system.

These subobjects must offer particular standard functionality and have a particular structure. The system creates the subobjects with the required functionality and the correct structure. The transaction uses a copy template for this. The template consists of a module pool called MPMMMM00, which contains the various includes, screens, and the GUI status.

Once you have finished creating your infotype, it is an integral part of the Personnel Administration and Recruitment transactions. Your infotypes are also automatically included in the logical databases PNP and PNPCE.

Once you have created your infotype in the system, you can implement the infotype-specific functionality:

  • Set up individual single and list screens

  • Program your own initialization procedures for screen fields

  • Program your own input checks

Activities

  • You choose a free infotype number for standard infotypes, a free number in the customer namespace for customer-specific infotypes, and the application for which you want to use the infotype ( employee infotype or applicant infotype ).

  • You create the data field structure PSnnnn .

    Note Note

    A new infotype is limited to a maximum of 1000 positions. This restriction is due of the length of structure PRELP, which is used as a container during infotype processing.

    For more information about the structure and task of individual objects, see Definition of an Infotype in the ABAP Dictionary .

    For information about the ABAP Dictionary, see the online documentation on the ABAP Dictionary .

    End of the note.
  • The system creates structure Pnnnn and the database tables for your infotype.

    • If you have selected Employee Infotype , table PAnnnn is created.

    • If you have selected Applicant Infotype , table PBnnnn is created.

    • If you have selected Both , both tables are created.

    • The system also creates the screen structure HCMT_BSP_PA_yy_Rnnnn for a standard infotype, or ZHCMT_BSP_PA_yy_R9nnn for a customer-specific infotype.

      For more information, see Structure and Task of the Screen Structure .

The system also creates the following subobjects and table entries for an infotype nnnn :

  • Module pools

    • MPnnnn00

      Module pool for infotype nnnn

    • MPnnnn10 , MPnnnn20 , MPnnnn30 and MPnnnn40

      Includes for module pool MPnnnn00

      For more information, see Infotype Module Pool .

  • Screens

    • MPnnnn00 1000 initial screen for infotype nnnn

    • MPnnnn00 2000 single screen for infotype nnnn

    • MPnnnn00 3000 list screen for infotype nnnn

      For more information, see Infotype Screens .

  • Interface

    The system creates an interface that contains all required interface statuses. For a list of interface statuses, see Interface Status for Infotypes .

  • Dialog module RP_nnnn

  • Technical characteristics

    • Entry for dialog control such as dialog structure, P structure, database table PAnnnn , module pool (T777D Infotypes: Dialog/Database Assignment )

    • Entry for the data field structure PSnnnn of the infotype (T777ID Infotypes – Supplements for T777D )

  • Check class

    Table entry T582ITVCLAS

  • Conversion class

    Table entry T588UICONVCLAS