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
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.
Title: Report to create status management objects
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ROIFSTAT - Report to create status management objects ROIFSTAT - Report to create status management objects ROIFR061 - Customer master adaption for ALE ROIFR061 - Customer master adaption for ALE ROIFOPBLTCONV - Conversion of 'OIFOPBLT' settings to screen configuration ROIFOPBLTCONV - Conversion of 'OIFOPBLT' settings to screen configuration