Skip to Content
avatar image
Former Member

How to create IT3213 trought HR_INFOTYPE_OPERATION

Hi Gurus,

i hace created a program that creates all infotypes for a new partner, now i hace a problem with the it3213, it is being created properly in two subtypes (we have 3) now the problem is taht subtyoe that is wrong, indeed gets created but it do not take the right waers, so my pension calculation squema fails and the amount is incorrect.

I try even send the structure Q3213 as an aditional record but still got bad creation. I am saving the P3213 field in correct form (fixdd01, fixxx02, etc) and both structures are send filled with right data.

I execute in dialog mode '2' but for some reason the field so not take the proper input... i need help.... please... thanks!!!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 08, 2017 at 11:53 AM

    Miguel:

    It looks like your issue is that the currency is being defaulted during insert operation in form get_default of module-pool MP321340.

    If you don't want to change to customizing so that FM RP_GET_CURRENCY return the correct currency for your country grouping in T500C or T510F (because it will change the behavior of the system beyond inserting record in IT3213), a really simple option for you would be to use HR_INFOTYPE_OPERATION a second time after the original insert to modify the record you have just inserted changing the currency code.

    1. HR_INFOTYPE_OPERATION to INSERT.

    2. Read IT3213 to fetch the record and modify the currency to your target value.

    3. HR_INFOTYPE_OPERATION to MODIFY

    You should be good!.

    Other options could be to enhance XPADU or HRPADINFTY00 BADi to default currency at PAI. That way it would also change the behavior of the system while users creates IT3213 records manually in PA30.

    Best,

    Antoine

    Add comment
    10|10000 characters needed characters exceeded