SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Function Builder(BC-DWB-TOO-FUB) SAP BC

RS_FUNCTION_SHIFT_INCLUDE SAP ABAP Report - Shift function module of a function group from INCLNR1 to INCKNR2







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


Text pool values


Title: Shift function module of a function group from INCLNR1 to INCKNR2


INCLUDES used within this REPORT RS_FUNCTION_SHIFT_INCLUDE

REPORT RS_FUNCTION_SHIFT_INCLUDE MESSAGE-ID FL.
REPORT RS_FUNCTION_SHIFT_INCLUDE MESSAGE-ID FL.

READ REPORT OLD_INCLUDE INTO L_SOURCE.
INSERT REPORT NEW_INCLUDE FROM L_SOURCE PROGRAM TYPE 'I'.
DELETE REPORT OLD_INCLUDE.
READ REPORT OLD_DINCLUDE INTO L_SOURCE.
INSERT REPORT NEW_DINCLUDE FROM L_SOURCE PROGRAM TYPE 'I'.
DELETE REPORT OLD_DINCLUDE.
READ REPORT OLD_VINCLUDE INTO L_SOURCE.
INSERT REPORT NEW_VINCLUDE FROM L_SOURCE PROGRAM TYPE 'I'.
DELETE REPORT OLD_VINCLUDE.
FORM SAVE_CHG_INCLUDE USING P_OLD_INCL


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:

RS_ACCESS_PERMISSION CALL FUNCTION 'RS_ACCESS_PERMISSION' EXPORTING authority_check = 'X' global_lock = 'X' * MODE = 'MODIFY' object = area object_class = obj_type EXCEPTIONS canceled_in_corr = 1 enqueued_by_user = 2 enqueue_system_failure = 3 illegal_parameter_values = 4 locked_by_author = 5 no_modify_permission = 6 no_show_permission = 7 permission_failure = 8 request_language_denied = 9 OTHERS = 10.

FUNCTION_INCLUDE_CONCATENATE CALL FUNCTION 'FUNCTION_INCLUDE_CONCATENATE' EXPORTING include_number = old_incl IMPORTING include = old_include uxx = uxx_name CHANGING complete_area = area.

FUNCTION_INCLUDE_CONCATENATE CALL FUNCTION 'FUNCTION_INCLUDE_CONCATENATE' EXPORTING include_number = new_incl1 IMPORTING include = new_include CHANGING complete_area = area.

RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING object = fbname object_class = 'FUNC' IMPORTING korrnum = l_korr EXCEPTIONS cancelled = 1 permission_failure = 2 unknown_objectclass = 3 OTHERS = 4.

RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING object = uxx_name object_class = 'REPS' korrnum = l_korr EXCEPTIONS cancelled = 1 permission_failure = 2 unknown_objectclass = 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 RS_FUNCTION_SHIFT_INCLUDE or its description.