Wednesday, July 15, 2020

Using HR_INFOTYPE_OPERATION when there is a Secondary Infotype


Secondary Infotypes:

Using HR_INFOTYPE_OPERATION when there is a Secondary Infotype

Note : Finding View Identifier is important.

Example:

    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty            c_residence_infty  "0048
        subtype          subty
        number           pernr
        validityend      me->it0048_old_end_date
        validitybegin    me->it0048_old_start_date
        record           p0048_residence_status
        operation        'INS'
        view_identifier  '08'
        secondary_record p3292_pvn_check
      IMPORTING
        return           return.

No comments:

Post a Comment