SAP Reports / Programs | Cross-Application Components | General Application Functions | General status management(CA-GTF-TS-SMT) SAP CA

RBSVCDOC SAP ABAP Report - Change Documents in Status Management







RBSVCDOC 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 RBSVCDOC 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 RBSVCDOC. "Basic submit
SUBMIT RBSVCDOC AND RETURN. "Return to original report after report execution complete
SUBMIT RBSVCDOC 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: STAT = Status
Selection Text: OBJNR = Object number
Selection Text: NODIS = Incl. non-displayable statuses
Title: Change Documents in Status Management
Text Symbol: T14 = Status versions
Text Symbol: T13 = List of changed statuses
Text Symbol: T12 = List of changed fields
Text Symbol: T11 = Val. old
Text Symbol: T10 = Val. new
Text Symbol: T09 = Field name
Text Symbol: T08 = Status changes
Text Symbol: T07 = Status history
Text Symbol: T06 = List of all status changes
Text Symbol: T05 = Overview of status changes
Text Symbol: T04 = User status
Text Symbol: T03 = System status
Text Symbol: T02 = Status profile
Text Symbol: T01 = Object
Text Symbol: H08 = Changed by
Text Symbol: H07 = Transaction
Text Symbol: H06 = List of changes
Text Symbol: H04 = User
Text Symbol: H03 = Time
Text Symbol: H02 = Date
Text Symbol: H01 = Action
Text Symbol: E03 = No status change documents exist
Text Symbol: E02 = Status change documents do not exist for this object
Text Symbol: E01 = No status object exists for &
Text Symbol: A02 = Inactive
Text Symbol: A01 = Active


INCLUDES used within this REPORT RBSVCDOC

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:

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING OBJNR = OBJNR TEXT_WANTED = 'X' IMPORTING IDENTIFICATION = IDENT E_TEXT = OTEXT.

TZ_SYSTEM_TO_LOCAL call function 'TZ_SYSTEM_TO_LOCAL' "note1236560 exporting "note1236560 date_system = icdo-udate "note1236560 timezone = sy-zonlo "note1236560 time_system = icdo-utime "note1236560 importing "note1236560 date_local = icdo-udate "note1236560 time_local = icdo-utime "note1236560 exceptions "note1236560 others = 0. "note1236560

TZ_SYSTEM_TO_LOCAL call function 'TZ_SYSTEM_TO_LOCAL' "note1236560 exporting "note1236560 date_system = icds-udate "note1236560 timezone = sy-zonlo "note1236560 time_system = icds-utime "note1236560 importing "note1236560 date_local = icds-udate "note1236560 time_local = icds-utime "note1236560 exceptions "note1236560 others = 0. "note1236560

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING LANGUAGE = SY-LANGU STATUS_NUMBER = ICDS-STAT STSMA = JSTO-STSMA IMPORTING TXT04 = ICDS-TXT04 TXT30 = ICDS-TXT30 EXCEPTIONS OTHERS = 1.

STATUS_MAINTAIN CALL FUNCTION 'STATUS_MAINTAIN' EXPORTING DISPLAY_ONLY = 'X' FLG_NO_STSMA_CHANGE = 'X' SUBSCREEN_EXT = '0800' SUBSCREEN_PROG_EXT = SYREPID OBJNR = OBJNR.

STATUS_BUFFER_SET_OBJECT CALL FUNCTION 'STATUS_BUFFER_SET_OBJECT' EXPORTING OBJNR = OBJNR OBTYP = JSTO-OBTYP STSMA = JSTO-STSMA TABLES STATUS = ISTAT.

STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING FLG_USER_STAT = 'X' OBJNR = OBJNR SPRAS = SY-LANGU IMPORTING LINE = LOG-STEXT USER_LINE = LOG-ATEXT.

STATUS_BUFFER_SET_OBJECT CALL FUNCTION 'STATUS_BUFFER_SET_OBJECT' EXPORTING OBJNR = OBJNR OBTYP = JSTO-OBTYP STSMA = JSTO-STSMA TABLES STATUS = ISTAT.

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING LANGUAGE = SY-LANGU STATUS_NUMBER = STAT_ACT STSMA = JSTO-STSMA IMPORTING TXT04 = TJ02T-TXT04 TXT30 = TJ02T-TXT30 EXCEPTIONS OTHERS = 1.



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