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

MGJAMF01 SAP ABAP INCLUDE - Structures and working fields for Invoice Receipt before Goods Receipt







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

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:

FI_PERIOD_CHECK CALL FUNCTION 'FI_PERIOD_CHECK' EXPORTING I_BUKRS = U_BUKRS I_GJAHR = U_GJAHR I_KOART = U_KOART I_KONTO = U_HKONT I_MONAT = L_PERID.

JV_OWNERSHIP CALL FUNCTION 'JV_OWNERSHIP' EXPORTING I_BUKRS = L_HDR-BUKRS I_ANLN1 = L_HDR-ANLN1 I_ANLN2 = '0000' I_AUFNR = L_HDR-FAUFNR I_PSPNR = L_HDR-FPSPNR I_KUNNR = HLP_KUNNR I_BLDAT = L_HDR-BLDAT IMPORTING O_RECID = SEND_RECID O_VNAME = SEND_VNAME O_EGRUP = SEND_EGRUP O_ETYPE = SEND_ETYPE O_KOART = SEND_KOART O_VTYPE = HLP_VTYPE TABLES T_EQ_SHARE = T_EQ_SHARE_S.

JV_OWNERSHIP CALL FUNCTION 'JV_OWNERSHIP' EXPORTING I_BUKRS = L_HDR-BUKRS I_ANLN1 = L_HDR-ZANLN1 I_ANLN2 = '0000' I_AUFNR = L_HDR-AUFNR I_PSPNR = L_HDR-PSPNR I_KUNNR = L_HDR-KUNNR I_BLDAT = L_HDR-BLDAT IMPORTING O_RECID = RECV_RECID O_VNAME = RECV_VNAME O_EGRUP = RECV_EGRUP O_ETYPE = RECV_ETYPE O_KOART = RECV_KOART O_KOART2 = RECV_KOART2 O_VTYPE = HLP_VTYPE TABLES T_EQ_SHARE = T_EQ_SHARE_R.

ANLA_READ_SINGLE CALL FUNCTION 'ANLA_READ_SINGLE' EXPORTING F_ANLA = anla I_LOCK = ' ' I_BYPASSING_MEMORY = 'X' IMPORTING F_ANLA = anla EXCEPTIONS NOT_FOUND = 1 SELBST_GESPERRT = 2 VORHANDEN = 3 OTHERS = 4.

JV_AM_SUBNUMBER_SELECT CALL FUNCTION 'JV_AM_SUBNUMBER_SELECT' EXPORTING I_BUKRS = JVRAM01-BUKRS I_ANLN1 = JVRAM01-ANLN1 I_VYEAR = JVRAM01-VYEAR I_VMNTH = JVRAM01-VMNTH I_ANBTR = JVRAM01-EBC I_WBWRT = JVRAM01-CRP I_BUJHR = JVRAM01-BUJHR I_ZANLN1 = JVRAM01-ZANLN1 I_AUFNR = JVRAM01-AUFNR I_PSPNR = JVRAM01-PSPNR I_KUNNR = JVRAM01-KUNNR I_BLDAT = JVRAM01-BLDAT I_ZUONR = JVRAM01-H_ZUONR I_MATNR = JVRAM01-MATNR IMPORTING O_ANBTR = JVRAM01-EBC O_SAVE = G_SAVE_NOW TABLES T_LINE = T_LINE t_anla = t_f_anla t_anlb = t_f_anlb t_anlz = t_f_anlz.

ASSET_MASTERRECORD_REFRESH CALL FUNCTION 'ASSET_MASTERRECORD_REFRESH' EXPORTING I_FLG_ALL = CON_X.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING ENTRY_ACT = -TOP_LINE ENTRY_FROM = 1 ENTRY_TO = -LINES LAST_PAGE_FULL = 'X' LOOPS = OK_CODE = P_OK OVERLAPPING = 'X' IMPORTING ENTRY_NEW = L_TC_NEW_TOP_LINE EXCEPTIONS NO_ENTRY_OR_PAGE_ACT = 01 NO_ENTRY_TO = 02 NO_OK_CODE_OR_PAGE_GO = 03 OTHERS = 99.



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