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

Showing posts with label BAPI examples. Show all posts
Showing posts with label BAPI examples. Show all posts

BAPI BAPI_RE_BE_GET_LIST Business Entity List

CALL FUNCTION 'BAPI_RE_BE_GET_LIST'
TABLES
seloption = t_seloption
bus_entity = t_bus_entity
object_address = t_object_address
cosettle_param = t_cosettle_param
term_org_assignment = t_term_org_assignment
measurement = t_measurement
partner = t_partner
option_rate = t_option_rate
cosettle_rule = t_cosettle_rule
obj_assign = t_obj_assign
arch_rel = t_arch_rel
arch_relms = t_arch_relms
resubm_rule = t_resubm_rule
resubm_date = t_resubm_date
status = t_status
extension_out = t_extension_out
return = t_return
infrastructure = t_infrastructure.

Building Data using BAPI BAPI_RE_BU_GET_LIST

CALL FUNCTION 'BAPI_RE_BU_GET_LIST'
TABLES
seloption = t_seloption
building = t_building
object_address = t_object_address
cosettle_param = t_cosettle_param
term_org_assignment = t_term_org_assignment
measurement = t_measurement
partner = t_partner
option_rate = t_option_rate
cosettle_rule = t_cosettle_rule
charact = t_charact
obj_assign = t_obj_assign
arch_rel = t_arch_rel
arch_relms = t_arch_relms
resubm_rule = t_resubm_rule
resubm_date = t_resubm_date
status = t_status
extension_out = t_extension_out
return = t_return
infrastructure = t_infrastructure.

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.