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

RBSVSIM0_CRM SAP ABAP Report - Status Simulation







RBSVSIM0_CRM 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 RBSVSIM0_CRM 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 RBSVSIM0_CRM. "Basic submit
SUBMIT RBSVSIM0_CRM AND RETURN. "Return to original report after report execution complete
SUBMIT RBSVSIM0_CRM 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: OBTYP = Object Type
Selection Text: STSMA = Status Profile
Title: Status Simulation
Text Symbol: T03 = System Status
Text Symbol: T04 = User Status
Text Symbol: T05 = St.Prof.
Text Symbol: T02 = Status Profile
Text Symbol: 001 = Initialization
Text Symbol: 002 = Status Maintenance
Text Symbol: 003 = Permitted transactions that change the status
Text Symbol: 004 = Actions Carried Out
Text Symbol: 005 = Log
Text Symbol: T01 = Object Type


INCLUDES used within this REPORT RBSVSIM0_CRM

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:

CRM_STATUS_OBJECT_CREATE CALL FUNCTION 'CRM_STATUS_OBJECT_CREATE' EXPORTING OBTYP = OBTYP STSMA = STSMA IMPORTING OBJNR = OBJNR.

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

CRM_STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'CRM_STATUS_CHANGE_FOR_ACTIVITY' EXPORTING OBJNR = OBJNR VRGNG = VTAB-VRGNG.

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

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING RESET = 'X' I_ALLOW_FOREIGN_RESET = 'X'.

CRM_STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'CRM_STATUS_CHANGE_FOR_ACTIVITY' EXPORTING CHECK_ONLY = 'X' OBJNR = OBJNR VRGNG = VTAB-VRGNG IMPORTING ERROR_OCCURRED = ERROR_OCCURRED.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS A_MESSAGE = 01 E_MESSAGE = 02 I_MESSAGE = 03 W_MESSAGE = 04.

CRM_STATUS_BUFFER_SET_OBJECT CALL FUNCTION 'CRM_STATUS_BUFFER_SET_OBJECT' EXPORTING OBJNR = OBJNR OBTYP = OBTYP STSMA = LOG-STSMA TABLES STATUS = STAT.

CRM_STATUS_MAINTAIN CALL FUNCTION 'CRM_STATUS_MAINTAIN' EXPORTING OBJNR = OBJNR SUBSCREEN_EXT = '0800' SUBSCREEN_PROG_EXT = SYREPID.

CRM_STATUS_OBJECT_READ CALL FUNCTION 'CRM_STATUS_OBJECT_READ' EXPORTING OBJNR = OBJNR IMPORTING E_JSTO = CRM_JSTO.

CRM_STATUS_READ CALL FUNCTION 'CRM_STATUS_READ' EXPORTING OBJNR = OBJNR IMPORTING STSMA = CRM_JSTO-STSMA TABLES STATUS = STAT.

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



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