Skip to Content
  • Decouple infotype

1.    Decoupling frame work is a new method of creating or defining Infotypes.

2.    Traditional method of creating info types involves business logic in module pool.

3.    Decouple frame work is the new method where business logic is implemented ABAP objects classes instead of module pool.

4.    Infotypes created using decoupling frame work is called

Decoupled Infotypes’.

Create decouple infotype

Go to TCODE: PM01 .

Select ‘IT’ tab. Check ‘Employee Infotype ‘and ‘check class (BADI) ‘radio buttons.

Give Infotype number in the range of custom infotypes 9000- 9999.

/wp-content/uploads/2014/03/1_411905.png

Click on generate objects .Pop up will come to create PS structure.

/wp-content/uploads/2014/03/2_411907.png

Click ‘Create’

It will navigate to abap dictionary SE11 .Create the structure based on business requirement and activate it.

/wp-content/uploads/2014/03/3_411927.png

Click ‘F3 / Back’. After saving in customizing request .it will give pop up for check class.

Check class will be useful to insert or modify records in info types via object oriented process. Each Infotype will have one ‘CL_HRPA*’ class even

for standard Infotype also.

For custom infotype class starts with Z as below.

/wp-content/uploads/2014/03/4_411935.png

Transport table

/wp-content/uploads/2014/03/5_411936.png

Click ‘Enter’, navigate to change view of Infotype attributes.

Maintain attributes for created Infotype. In this document time constraint is 3’.It can be based requirement.

/wp-content/uploads/2014/03/6_411939.png

Click on ‘SAVE’ button. So that Infotype is created.

Module pool ‘MP996800’ is created with 3 screens like in the case of normal Infotype.

Go to SE11 – ABAP Dictionary

1.   Give PA9968 now. You will find the active standard table with created PS structure as decouple Info types cannot be maintained via Tcode pa30. This type info types are maintained via HCM forms / Webdynpro in ESS/MSS.

PA table

/wp-content/uploads/2014/03/10_411949.png

2.    Check for screen structure ‘ZHCMT_BSP_PA_XX_R9968’.

/wp-content/uploads/2014/03/7_411948.png

Now Screen structure and Conversion class can be assigned. Here I am assigning default conversion .

Go to Tcode: SM30 and select view ‘V_T588UICONVCLAS’.

Click on ‘Maintain’ and ‘New Entries’. Here version is country key .Can maintain country specific conversion classes as mentioned above in conversion class part.

/wp-content/uploads/2014/03/8_411947.png

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Ioan Radulescu

    Hi, thanks first of all!

    It’s actually possible to maintain decoupled infotypes in PA30.

    You have to make sure that you specify for instance single screen and list screen (2000, 3000) in the infotype attributes, maybe that’s why it didn’t work for you…it_attributes.PNG

    (0) 
      1. Ioan Radulescu

        I was able to change infotype records in pa30 by filling the above screenshot. But the methods of the decoupled infotypes were not called.

        I got yesterday an answer from SAP claiming that the decoupled infotypes are only called in pa30 if one of the following functionalities is activated: concurrent employment, global employee or global payroll. I’m intrigued by the answer, because this means that simpler customers will have to implement their own approach when created a decoupled infotype in mpXXXX00.

        (0) 

Leave a Reply