Key Date- Can i define 2 variables

Hi Guru's,
    I have a requirement to define 2 variables in Bex- Key date.
I am thankfull for any inputs of how to go about.
Thanks
Hari

Hi,
Here you should have 2 -  valid to and 2 - valid from fields in the datatarget .One set of Valid to and valid from fields for  Characterstics ZA and another set ofValid to and valid from fields for  Characterstics ZB. And then you can use RKF concept to get the required output .
But it is not at all possible throygh Key date as you exepecting. If I remeber correctly Thats what I suggested you in one of the previous threads.
With rgds,
Anil Kumar Sharma .P

Similar Messages

  • Can we define variable as attribute?

    hi,
       can we define a varible as attribute in SAP bw.?
      please explain me..

    What is your requirement???
    may be there could be a workaround but variable can never be made an attribute

  • Cannot change variable for key date in aggregate

    Hello,
    when I drag time-dependant attributes into an aggregates definition I am prompted to enter a key date or choose a variable for that. I then activate and fill that aggregate. Afterwards I deactivate it and remove the time-dependant attributes so there are no time-dependant attributes in the definition any longer. I then want to also remove the variable for the key date but I can't do so. This property is greyed out and there is no context menu for the entry "Variable for key date".
    The SAP Help says this should be possible by changing the key date variable through the context menu (see http://help.sap.com/saphelp_nw04/helpdata/en/7d/eb683cc5e8ca68e10000000a114084/frameset.htm).
    Has anyone faced this problem, too? I do not want to redefine my aggregate as this is not an elegant solution to the problem.
    Thanks to any answers in advance.
    Regards,
    Philipp

    Hey Karim,
    Because you have time dependent attributes in the aggregate you need to specify key date:
    check this
    http://help.sap.com/saphelp_nw70/helpdata/en/44/70f4bb1ffb591ae10000000a1553f7/frameset.htm

  • Removing Key Date from variable input screen

    Hi Experts,
    I am trying to remove the "key date" entry from the variable input screen so users dont see this value when they are trying to run a query. Can you please advise me on how to do this?
    Thanks in advance.

    Hi Paul,
    You would need to open the query and remove this variable from the query definition, or if you need this variable and then remove the ready for input check mark from the variable definition.
    Hope this helps...

  • Posting date  = Key date

    hi all,
    i am a beginner to sap bw, and learning FI AR.  for the 0FIAR_c03_q005 query, they use the posting date <= Key date. I didn't understand the meaning of posting date and key date.
    can you help me?
    thanks

    SKB
    Check this for more info on Key date
    Key Date
    Each query has a key date. For time-dependent data, the key date determines the time for which the data is selected. The default key date value is the date on which the query is executed, that is <Today>.
           1.      Choose  . The Date Selection dialog box appears.
           2.      Choose a date from the calendar and use the arrow button to add it to the selection window on the right. If you select 01.01.1999 for example, time-dependent data is read up to 01.01.1999.
           3.      Choose OK.
    You can also select a variable key date:
           1.      In the Date Selection dialog box, choose the Variables tab page.
           2.      Choose a variable and use the arrow button to add it to the selection window on the right.
    In the selection, you may need to know the technical names of the queries as well as their descriptions. In the Description window on the left hand side, choose Technical Names from the context menu (secondary mouse click).
    If you want to create a new variable, in the Description window on the left-hand side, choose New Variables from the context menu (secondary mouse click). The Variable Wizard dialog box appears, where you can create new variables .
    If you want to change a variable, in the Description window on the left-hand side, select the variable and choose Change Variable from the context menu (secondary mouse click). The Variable Editor dialog box appears, where you can change variables .
           3.      Choose OK.
    The key date only applies to time-dependent master data.
    Hope this helps
    Thnaks
    Sat

  • How to get open items as on a key date

    Hi experts,
    I want to show a report Agewise report of offsets: 0-30, 30-60,....
    Only the open items of Vendor as on a particular key date to be considered...
    How to get the open items as on a particular key date ?
    Regards,
    Rao.

    Hi All,
    Thanks for the reply..
    ==============================================================
    Basically create one ckf and two rkfs for each aging bucket
    ie ckf 0-30 days = rkf 0-30 days open + rkf 0-30 days subsequently cleared
    Because you need to restate the AP report to a key date - some items have changed their status since that key date but were open at the key date (ie we call those subsequently cleared)
    so rkf 0-30 days open is
    posting date <= key date
    item status = O
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    rkf 0-30 days subsequently cleared is
    posting date <= key date
    cleared date > variable date (which reads cmod of key date)
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    ========================================================================
    In the above two cases, while creating restricted key figures how to design this;
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    And also after creation of two rkfs i created a ckf i.e ckf = rkf1+rkf2.
    Now i dragged this ckf into columns and when i checked the query it is giving error that key date variable is used more than once. ( Bcz we have used key date variable both in rkf1 and rkf2 for getting posting date <= to key date )
    What is the solution for this ?
    Regards,
    Rao.

  • Key date display.

    Hi
    Our report displays data according to key date given in the variable.
    When a user enters a key date, the report displays the following data
    col1=keydate sales
    col2= MTD
    col3=YTD
    Here our requirement is when a user gives keydate and execute, The key date shuld be displayed in the report. Is it possible in report to display the keydate.
    REgards
    Annie

    i am not sure if any other better way exists.. but we have done as below
    create a formula variable(IX_KEYDT) - customer exit varibale with date dimension, and in the exit, make it as a copy of ur key date.
    CASE i_vnam.
    WHEN 'IX_KEYDT'.
    IF i_step = 2.
      LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = '0P_KEYDA'.
       CLEAR l_s_range.
        l_s_range-low    = loc_var_range-low.
        l_s_range-sign   = 'I'.
        l_s_range-opt    = 'EQ'.
        APPEND l_s_range TO e_t_range.
        EXIT.
       ENDLOOP.
    endif.
    endcase.
    create a new column - selection - just drag drop ur formula variable..
    *'0P_KEYDA' is the technical name of key date.
    hope it helps

  • F.31 Open at key date

    Hi Guru's
    I have an issue with F.31
    The following are the selection field
    Credit Account
    Credit control Area
    checkbox checked for Overview list with Navigation
    Check box checked for Balance
    Check box checked for Special GL Balance
    Checked Dunning Area
    Selected Days in arrears X
    selected Open items
    Selected Intervals as Z02n (customized)
    Entered Open at Key date
    My issue is when I generated report it is defaulting to the current date rather the date mentioned in Open at Key date
    Can you please let me know why?

    Hi,
    What you mentioned option do it  (Before Executing ) Select the Save button.
    Give the Variant Name & Meaning Text.
    If any settings look the Object for Selection fields.
    Save the Varient.
    When you are executing the report Select the Get Varient Button beside the execute button.
    Select the Varient and Execute.
    OR
    Select the Lay out button and configure as you Require.
    OR
    Develop the New Report with ABAP'rs.
    Regards,
    Kishore K

  • To define variables for all pages

    How can one define variables which can be accessed from all pages. 'Public' does not do it

    Hello,
    Is your query related to Project Server PWA?
    Thanks
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Can we create range variable for Query Key Date

    Hello Gurus,
    Can we create a range variable for Query Key Date ? when I tried to give a range of values for Query Key Date, I am unable to find Range Values option. I found only Single Values.
    so, Please let me know if we can use Range variables for Query Key Date ??
    Thanks in advance,
    Regards,
    Aarthi

    Hi Aarthi,
    This is relevant for the time dependant master data that is being pulled in thw query. Like if you are using a nav attr in the query and this nav attr is time dependant, then which record (from the char master data) is to be pulled into the report, depends upon the key date that you specify.
    The default key date value is the date on which the query is executed, that is <Today>.
    Hope this helps...

  • Key Date variable; Interval in query properties for Time Dep. Masterdata

    Hi,
    I've been searching on the forum, and I think I know the answer already, but still I'd like
    to ask you all whether it's possible to create a Key Date Interval variable to be used in the query properties.
    As far as I can see you can only report by a single key date used in the query properties field for time dependant masterdata, but my customer has asked me to investigate the possibility to enter a date range.
    As all masterdata is time dependant I don't see how this would work, but if someone can shine a light on this maybe there is a solution available?
    Thanks for your help.
    M.

    Hi marc
    I understand your problem.
    I had an idea for a workaround.
    If you can create master data compounded with Valid from and Valid to both of these characteristics , how the query is computing
    the keyfigures.
    Every change in valid from or valid to is unique for the system in this case.
    Thanks
    N.Ganesh

  • How can I do for a row of a query be data provider for a variable?

    Hi friends, I have a problem !
    How can I do for a row of a query be data provider for a variable?
    I need that a value of variable be stored when the user select a row in a query. At the BPS we can do this configuring the variable selector in WIB, and in a WAB how I can do this ?
    Best regards,
    Gustavo Liberado

    In this case when I press the key to call other forms I need to wait for the response in the secondary form and then process the result.That is exactly what a "modal JDialog" (or JOptionPane) are used for.
    Try it. Create a short demo program. All you need is a JFrame with a single button to show the modal dialog. All you modal dialog needs is a single button to close the dialog. After you show the modal dialog add a System.out.println(...) statement in your code and you will see that it is not executed until the dialog is closed.
    Then once you understand the basics you add the code to your real program.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • Query key Date Variable not working

    Hi Folks -
         I am coming across an issue with which some of you might be able to help me. I have a time dependent master data object which I've marked as a datatarget and have created a report on it. I wanted to give the user an option of specifying the key date and hence have created a variable in the query properties for the key date. This variable is of the type SINGLE VALUE, MANDATORY, USER ENTRY and CAN BE CHANGED DURING QUERY NAVIGATION.
         Now my issue is that even though I enter a specific key date, the query is not pulling the records according to the key date. But instead if I use the option of specifying a particular date (instead of a variable in query properties), the query is running fine!!! Can someone please let me know why this is happening? Why is the query working fine when I mention a single constant value but not when I use a variable? Thanks for your help in advance.

    hi
    This clearly shows your variable is not working fine
    So in RSRT transaction debug using your variable
    See in every step whether the variable is working properly
    Assign points if useful
    Thanks
    N Ganesh

  • How can I define global variable in user exit whic I can use anywhere.

    Hi all,
    How can I define global variable( Table ) which I can use when it come back to same user exit where I defined and stored some data.
    What I mean is I want to define 1 global table.
    In user exit when it comes I store some information. and again when it will come I will have that stored information so I can use it.
    Thanks a lot in advance.

    You can use EXPORT  TO MEMORY ID and IMPORT FROM MEMORY ID Statement for this.
    EXPORT T_ITAB FROM T_ITAB TO MEMORY ID 'ABC'.
    IMPORT T_ITAB TO T_ITAB FROM MEMORY ID 'ABC.'

  • How can i see the code of SAP Exit for SAP Defined Variables

    Hi,
       It's very Urgent! How can i see the Source Code of SAP Provided Variables. I need to write code for User Defined Variables. please help me. It's very Urgent.
    Thanks in Advance.
    Nagesh.

    hi Nagesh,
    sample code for variable exit,
    there is 'how to' docs, can't see your email address.
      DATA: L_S_RANGE TYPE RSR_S_RANGESID.
      DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
      CASE I_VNAM.
      WHEN 'CUMMONTH'.
        IF I_STEP = 2.                                  "after the popup
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                  WHERE VNAM = 'MONTH'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW(4)."low value, e.g.200001
            L_S_RANGE-LOW+4(2) = '01'.
            L_S_RANGE-HIGH     = LOC_VAR_RANGE-LOW.   "high value = input
            L_S_RANGE-SIGN     = 'I'.
            L_S_RANGE-OPT      = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
      ENDCASE.

Maybe you are looking for

  • Showing a JPanel

    I'm trying to show a JPanel in my JFrame. Not sure how to accomplish this as I'm new to Swing. Here's my code attached below... Also can you recommend a good book to understand all this. public class RMAViewer {      private static RMAViewer      the

  • Apple Picture Wavy on Panasonic Model PT-W4734X HDTV Projection Monitor TV

    Just purchased and installed and tried the Apple TV on my 5 year old Panasonic HDTV. While Apple TV connected and functioned correctly the picture was wavy. Worked with a couple of levels of support over the phone and ended up taking back in to the s

  • No luck with JAR's

    Im having no luck with packaging my app as a JAR at all, just a massive headache. Im using eclipse to develop the app in and have tried to export the app to a JAR and have added the correct main class (CustomCell). When I execute the JAR file I get t

  • Nokia N8 original pictures

    I just got my N8 and I am very happy with it. I made mistake and deleted all those 38 pictures N8 had in it. I am wondering if it is possible to get them back somehow? Can someone please help? Thanks for your time.

  • Should i install a firmware update?

    Should i get a firmware update for my N73 what r its advantages?