SAP Reports / Programs

RUDUSR01 SAP ABAP Report - DM: Interface for ADW







RUDUSR01 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 RUDUSR01 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 RUDUSR01. "Basic submit
SUBMIT RUDUSR01 AND RETURN. "Return to original report after report execution complete
SUBMIT RUDUSR01 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: PATTR = With entity type attribs. (X)
Selection Text: PBKZ = Edit ID L-List W-Write
Selection Text: PEXT = File prefix
Selection Text: PMODEL = Data model name
Selection Text: PSPRAS = Language
Title: DM: Interface for ADW
Text Symbol: W04 = Rec.4 - TI.EXP
Text Symbol: H00 = Data model
Text Symbol: H01 = With attributes
Text Symbol: H02 = With items
Text Symbol: W01 = Rec.1 - OI.EXP
Text Symbol: W02 = Rec.2 - AI.EXP
Text Symbol: W03 = Rec.3 - PI.EXP


INCLUDES used within this REPORT RUDUSR01

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:

SDU_MARK_TREE_FETCH CALL FUNCTION 'SDU_MARK_TREE_FETCH' EXPORTING LANGU = PSPRAS LEVEL = '*' WITH_TEXT = 'X' TABLES ENTITIES = ENTITIES HIERARCHY = HIERARCHY MODELS = MODELS OBJECT_LIST = OBJECT_LIST EXCEPTIONS NOT_FILLED = 01 NOT_FOUND = 02 WRONG_TYPE = 03.

SDUY_DATAMODEL_READ_OLD * call function 'SDUY_DATAMODEL_READ_OLD' * exporting * model_name = pmodel * activation_type = 'A' * language = pspras * with_docu = 'X' * docutype = 'U' * importing * model_inf = rpy_dmodel * tables * entity_tab = i_entity * refmodel_tab = i_dmodel * model_structure_tab = i_estruc * relation_tab = i_relat * docu_table_user = i_docusr * docu_table_tech = i_docu * exceptions * cancelled = 01 * not_found = 02 * permission_error = 03.

RPY_DATA_MODEL_READ CALL FUNCTION 'RPY_DATA_MODEL_READ' EXPORTING CICO_MODE = 'R' * CICO_REQUEST_NO = ' ' DATA_MODEL_ID = PMODEL LANGUAGE = PSPRAS * LEVELS = 1 WITH_FORMATTED_DOCUMENTATION = 'X' WITH_SAPSCRIPT_DOCUMENTATION = ' ' * WITH_PARTS_LISTS = 'X' * WITH_SUCCESSOR_MODEL_INFOS = ' ' * WITH_SUCCESSOR_ENTITY_INFOS = ' ' * WITH_ALIASES = ' ' * WITH_ATTRIBUTES = ' ' * WITH_INGOING_SPECIALIZATIONS = ' ' * WITH_OUTGOING_SPECIALIZATIONS = ' ' * WITH_INGOING_RELATIONSHIPS = ' ' * WITH_OUTGOING_RELATIONSHIPS = ' ' * WITH_OUTGOING_SPEC_CATEGORIES = ' ' * WITH_ASSIGNED_TABLES_OR_VIEWS = ' ' * WITH_WHERE_USED_LISTS = ' ' IMPORTING MODEL_INFO = RPYDMDM TABLES ERRORS = I_ERRORS FORMATTED_DOCUMENTATION = I_DOCUSR * SAPSCRIPT_DOCUMENTATION = * PARTS_LISTS = * SUCCESSOR_MODEL_INFOS = * SUCCESSOR_ENTITY_INFOS = * ALIASES = * ATTRIBUTES = * INGOING_SPECIALIZATIONS = * OUTGOING_SPECIALIZATIONS = * INGOING_RELATIONSHIPS = * OUTGOING_RELATIONSHIPS = * OUTGOING_SPEC_CATEGORIES = * ASSIGNED_TABLES_OR_VIEWS = * WHERE_USED_LISTS = EXCEPTIONS OTHERS = 1.

RPY_ENTITY_READ CALL FUNCTION 'RPY_ENTITY_READ' EXPORTING ENTITY_ID = ENTITIES-ENTID LANGUAGE = SY-LANGU WITH_ALIASES = 'X' WITH_FORMATTED_DOCUMENTATION = 'X' WITH_SAPSCRIPT_DOCUMENTATION = ' ' WITH_ATTRIBUTES = 'X' WITH_INGOING_SPECIALIZATIONS = 'X' WITH_INGOING_RELATIONSHIPS = 'X' WITH_OUTGOING_SPEC_CATEGORIES = 'X' WITH_ASSIGNED_TABLE_OR_VIEW = 'X' * WITH_WHERE_USED_LIST = ' ' IMPORTING ENTITY_INFO = RPYDMEN ASSIGNED_TABLE_OR_VIEW = I_VIEWAL TABLES ALIASES = I_ALIAS ERRORS = I_ERRORS FORMATTED_DOCUMENTATION = I_DOCUSR * sapscript_documentation = ATTRIBUTES = I_ATTRIB INGOING_SPECIALIZATIONS = I_SPECI INGOING_RELATIONSHIPS = I_RELAT OUTGOING_SPEC_CATEGORIES = I_SPTYP.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "Senden Satz1 * EXPORTING ** FILENAME = 'd:\simoadw1' * FILENAME = EFILENAME * FILETYPE = 'ASC' * TABLES * DATA_TAB = SATZ1 * EXCEPTIONS * FILE_OPEN_ERROR = 01 * FILE_WRITE_ERROR = 02 * INVALID_FILESIZE = 03 * INVALID_TABLE_WIDTH = 04 * INVALID_TYPE = 05 * NO_BATCH = 06 * UNKNOWN_ERROR = 07.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "Senden Satz2 * EXPORTING ** FILENAME = 'd:\simoadw2' * FILENAME = EFILENAME * FILETYPE = 'ASC' * TABLES * DATA_TAB = SATZ2 * EXCEPTIONS * FILE_OPEN_ERROR = 01 * FILE_WRITE_ERROR = 02 * INVALID_FILESIZE = 03 * INVALID_TABLE_WIDTH = 04 * INVALID_TYPE = 05 * NO_BATCH = 06 * UNKNOWN_ERROR = 07.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "Senden Satz3 * EXPORTING ** FILENAME = 'd:\simoadw3' * FILENAME = EFILENAME * FILETYPE = 'ASC' * TABLES * DATA_TAB = SATZ3 * EXCEPTIONS * FILE_OPEN_ERROR = 01 * FILE_WRITE_ERROR = 02 * INVALID_FILESIZE = 03 * INVALID_TABLE_WIDTH = 04 * INVALID_TYPE = 05 * NO_BATCH = 06 * UNKNOWN_ERROR = 07.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "Senden Satz 4 * EXPORTING ** FILENAME = 'd:\simoadw4' * FILENAME = EFILENAME * FILETYPE = 'ASC' * TABLES * DATA_TAB = SATZ4 * EXCEPTIONS * FILE_OPEN_ERROR = 01 * FILE_WRITE_ERROR = 02 * INVALID_FILESIZE = 03 * INVALID_TABLE_WIDTH = 04 * INVALID_TYPE = 05 * NO_BATCH = 06 * UNKNOWN_ERROR = 07.



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