SAP Reports / Programs

ROIFSTAT SAP ABAP Report - Report to create status management objects







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


Text pool values


Title: Report to create status management objects


INCLUDES used within this REPORT ROIFSTAT

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:

STATUS_OBJECT_CREATE CALL FUNCTION 'STATUS_OBJECT_CREATE' EXPORTING CHGKZ = C_FLAG_ON OBTYP = C_OBTYP_PBL IMPORTING OBJNR = G_OBJNR_TEMP EXCEPTIONS OBTYP_INVALID = 1 STATUS_OBJECT_ALREADY_EXISTS = 2 STSMA_INVALID = 3 STSMA_OBTYP_INVALID = 4 OTHERS = 5.

OBJECT_NUMBER_GET_BL CALL FUNCTION 'OBJECT_NUMBER_GET_BL' EXPORTING PBLNR = G_OIFSPBL_TAB-PBLNR IMPORTING OBJNR = G_OIFSPBL_TAB-OBJNR EXCEPTIONS NUMBER_ALREADY_EXISTS = 1 OTHERS = 2.

STATUS_OBJECT_SWITCH_NUMBER CALL FUNCTION 'STATUS_OBJECT_SWITCH_NUMBER' EXPORTING OBJNR_NEW = G_OIFSPBL_TAB-OBJNR OBJNR_OLD = G_OBJNR_TEMP EXCEPTIONS OBJECT_NOT_FOUND = 1 OBJNR_NEW_INVALID = 2 OBJNR_OLD_INVALID = 3 STATUS_OBJECT_ALREADY_EXISTS = 4 OTHERS = 5.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING OBJNR = G_OIFSPBL_TAB-OBJNR STATUS = C_STATUS_DELETION_FLAG EXCEPTIONS OBJECT_NOT_FOUND = 1 STATUS_NOT_ACTIVE = 2 OTHERS = 3.

STATUS_CHANGE_INTERN CALL FUNCTION 'STATUS_CHANGE_INTERN' EXPORTING OBJNR = G_OIFSPBL_TAB-OBJNR * importing * error_occurred = * object_not_found = * status_inconsistent = * status_not_allowed = TABLES STATUS = G_STATUS_TAB EXCEPTIONS OBJECT_NOT_FOUND = 1 STATUS_INCONSISTENT = 2 STATUS_NOT_ALLOWED = 3 OTHERS = 4.



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