SAP Reports / Programs | Payroll | Belgium(PY-BE) SAP PY

RPUDSTB0 SAP ABAP Report - Update status handler and B2A tables







RPUDSTB0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Should only be used when starting with the update declaration functionality...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPUDSTB0 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RPUDSTB0. "Basic submit
SUBMIT RPUDSTB0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUDSTB0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: R_DMFST = Orig.DMFA into Employee table
Selection Text: R_ORIG = Original Declaration Temse
Selection Text: R_PID = Pid Temse
Selection Text: R_UPNO = Update Notification Temse
Title: Update status handler and B2A tables
Text Symbol: T01 = Manual Update


INCLUDES used within this REPORT RPUDSTB0

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_BE_DMFA_GET_B2AID CALL FUNCTION 'HR_BE_DMFA_GET_B2AID' EXPORTING im_tsobj = p_temse IMPORTING ex_b2aid = p_pb2amgr-b2aid.

HR_BE_DMFA_PUBLISH_IN_B2A CALL FUNCTION 'HR_BE_DMFA_PUBLISH_IN_B2A' exporting im_appl = p_appl im_temse = l_temse im_filter = l_filter im_txb2a = text-t01 importing ex_returncode = returncode changing ch_pb2amgr = p_pb2amgr ch_tab_error = p_tab_error.

HR_BE_DMCA_CONV_TEMSE_TO_TABLE call function 'HR_BE_DMCA_CONV_TEMSE_TO_TABLE' exporting im_temse = l_temse im_appl = p_appl importing ex_tab_employer = tab_employer ex_tab_employee = tab_employee ex_returncode = returncode changing ex_tab_error = p_tab_error.

HR_BE_DMFA_PUBLISH_STATUS_HAND call function 'HR_BE_DMFA_PUBLISH_STATUS_HAND' exporting im_pb2amgr = p_pb2amgr im_erkey = wa_erkey im_seter = 'X' im_appl = p_appl im_update = 'X' importing ex_returncode = returncode changing ch_tab_error = p_tab_error.

HR_BE_DMFA_GET_B2AID CALL FUNCTION 'HR_BE_DMFA_GET_B2AID' EXPORTING im_tsobj = p_temse IMPORTING ex_b2aid = l_bmsid.

HR_99S_DISPLAY_ALV call function 'HR_99S_DISPLAY_ALV' EXPORTING * P_TAB_FIELDCAT = P_STRUCNAME = 'hrb2a_s_v_pb2amgr' * P_REPORT = SY-REPID * P_PF_STATUS = * P_USER_COMMAND = * P_ERRL = * P_SCRI = tables p_tab_alv = g_tab_pb2amgr P_TAB_ERROR = g_tab_error EXCEPTIONS ERROR = 1 OTHERS = 2.

HR_99S_APPEND_ERROR_LIST CALL FUNCTION 'HR_99S_APPEND_ERROR_LIST' EXPORTING arbgb = 'HRPAYBE_DMFA' msgty = 'E' msgno = '017' MSGV1 = p_temse MSGV2 = ' ' CHANGING ch_tab_error = p_tab_error.

HR_BE_DMCA_CONV_TEMSE_TO_TABLE call function 'HR_BE_DMCA_CONV_TEMSE_TO_TABLE' exporting im_temse = l_temse im_appl = p_appl importing ex_tab_employer = tab_employer ex_tab_employee = tab_employee ex_returncode = returncode changing ex_tab_error = p_tab_error.

HR_99S_GET_DATES_QUARTER CALL FUNCTION 'HR_99S_GET_DATES_QUARTER' EXPORTING IM_QUARTER = l_quart-q IM_YEAR = l_quart-year IMPORTING EX_BEGDA = l_quart_begda.

HR_99S_READ_T511K CALL FUNCTION 'HR_99S_READ_T511K' EXPORTING molga = p99sg_cte_molga_be constant = pbedm_c_dmfa_into_sthdl date = l_quart_begda IMPORTING value = val_dmfst EXCEPTIONS constant_not_found = 1 OTHERS = 2.

HR_BE_DMFA_SET_STATUS_HANDLER CALL FUNCTION 'HR_BE_DMFA_SET_STATUS_HANDLER' EXPORTING IM_PB2AMGR = p_pb2amgr IM_APPL = p_appl IM_NEWST = 'X' IM_FILTER = l_filter IM_PYDATE = l_paydate IM_TAB_EMPLOYEE = tab_employee IM_TAB_EMPLOYER = tab_cur_employer IMPORTING EX_RETURNCODE = returncode CHANGING CH_TAB_ERROR = p_tab_error.

HR_99S_APPEND_ERROR_LIST * CALL FUNCTION 'HR_99S_APPEND_ERROR_LIST' * EXPORTING * arbgb = 'HRPAYBE_DMFA' * msgty = 'W' * msgno = '013' * CHANGING * ch_tab_error = p_tab_error.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RPUDSTB0 or its description.