SAPF100A is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program carries out the
If you would like to execute this report or see the full code listing simply enter SAPF100A 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.
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: 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 (D/K/S)
Selection Text: LISTSEP = List separation requested
Selection Text: MIKFICHE = Print Microfiche Line
Selection Text: XALTKT = Alternative account number
Selection Text: WAEHRUNG = Currency key
Selection Text: TITLE = Additional heading
Selection Text: STICHTAG = Balance sheet key date
Selection Text: ST-BUPEM = Reverse posting period
Selection Text: ST-BUDAT = Reversal posting date
Selection Text: SKONTO = G/L account number
Selection Text: RESET = Reset valuation
Selection Text: P_ZBUKRS = Target company code
Selection Text: P_SSALDO = G/L accounts grouping
Selection Text: P_REMSMT = Add.posting for translation
Selection Text: P_KSALDO = Vendor grouping
Selection Text: P_DSALDO = Customer grouping
Selection Text: POST_UPD = Bal.sheet preparation valuatn
Selection Text: PA_WERE = Evaluate GR/IR account
Title: Open Item - Foreign Currency - Valuation per ........ (Old)
Text Symbol: 302 = Sequential file cannot be opened
Text Symbol: 350 = Changed recon. account for:
Text Symbol: 351 = Postings made with the original reconciliation accounts:
Text Symbol: 360 = Exceptions during posting
Text Symbol: 361 = Account number not specified
Text Symbol: 362 = Company code not specified
Text Symbol: 364 = Posting key not specified
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' EXPORTING XDATABASE = 'B' TABLES XBUKREIS = BUKRS.
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'.
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 OTHERS = 6.
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.
DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING NAME = DCOBJDEF-NAME LANGU = SY-LANGU * TEXTS_ONLY = ' ' TABLES DD07V_TAB = TDD07V EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.
FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING I_BUKRS = I_BUKRS IMPORTING E_X001 = X001 EXCEPTIONS CURRENCY_2_NOT_DEFINED = 1 CURRENCY_3_NOT_DEFINED = 2 OTHERS = 6.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING FOREIGN_AMOUNT = S_GBETR FOREIGN_CURRENCY = S_WAERS LOCAL_CURRENCY = T_WAERS TYPE_OF_RATE = TCURR-KURST DATE = STICHTAG RATE = BSEG-KURSR "gesicherter k.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING FOREIGN_AMOUNT = UWRSHB FOREIGN_CURRENCY = S_WAERS LOCAL_CURRENCY = T_WAERS TYPE_OF_RATE = TCURR-KURST DATE = STICHTAG IMPORTING LOCAL_AMOUNT = BSALDFW EXCHANGE_RATE = S_KURSR "verw.Kurs
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = FIMSG I_XAPPN = ' ' EXCEPTIONS MSGID_MISSING = 01 MSGNO_MISSING = 02 MSGTY_MISSING = 03.
OPEN_FI_PERFORM_00005010_P call function 'OPEN_FI_PERFORM_00005010_P' exporting i_chgtype = 'U' i_origin = 'SAPF100A UPDATE' i_tabname = 'BSID' i_where_bukrs = bseg-bukrs i_where_kunnr = bseg-kunnr i_where_umsks = bseg-umsks i_where_umskz = bseg-umskz i_where_augdt = bseg-augdt i_where_augbl = bseg-augbl i_where_zuonr = bseg-zuonr i_where_gjahr = bseg-gjahr i_where_belnr = bseg-belnr i_where_buzei = bseg-buzei exceptions others = 0.
OPEN_FI_PERFORM_00005010_P call function 'OPEN_FI_PERFORM_00005010_P' exporting i_chgtype = 'U' i_origin = 'SAPF100A UPDATE' i_tabname = 'BSAD' i_where_bukrs = bseg-bukrs i_where_kunnr = bseg-kunnr i_where_umsks = bseg-umsks i_where_umskz = bseg-umskz i_where_augdt = bseg-augdt i_where_augbl = bseg-augbl i_where_zuonr = bseg-zuonr i_where_gjahr = bseg-gjahr i_where_belnr = bseg-belnr i_where_buzei = bseg-buzei exceptions others = 0.
OPEN_FI_PERFORM_00005010_P call function 'OPEN_FI_PERFORM_00005010_P' exporting i_chgtype = 'U' i_origin = 'SAPF100A UPDATE' i_tabname = 'BSIK' i_where_bukrs = bseg-bukrs i_where_lifnr = bseg-lifnr i_where_umsks = bseg-umsks i_where_umskz = bseg-umskz i_where_augdt = bseg-augdt i_where_augbl = bseg-augbl i_where_zuonr = bseg-zuonr i_where_gjahr = bseg-gjahr i_where_belnr = bseg-belnr i_where_buzei = bseg-buzei exceptions others = 0.
OPEN_FI_PERFORM_00005010_P call function 'OPEN_FI_PERFORM_00005010_P' exporting i_chgtype = 'U' i_origin = 'SAPF100A UPDATE' i_tabname = 'BSAK' i_where_bukrs = bseg-bukrs i_where_lifnr = bseg-lifnr i_where_umsks = bseg-umsks i_where_umskz = bseg-umskz i_where_augdt = bseg-augdt i_where_augbl = bseg-augbl i_where_zuonr = bseg-zuonr i_where_gjahr = bseg-gjahr i_where_belnr = bseg-belnr i_where_buzei = bseg-buzei exceptions others = 0.
FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING I_BUKRS = BKPF-BUKRS IMPORTING E_X001 = X001 EXCEPTIONS OTHERS = 1.
CONVERT_TO_FOREIGN_CURRENCY * call function 'CONVERT_TO_FOREIGN_CURRENCY' * exporting local_amount = bseg-dmbtr * foreign_currency = ekko-waers * local_currency = bkpf-waers * rate = ekko-wkurs * date = bkpf-budat * importing foreign_amount = bseg-wrbtr * exceptions no_rate_found = 1 * others = 1.
ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING EBELN = BSEG-EBELN EBELP = BSEG-EBELP WEBRE = 'E' TABLES XEKBE = X_EKBE XEKBES = X_EKBES XEKBEZ = X_EKBEZ XEKBNK = X_EKBNK XEKBZ = X_EKBZ EXCEPTIONS OTHERS = 4.
FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING I_BUKRS = BKPF-BUKRS IMPORTING E_X001 = X001 EXCEPTIONS OTHERS = 1.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING LOCAL_AMOUNT = BSEG-DMBTR FOREIGN_CURRENCY = EKKO-WAERS LOCAL_CURRENCY = T001-WAERS TYPE_OF_RATE = T003-KURST RATE = EKKO-WKURS DATE = BKPF-BUDAT IMPORTING FOREIGN_AMOUNT = BSEG-WRBTR EXCEPTIONS NO_RATE_FOUND = 1 OTHERS = 1.
READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING BUKRS = BELEGE-BUKRS SAKNR = MEMBERS-HKONT XTEXT = 'X' IMPORTING ALTKT = SKB1-ALTKT LTEXT = SKAT-TXT50 EXCEPTIONS OTHERS = 4.
READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING BUKRS = BUKRS SAKNR = KONTO SPRAS = SY-LANGU XMASS = 'X' XSKAN = 'X' XTEXT = ' ' IMPORTING ALTKT = SKB1-ALTKT ALTKT_SAKAN = ERGEBNIS ALTKT_NOT_FOUND = ALTKT_NOT_FOUND * TEXT_NOT_FOUND = TEXT_NOT_FOUND * LTEXT = * KTEXT = EXCEPTIONS BUKRS_NOT_FOUND = 02 SAKNR_NOT_FOUND = 03.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = FIMSG I_XAPPN = ' ' EXCEPTIONS MSGID_MISSING = 01 MSGNO_MISSING = 02 MSGTY_MISSING = 03.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = FIMSG I_XAPPN = ' ' EXCEPTIONS MSGID_MISSING = 01 MSGNO_MISSING = 02 MSGTY_MISSING = 03.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = FIMSG I_XAPPN = ' ' EXCEPTIONS MSGID_MISSING = 01 MSGNO_MISSING = 02 MSGTY_MISSING = 03.
POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING I_FUNCTION = FUNC I_GROUP = B_MAPPE I_KEEP = 'X' I_MODE = MODE I_USER = USER * create batch input when update mode and error occurs I_XBDCC = POST_UPD EXCEPTIONS ERROR_MESSAGE = 1 OTHERS = 6.
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 ERROR_MESSAGE = 9 OTHERS = 9.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = FIMSG I_XAPPN = 'X' EXCEPTIONS MSGID_MISSING = 01 MSGNO_MISSING = 02 MSGTY_MISSING = 03.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING FOREIGN_AMOUNT = IBUCHUNG-BUBETR FOREIGN_CURRENCY = IBUCHUNG-HWAER LOCAL_CURRENCY = IBUCHUNG-HWAER2 TYPE_OF_RATE = TCURR-KURST DATE = STICHTAG IMPORTING LOCAL_AMOUNT = IBUCHUNG-DMBTR2 EXCEPTIONS ERROR_MESSAGE = 1 OTHERS = 2.
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.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = FIMSG I_XAPPN = ' ' EXCEPTIONS OTHERS = 01.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = stichtag CHANGING physical_filename = filename EXCEPTIONS OTHERS = 1.
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 SAPF100A or its description.
SAPF100A - Open Item - Foreign Currency - Valuation per ........ (Old) SAPF100A - Open Item - Foreign Currency - Valuation per ........ (Old) SAPF100 - Foreign Currency Valuation SAPF100 - Foreign Currency Valuation SAPF0_VC_AAACC_OBJ - Forms for Viewcluster VC_AAACC_OBJ SAPF0_VC_AAACC_OBJ - Forms for Viewcluster VC_AAACC_OBJ