SAP Reports / Programs | Cross-Application Components | Joint Venture und Production Sharing Accounting(CA-JVA) SAP CA

MK23BJ30 SAP ABAP INCLUDE - JV enhancements SAPMK23B







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


Text pool values


Title: JV enhancements SAPMK23B


INCLUDES used within this REPORT MK23BJ30

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:

K_COSSA_READ_MULTI_WITH_VERSN CALL FUNCTION 'K_COSSA_READ_MULTI_WITH_VERSN' EXPORTING BIS_PERIODE = COBK-PERAB VON_PERIODE = COBK-PERAB KOKRS = TKA01-KOKRS MODUS = 1 TABLES T_COSEL = TAB_COSEL T_COSSA = TAB_COSSA EXCEPTIONS OTHERS = 1.

K_COSPA_READ_MULTI_WITH_VERSN CALL FUNCTION 'K_COSPA_READ_MULTI_WITH_VERSN' EXPORTING BIS_PERIODE = COBK-PERAB VON_PERIODE = COBK-PERAB KOKRS = TKA01-KOKRS MODUS = 1 TABLES T_COSEL = TAB_COSEL T_COSPA = TAB_COSPA EXCEPTIONS OTHERS = 1.

G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING LEDGER = '00' VARIANT = TKA01-LMONA IMPORTING PERIOD = ACT_PERIOD EXCEPTIONS LEDGER_NOT_ASSIGNED_TO_COMPANY = 1 PERIOD_NOT_DEFINED = 2 VARIANT_NOT_DEFINED = 3 OTHERS = 4.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = TKA04-INUMKR OBJECT = OBJECT SUBOBJECT = *COBK-KOKRS IMPORTING NUMBER = COBK-BELNR RETURNCODE = RETURNCODE EXCEPTIONS INTERVAL_NOT_FOUND = 1 NUMBER_RANGE_NOT_INTERN = 2 OBJECT_NOT_FOUND = 3 QUANTITY_IS_0 = 4 QUANTITY_IS_NOT_1 = 5 INTERVAL_OVERFLOW = 6 OTHERS = 7.

G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING PERIOD = COBK-PERBI VARIANT = TKA01-LMONA YEAR = COBK-GJAHR IMPORTING FROM_DATE = IT_PERIODS-DATAB TO_DATE = IT_PERIODS-DATBI EXCEPTIONS PERIOD_NOT_DEFINED = 1 VARIANT_NOT_DEFINED = 2 OTHERS = 3.

K_OBJECTS_MASTER_READ CALL FUNCTION 'K_OBJECTS_MASTER_READ' * exporting * MAX_ERROR = 8 TABLES COIOB_TAB = ITCOIOB I_PERIODS = IT_PERIODS EXCEPTIONS ERROR_OCCURS = 1 WRONG_OBJECT = 2 OTHERS = 3.

RWIN_CHECK CALL FUNCTION 'RWIN_CHECK' EXPORTING EVENT = 'KOPF ' GJAHR = COBK-GJAHR PROCESS = 'K-BELEG ' TABLES TKOMP = TKOMP EXCEPTIONS OTHERS = 1.

RWIN_CHECK CALL FUNCTION 'RWIN_CHECK' EXPORTING GJAHR = COBK-GJAHR PROCESS = 'K-BELEG1' EVENT = 'PRUEFEN ' TABLES TKOMP = TKOMP EXCEPTIONS OTHERS = 0.

RWIN_CHECK CALL FUNCTION 'RWIN_CHECK' EXPORTING GJAHR = COBK-GJAHR PROCESS = 'K-BELEG1' EVENT = 'FERTIG ' TABLES TKOMP = TKOMP EXCEPTIONS OTHERS = 0.

K_COEP_INSERT CALL FUNCTION 'K_COEP_INSERT' IN UPDATE TASK EXPORTING VRGNG = COBK_BEL-VRGNG TABLES COBK_TAB = COBK_BEL COEP_TAB = COEP_BEL EXCEPTIONS OTHERS = 1.

G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING PERIOD = COBK-PERAB YEAR = COBK-GJAHR VARIANT = TKA01-LMONA IMPORTING FROM_DATE = COBK-BUDAT.



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