SAP Reports / Programs

RSDXBUS4002 SAP ABAP Report - Create outbound IDOC for DX Workbench (address type 2, object BUS4002)







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


Text pool values


Title: Create outbound IDOC for DX Workbench (address type 2, object BUS4002)


INCLUDES used within this REPORT RSDXBUS4002

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:

ADDR_TSADOBJ_READ_SINGLE CALL FUNCTION 'ADDR_TSADOBJ_READ_SINGLE' EXPORTING object_type = obj_type address_type = '2' context = context IMPORTING tsadobj_wa = tsadobj_wa EXCEPTIONS entry_not_found = 1 OTHERS = 2.

ADDR_TSADRV_READ_WITH_KEY CALL FUNCTION 'ADDR_TSADRV_READ_WITH_KEY' EXPORTING appl_table = tsadobj_wa-table_pers appl_field = tsadobj_wa-field_pers IMPORTING tsadrv_wa = tsadrv_wa EXCEPTIONS entry_not_found = 1 OTHERS = 2.

ADDR_PERSONAL_GET_COMPLETE CALL FUNCTION 'ADDR_PERSONAL_GET_COMPLETE' EXPORTING addrnumber = address_number persnumber = person_number IMPORTING addr2_complete = addr2_complete EXCEPTIONS parameter_error = 1 address_not_exist = 2 person_not_exist = 3 internal_error = 4 OTHERS = 5.

ADDR_PERSONAL_GET CALL FUNCTION 'ADDR_PERSONAL_GET' EXPORTING address_personal_selection = addr_sel IMPORTING address_personal_value = addr_val EXCEPTIONS OTHERS = 6.

MAP2E_ADDR2_VAL_TO_BAPIAD2VL CALL FUNCTION 'MAP2E_ADDR2_VAL_TO_BAPIAD2VL' EXPORTING addr2_val = address_value CHANGING bapiad2vl = bapiad2vl.

MAP2E_&2_TO_&1 call function 'MAP2E_&2_TO_&1' exporting &2 = &3_line-&2 changing &1 = &1.

ALE_ADDRESSPERS_SAVEREPLICA CALL FUNCTION 'ALE_ADDRESSPERS_SAVEREPLICA' EXPORTING objtype = obj_type objid = obj_id * OBJIDEXT = ' ' context = context * SERIAL_ID = '0' TABLES bapiad2vl = bapiad2vl bapiadtel = bapiadtel bapiadfax = bapiadfax bapiadttx = bapiadttx bapiadtlx = bapiadtlx bapiadsmtp = bapiadsmtp bapiadrml = bapiadrml bapiadx400 = bapiadx400 bapiadrfc = bapiadrfc bapiadprt = bapiadprt bapiadssf = bapiadssf bapiaduri = bapiaduri bapiadpag = bapiadpag bapiadrem = bapiad_rem bapicomrem = bapicomrem receivers = receivers * COMMUNICATION_DOCUMENTS = * APPLICATION_OBJECTS = EXCEPTIONS error_creating_idocs = 1 OTHERS = 2.



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