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

MGJAMF02 SAP ABAP INCLUDE - Allocation Exit Module Line Item Check







MGJAMF02 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 MGJAMF02 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 MGJAMF02. "Basic submit
SUBMIT MGJAMF02 AND RETURN. "Return to original report after report execution complete
SUBMIT MGJAMF02 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 MGJAMF02

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:

PRICING CALL FUNCTION 'PRICING' EXPORTING CALCULATION_TYPE = JV_CALTYP COMM_HEAD_I = JVKOMK "#EC ENHOK COMM_ITEM_I = JVKOMP "#EC ENHOK IMPORTING COMM_HEAD_E = JVKOMK "#EC ENHOK COMM_ITEM_E = JVKOMP "#EC ENHOK TABLES TKOMV = TJVKOMV.

PRICING_SCREEN CALL FUNCTION 'PRICING_SCREEN' EXPORTING COMM_HEAD_I = JVKOMK "#EC ENHOK COMM_ITEM_I = JVKOMP "#EC ENHOK * COMM_TEXT = '' * DISPLAY_ONLY = '' * MATERIAL_TEXT = '' TRTYP_I = 'V' * FPTYP_I = '' * CTRL_NO_DISPLAY = ' ' * REQUEST_POS1 = '-' * REQUEST_POSM = '-' * REQUEST_POSP = '-' * REQUEST_POSL = '-' IMPORTING COMM_HEAD_E = JVKOMK "#EC ENHOK COMM_ITEM_E = JVKOMP "#EC ENHOK * CALCULATION_TYPE = * FCODE_E = TABLES * TKOMV = tjvkomv " 1627972 TKOMV = EBC_TJVKOMV " 1627972 * SVBAP = * CHANGING * C_VFKOMV = .

PRICING_DIALOG * CALL FUNCTION 'PRICING_DIALOG' * EXPORTING * COMM_HEAD_I = JVKOMK * COMM_ITEM_I = JVKOMP * COMM_TEXT = TEXT-G01 * T185_I = T185 * T185F_I = T185F * T185V_I = T185V * IMPORTING * COMM_HEAD_E = JVKOMK * COMM_ITEM_E = JVKOMP * T185_E = T185 * T185F_E = T185F * TABLES * TKOMV = TJVKOMV.

JV_FILL_JVKOMK CALL FUNCTION 'JV_FILL_JVKOMK' EXPORTING I_KALSM = JV_KALSM I_KAPPL = JV_KAPPL I_MKPF = MKPF I_MSEG = MSEG IMPORTING E_KOMK = JVKOMK.

JV_FILL_JVKOMP CALL FUNCTION 'JV_FILL_JVKOMP' EXPORTING I_KALSM = JV_KALSM I_KAPPL = JV_KAPPL I_MKPF = MKPF I_MSEG = MSEG IMPORTING E_KOMP = JVKOMP.

PRICING CALL FUNCTION 'PRICING' EXPORTING CALCULATION_TYPE = JV_CALTYP COMM_HEAD_I = JVKOMK COMM_ITEM_I = JVKOMP IMPORTING COMM_HEAD_E = JVKOMK COMM_ITEM_E = JVKOMP TABLES TKOMV = EBC_TJVKOMV. "so3k-crp--

PRICING_SCREEN CALL FUNCTION 'PRICING_SCREEN' EXPORTING COMM_HEAD_I = jvkomk "#EC ENHOK COMM_ITEM_I = jvkomp "#EC ENHOK * COMM_TEXT = '' * DISPLAY_ONLY = '' * MATERIAL_TEXT = '' TRTYP_I = 'V' * FPTYP_I = '' * CTRL_NO_DISPLAY = * REQUEST_POS1 = '-' * REQUEST_POSM = '-' * REQUEST_POSP = '-' * REQUEST_POSL = '-' IMPORTING COMM_HEAD_E = jvkomk "#EC ENHOK COMM_ITEM_E = jvkomp "#EC ENHOK * CALCULATION_TYPE = * FCODE_E = TABLES TKOMV = tjvkomv * SVBAP = * CHANGING * C_VFKOMV = .

PRICING_DIALOG * CALL FUNCTION 'PRICING_DIALOG' * EXPORTING * COMM_HEAD_I = JVKOMK * COMM_ITEM_I = JVKOMP * COMM_TEXT = TEXT-G01 * T185_I = T185 * T185F_I = T185F * T185V_I = T185V * IMPORTING * COMM_HEAD_E = JVKOMK * COMM_ITEM_E = JVKOMP * T185_E = T185 * T185F_E = T185F * TABLES * TKOMV = EBC_TJVKOMV. "so3k-crp--

JV_OWNERSHIP CALL FUNCTION 'JV_OWNERSHIP' EXPORTING I_BUKRS = JVRAM01-BUKRS I_ANLN1 = JVRAM01-ANLN1 I_ANLN2 = '0000' I_AUFNR = JVRAM01-FAUFNR I_PSPNR = JVRAM01-FPSPNR I_KUNNR = SPACE I_BLDAT = JVRAM01-BLDAT IMPORTING O_WHOLE = X_FLAG TABLES T_EQ_SHARE = DUMMYTAB EXCEPTIONS OTHERS = 1.

JV_OWNERSHIP CALL FUNCTION 'JV_OWNERSHIP' EXPORTING I_BUKRS = JVRAM01-BUKRS I_ANLN1 = JVRAM01-ZANLN1 I_ANLN2 = '0000' I_AUFNR = JVRAM01-AUFNR I_PSPNR = JVRAM01-PSPNR I_KUNNR = JVRAM01-KUNNR I_BLDAT = JVRAM01-BLDAT IMPORTING O_WHOLE = X_FLAG TABLES T_EQ_SHARE = DUMMYTAB EXCEPTIONS OTHERS = 1.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' "so3k-crp-- EXPORTING "so3k-crp-- NR_RANGE_NR = '02' "so3k-crp-- OBJECT = 'KONV' "so3k-crp-- IMPORTING "so3k-crp-- NUMBER = CRP_KNUMV. "so3k-crp--

JV_PRICING_POST CALL FUNCTION 'JV_PRICING_POST' IN UPDATE TASK "so3k-crp-- TABLES "so3k-crp-- T_KOMV = TJVKOMV . "so3k-crp--



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