Creating variable for attribute

Hi guys,
Is it possible to create variable for an attribute. My requirement is that the user wants Serial # as one of the user selection criteria which is an attribute of system code equipment in Dimension material. If not, is there any other possible way to get it in user selection criteria when the report is run.
Thanks in advance.

you cant create a variable on attribute of a char.
other work around is to make Serial # a navigational attribute both in the IO (system code equipment) and in the cube maintenance too. That way in the report the attribute will be available as any other char in the cube.

Similar Messages

  • Creating variable on attribute

    HI,
    How to create the variable on attribute
    I have 0equipment as my infoobj for which I have an attribute plant
    Now I want to create variable for plant
    Regards
    Priya

    You Cannot create or use a variable on a Display Attribute . You Can only do that for Navigational attribte.
    In the Query go to the Object > Drag it to either Columns/rows/free Chars> Right Click> restrict > go to variables tab...create variable

  • How to create variables for offsets?

    Hi BW Experts.
    I have a tricky one that has been posted before, but I couldn't get my head around a feasible answer just yet.
    My customer wants to be able to display his ageing AR report with different buckets, depending on the month.
    For example, if it's January he wants to see buckets for 1-30 days, 31-60 days, 61-90 days and 91 to 120 days.
    If it's February, he wants to see buckets for 1-28 days, 29-58 days, 59-88 days and 89-118 days.
    If it's March, he wants to see buckets for 1-30 days, 31-58 days, 59-88 days and 89-118 days,
    and so on.
    We have create a structure in the query, filtering the key figure 0DEB_CRE_LC by 0NETDUEDATE. We have a variable for 0NETDUEDATE as a starting date and use different offsets to get the buckets. However, the offsets need to be hard coded, preventing us the flexibility of choosing the days in the buckets.
    Is it possible to create variables for the offsets, so the user can choose the days for the buckets at the report run time?
    Thanks in advance.
    Kind regards,
    Aline Passos.

    Hi Aline,
    as user is entering 0NETDUEDATE & he needs different buket for different months, which are more or less decided well in advance, I believe it cane be handled by User Exit varaibles which will draw value from the variable value you have entered & go backward.
    you will need to write the ABAP code with your logic to drive the correct user exit values.
    hope it helps
    regards
    VC

  • How to create Variables for the Key Figures

    Hi All,
    How to create Variables for the Key Figures
    Thanks
    Bhaskar

    Hi,
    It is not possible to create the variables on Key figures directly. But we can create a formula variable with processing type 'User Entry' ,SO that the user entered value can be used in the calculations of the query.
    With rgds,
    Anil Kumar Sharma .P

  • Creating variable for display attribute

    Hi
            I have a requirement where i have to give selection criteria for a display attribute. But how to create a variable for display attribute. Please help.
    Thanks
    Imran.

    If you are in BI 7.0 version. You have to put the navigational attribute in either characteristic restriction (Filter) or default values section and then you will get the restriction option. Once restricted you can put
    that char in where ever you want.
    Regards,
    Kams

  • Variable for attribute

    Hi Gurus
    I need to create a variable for the attribute only not for the characteristic in query designer.
    Iam in BI7.0 please help me how to do this.
    Thanks in advance
    viki

    It's a relatively straight forward process VIKI, try reading through these guides.
    http://help.sap.com/saphelp_bw33/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
    and here
    http://help.sap.com/saphelp_bw33/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm

  • How to create variables for Characteristic Info-objects in Rows / Columns

    I want to create variables in abovementioned manner for COPA retraction in BPS, as COPA retraction does not recognise variables created in "filter" section of Bex. Can sumone advise , as I have tried all the possibilities of creating but failed to do so?

    Hi Ravi/All,
    Actually my problem will be solved if I am able to create variables in either Rows/Columns area of BeX.
    Variables are getting created easily in Filter section of BeX (but in COPA , it will not serve any purpose COPA retraction does not recognise contents of Filter/variables contained in the filter).
    In fact variables are getting created in Rows/Colums of Bex, but they are in the form of structures. (Again multiple structures (more than 1)  are not recognised in COPA retraction.

  • How we create Variable for Previous year for COPA reports

    Hi Guruss,
    I am making a COPA report for Current year comparison with previous year from KE31. For 1st column I have created the Variable for current year (which works perfectly) now in 2nd column i need the actual data pertaining to previous. So can any one please guide me how to create the variable for previous year.
    Thanks

    Thanks Jagannadha,
    I have create the variable for current year on KE3E. but i am confuse how i create the variable for previous year on KE3E.
    Waiting for reply.

  • Create input variable for Attribute

    Hi Guyz,
    How do I create an input variable or restrict the query on an attribue of an Infoobject in the query
    The attribute is Navigational.
    I have to restrict the query by certain values of that attribute.

    Hi Ajay,
    Can you please throw in more details...
    I pulled in the Characteristic in the rows column of query designer, next I pulled the attribute and placed it under the Char.
    Now while restricting it..
    1) I right click on characteristic and choose restrict, Create a new variable.
    2) What type of Variable do I create ... User entry or replacement path...
    3) In the same screen where give in the name, tech name, processing by, Characteistic ... I only see the Characteristic here.
    Am I doing it right?
    If possible can you give the steps too.
    Thanks,
    Kumar.

  • How do we create variable for hierarchy node selection

    hello all,
    I have to create a variable as to where the user ca input the node of hierarchy in his selection at the start. Do we have to create a new variable ?
    I have the hierarchy loaded for that infoobject. I tried creating a new variable but the when I select from drop down as varaibles and name of the hierarchy no variables shows up.
    Thanks

    Hi Raj,
    Please see this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/096d399bd2046fe10000000a114084/content.htm
    It has complete details.
    Hope this helps...

  • Creating Variable for prompt

    Hi,
    I have a requirement where i have to create a variable based on a specific requirement.
    A prompt is placed on the year field. Now two variables should be created
    1.The Sales Revenue of the year that is selected by the user, and
    2.The Sales Revenue of the previous year for the year that is selected by the user.
    Please Help
    Thanks and Regards,
    Raja.N

    Hi  Rohit,
    I practiced the same formulas on eFashion. I used [year], [sales revenue] objects and prompt with equal to condition
    Cyear =UserResponse("Enter Year:")
    Pyear =FormatNumber(ToNumber(UserResponse("Enter Year:"))-1 ; "####")
    Csales =[Sales revenue] Where ([Year]=[cyear])
    Psales =[Sales revenue] Where ([Year]=[pyear])
    I created the above 4 variables(all are measures), but i couldn't get the data for 'Psales'. You said, you practiced on eFashion and you got the result. Please let me know if i do any mistakes.
    Looking forward to your reply.................
    Thanks,
    Shahin.

  • Create variable for key figures

    Hi all,
    I have a query with a couple of key figures, f.e. Net Revenue, Net Sales and Volume.
    Now, I want my end users to have the option to <b>select</b> which <b>key figures</b> they want <b>to see</b>. How to do this?
    All good ideas will be appreciated.
    Thanks in advance,
    Ralph

    Hi,
    You can put your key figures in a structure. A "key Figures" row will automatically appear in your navigation block. If you right clik and select filter value (in BEX) or just click on the filter icon (in 0ANALYZER BW3.5) you will be able to select the key figures to display.
    This should help the user to display and hide the relevant key figures according to their scope of analysis.
    Hope it helps (if so, please assign some points)
    Gili

  • Creating variables for running headers and footers

    This question was posted in response to the following article: http://help.adobe.com/en_US/framemaker/using/WS2937A033-EFF3-4d85-BBB3-98214B54950D.html

    > ... when you make a comment or suggestion in the FM help, it gets echoed to the forum now ...
    So the forum is going to get polluted with mysterious no-question "replies" that are actually just useful editorial comments in Help ...
    ... and Help is going to get polluted with actual or (as here) unnecessary discussions about these mystery threads, plus the normal topic drift that afflicts a material percentage of internet discussions.
    Well, until Adobe figures out this web stuff, we probably need to footnote any Help remarks with ...
    Note: this post was a comment on a Help page, and is not an FM forum question, nor a response to one, even though it will appear there, until this sillyness gets fixed with an option:
    Post this as (must choose one):
    [_] Help comment only (appears here only)
    [_] Question (mirrored on Forum)

  • JS CS4: Create variable for current layer then select the layer at the end of a script

    I'm coming up blank with the verbiage and spinning my wheels with the OMV and script guide.
    var myOriginalLayer = app.activeDocument.layers.item(0);
    alert(myOriginalLayer)
    returns "object layer" and not the layer's name.
    var myOriginalLayer = app.activeDocument.layers.lastItem().name;
    Does return the layer name I want but not by selection.
    I'm challenged on how to select the layer.

    Hi John,
    The difference lies in that the [Object Layer] is the actual object, and the 'name' is just a property -- just like its color.
    You can use one of these two approaches:
    var myOriginalLayer = app.activeDocument.layers.item(0);
    alert(myOriginalLayer.name);
    will hold the original layer object, and you can see the name if required :-)
    To re-select the layer, use
    app.activeDocument.activeLayer = myOriginalLayer;
    Alternatively, selecting by name goes like
    var myOriginalLayerNAME = app.activeDocument.layers.lastItem().name;
    app.activeDocument.activeLayer = app.activeDocument.layers.item(myOriginalLayerNAME);
    I also noticed the following:
    app.activeDocument.layers.item(0) points to the first layer of your document; not the 'active' one. Similarly, app.activeDocument.layers.lastItem() just points to the very last one. I'm not sure if the order of the activeDocument.layers array mimicks the order as shown in the Labels palette, but I would hope it does :-)
    To get/set the active layer, use app.activeDocument.activeLayer as shown above.

  • How to create variable in BEx on a Nav Attribute?

    Hi All,
    We are creating a report on Master data object 0MILESTONE. 0PROJECT is the navigational attribute of 0milestone.
    and ZSTATUS is the navigational attribute of 0PROJECT.
    Requirement is to create variable on ZSTATUS in BEx. How do I do that? I dont see option of creating variable on Nav attribute of a Nav attribute.
    Regards,
    Bob

    Hi,
    There is nothing as such creating variable for navigation attribute. You can only create variable directly on particular infoobject.
    In your case you are using transitivie attributes. So they can not be accesed directly in BEX query. You can only use 1st level nagivation attributes in bex query.
    [http://help.sap.com/saphelp_nw04/helpdata/en/6f/c7553bb1c0b562e10000000a11402f/content.htm]
    Regards,
    Durgesh.
    Edited by: Durgesh Gandewar on Feb 22, 2012 3:53 PM

Maybe you are looking for