Google Search - Blog...........

HR ABAP - Use Of BAPI HR_MAINTAIN_MASTERDATA For Updating HR DATA

it_prop_values-infty = '0015'.
it_prop_values-fname = 'P0015-INFTY'.
it_prop_values-fval = '0015'.
APPEND it_prop_values.

it_prop_values-fname = 'P0015-SUBTY'.
it_prop_values-fval = '3030'.
APPEND it_prop_values.

it_prop_values-fname = 'P0015-BEGDA'.
it_prop_values-fval = sy-datum.
APPEND it_prop_values.

it_prop_values-fname = 'P0015-ENDDA'.
it_prop_values-fval = sy-datum.
APPEND it_prop_values.

it_prop_values-fname = 'P0015-AEDTM'.
it_prop_values-fval = sy-datum.
APPEND it_prop_values.

it_prop_values-fname = 'P0015-UNAME'.
it_prop_values-fval = sy-uname.
APPEND it_prop_values.

it_prop_values-fname = 'P0015-LGART'.
it_prop_values-fval = '3030'.
APPEND it_prop_values.

it_prop_values-fname = 'P0015-BETRG'.
it_prop_values-fval = '234'.
APPEND it_prop_values.

it_prop_values-fname = 'P0015-WAERS'.
it_prop_values-fval = 'SAR'.
APPEND it_prop_values.

it_prop_values-fname = 'P0015-ESTDT'.
it_prop_values-fval = sy-datum.
APPEND it_prop_values.

CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
pernr = it_final-pernr
actio = 'INS'
tclas = 'A'
begda = sy-datum
endda = '99991231'
subty = '3030'
dialog_mode = '0'
luw_mode = '1'
no_existence_check = ' '
no_enqueue = ' '
IMPORTING
return = it_return
TABLES
proposed_values = it_prop_values
modified_keys = it_mod_values.


ALSO READ:

- Upload The Over Time Report In HR ABAP.

- Displaying Off-Cycle Report In HR ABAP.

- Loans Detail Report In HR ABAP.

- Gosi Calculation Report In HR ABAP.

- Employee Pay Details Report In HR ABAP.

.....Back To Sub-Index On HR ABAP.

.....Back To MAIN INDEX.


No comments:

Post a Comment