Enhancement of Infotypes

download Enhancement of Infotypes

of 8

Transcript of Enhancement of Infotypes

  • 7/31/2019 Enhancement of Infotypes

    1/8

    Home SAP HCM PA (Personnel Administration) PA - Infotypes Related Customizing

    Enhance an infotype with customer includes?

    Enhance an infotype with customer includes?

    Wednesday, 04 June 2008 13:48 Mathieu Eylert

    For specific needs, you may have to add some fields to a SAP standard Infotype. In this

    topic, we will add a test field in the infotype 0001. The field will be called ZZCOLLEGE,

    which will be a dropdown list linked to a specific table.

    3 transport requests will be created:

    - for Workbench

    - for the customer include definition

    - for the specific table

    I. First, you have to create the specific table and the related data elements (see the

    corresponding topic) :

    II. Customer include structure creation

    Transaction PM01.

    http://88.191.95.122/http://88.191.95.122/index.php/hcm.htmlhttp://88.191.95.122/index.php/hcm/pa-personnel-administration.htmlhttp://88.191.95.122/index.php/hcm/pa-personnel-administration.htmlhttp://88.191.95.122/index.php/hcm/pa-personnel-administration/pa-infotypes.htmlhttp://88.191.95.122/index.php/hcm/pa-personnel-administration/pa-infotypes/188-related-customizing.htmlhttp://88.191.95.122/index.php/hcm/pa-personnel-administration/pa-infotypes/188-related-customizing/179-enhance-an-infotype-with-customer-includes.html?tmpl=component&print=1&page=http://88.191.95.122/index.php/component/mailto/?tmpl=component&link=aHR0cDovLzg4LjE5MS45NS4xMjIvaW5kZXgucGhwL2hjbS9wYS1wZXJzb25uZWwtYWRtaW5pc3RyYXRpb24vcGEtaW5mb3R5cGVzLzE4OC1yZWxhdGVkLWN1c3RvbWl6aW5nLzE3OS1lbmhhbmNlLWFuLWluZm90eXBlLXdpdGgtY3VzdG9tZXItaW5jbHVkZXMuaHRtbA%3D%3Dhttp://88.191.95.122/http://88.191.95.122/index.php/hcm.htmlhttp://88.191.95.122/index.php/hcm/pa-personnel-administration.htmlhttp://88.191.95.122/index.php/hcm/pa-personnel-administration/pa-infotypes.htmlhttp://88.191.95.122/index.php/hcm/pa-personnel-administration/pa-infotypes/188-related-customizing.html
  • 7/31/2019 Enhancement of Infotypes

    2/8

    You will be forwarded to the transaction SE11 to add the elements to your customer

    include. In this example, we want to add just one field (ZZCOLLEGE) :

    In order to display a dropdown list with the values of the specific tableZHRPA_COLLEGE, we have to create an Entry help/check with the third tab :

  • 7/31/2019 Enhancement of Infotypes

    3/8

    We can now activate our Customer Include and go back to the PM01.

    An entry is automatically added to the table T582C (Include screens for infotypes).

    III. Module-pool management (ZP000100)

    If you want add somme specific processes on the customer include's fields, check "modulepool" and click on "Edit". You will have to edit the specific infotype's module pool

    (ZP000100) :

  • 7/31/2019 Enhancement of Infotypes

    4/8

    Forward to SE38 :

    This module pool allows you to manage the customer include's fields, in PBO (Process

    Before Output) and PAI (Process After Input).

    - MPPDAT00/FP50PPSB/MPPERS00 : Standard display management (do not modify)

    - ZPNNNN10 : Specific datas declaration- ZPNNNN2O : Specific PBO modules

    - ZPNNNN3O : Specific PAI modules

    - ZPNNNN40 : Forms. There is a standard form called 'FILL_LISTSTRUCT' which isused to fill additionnal fields on the listscreen as defined by T582C-LISTSTRUCT

    IV. Sub-screen management

    Check "Include screen", choose a screen number and click on "edit" :

  • 7/31/2019 Enhancement of Infotypes

    5/8

    Forward to SE51 (Screen Painter) :

  • 7/31/2019 Enhancement of Infotypes

    6/8

    The first task to do is to create the field on the screen, check "Layout Editor" and click on

    "change" to open the screen painter :

    - Create the label zone

    - Create the related Input field- Choose a name "P0001-ZZCOLLETE", (it will be used in the flow logic of the screen).

    - Check "From dict" if you want to read automatically the data dictionnary informations. In

  • 7/31/2019 Enhancement of Infotypes

    7/8

    this example, the painter will see the Entry help/check linked to the table

    ZHRPA_ZZCOLLEGE. It will display automatically a dropdown list.

    - If you want to manage the field in the table T588M, do not forget to set the groups.

    You can now add some processes to the flow logic of the screen. Example, we want call a

    specific module on the field ZZCOLLEGE to control his value :

    The module "ZZCOLLEGE" must be declared in the include ZP000130, cause it's a PAI

    module which checks the input :

  • 7/31/2019 Enhancement of Infotypes

    8/8

    V. Customize fields with T588M

    If you have fill the group fields in the screen painter of your subscreen, you are able to

    manage these fields with the view V_T588M :

    Last Updated ( Tuesday, 23 September 2008 14:27 )