How to create a text variable for Calender Yr/Month depending on the prompt for calendar year

Hi everyone
Please assist on this issue:
i have created a Bex report that has an offset for 12 months from the current calender month, i tried to use text variables to replace the calender months but i just learned now text variables from Bex dont work in BO, so I would like to create a prompt in BO to enter Calendar Year and then based on the input(Calender Year) the Webi report must display a 12 months for that Year.
Please also indicate where exactly  i have to click in order to get that "Helpful icon "  when the my issues have been resolved, because i searched it and havent seen it anywhere on the communications
Thanks in Advance
Ole

Hi Gill
In BO I recieve my all months for existing data  and when i create a prompt for Calender Year the months in the report still has those text varibale for exampl if i enter 2011 on the prompt the text remains for the year that was already there wen i created my text variable... so its not dynamic.....
So if i have text variables in Bex it will display like this in Webi in which it wont change if i put in 2011 as input for the prompt...

Similar Messages

  • How to Create a Text Variable

    Hi Experts...
    Can you please explain me how to create a Text variable...
    In my Cube i had 3 different date fields....
    and as per my requirment i need to create a rolling report for which will display data for 6 months rolling.
    As the date field which i need to use is not mapped to Time Char's (Cal Year,Cal Month...etc)
    For that reason i created below customer exit variable and used offset variables to achieve the rolling 6 months report
    Code used for Customer Exit VAriable:
    WHEN 'ZC_Cmonth1'. " Current Cal Month Car Expiry
    IF i_step = 2.
          CLEAR l_s_range.
    determine date
        LV_SYDAT     =  SY-DATUM.
        LV_YEAR_ACT  =  SY-DATUM+0(4).
        LV_MONTH_ACT =  SY-DATUM+4(2).
    Set begin date of intervall
    CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '01' INTO LV_DATE_LOW.
    Set end date of intervall
    CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '31' INTO LV_DATE_HIGH.
    Fill ranges-tab with: include all values between beginning of year
    and actual date
      CLEAR E_T_RANGE.
      CLEAR L_S_RANGE.
      L_S_RANGE-SIGN = 'I'.
      L_S_RANGE-OPT  = 'BT'.
      L_S_RANGE-LOW  = LV_DATE_LOW.
      L_S_RANGE-HIGH = LV_DATE_HIGH.
      APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    Now i need to create TEXT VARIABLE that will display the Month Name in the column name
    Please update in detail step how to create a Text Variable

    In your specific requirement select the which ever the keyfigure you want  to analyse, go to edit mode of keyfigure propeties there select the newvariable type and create the Text variable by maintaining the proper offset start and length and also maintain the in whcih format u want see the month name in column headers. Maintain the Text format or key format. it totally depends on u r requirement.
    Hope it will help ful for u.
    Bye,
    Chandu.

  • Wondering how to create a text box with variables...

    Hi everyone,
    I was wondering how to create a text box, that at the beginning of the presentation, the audience fills in regarding what they think constitutes the role they have been chosen for.
    I would like that same box to then appear at the end of the presentation, with the text they typed in at the beginning, so they can reflect on what they think now, and what they thought then. I understand this is done using variables, but i'm not 100% sure.
    I hope I've worded this okay!

    This screenshot shows the properties panel, Style tab for the TEB. I relabeled it to My_TEB, used the X button  to create a user variable v_choice that will replace the generic Text_Entry_Box_1/
    This is the properties panel of a Shape, I went in Edit mode (double clicking)to make the Character section appear, where you find the X button. It opens the dialog box 'Insert Variable' and you can choose the var associated with the TEB. The Maximum Length will define how many characters will be displayed, the value of a variable has maximum 256 characters.

  • How to create a 0FISCPER variable for [last period of current year]

    Hello,
    Can anybody tell me how to create a (exit) variable for the last period of the current year, based on 0FISCPER ?
    Based on a single value, user entry variable based on 0FISCPER.
    I did not find any standard (business content) variables for this.
    Can anybody tell me whether the following alternative works:
    variable 0P_BA102 (last period pervious year) with offset of +12 
    Kind regards.

    Hi,
    It should work.
    You can refer to the following link:
    http://help.sap.com/saphelp_sm32/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
    Regards,
    Amit

  • How to  Create  a selection variable for Fiscal period/year range

    How to  Create  a selection variable for Fiscal period/year range. The idea is to filter the query results using a fiscal period/year range user input rather than a full fiscal year input.

    Hi Priya,
    Open the query in a query designer -> in the left hand side you would find the fiscal year period under the time dimension -> right click -> create variable -> create the variable.
    The better option would be use any of the SAP provided variable. You would find them under the Fiscal year period in the left hand side in the query designer.
    Bye
    Dinesh

  • How to create a global variable in forms 6i

    How to create a global variable in forms 6i

    :GLOBAL.my_var := 15; Well, this statement is not correct! Global variables
    stores a character string of up to 255 characters in
    length. Thus, valid statement for Khurram example
    is:
    :GLOBAL.my_var := TO_CHAR(15);
    or
    :GLOBAL.my_var := '15';
    But numeric values are implicitly converted by oracle so there's nothing in fact wrong with the statement...
    :GLOBAL.my_var := 15;
    ;)

  • How to create a text box in ascreen painter?

    HI friends can anyone tell me how to create a text box in a screen painter?
    And attachment BROWSER like what we attach for any documents in over mail.
    Example when we click on browser the path of the computer has to be opened and by giving the document name attach and the document will be attached. Please tell me the procedure....
    Thks

    To get the best answers, I think you probably need to break down your post into several different one with a separate question in each, along with the business problem you are trying to solve... but here's a few pointers for you to research...
    Textbox - there's plenty of info in SDN on creating a custom control with a textbox e.g. Re: Text Editor on modulepool Screen and sample code in SAP too.
    Attachments - If this is for an email, then GUI_UPLOAD might help and the BCS class is the newer way to send messages... check out Re: Offline Approval: RBBP_NOTIFICATION_OFFAPP Vs RSWUWFMLEC for example... if this is an attachment for an SAP object such as an FI Document or Purchase Order, then the Generic Object Services (GOS) could be what you want e.g. https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3
    Jonathan

  • How to Create a Session variable in JSP?

    How to create a session variable and add attributes to it?
    For example i want to create a session variable called "name" and add value "user" to it? if i try to do it with setAttribute(), it is giving error as both is of type string? how to do it? kindly help me

    This is variable what is working in my aplication
    String variable;
    if(user == null){
                   user=new String("");
         }//if you don'y do this you will have null pointer exception
    session.setAttribute("user",user);//put value
              String name=(String)session.getAttribu("user");      //get value;
    I hope this will help

  • How to create a text item dynamically

    Greetings to All Expert,
    Could anyone please tell me how i create a text item with code.The scenario is like this....
    Suppose there is a text item corresponding to department_id=10 and i dont know how many employees r there in this department.Now if the query returns 10 employee then how do i display these 10 employees name.....it may be 20 employees also...i dont know the actual number before executing the query..
    Regards,
    Wel
    Edited by: 787312 on Aug 15, 2010 1:03 AM
    Edited by: 787312 on Aug 15, 2010 4:19 AM

    Hi,
    You can create two blocks for this. One is an unbound block which consist of a text box with a command button. Other block is a bound block from your table(multiple rows block). In hierarchical, unbound block should above above bound block, which makes the focus control goes first to the text box. When the user type the dept code and click on the button it goes to bound block and execute the query.
    you can write code in the command block as below
    set_block_property('<boundblockname>',default_where,'deptno = '||:ti_DEPTNO);
    go_block('<boundblockname>');
    execute_query;Best Regards
    MP

  • How to Create a text frame?

    Hai
    i'm senthil....
    i'm just now started working with Adobe Indesign plugin's..
    Can anyone tell me how to create a text frame...
    wat r the steps for creating a text frame?
    what are the Interface pointers used for creating a text frame...
    plzz reply me who knows...
    bye.

    See SDKLayoutHelper::CreateTextFrame.
    You can also look at SnpCreateFrame::CreateTextFrame in SnippetRunner.
    Regards,
    Narayan

  • How to Create header text in Quotations?

    Helli Experts,
    Can anybody of you tell me how to create Header text for Quotations in SD?
    I want to fetch it into Layout Set. I want to hardcode it.
    Harish

    Hi,
    Use the SAVE_TEXT and READ_TEXT Function module to create a header text through program.
    Prabhudas

  • How to create an array variable

    Hi folks,
    I'm developing a flowN activity , for each branch created, I need to pass different values (values I get from DB).
    For this my plan would be,
    -create an array variable , load all the values(from DB) into the array
    -pass the array to each branch in flowN activity based on the index
    As I'm newbie to BPEL, I do not know how to create an array variable.
    Could you people guide me please.
    Regards
    Viki

    Hi,
    I created my string array like
    <element name="string_array">
    <complexType>
    <sequence>
    <element name="input" type="string" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </element>
    <variable name="arr" element="client:string_array"/>
    I am able to add values to my array variable named as "arr"
    When I use the following code snippet, it gives my the value of the entire list.
    <%ora:getNodeValue(bpws:getVariableData('arr'))%>
    But when I try retireve values one by one like <%ora:getElement('arr','/client:string_array/client:input',[0])%>, its giving me error.
    Guide to get throu' this.
    Viki

  • How to create charasteristic value variable step by step please?

    How to create charasteristic value variable step by step please?
    I searched the previous threads it is not listed.
    I will assing points to only valuable information.
    York

    Hi Les,
    http://help.sap.com/saphelp_nw04/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm
    In the left hand side of the query designer, find your char and under than there will be a button with text called Characteristic Value Variables. Right click this and choose New Variable. This will open the variable wizard. You need to follow the screen to define a technical name and description, the processing type, the user entry options and if the variable will accept single or multiple values, and also if you want to set a default value.
    Hope this helps...

  • CAN SOMEONE PLEASE HELP ME IN CREATING A TEXT VARIABLE???

    Hello Friends,
    I want to display the Key and Text for 0CALYEAR in a report. I searched the forum and it seems that for doing this I need to create a text variable. In the query designer I tried creating a text variable for 0CALYEAR, but in the variable wizard, the "Type of characteristic" drop-down is greyed out. Please guide me in creating a text variable and on a larger scale in getting the Key and Text for 0CALYEAR. Thanks!
    Regards,
    Prem.

    Hello Friends,
    Thanks a lot for your replies!!! I am really delighted to see the helping spirit of the forum. I have assigned points to all of you. Thanks again!
    Now coming to the issue. Let me reply individually. (Friends, reply may be a bit lengthy. Please read atleast your part fully).
    Venkat, you said that we can display the key and text for 0CALYEAR if the texts are mainted for it. However, in the display option for 0CALYEAR there is no option for text. Moreover, since 0CALYEAR is provided by SAP itself, I did not find any option for maintaining texts for it. Infact in 0CALYEAR, under the master data tab the "With texts" option is unchecked. Please share some info on this one.
    Srini, your suggessted solution was not possible as there was no option for displying text in the context menu for 0CALYEAR.
    Karthik, I tried your solution. In my KeyFigures structure I have only two key figures and the 0CALYEAR is in rows. What I did was I right-clicked on "Key Figures" and clicked on New Selection. In the popup screen there is a button for variables. Clicking on it and then clicking on the "New" opton in the subsequent window brought me to the variable creation wizard. Interestingly this is a text variable creation wizard. Happily I created a text variable with replacement path and selected 0CALYEAR as the characteristic. Then I selected "Name(text)" for "Replace variable with" option. Everything went fine. Under key figures, I got an icon which is having a green triangle with a matrix cube (Apologies for explaning the situation like this :-). This is essentially the icon for characteristics. The description reads "&ZTXTVAR& New Selection". Now when I try to run the report I get an error saying "Use a Key Figure everywhere in the structure 'Keyfigures' ". I think the text variable is not getting created, instead a New selection is getting created. Please assist. Thanks!
    Regards,
    Prem.

  • How to create a text file or XML file  and add content through  code into it...

    Hi Everyone,
    How to create a text file and add content through the code to the text file eform javascript ......orelse can we create a text file in life cycle designer...
    Else say how to create a new XML file through the code and how some content like Example "Hello World".

    You can create a text file as a file attachment (data object) using the doc.createDataObject and doc.setDataObjectContents:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.450.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.528.html
    You can then export the file with the doc.exportDataObject method:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.463.html
    This won't work with Reader if it hasn't been given the file attachment usage right with LiveCycle Reader Extensions.

