Maintain Variables, Report Painter

I have questions about Report Painter,
1) How can I delete a global variable that has been included in a form ?

Nagaraju,
  I am unable to get your question!
  Could you please post ur code and question???
  With my understanding:
  For all the variables present in the global section, commenting with double quotation(") or * with do.
Example:
    Data:
<b> "       waMar    type mara-matnr,
      waMatkl  type mara-matkl,</b>
        watest(25).
Thank
Kam

Similar Messages

  • Adding variable in Report painter

    Hi Gurus,
    I am creating a new report using Report painter. Though, it is working fine, I want to bring one of the field for selection. How to add variable ? I created a variable but I am trying to insert this variable in the report painter... I am unable to find any way.
    Awaiting your help.
    thanks in advance.

    Hi,
    Go to Global Parameters Definitaion in report painter, variable will be used only along with the field, just in global paramerters enter your desired field and click in next column, system will show you a pop up select your variable for that field...
    now its just done run the report and test it!
    If you still not make it refer to standard report of such kind, you will surely get it....
    Regards,
    Sayujya

  • Creating variables in Report Painter

    Hi ...
    I would like to know ... how do I create variable ? I know it is via T CODE GS11, but when run tht, in the next screen it pops up for variable ? What variable do I need to enter ? is this predelivered Eg : CE-PK, or can we create one ? Please advise
    Also, I would like to I have a requirement for a report whereby the format is like this .....
    SALES       CURR MONTH (06/2006)  LAST YEAR          
    - Sales IT
    - Sales 1
    - Sales 2
    COGS
    - cogs 1
    - cogs 2
    - cogs 3
    COS
    - cos 1
    - cos 2
    - cos 3
    GROSS PROFIT
    Whereby, SALES = sales it + sales 1 + sales 2, COGS = cogs 1+cogs 2 + cogs 3, COS = cos 1+ cos 2+ cos 3. also GROSS PROFIT = SALES + COGS + COS
    The abpve report is inclusive of Cost Centre and Profit Centre, how acn I utilize the libraray in Report Pianter to create such report, is this possible in Report Painter whereby including Cost center and Profit Centre in one single report
    Pls assist me
    Nathan

    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.

  • Report painter- problem in creating formula variable- ps

    Hi Experts,
      i have copied report  6P3 - 6PP1-001 Act/Com/Total/Plan    from library in report painter.
    our requirement is we want two user fields from cj20n  in this report. they are prps-usr04
    and prps-usr05.
    i have added these in header as  special text variable as they were ALREADY available at header under
    MASTER DATA FOR PROJECTS / WBS ELEMENT IN REPORT-WRITER. 
    now my requirement is to add new columns. for that i required these two fields in formula.
    but as they are not present in formula component  i am not able to get it.
    what should i do to enter these fields in component list in formula?
    PLEASE GUIDE ME?
    AMOL

    ActRunningBal is a running total calculated in crystal or database field? If it is a database field then you can try this
    if {command.CR-Amount} &lt;&gt;0 then
    {command.CR-Amount}
    else
    previuous()+previous({command.Dr-Amount})
    If it is a running total you cannot apply previous function on it.
    Regards,
    Raghavendra

  • How to use Value Variable in Report Painter Column defined as Formula

    Hi Gurus,
    In report painter, how can I add one field (exchange rate) in selection screen, so that user can provide the exchange rate to be used, then execute the report, the exchange rate will used to multiple local currency amount.
    The reason for this is we want use provided exchange rate to convert the amount from once currency to the other currency.
    Alternatively I am studying the functionality of "Value Variable" and found that I can perform the task from this. I have created the value variable but when I am using the variable in Report Painter columns as "&ZVALVAR", system is giving me error. I read the help and it states that use the variable with "&" and do it as it is mentioned.
    Can anybody suggest what I need to do to make it workable.
    Thanks

    I did try using the presentation variable, but that does not work too. I am setting session variable in the dashboard prompt (select 'request variable'). When I use presentation variable, it hard codes the value of the variable name.
    sql is
    select date from work_order where facility = @{p_facility}
    the physical log sql is
    select date from work_order where facility = 'p_facility'

  • How to include variable in the text column in report painter?

    Dear Expert,
    Would like to seek for your help to include How to include variable in the text column in report painter?Please advice.
    Thank you.
    Regards,
    Karen
    Edited by: Karen Swee Ping Ho on Jun 17, 2011 2:48 AM

    Hi,
    Thank you for the promt reply.
    1) How I include the variable in the column header to display fiscal year which I have selected from the selection screen?
    which variable should i use?
    2) Where can i find more information about the characteristic and which variable to be use base on the characteristic?
    For example: I would like to display the fiscal year from the selection screen/input screen when execute the report which also will reflected to the element definition and will display the fiscal year also in the column text?
    3) Kindly advise base on question 2, the variable that i use in element definition it will also display  in selection screen?
    4) When execute the report the first selection screen input parameter it obtain from where it is from element definition?
    5) Please advice how to be done when report execute with first screen input selection will also reflect the element definition of column and rom with the selection of the fiscal year?
    Please help.
    many thanks
    Edited by: KH on Jun 18, 2011 7:18 AM

  • Internal variables of report painter shouldn't be selectable

    Dear collegues,
    I have created two new internal variables in report writer in order to use them in planning layout of TA KP67:
    - previous year: marked as internal variable: calculated as: &1CGJAHE-1 (2008)
    and
    - future year: marked as internal variable: calcualted as: &1CGJAHE+1 (2010).
    In report painter these variables are assigned to key figures and are not shown on the selection screen again as they are calculated internally.
    But in planning layout of TA KP67 cost activity planning these variables are also assigned to key figures like actual costs or fixed planned costs and are indicated as acceptable for input on the selection screen but shouldn't - so how it is possible to define internal variables in co planning layouts as really internal which do not come up if the planning layout is executed via TA KP06?
    Thanks and regards,
    Christian

    Hello Christian,
    when I understand your request correctly, you want to plan for several years like 2008, 2009 and 2010 but you just want to enter one year. Right?
    For the column with the current fiscal year you can use a standard variable like GJAHR. For the other columns you define the year in the column as variable with value "GJAHR-1" (last year) and with value "GJAHR+1" (following year). On the selection screen of the planning transaction you will only have one field for the current year and the fiscal year for the other columns is calculated accordingly when you run the planning.
    Hope this helps.
    Cheers,
    Daniela

  • Report Painter - ERP Financials - Question on Value Variable useage

    I want to use a value variable that works in Report Writer (table GLPCT, field MSL [quantity] but cannot select MSL as a variable field in Report Painter to insert the same variable (it is not a selectable characteristic) using the same Library and Table.
    Is there a way to make the field selectable in Report Painter in order to select a value variable that uses the field MSL ?  It is a valid field in the Library that I am building the report in.
    In building the columns, I can select characteristic fields such as:
    Ledger
    Record Type
    Version
    Fiscal Year
    Profit Center
    Functional Area
    Account number
    Period
    etc
    but not MSL Quantity.  Is there configuration to make this (or any field) accessible to Report Painter ?
    Any advice is welcome.....
    Thanks......

    Quantity is a key figure. When you create the column values you would get this from the key figure drop list.

  • Formula Variables for Report Painter

    Dear Experts,
    I have a Report Painter Report which displays month wise report in columns and now i want the report to be displayed based on the period mentioned in selection screen.
    Can someone please advice how do I do the same with use of Formula Variables.
    Regards,
    Rahul

    Go to the selection screen and press F1 and go to technical details to name the name of the screen field. example: 8A-VON (period from) and 8A-BIS (period to).
    In your report designer, you enter the those variable for the "period" characteristic and tick the variable ON/OFF checkbox.

  • New variable in Report Painter - GRR2

    Hi,
    Can i create a variable with a value of table PROJ, the value is in Z field of table PROJ?
    I need to create a formula in report painter to take the field value PROJ table and multiply by the actual costs.
    Many thanks.
    Regards.

    Hi,
    Easier option is to create a profit center group excluding the dummy profit center and assign it in the report painter instead of the variable.
    Other option is at the time of executing the report, exclude the dummy profit center with out making any changes in the report.
    Regards
    Sudhakar Reddy

  • Variable in report painter

    Hi,
    I have a customized variable in report painter which pulls data from standard table, profit centre (GLPCT).  The data is included dummy profit centre. 
    How can block or should not allow dummy profit centre data to flow to the report?
    Please advice.

    Hi,
    Easier option is to create a profit center group excluding the dummy profit center and assign it in the report painter instead of the variable.
    Other option is at the time of executing the report, exclude the dummy profit center with out making any changes in the report.
    Regards
    Sudhakar Reddy

  • Report Painter Variables

    Does anyone know how to re-arrange the variables in a Report Painter Report?
    My selection screen shows-
    Enter Year 2:
    Enter Year 1:
    I want it to say -
    Enter Year 1:
    Enter Year 2:
    Thanks in advance for your reply!
    Renee

    If this is a COPA Report painter report, then go to transaction KE32, double click on the relevant report, click on the variables tab (on the right) and click on the button 'Sort Variables'. There are sequence numbers that you can change to position the variables appropriately.

  • Report Painter - Use of Constants / Local Formula Variable

    Hi,
    I am using constant and/or local formula variable in report painter in FSI.
    I could use both the values for calculating percentages, ie. it can be used for multiplication or division. However, when I try to use it for addition or subtraction, I am getting the error message no. KH206.
    In all cases, I am using different values in the formula, i.e. a absolute figure and a GL based figure.
    I am not able to understand, why it even allows me for calculating percentage.
    Can anyone help me in using a absolute figure for input and thereafter use it in addition / subtraction.
    I would prefer an immediate solution to this as I am in the final stages of this report.
    Full points guaranteed.....

    Hi Kash,
    Thanks for your reply..
    Can you elaborate bit further. You mean to say I should create a Constant with some value.
    Thereafter how should I bring that in the form. But, How do I enter the Constant in the Formula... There is no key for entering any text in the formula.. there are only ID (the values which we bring in the form and which can be selected for the formula) and numbers which can be entered.
    So how do I enter the name of the Constant?
    I tried just keying in the name of the Constant, and I could check the formula also, However, while saving the form, I am getting an error,
    Element WCaplimit Bis letztem ATag bis &$BISD is not defined correctly -> check definition
    Message no. KH206
    Diagnosis
    In element WCaplimit Bis letztem ATag bis &$BISD the system adds quantities and values or different currencies.
    Can you please revert back with step by step solution?
    Appreciate your prompt reply.... Thanks

  • 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 painter header text with customize variable

    Hi All,
    Can we have a customize variable/ logic based on the selection parameter in the header text(not in the report's columns) in report painter? understand the standard sap provides a few standard options, gen, variables, sel. parameters, spec. variables and characteristics but non meet the requirement.
    Requirement:
    get the selection parameter fiscal year variable, display the value with a logic where if the posting period = 9 the fiscal year +1
    all idea welcome. Thanks
    Regards,
    John

    Hi Sarma tadikonda,
    Thanks for the reply, but the offset provides the output control format? and it only take in numeric.
    Regards,
    John

Maybe you are looking for