BENCEWBF03 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter BENCEWBF03 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_PSBUFFER_INITIALIZE CALL FUNCTION 'HR_PSBUFFER_INITIALIZE'. "TKP 956700
HR_BEN_CREATE_ADJUST_REASON call function 'HR_BEN_CREATE_ADJUST_REASON' exporting pernr = adjrsn_data-pernr datum = adjrsn_data-begda adjust_reason = adjrsn_data-event nocommit = true lock_pernr = false reaction = no_msg importing subrc = retcd tables error_table = error_table_adjrsn.
HR_BEN_SHOW_ERROR_POPUP call function 'HR_BEN_SHOW_ERROR_POPUP' tables error_table = error_table_adjrsn.
HR_PSBUFFER_INITIALIZE CALL FUNCTION 'HR_PSBUFFER_INITIALIZE'. "Note 1114012
HR_INITIALIZE_BUFFER call function 'HR_INITIALIZE_BUFFER' exporting pernr = pernr.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = pernr infty = infty_table-infty begda = begda endda = endda tables infty_tab =
.
HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = infty_prelp-infty number = infty_prelp-pernr subtype = infty_prelp-subty objectid = infty_prelp-objps lockindicator = infty_prelp-sprps validityend = infty_endda validitybegin = infty_begda record = infty_record operation = delete nocommit = true importing return = return.
HR_BEN_HANDLE_ERROR call function 'HR_BEN_HANDLE_ERROR' exporting pernr = infty_prelp-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = subrc reaction = no_msg tables error_table = error_table.
HR_INITIALIZE_BUFFER call function 'HR_INITIALIZE_BUFFER' exporting pernr = pernr.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = pernr infty = infty_table-infty begda = key_date endda = high_date tables infty_tab =
.
HR_BEN_GET_PLAN_CATEGORY call function 'HR_BEN_GET_PLAN_CATEGORY' exporting barea = plan_data-barea pltyp = plan_data-pltyp reaction = no_msg importing bpcat = plan_data-categ tables error_table = error_table.
HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = '0171' number = new0171-pernr validityend = new0171-begda validitybegin = new0171-endda record = new0171 operation = insert nocommit = true importing return = return.
HR_BEN_HANDLE_ERROR call function 'HR_BEN_HANDLE_ERROR' exporting pernr = new0171-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = subrc reaction = no_msg tables error_table = error_table.
HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = infty_prelp-infty number = infty_prelp-pernr subtype = infty_prelp-subty objectid = infty_prelp-objps lockindicator = infty_prelp-sprps validityend = infty_prelp-endda validitybegin = infty_prelp-begda record = infty_record operation = insert nocommit = true importing return = return.
HR_BEN_HANDLE_ERROR call function 'HR_BEN_HANDLE_ERROR' exporting pernr = infty_prelp-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = subrc reaction = no_msg tables error_table = error_table.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.