SAP Reports / Programs

SAPFPCR3 SAP ABAP Report - Startup Currencies: Balance Valuation for Parallel Currencies







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


Text pool values


Start-Up Currencies: Balance Evaluation for Parallel Currencies
Selection Text: S_SAKNR = G/L account
Selection Text: S_KDFSL = Exchange rate difference key
Selection Text: S_BUKRS = Company code
Selection Text: P_WUKT = Account for currency transfer
Selection Text: P_UMDAT = Translation date
Selection Text: P_TEST = Test run
Selection Text: P_GUV = Evaluate P+L accounts
Selection Text: P_GJAHR = Fiscal year
Selection Text: P_BUPER = Posting period
Selection Text: P_BUDAT = Posting date
Selection Text: P_BLART = Document type
Selection Text: P_BINPM = Batch Input Session
Title: Startup Currencies: Balance Valuation for Parallel Currencies
Text Symbol: 133 = Batch input session created
Text Symbol: 134 = Currency transfer account not created correctly
Text Symbol: 150 = Loc.curr.;Local curr.
Text Symbol: 151 = BusA; Business area
Text Symbol: 152 = Curr.; Currency
Text Symbol: 153 = Account ;
Text Symbol: 154 = Amount calculated:
Text Symbol: 132 = Selection option for company code incorrect
Text Symbol: 131 = Postings for company code
Text Symbol: 130 = Previous runtime
Text Symbol: 129 = Material ledger must be active in company code
Text Symbol: 128 = Correct period
Text Symbol: 127 = Date may not be in the future
Text Symbol: 126 = Posting date/period
Text Symbol: 125 = Translation date
Text Symbol: 124 = Account for currency transfer ;
Text Symbol: 122 = Test run
Text Symbol: 121 = Upd. run
Text Symbol: 120 = Run date
Text Symbol: 111 = =========================
Text Symbol: 110 = Balances for company code
Text Symbol: 100 = Program was terminated
Text Symbol: 155 = Amount in ledger;
Text Symbol: 202 = when implementing parallel loc.currs





Text Symbol: 201 = This program may only be run
Text Symbol: 200 = Implement parallel local currencies;
Text Symbol: 162 = Termination - error mess.
Text Symbol: 161 = No ledger found for currency type
Text Symbol: 160 = Ledgers for curr.type
Text Symbol: 156 = Amount posted ;


INCLUDES used within this REPORT SAPFPCR3

INCLUDE FPCR1KON.


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:

FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING i_bukrs = i_t001-bukrs i_land1 = i_t001-land1 i_rcomp = i_t001-rcomp "Gesellschaft IMPORTING e_x001 = x001 EXCEPTIONS currency_2_not_defined = 01" In T001A eingetragene currency_3_not_defined = 02" Wrg nicht definiert OTHERS = 03.

GET_BWKEY_CURRENCY_INFO CALL FUNCTION 'GET_BWKEY_CURRENCY_INFO' EXPORTING bwkey = lf_t001k-bwkey TABLES t_curtp_for_va = lt_curtp_bwkey.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = default diagnosetext1 = text-201 diagnosetext2 = text-202 diagnosetext3 = text-203 textline1 = text-204 titel = text-200 start_column = 15 start_row = 6 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

AC_DOCUMENT_RECORD CALL FUNCTION 'AC_DOCUMENT_RECORD' EXPORTING i_awtyp = aw-awtyp i_awref = aw-awref i_bukrs = i_t001-bukrs TABLES t_documents = i_acc_doc EXCEPTIONS OTHERS = 01.

G_GIVE_LEDGERS_FOR_GLT0 CALL FUNCTION 'G_GIVE_LEDGERS_FOR_GLT0' EXPORTING bukrs = i_t001-bukrs curtp = curt TABLES ledtab = i_ledtab.

FI_CURRENCIES_CONVERT CALL FUNCTION 'FI_CURRENCIES_CONVERT' "#EC * EXPORTING i_conv2 = pwrg2 i_conv3 = pwrg3 i_convb = space i_convh = space i_icurr = icurr IMPORTING e_icurr = icurr.

FAGL_GET_GLT0 CALL FUNCTION 'FAGL_GET_GLT0' EXPORTING i_glt0_rldnr = ldnr i_rrcty = '0' i_rvers = '001' i_bukrs = i_t001-bukrs i_ryear = p_gjahr i_racct = skb1-saknr i_rpmax = '016' IMPORTING et_glt0 = it_glt0.

AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' TABLES t_acchd = i_acchd t_accit = i_accit t_acccr = i_acccr EXCEPTIONS error_message = 01.

AC_DOCUMENT_POST CALL FUNCTION 'AC_DOCUMENT_POST' EXPORTING i_awtyp = aw-awtyp i_awref = aw-awref i_aworg = aw-aworg EXCEPTIONS error_message = 01.

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_function = 'B' "Batch Input erzeugen i_group = p_binpm i_update = 'S' i_user = sy-uname EXCEPTIONS OTHERS = 4.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FBB1' TABLES t_ftpost = ftpost t_blntab = blntab t_fttax = fttax EXCEPTIONS OTHERS = 04.

POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END'.



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