SAP Reports / Programs

RPHASETC SAP ABAP Report - documentation and ABAP source code







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


Text pool values


Text Symbol: 001 = Data Being Read...
Text Symbol: 002 = Display of Selection Options
Text Symbol: 003 = Table Contains No Values
Text Symbol: 011 = Copy a SET DataSource
Text Symbol: 012 = User's Self-Defined SET DataSource name
Text Symbol: 013 = Do You Really Want to Copy This DataSource?


INCLUDES used within this REPORT RPHASETC

INCLUDE LRSAPK01.
INCLUDE LRSALK01.


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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = TEXT-001.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING CUCOL = 2 CUROW = 4 SELECTFIELD = 'OLTPSOURCE' TITEL = TEXT-002 IMPORTING IND = L_TABLE_INDEX TABLES FIELDS = L_T_FIELDS FULL_TABLE = L_T_SELECT EXCEPTIONS FULL_TABLE_EMPTY = 1 NO_TABLESTRUCTURE_GIVEN = 2 NO_TABLEFIELDS_IN_DICTIONARY = 3 MORE_THEN_ONE_SELECTFIELD = 4 NO_SELECTFIELD = 5 OTHERS = 6.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = TEXT-003.

RSA1_SINGLE_OLTPSOURCE_GET CALL FUNCTION 'RSA1_SINGLE_OLTPSOURCE_GET' EXPORTING I_OLTPSOURCE = OSOURCE2 EXCEPTIONS NO_AUTHORITY = 1 NOT_EXIST = 2 INCONSISTENT = 3 OTHERS = 4.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = L_TEXT70 TEXTLINE2 = TEXT-013 TITEL = TEXT-011 IMPORTING ANSWER = L_ANSWER.

RSA1_SINGLE_OLTPSOURCE_GET CALL FUNCTION 'RSA1_SINGLE_OLTPSOURCE_GET' EXPORTING I_OLTPSOURCE = OSOURCE1 IMPORTING E_S_OLTPSOURCE = L_S_OLTPSOURCE E_S_OHIECAT = L_S_OHIECAT E_T_OHIECOM = L_T_OHIECOM EXCEPTIONS NO_AUTHORITY = 1 NOT_EXIST = 2 INCONSISTENT = 3 OTHERS = 4.

RSA1_OLTPSOURCE_GENERATE CALL FUNCTION 'RSA1_OLTPSOURCE_GENERATE' EXPORTING I_SAVE_DESPITE_WARNING = 'X' I_S_OLTPSOURCE = L_S_OSGEN I_T_OLTPSOURCEFIELDS = L_T_OLTPFIELDS I_T_OSTEXT = L_T_OSTEXT I_S_OSHIECAT = L_S_OHIECAT I_T_OHIECOM = L_T_OHIECOM I_WITH_DYNPRO = RSAOT_C_FLAG-OFF IMPORTING E_T_MESSAGES = L_T_MESSAGES E_SUBRC = L_SUBRC EXCEPTIONS INTERNAL_ERROR = 1 TRANSPORT_ERROR = 2 LOCKED = 3 INCONSISTENT = 4 CANCELLED = 5 OTHERS = 6.

RSA2_SERV_HIEROSOURCE_MAINTAIN CALL FUNCTION 'RSA2_SERV_HIEROSOURCE_MAINTAIN' EXPORTING I_WORKMODE = 'C' I_S_OSOURCE = L_S_OLTPSOURCE IMPORTING E_CHANGED = L_CHANGED E_S_OHIECAT = L_S_OHIECAT E_T_OHIECOM = L_T_OHIECOM EXCEPTIONS RSA2_HIEROS_MAINTAIN_ERROR = 1 OTHERS = 2.

RSA2_SERV_HIEROSOURCE_SAVE CALL FUNCTION 'RSA2_SERV_HIEROSOURCE_SAVE' EXPORTING I_S_OSOURCE = L_S_OLTPSOURCE I_S_OHIECAT = L_S_OHIECAT I_T_OHIECOM = L_T_OHIECOM EXCEPTIONS RSA2_HIEROSOURCE_SAVE_ERROR = 1 OTHERS = 2.

RSAL_LOG_SHOW CALL FUNCTION 'RSAL_LOG_SHOW' EXPORTING I_OBJECT = 'RSAR' I_SUBOBJECT = 'METADATA' I_FUNCTION = L_EXTERNE_NUMMER I_INFOSOURCE = L_S_OLTPSOURCE-OLTPSOURCE I_TYPE = 'H' I_INTERN = ' ' 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 RPHASETC or its description.