SAP Reports / Programs

RSWOBPRT SAP ABAP Report - Print Object Types







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


Text pool values


Object types selected
Selection Text: DOCU =
Selection Text: FORM = Form
Selection Text: INTERF =
Selection Text: OBJTYPE = Object type name
Selection Text: RELEASED =
Selection Text: SOURCE =
Selection Text: TXT_PATT = Text pattern
Title: Print Object Types
Text Symbol: 001 = No object type found
Text Symbol: 002 = Error
Text Symbol: 003 = No selection made
Text Symbol: P01 = Released
Text Symbol: P02 = Interface
Text Symbol: P03 = Documentation
Text Symbol: P04 = Source text
Text Symbol: T01 = Object types
Text Symbol: T02 = Range
Text Symbol: T03 = SAPscript


INCLUDES used within this REPORT RSWOBPRT

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:

SWO_QUERY_OBJTYPES CALL FUNCTION 'SWO_QUERY_OBJTYPES' EXPORTING * LANGUAGE = SY-LANGU OBJTYPECLASS_SAP = 'X' OBJTYPE = OBJTYPE TEXTPATTERN = TXT_PATT RELEASED = RELEASED TABLES OBJTYPES = ITSWOF EXCEPTIONS OTHERS = 1.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' "**********************start SAPscript EXPORTING * DEVICE = DEVICE DIALOG = DIALOG FORM = FORM * LANGUAGE = LANGUAGE OPTIONS = OPTIONS EXCEPTIONS CANCELED = 1.

START_FORM CALL FUNCTION 'START_FORM' EXPORTING FORM = FORM PROGRAM = 'RSWOBPRT'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'OBJ_TIT_TAB'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'OBJ_TIT_INDX'.

END_FORM CALL FUNCTION 'END_FORM' IMPORTING RESULT = RESULT.

SWO_OBJTYPE_WRITE_FORM CALL FUNCTION 'SWO_OBJTYPE_WRITE_FORM' EXPORTING FORM = FORM * LANGUAGE = SY-LANGU OBJTYPE = ITSWOF-OBJTYPE WITH_INTERFACE = INTERF WITH_DOC = DOCU WITH_SOURCE = SOURCE CHANGING RESULT = RESULT EXCEPTIONS DATA_NOT_FOUND = 1.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = RESULT.

HELP_VALUES_GET_AND_RETURN_TAB * CALL FUNCTION 'HELP_VALUES_GET_AND_RETURN_TAB' * EXPORTING ** CUCOL = 0 ** CUROW = 0 * DISPLAY = ' ' * SELECTFIELD = SELECTFIELD * TABLENAME = TABLENAME ** WRITE_SELECTFIELD_IN_COLOURS = 'X' ** USE_USER_DEFINED_FIELDS = ' ' ** NO_SCROLL = ' ' * TITEL = 'Selektierte Objekten' * TABLES * FULL_TABLE = ITSWOF * SELECTION_TAB = SEL_TAB ** USER_FIELDS = * USER_MARKED_VALUES = UV * EXCEPTIONS ** NO_TABLEFIELDS_IN_DICTIONARY = 1 ** NO_TABLESTRUCTURE_GIVEN = 2 ** FIELD_NOT_IN_DDIC = 3 ** MORE_THEN_ONE_SELECTFIELD = 4 ** NO_SELECTFIELD = 5 * OTHERS = 6.



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