Maybe you are looking for

  • Two phones sharing the same apple Id. If I delete a photo from photo steam will it delete it from photo stream ?

    I recently bought a iPhone 5. I keep the old iPhone for my son to play games on over wifi. I signed out of my apple I'd but not my iCloud because it says if I turn it off the photos will be deleted. I do not want to lose the photos on either phone. I

  • Can't install a container

    When installing a container a number of errors are generated: I used to be able to create containers, but when I try it now I just get errors. After this installation the container refuses to boot. Creating list of files to copy from the global zone.

  • 802.1x and EAP

    Hi every body How is everybody doing? Does 802.1x require the usage of EAP ? or can we use 802.1x without using EAP? thanks and have a geat weekend.

  • Warum stürzen Zattoo-HD-Programme ab?

    Hallo zusammen, seit etwa Anfang Dezember 2012 stürzt Zattoo bei Anwahl eines beliebigen HD-Programms - spätestens nach einigen Sekunden - immer ab, sowohl auf einem beliebigen Browser als auch mit der Zattoo-Software. Vorher hat die Nutzung einwandf

  • Constant values in EJBQL

    Hi. I'm trying to define some finder methods for my application using constant values instead of parameters. The bean has a java.lang.Boolean CMP field named Finished, and I want to define a findAllFinished() method. I try something like this: SELECT