SAP Reports / Programs | Financials | Financial Supply Chain Management | Transaction Manager(FIN-FSCM-TRM-TM) SAP FIN

MF05AKRS SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

TB_COVR_FI_GET_COVER_PREP_POST CALL FUNCTION 'TB_COVR_FI_GET_COVER_PREP_POST' EXPORTING IMP_APPLID = 'FI' "application ID TABLES T_BKPF = XBKPF.

TB_COVR_FI_GET_COVER_RENUM CALL FUNCTION 'TB_COVR_FI_GET_COVER_RENUM' EXPORTING IMP_NEWBZ = RENUM-NEWBZ IMP_OLDBZ = RENUM-OLDBZ .

TB_COVR_FI_GET_COVER_CHECK CALL FUNCTION 'TB_COVR_FI_GET_COVER_CHECK' TABLES T_BKPF = XBKPF T_BSEG = XBSEG .

TB_COVR_FI_GET_COVER CALL FUNCTION 'TB_COVR_FI_GET_COVER' EXPORTING IMP_APPLID = 'FI' "application ID IMP_BKPF = BKPF IMP_BSEG = BSEG IMPORTING EXP_BUKRS = KUSI_BUKRS "KEY der Absicherung: BUKRS EXP_DMBTR = KUSI_DMBTR EXP_GBETR = KUSI_GBETR EXP_KURSR = KUSI_KURSR EXP_RSICH = KUSI_RSICH "KEY der Absicherung: RSICH EXCEPTIONS NO_COVER_FOUND = 01 NO_COVER_REQUIRED = 02 TOO_LESS_PARAMETERS = 03.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = BKPF-WWERT "dummy, da RATE verw. wird

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = BKPF-WWERT "dummy, da RATE verw. wird

TB_COVR_FI_DOCUMENT_CLEARING CALL FUNCTION 'TB_COVR_FI_DOCUMENT_CLEARING' IMPORTING EXP_KUSI_AKTIV = KUSI_AUSZIFF_AKTIV TABLES T_AUSZ1 = XAUSZ1 T_BKPF = XBKPF T_BSEG = XBSEG T_KDBTAB = KDBTAB.

TB_COVR_FI_DOCUMENT_PAYED CALL FUNCTION 'TB_COVR_FI_DOCUMENT_PAYED' IN UPDATE TASK EXPORTING IMP_AUGBL = XAUSZ2-AUGBL IMP_AUGDT = XAUSZ2-AUGDT IMP_BELNR = XAUSZ1-BELNR IMP_BUKRS = XAUSZ1-BUKRS IMP_BUZEI = XAUSZ1-BUZEI IMP_GJAHR = XAUSZ1-GJAHR .

TB_COVR_FI_DOCUMENT_REVERSE CALL FUNCTION 'TB_COVR_FI_DOCUMENT_REVERSE' IN UPDATE TASK EXPORTING IMP_APPLID = 'FI' IMP_AUGBL = XAUSZ2-AUGBL IMP_AUGDT = XAUSZ2-AUGDT IMP_YBELNR = YBSEG-BELNR IMP_YBUKRS = YBSEG-BUKRS IMP_YGJAHR = YBSEG-GJAHR TABLES IMP_XBKPF = XBKPF IMP_XBSEG = XBSEG .

TB_COVR_FI_DOCUMENT_CHECK * CALL FUNCTION 'TB_COVR_FI_DOCUMENT_CHECK' * EXPORTING * IMP_BELNR = XAUSZ1-BELNR * IMP_BUKRS = XAUSZ1-BUKRS * IMP_BUZEI = XAUSZ1-BUZEI * IMP_GJAHR = XAUSZ1-GJAHR * TABLES * EXP_VTBSIZU = KUSI_ALLOC * EXCEPTIONS * DOCUMENT_NOT_ALLOCATED = 01.

TB_COVR_FI_DOCUMENT_ENQ_ALLOC * CALL FUNCTION 'TB_COVR_FI_DOCUMENT_ENQ_ALLOC' * IMPORTING * EXP_BUKRS = KUSI_BUKRS * EXP_RC = KUSI_RC * EXP_RSICH = KUSI_RSICH * EXP_UNAME = KUSI_UNAME * TABLES * EXP_VTBSIZU = KUSI_ALLOC * EXCEPTIONS * DOCUMENT_NOT_ALLOCATED = 01.

TB_COVR_FI_DOCUMENT_CHECK * CALL FUNCTION 'TB_COVR_FI_DOCUMENT_CHECK' * EXPORTING * IMP_BELNR = XAUSZ1-BELNR * IMP_BUKRS = XAUSZ1-BUKRS * IMP_BUZEI = XAUSZ1-BUZEI * IMP_GJAHR = XAUSZ1-GJAHR * TABLES * EXP_VTBSIZU = KUSI_ALLOC * EXCEPTIONS * DOCUMENT_NOT_ALLOCATED = 01.

READ_EXCHANGE_RATE * CALL FUNCTION 'READ_EXCHANGE_RATE' * EXPORTING * LOCAL_CURRENCY = BKPF-HWAER * FOREIGN_CURRENCY = BKPF-WAERS * DATE = BKPF-WWERT * IMPORTING * EXCHANGE_RATE = BKPF-KURSF.

CALCULATE_EXCHANGE_RATE * CALL FUNCTION 'CALCULATE_EXCHANGE_RATE' * EXPORTING * LOCAL_CURRENCY = BKPF-HWAER * FOREIGN_CURRENCY = BKPF-WAERS * LOCAL_AMOUNT = BSEG-DMBTR * FOREIGN_AMOUNT = BSEG-WRBTR * DATE = BKPF-WWERT * IMPORTING * EXCHANGE_RATE = REFE1.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING DATE = WAE_WWER3 * FOREIGN_AMOUNT = REFE1 * FOREIGN_CURRENCY = BKPF-HWAER * LOCAL_CURRENCY = BKPF-HWAE3 * RATE = BKPF-KURS3 * IMPORTING LOCAL_AMOUNT = REFE3.



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