MGJAMF05 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 MGJAMF05 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Asset creation
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ANLA_READ_SINGLE CALL FUNCTION 'ANLA_READ_SINGLE' EXPORTING F_ANLA = LD_ANLA I_LOCK = ' ' IMPORTING F_ANLA = LD_ANLA EXCEPTIONS NOT_FOUND = 1 SELBST_GESPERRT = 2.
ANLZ_READ_MULTIPLE_BDATU CALL FUNCTION 'ANLZ_READ_MULTIPLE_BDATU' EXPORTING I_ADATU = JVRAM01-BUDAT I_ANLN1 = U_ANLN1 I_ANLN2 = '0000' I_BDATU = JVRAM01-BUDAT I_BUKRS = JVRAM01-BUKRS TABLES T_ANLZ = LT_ANLZ EXCEPTIONS NOT_FOUND = 1.
ANLB_READ_MULTIPLE_AFABE CALL FUNCTION 'ANLB_READ_MULTIPLE_AFABE' EXPORTING I_ANLN1 = U_ANLN1 I_ANLN2 = '0000' I_BUKRS = U_BUKRS TABLES T_ANLB = T_ANLB.
CREATE_ASSET_FOR_POSTING CALL FUNCTION 'CREATE_ASSET_FOR_POSTING' EXPORTING I_ANLA = LD_ANLA I_ANLZ = LD_ANLZ * I_RANLN1 = U_ANLN1 * I_RANLN2 = '0000' * I_RBUKRS = U_BUKRS I_SUBNO = 'X' I_DARK = 'X' * I_BUKRS_FIX = 'X' * I_TRANSV = LD_TRANSV I_CALLED_BY_TRANSFER = ' ' IMPORTING E_ANLH = LD_ANLH E_ANLA = LD_ANLA E_ANLV = LD_ANLV E_ANLZ = LD_ANLZ TABLES * T_ANLB_I = T_ANLB T_ANLB_E = T_ANLB.
AM_ASSET_READ_FOR_POSTING CALL FUNCTION 'AM_ASSET_READ_FOR_POSTING' EXPORTING I_BUKRS = U_BUKRS I_ANLN1 = U_ANLN1 I_ANLN2 = '0000' I_GJAHR = JVRAM01-BUJHR IMPORTING E_ANTS = U_ANTS TABLES T_ANLB = T_ANLB T_ANLC = T_ANLC T_ANLZ = T_ANLZ EXCEPTIONS OTHERS = 1.
NAMETAB_GET CALL FUNCTION 'NAMETAB_GET' EXPORTING LANGU = SY-LANGU * ONLY = ' ' TABNAME = 'ANTS' TABLES NAMETAB = LT_NTAB EXCEPTIONS INTERNAL_ERROR = 1 TABLE_HAS_NO_FIELDS = 2 TABLE_NOT_ACTIV = 3 NO_TEXTS_FOUND = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MGJAMF05 - Asset creation MGJAMF04 - Structures and working fields for Invoice Receipt before Goods Receipt MGJAMF03 - Structures and working fields for Invoice Receipt before Goods Receipt MGJAMF02 - Allocation Exit Module Line Item Check MGJAMF01 - Structures and working fields for Invoice Receipt before Goods Receipt MGIR_SSTN_REPORTTOP - Include MGIR_SSTN_REPORTTOP