Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound interfaces in SAP ABAP-HR

Former Member
0 Kudos

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

Thanks in advance.

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.