Skip to Content
avatar image
Former Member

Inbound interfaces in SAP ABAP-HR

Can anybody explain the steps to upload the data into 0041 infotype.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 02, 2008 at 05:49 AM

    Hi pavan,

    You can use BDC recording (Tcode:-SHDB)to upload data into the infotype 0041.

    You can also use the FM:-

    HR_INFOTYPE_OPERATION . in this use the operation as:-

    "INS" --> insert data

    "MOD --> modify data

    "DEL" --> delete data.

    Do not forget to use HR_EMPLOYEE_ENQUEUE (before) & HR_EMPLOYEE_DEQUEUE (after) along with the above FM.

    Luck,

    Bhumika

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 05:51 AM

    hello

    you can use FM

    data: proposed_values like PPROP occurs 0 with header line.

    *break-point.

    data propval type INFTY value '0014'.

    PROPOSED_VALUES-INFTY = propval.

    PROPOSED_VALUES-FNAME = 'p0014-BETRG'.

    PROPOSED_VALUES-FVAL = 'M351'.

    APPEND PROPOSED_VALUES.

    data empno like p0001-pernr value 00000005.

    data return type BAPIRETURN.

    CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'

    EXPORTING

    PERNR = empno

    • MASSN =

    ACTIO = 'INS'

    TCLAS = 'A'

    BEGDA = SY-DATUM

    ENDDA = sy-datum

    OBJPS = ' '

    • SEQNR =

    • SPRPS =

    • SUBTY = 'MP10'

    • WERKS =

    • PERSG =

    • PERSK =

    • PLANS =

    DIALOG_MODE = '0'

    LUW_MODE = '1'

    NO_EXISTENCE_CHECK = ' '

    NO_ENQUEUE = ' '

    IMPORTING

    RETURN = return

    • RETURN1 =

    • HR_RETURN =

    TABLES

    proposed_values = proposed_values

    • MODIFIED_KEYS =

    .

    ~hitesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 05:58 AM

    hi,

    most of the times the data in IT 0041 will be filled automatically on running some actions on the employee.

    for manual entry in IT 0041 you can use transaction PA30. and for mass upload you can create a BDC for that transaction.

    Add comment
    10|10000 characters needed characters exceeded