Report Painter - creating variables - foreign currency

Hi Abap Gurus,
in Report Painter we have a customized report to print "Financial Statement" (with a specific balance structure ). I am asked to add BLART field in selection-screen. I was thinking to create variable in GS11 transaction but I don't know if it's the right solution. The "library" is linked to GLT0 table (balance account) so how can I obtain details related to BKPF-BLART "document type" ? The second question is "how to display the Financial Statement in a different currency ? "
Thanks in advance to those of you who can provide helps .
Andrew

When you create your variable first enter the variable name. Second enter the reporting "table" to use. Third enter the "field'. Press enter. Next enter a default value for your field. Save you variable. It is now ready to use in your report painter.
Using the PCA reporting tables gives you the profit center but not the cost center. You can only use one reporting table per report. you will need a cctr report for that.
First create your own libray from GLPCT. Next create your report using your new library. The report painter can do the calculations that you have shown.
You create a formula in the row or column to calculate your sub totals.
pls assign points if helpful as a way to say thanks.

Similar Messages

  • Error while creating a Foreign Currency Receipt using Create_Cash API

    Hi,
    I am working on AR Receipts converison in R12 and trying to create cash receipts using AR_RECEIPT_API_PUB.CREATE_CASH.
    Receipt gets created successfully when the currency_code is USD. Receipt Method i am passing is 'Manual Receipt'.
    When the currency_code is not USD (EUR in my case), I am passing the values for p_exchange_rate_type and p_exchange_rate_date.
    But the API Errors out without creating the foreign currency receipt giving the Error: AR_RAPI_RCT_MD_NAME_INVALID.
    When i was trying to look at the API for this error, I dont see this error at all in the API. I see an error with the name 'AR_RAPI_RCPT_MD_NAME_INVALID' but nothing shows up for the error 'AR_RAPI_RCT_MD_NAME_INVALID' ('P' missing in 'RCPT'). I dont know where this error is getting invoked from?
    I am not sure why the API is erroring out for foreign currency receipt saying Receipt Method Name is Invalid. But it works fine for currency_code USD having the same Receipt Method Name.
    Any help would be highly appreciated.
    Thanks in advance.
    Regards,
    Kesava

    Hi Anil,
    Thankyou so much for the response. The issue has been fixed.
    There was a configuration missing on the existing bank account setup. On the Account Information Tab, ‘Multiple Currencies Allowed’ was checked, but on the Account Controls Tab, Receivables Controls/’Multiple Currency Receipts’ was not checked.
    I have ensured that both of them are checked and I am now able to create multiple currency receipts.
    Appreciate your help.
    Thanks,
    Kesava Chunduri

  • Accounting document created after foreign currency valuation

    Hi SAP Gurus,
    Please help on below queries:
    1. Is it correct that Accounting document is automatically created when foreign currency valuation (F.05) was run and  'Reverse Posting' was ticked? Does it mean that two document will be created; one is for Revaluation Journal and the other one is for Accounting Document?
    2. In relation on above question, is it correct that Accounting document and Revaluation Journal have the same posting date and amount?
    3. When Accounting document and Revaluation Journal have the same posting date and amount does it mean that the account has not been revaluated?
    Appreciate your advise. Thank you.

    There will be two accounting documents generated, one for posting the revalution and the other for the reversal (if reversal is activated). The reversal dates can be given manually else system takes the 1st of the N+1 Period. The revaluation posting date will be taken from the date given in 'valuation date'.
    Warm Regards
    Nitika

  • SAP Report Painter - How to show currency key in header

    I've created a new report painter report against table Faglflext. Basic key figures are extracting Local Currency (HSL). This generic report will be used for various company codes that have different local currencies. In the report header I've specified a General Text Variable with Variable name currency but no data is displayed. The data in the columns are however correct based on company code selection.
    Please advise how I can show currency type in header.
    Thanks

    Hi Sonja
    You have chosen HSL in the column definition which means to display the values in comp code currency
    If I have understood your requirement correct, you want to display the currency of the company code in the Header text or some where as a text, based on the company code given in selection parameter
    Thats really not possible!!
    However, one smart thing you can do is to
    1. Go to GRR2
    2. Choose your report and Menu Extras > Report Text > Title page or Header
    3. Enter a Text saying that
    "This report displays the values in comp code currency... Currency of comp code 1 is USD, comp code 2 is SGD, Comp code 3 is GBP, etc"
    Hence, the users would come to know the currency in which it is executed
    Regards
    Ajay M

  • Report Painter: Create variant for specific report created

    Hello,
    My knowledge in very weak in report painter.
    In the initial screen of a report created to analyse the budget by internal order whe have the year and the period of analysis.
    By default, for every user the year is 2010 and the period of analysis is from month 1 to month 1.
    My question, and I am sorry to ask such a simple question, is how can we change this initial screen?
    The aim is to have for every user, when connecting the report, by default the year 2011 and the period of analysis from month 1 to month 16?
    Thank you.
    Best Regards.
    R.

    Hi
    1. Go to GRR3 and identify the variable used in your report
    2. Go to GS12 / GS13 and check the variable definition
    May be some default value is specified there / or it is formula variable... Double click on the formula variable and you can check how it is defined...
    For the variable related to PERIOD - You need to specify a different variable for the From & To and specify the default value as 1 and 16
    Br, Ajay M

  • Re : Report Painter / Creating a link among 2 variations in Report Painter

    Hi everyone,
    In my report painter, there are 2 variations which are 2 seperate fields of a table. I have a request which demands to link those variations to one to display as a hierarchy.
    For example :
    The variation 1 stands for the field of 'Company Code' (GLPCT-RBUKRS)
    The variation 1 stands for the field of 'Business Area' (GLPCT-GSBER)
    The new display of the variaton would be :
    Company Code 1
    |-- Business Area 1.1
    |-- Business Area 1.2
    |-- Business Area 1.3
    |-- ...
    I tried to create a variable for a multiple dimention set, and several settings concerning variation. But they didn't work at all.
    Do you have any ideas to link those 2 different fields??
    Reward points for your helpful suggestions for sure.
    Many thanks,
    Best regards,
    Huong

    Hi
    Try using Sets. Create set using T.code GS01 and click on Hierarchy Maintenance and create Hierarchy.
    In report painter, select edit - general selection data - select set or Hierarchy, enter the set you have created.
    Next Go to Variation, select business area and select the button explode.
    It is show you Hierarchy of business area in the output of report painter.
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    Sridhar M

  • Report Painter selection variables sorting

    I have added a number of characteristics to my report painter report and set some as variables
    i.e. plan version 1, plan version 2, plan version 3, plan version 1 year, plan version 2 year, plan version 3 year.
    These variables appear on the selection screen in the following order;
    plan version 1,
    plan version 2,
    plan version 3,
    plan version 1 year,
    plan version 2 year,
    plan version 3 year.
    What the business require is the variables to appear on the selection screen as follows;
    plan version 1,
    plan version 1 year,
    plan version 2,
    plan version 2 year,
    plan version 3,
    plan version 3 year
    Has anyone any idea how the selection screen sorts the variables?
    Can the selection screen sort order be changed for a report?
    Your assistance is appreciated
    John

    For Selection Screen, you can try to use Selection Variant.
    The steps are like this:
    a. Go to GRR2 (change report painter)
    b. Then choose the report you are developing
    c. Execute the report
    d. On the selection screen, choose Go To-> Variant -> Save As Variant
    e. At Variant Attributes screen, you can do the following as your requirement:
        ·        Description
    Enter a short, meaningful description of the variant. This can be up to 30 characters long.
    ·        Only for background processing
    Select this field if you want the variant to be available for background processing but not in dialog mode.
    ·        Protect variant
    Select this field if you want to prevent your variant being changed by other users.
    ·        Only display in catalog
    Select this field if you only want the variant name to be displayed in the variant catalog (and not when the user calls the F4 value help).
    ·        System variant
    This field cannot accept input. It is set automatically when a system variant (beginning with CUS& or SAP&) is created.
    You can also assign the following further attributes to the selections in a variant:
    ·        Type
    The system indicates here whether a field is a parameter (P) or a selection option (S).
    ·        Protected
    Select this column for each selection that you want to write-protect on the selection screen. These fields are visible on the selection screen when the user starts a program with the variant, but do not accept user input.
    ·        Invisible
    If you select this column, the system hides the corresponding field on the selection screen. This allows you to change the appearance of the selection screen.
    ·        Selection variable
    If you select this column, you can set the value of the corresponding selection dynamically at runtime. The different ways of doing this are explained in the section Variable Values in Variants.
    ·        Without values
    If you select this field, the contents of the corresponding field are not saved with the variant.
    This is useful if you do not want to overwrite the contents of this field on the selection screen.
    For example, suppose you create a report 'SAPTEST', with the parameter 'TEST', for which you create the variant 'TESTVARIANT'. In the variant, you set the 'Without values' flag for the parameter. Then, you run time program and enter the value 'ABCD' in the TEST field. If you now retrieve the 'TESTVARIANT' variant, the TEST field retains the value ABC instead of being overwritten by SPACE.
    ·        SPA/GPA
    This attribute only appears if you created the corresponding selection criterion using 'MEMORY ID xxxu2019. You can switch the SPA/GPA handling on and off in the variant. This means that fields filled using SPA/GPA appear with their initial values after you have loaded a variant in which those fields have an initial value.
    f. When you are finished, you can save it and name the variant (e.g.: Z_S_Screen for simpler selection screen)
    After that, every time you want to have the selection screen, you can choose Get Variant or Go To-> Variant-> and select the variant you have saved.
    More information at:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/c0/980374e58611d194cc00a0c94260a5/frameset.htm
    Hope it helps
    Regards,
    -=Meila.S=-

  • Report Painter - Translation from Transaction Currency

    Hi,
    I have set up a report painter report using "Translation from Transaction Currecny" as one of the key figures in one of the columns in the report. When I execute the report it prompts me for the target currency and the ER type which is what I was expecting. EG I want to translate actuals to say AUD at budget rate (type P)
    My question is.... I add a second column again using the same key figure ""Translation from Transaction Currecny" which I want to exchange using a different Exchange rate type.E.g I want to translate actuals to AUD using the forecast rate (type Q). However, when I execute the report I was expectiong to be prompted twice for the target currency and exchange rate type but it still only prompts me once.
    Does that mean that using the key figure that I cannot use it in more than one column in the report?
    I hope this makes sense.
    Thanks...

    Add custom reports to an existing Report Tree (SERP)
    For example:
    Add custom report to:  Project System/Information System/Financials/u2026
    Find u201CPS91u201D from SERP
    Add a report to PS91
    The trick is find the existing report tree related to standard main menu.
    Or create a new report tree where you house all custom or selected reports in one place.
    May also consider using area menu (SE43): create a structure, for example, to house all custom reports.  A useful tool to manage custom/specifc reports

  • Report Painter:create a transaction, transport DEV to PRD

    Dear all,
    I have created my first report in GRR1 (Report Painter / Writer), modifying a standard report that uses the library 8A2 (EP PCA).
    In all, i created the following objects:
    1) report ZRPRT (created with T. GRR1 (Report Painter / Writer))
    2) report group Z8XY(created with T. GR51), that contains only this report
    3) Account group Z_CO_XY (created with T. KDH1),with the GLPCT table, field RACCT. Z_CO_XY is  input parameter as group account, via selection screen, of the report ZRPRT. 
    Now i would like:
    1. Create a transaction to run this report from the mainmenu.
    2  Transport everything,  from DEV to PRD.
    I would like to have everything in a PRD, also for maintenance reasons.
    If in the future, i need to modify this report, I would be able to bring everything from PRD to DEV to make those changes (if, in the meantime, the objects were deleted from DEV, for whatever reason)
    Please, can you give me an explanation step-by-step what I should do. Any advice is welcome!
    Thank you in advance.

    Add custom reports to an existing Report Tree (SERP)
    For example:
    Add custom report to:  Project System/Information System/Financials/u2026
    Find u201CPS91u201D from SERP
    Add a report to PS91
    The trick is find the existing report tree related to standard main menu.
    Or create a new report tree where you house all custom or selected reports in one place.
    May also consider using area menu (SE43): create a structure, for example, to house all custom reports.  A useful tool to manage custom/specifc reports

  • Report painter - create a library

    i never created report painter; and i don't know the argument well.
    i  created a new library ( transaction GR21 ) as copy from an existing library but i am not able to add new characteristics.
    can you help me ?
    thanks
    elena
    Moderator: Please, search SDN

    Hi, you need to add field to correspond structure(eg CCSS)

  • Report painter YCOS variables

    Hello 
    I have transported a request and I got  the message about this report YBCOS in the system target
    Report YBCOS YCS: Variable &YBLEDG, &YBSEGF, &YBSEGT  either does not exist or is not suitable
    Message no. GR795
    Diagnosis
    Report YBCOS for library YCS uses the variable &YBLEDG. This variable
    Does not exist, or Is not compatible with the characteristic of the report
    Has a category that is not allowed in the report.
    Procedure
    Check and correct the report in transaction GR32.
    If this error occurs when you import a transport request, check the report in the source system of the transport.
    If the report does not contain errors there, you need to transport it with its dependent objects to correct this error.
    If the report contains errors there, correct the error in the source system of the transport and run a new transport.
    Now I want  to know
    1.- How do I check  the variables are correct in the source system? ( tcode GR32, but  I am not FI consultant)
    2.- How do I transport this  report with all information included?
    Regards
    DS

    Hi,
    use T-Code GS12 to compare the variables in both system. In GS12 use "utilities/transport" to export/import variables from another system. Or create a transport request for the variables instead of exporting/importing tham.
    Best regards, Christian

  • Report Painter Output in Local Currency

    Dear Experts,
    I have 2 Co Code 1 with Currency INR and another one with USD Controlling area currency is INR for both.
    I want to run a Plan VS Actual report in INR for USD Co Code so when I run the report the actuals values appear in INR correctly but the plan figures comes in USD since I have uploaded the same in USD but it does not gets converted in INR.
    Is their anyway through I can get plan figs in INR.Please advice
    Regards,

    Hi Use the Target currency currency translation option. And if you need a mont end exchange rate to be applied create a New exchange rate type. You will be able to run the currency conversion for a specifc data( Ie Pla or actual)
    rgds
    Vinod S

  • Lead column in KE34 - Report Painter:Create Form

    Experts,
    How can I insert row in Ke34 lead column? How can I change the display text in lead column from short text
    to long text?
    Thanks in advance
    lui

    Experts,
    I would like to know how can I insert row in Ke34 LEAD COLUMN OR HEADER COLUMN? How can I change the display text in LEAD COLUMN OR HEADER COLUMN from SHORT TEXT to LONG TEXT?
    Thanks in advance
    lui

  • Report Painter using user exit U002 to create a formel variable for FI-SL

    Hi,
    I would like to use Report painter creating a formel variable with U002(VAR1,VAR2) for FI-SL and did following:
    1. go to TCode: GS11
    2. Formel: selecting U002 from Formel-Exit list and giving var1 and var2
          '#U002(VAR1, VAR2)'
    3. Save
    4. Erro message: U002 is not definiert.
    Why???
    U002 is already implementiert  in
    Class ZCL_IM_FI_FORMULA_EXIT
    method IF_EX_G_SET_FORMULA_EXIT~EVALUATE
    CASE flt_val.
        WHEN 'U002'
    Could anyone help me? Thanks!
    Klara Zhao

    dollyb wrote:
    if enter 05.2008
    the volume should look like below as a vairable range.
    sales volume
    01.2008 - 05.2008
    you want  01.2008 - 05.2008 as description , thats what your requirement right?
    When 'ZTEXT2'.
    DATA: ZYEAR(4)   TYPE C,
    ZTEMP1(6) TYPE C,
    ZLOW(14) TYPE C.
    if i_step = 2.
    CLEAR L_S_RANGE.
    Loop at i_t_var_range into intern_range where VNAM = 'user entered variable for calmonth'.
    *lets say user entered 05.2008
    ZTEMP1 = INTERN_RANGE-LOW.
    * now ZTEMP1 has 05.2008
    ZYEAR =  ZTEMP1+0(4)
    * zyear = 2008
    *A SLIGHT MODIFICATION TO CONCATENATION 
    CONCATENATE '01'  ' .'  ZYEAR '-'  ZTEMP1 INTO ZLOW.
    *SO 01. 2008 -05.2008 WILL BEN IN ZLOW
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    L_S_RANGE-LOW = ZLOW.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP
    ENDIF.
    use the text variable as description then u will get the required result i.e &ztext2&
    HERE I DIDN'T written any  L_S_RAnGE-HIGH.
    Regards,
    Ranganath
    Edited by: Ranganath on Nov 9, 2011 9:41 AM

  • Report for foreign currency revaluation - FAGL_FC_VAL

    Hello Experts,
    I have executed FAL_FC_VAL - Foreign Currency Revaluation Program. System posted some accounting entry for the same. However, I want to know how system calculated and for which invoices it calculated.
    For this I want a report from SAP, for foreign currency revaluation. Please let me know the TCode for the report.
    I can see some output on screen, showing calculation, during test run. But it does not get saved anywhere.
    Please help

    Hello Ms Meena,
    You can achieve to have this if you are in ECC 6.0 by activating the Logs to be stored.
    This can be done via FAGL_FC_VAL & go to the last tab as below.
    Precondition : Make sure before user run the revaluation they click on both tick mark.
    Click on Logs
    give the date when they it is run & execute
    Select the log
    Here you can select your fields like vendor name/customer name/GL account Name.
    I would strongly suggest to create a variant by yourself & save & then ask the user to change the date to revaluation everymonth.
    Many thanks
    PB

Maybe you are looking for