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

MGJAMF05 SAP ABAP INCLUDE - Asset creation







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


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


Text pool values


Title: Asset creation


INCLUDES used within this REPORT MGJAMF05

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:

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.



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