Skip to Content
avatar image
Former Member

HR P&F: How to delimit Infotype record

Dear experts

I'm currently developing a Tax Form where there is a scenario to delimit IT0210, Subtype: STATE record forcefully. As far the standard is concern, when a new record is created with new subtype (new state) the previous record (i.e.) Old state is not automatically delimited.But the business requirement is to delimit the previous record before create a new state (i.e.) subtype.

I tried to use HR_INFOTYPE_OPERATION function in do_operation method but its throwing dump.

Kindly advice, how to delimit particular subtype record forcefully.

Appreciate your help. Pls consider this a urgent requirement..

Thanks

Babu

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Jan 06, 2015 at 12:51 PM

    Hi Babu,

    Are you not using the standard backend service SAP_PA for this P & F? Actually no need of writing the code for this operation, if you maintain the infortype and subtype in the backend service -> Infotypes & Operations -> Change(OPERATION), it will take care by SAP_PA.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 06, 2015 at 05:45 AM

    click on delimit button once and try again

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 06, 2015 at 12:42 PM

    Hi Babu,

    You will have to write a code to Modify the record which is already in existance. by that way you can have two records and delimited ones.

    For modifiying the exisiting record, you can use BADI HRPAD00INFTY

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Babu,

      See normally in such scenarios as Kishore mentioned, we can use SAP_PA service and use its standard functionality but If you want to delimit then I guess u need some ABAP code, such codes are written in FLUSH methods where we want some forceful operation, these methods are available in advanced generic service.

  • avatar image
    Former Member
    Jan 08, 2015 at 11:07 AM

    Hi Babu,

    Please check this thread which discusses about delimitation of Time constrain 2 infotype.

    http://scn.sap.com/thread/227606

    Especially the replies from below experts.

    Deepak Bhavi Apr 26, 2007 11:07 PM

    Anna Tang Sep 2, 2010 2:58 AM

    Pls reward points if this is helpful.

    Add comment
    10|10000 characters needed characters exceeded