SAP Reports / Programs

RPUADRC0 SAP ABAP Report - HR-CH: Transfer addresses from T536A to central address management







RPUADRC0 is a standard Executable ABAP Report 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 RPUADRC0 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 RPUADRC0. "Basic submit
SUBMIT RPUADRC0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUADRC0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Transfer addresses from T536A to central address management
Selection Text: STRASSE = House number + street / PO Box
Selection Text: P_TEST = Test mode?
Selection Text: PLZORT = Zip code and city
Selection Text: NAME = Name
Selection Text: ABREH = Payroll Units
Title: HR-CH: Transfer addresses from T536A to central address management
Text Symbol: E01 = Error in address
Text Symbol: 009 = Following addresses were created:
Text Symbol: 008 = Mode
Text Symbol: 007 = Application key
Text Symbol: 006 = Modified payroll units
Text Symbol: 005 = Payroll Unit
Text Symbol: 004 = Address no.
Text Symbol: 003 = PO Box
Text Symbol: 002 = Line indicator from T536A
Text Symbol: 001 = Address transfer for payroll units


INCLUDES used within this REPORT RPUADRC0

INCLUDE RPUADRC0_TOP.


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:

ADDR_MEMORY_SAVE CALL FUNCTION 'ADDR_MEMORY_SAVE' * EXPORTING * EXECUTE_IN_UPDATE_TASK = ' ' EXCEPTIONS ADDRESS_NUMBER_MISSING = 1 PERSON_NUMBER_MISSING = 2 INTERNAL_ERROR = 3 DATABASE_ERROR = 4 REFERENCE_MISSING = 5 OTHERS = 6.

VIEW_GET_CLIENT_STATE CALL FUNCTION 'VIEW_GET_CLIENT_STATE' IMPORTING TRANSP_STATE = TR_STATE.

TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING IV_CATEGORY = 'CUST' IV_CLI_DEP = 'X' IMPORTING EV_ORDER = G_ORDER EV_TASK = G_TASK EXCEPTIONS INVALID_CATEGORY = 1 NO_CORRECTION_SELECTED = 2 OTHERS = 3.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING address_type = '1' address_number = gi_adrnr-adrnr sender_country = 'CH' receiver_language = sy-langu IMPORTING address_printform_table = gi_adrtab.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = cl_hr99b_pal=>c_root_node i_node_txt = lv_label_address i_node_label = text-005 i_categ_id = c_pal_categids-uadr1 IMPORTING e_node_key = obj_pal_log->g_node_key EXCEPTIONS others = 99.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING address_type = '1' address_number = gi_adrnr-adrnr sender_country = 'CH' receiver_language = sy-langu IMPORTING address_printform_table = gi_adrtab.



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 RPUADRC0 or its description.