SAP Reports / Programs

RK3OS300 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT RK3OS300

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:

RKE_FILL_FIELD_TABLE CALL FUNCTION 'RKE_FILL_FIELD_TABLE' EXPORTING ERKRS = C_ERKRS TABNAME = G_CE_TABNAME TABLES FIELDTAB = GT_FIELDTAB.

RKE_FILL_FIELD_TABLE CALL FUNCTION 'RKE_FILL_FIELD_TABLE' EXPORTING ERKRS = C_ERKRS TABNAME = G_CE_TABNAME TABLES FIELDTAB = GT_FIELDTAB.

RKE_TS_ASSIGNMENT_FIND CALL FUNCTION 'RKE_TS_ASSIGNMENT_FIND' EXPORTING I_ERSCH = G_LAST_ERSCH I_LINE = S_BSEG IMPORTING ERZUO = ERZUO EXCEPTIONS OTHERS = 1.

COPA_CHECK_CO_AREA CALL FUNCTION 'COPA_CHECK_CO_AREA' EXPORTING I_GJAHR = ES_CE0-GJAHR I_KOKRS = ES_CE0-KOKRS IMPORTING ES_TKA00 = GS_TKA00 ES_TKA01 = GS_TKA01 EXCEPTIONS NOT_FOUND = 1 NOT_FOUND_GJAHR = 2 ERROR_COPA_TP = 3 OTHERS = 4.

RKE_READ_ERKRS CALL FUNCTION 'RKE_READ_ERKRS' EXPORTING I_ERKRS = C_ERKRS IMPORTING ET_V_TKEBL = GT_TKEBL.

RKE_TRANSFORM_STRUCTURE CALL FUNCTION 'RKE_TRANSFORM_STRUCTURE' EXPORTING ERKRS = C_ERKRS FROM_AREA = S_CE0 FROM_TABNAME = C_CE0_TABNAME TO_AREA_IMPORT = S_CE4 TO_TABNAME = C_CE4_TABNAME IMPORTING TO_AREA_EXPORT = S_CE4.

RKE_GET_ACCTNR_PAOBJNR CALL FUNCTION 'RKE_GET_ACCTNR_PAOBJNR' EXPORTING I_ERKRS = C_ERKRS I_PA_TYPE = '1' I_VORGANG = G_VRGNG TABLES OBJECT_TABLE = T_CE4.

RKE_POST_PLAN_LINE_ITEMS CALL FUNCTION 'RKE_POST_PLAN_LINE_ITEMS' EXPORTING ERKRS = C_ERKRS PA_TYPE = '1' BUTYP = 'R' TABLES CE0_TAB = T_CE0 EXCEPTIONS KSTAR_INVALID = 1 OTHERS = 2.

RKE_TRANSFORM_STRUCTURE CALL FUNCTION 'RKE_TRANSFORM_STRUCTURE' EXPORTING ERKRS = C_ERKRS FROM_AREA = S_CE0 FROM_TABNAME = C_CE0_TABNAME TO_AREA_IMPORT = S_CE1 TO_TABNAME = G_CE_TABNAME IMPORTING TO_AREA_EXPORT = S_CE1.

RKE_GET_ACT_DOC_NUMBER CALL FUNCTION 'RKE_GET_ACT_DOC_NUMBER' EXPORTING ERKRS = C_ERKRS GJAHR = S_CE1-GJAHR VRGAR = S_CE1-VRGAR IMPORTING BELNR = S_CE1-BELNR EXCEPTIONS DOC_NR_IV_NOT_EXISTS = 01 DOC_NR_IV_OVERFLOW = 02.

RKE_POST_ACT_LINE_ITEM CALL FUNCTION 'RKE_POST_ACT_LINE_ITEM' EXPORTING ERKRS = C_ERKRS IS_REVERSAL = 'X' T_PALEDGER = T_LEDGER TABLES LINE_ITEM_TAB = T_CE1 EXCEPTIONS ALREADY_EXISTS = 1 DOC_NR_IV_NOT_EXISTS = 2 DOC_NR_IV_OVERFLOW = 3 FOREIGN_LOCK = 4 SYSTEM_FAILURE = 5 OTHERS = 6.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = T_EVENTS.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = REPID IT_FIELDCAT = T_FIELDCAT IT_EVENTS = T_EVENTS TABLES T_OUTTAB = GT_CE0.



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