SAPF109 is a standard Executable ABAP Report 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 SAPF109 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
TB.5 - FC valuation of hedged documents
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.
Selection Text: AKONTO = Reconciliation Account Number
Selection Text: B-BUDAT = Posting Date of the Posting
Selection Text: B-BUPEM = Posting Period
Selection Text: B-INPUT = Postings Requested
Selection Text: BELNR = Document Number
Selection Text: BUKRS = Company Code
Selection Text: BWMET10 = Company Code Currency Method
Selection Text: BWMET30 = Group Currency Method
Selection Text: BWMET40 = Hard Currency Method
Selection Text: BWMET50 = Index Currency Method
Selection Text: BWMET60 = Global Company Currency Method
Selection Text: B_MAPPE = Postings in Batch Inp.Session
Selection Text: DKONTO = Customer Account Number
Selection Text: DK_UMSKZ = Customer Special G/L
Selection Text: FILENAME = File Name
Selection Text: KKONTO = Vendor Account Number
Selection Text: KK_UMSKZ = Vendor Special G/L
Selection Text: KONTOART = Account Type (C/V/GL)
Selection Text: KORRLAUF = Adjustment Run
Selection Text: LISTSEP = Separate List
Selection Text: MIKFICHE = Print Microfiche Line
Selection Text: PA_WERE = Evaluate GR/IR Account
Selection Text: POST_UPD = Bal.Sheet Preparation Valuatn
Selection Text: P_CDONLY = Only Value Hedged Documents
Selection Text: SKONTO = G/L Account Number
Selection Text: ST-BUDAT = Reverse Posting Date
Selection Text: ST-BUPEM = Reverse Posting Period
Selection Text: STICHTAG = Balance Sheet Key Date
Selection Text: S_DATUM = Hedged On
Selection Text: TITLE = Additional Heading
Selection Text: WAEHRUNG = Currency Key
Selection Text: XALTKT = Alternative Account Number
Title: OI Foreign Currency Valuation per DD.MM.YY
Text Symbol: M02 = but for parameter 'only value hedged documents', this is a prerequisite
Text Symbol: M01 = 'Use hedging' is not set for valuation method &BWM,
Text Symbol: KRS = Hedging
Text Symbol: 503 = Posting Parameters
Text Symbol: 502 = Output Control
INCLUDE SAPF10DD.
No SAP DATABASE tables are accessed within this REPORT code!
TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING ID = 'SELECTION' EXCEPTIONS OTHERS = 0.
READ_HAUPTBUCH CALL FUNCTION 'READ_HAUPTBUCH' EXPORTING BUCHUNGSKREIS = BSIS-BUKRS SACHKONTO = BSIS-HKONT IMPORTING SACHKONTO_WA = SKB1.
READ_HAUPTBUCH CALL FUNCTION 'READ_HAUPTBUCH' EXPORTING BUCHUNGSKREIS = BSIS-BUKRS SACHKONTO = BSIS-HKONT IMPORTING SACHKONTO_WA = SKB1.
TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING ID = 'OUTPUT' EXCEPTIONS OTHERS = 0.
READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING BUKRS = BELEGE-BUKRS SAKNR = BSEG-HKONT XTEXT = 'X' IMPORTING ALTKT = SKB1-ALTKT LTEXT = SKAT-TXT50 EXCEPTIONS OTHERS = 4.
POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END'.
FI_MESSAGE_CHECK CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS NO_MESSAGE = 04.
FI_MESSAGE_SORT CALL FUNCTION 'FI_MESSAGE_SORT'.
FI_MESSAGE_PRINT CALL FUNCTION 'FI_MESSAGE_PRINT' EXPORTING I_MSORT = ' ' I_XAUSN = 'X' I_XEAUS = ' ' I_XSKIP = 'X'.
TB_COVR_FI_DOCUMENT_CHECK CALL FUNCTION 'TB_COVR_FI_DOCUMENT_CHECK' EXPORTING IMP_BELNR = BELEGE-BELNR IMP_BUKRS = BELEGE-BUKRS IMP_BUZEI = BELEGE-BUZEI IMP_GJAHR = BELEGE-GJAHR IMPORTING EXP_COVERED_AMOUNT = BELEGE-GBETR * exp_covered_rate = EXP_COVERED_AMOUNT_SIGN = VZ_GBETR * exp_covered_loc_amount = * exp_covered_loc_sign = * tables * EXP_VTBSIZU = * EXP_VTBSI = EXCEPTIONS DOCUMENT_NOT_ALLOCATED = 1 OTHERS = 2.
FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING I_BUKRS = BUKRS IMPORTING E_X001 = X001 EXCEPTIONS CURRENCY_2_NOT_DEFINED = 1 CURRENCY_3_NOT_DEFINED = 2 * wrong_company = 3 * wrong_country = 4 * wrong_global_company = 5 OTHERS = 3.
ENQUEUE_EFT001EX CALL FUNCTION 'ENQUEUE_EFT001EX' EXPORTING MANDT = SY-MANDT BUKRS = T001-BUKRS _SCOPE = '1' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 2.
DEQUEUE_EFT001EX CALL FUNCTION 'DEQUEUE_EFT001EX' EXPORTING MANDT = SY-MANDT BUKRS = T001-BUKRS.
POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING I_FUNCTION = FUNC I_GROUP = B_MAPPE * I_HOLDDATE = DATUM ?? I_MODE = MODE I_USER = USER.
POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING I_TCODE = 'FBB1' IMPORTING E_SUBRC = SUBRC E_MSGID = SY-MSGID E_MSGTY = SY-MSGTY E_MSGNO = SY-MSGNO E_MSGV1 = SY-MSGV1 E_MSGV2 = SY-MSGV2 E_MSGV3 = SY-MSGV3 E_MSGV4 = SY-MSGV4 TABLES T_FTPOST = FTPOST T_BLNTAB = XBLNTAB T_FTTAX = XFTTAX EXCEPTIONS OTHERS = 4.
FI_FIELD_SELECTION_DETERMINE CALL FUNCTION 'FI_FIELD_SELECTION_DETERMINE' EXPORTING I_BSCHL = PA_BUSCHL I_BUKRS = PA_BUKRS I_SAKNR = PA_SAKNR IMPORTING E_FAUS1 = TBSL-FAUS1 E_FAUS2 = TBSL-FAUS2 EXCEPTIONS CUSTOMIZING = 1 OTHERS = 2.
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 SAPF109 or its description.
SAPF109 - OI Foreign Currency Valuation per DD.MM.YY SAPF109 - OI Foreign Currency Valuation per DD.MM.YY SAPF107_START - Start SAPF107 as a Report SAPF107_START - Start SAPF107 as a Report SAPF107V - FI Valuation Program (Individual Value Adjustment Discounting) SAPF107V - FI Valuation Program (Individual Value Adjustment Discounting)