Passing key date

Hi all!
I'm currently working on a dashboards to display information from sap bw.
I`m using
BO XI R3 FP 1.3
LiveOffice
Xcelsius 2008 FP 1.3
Source for Xcelsius is LiveOffice <- Web Intelligence <- Bex query.
bex query uses a key date, how can I change it dynamically in xcelsius?
I can change other parameters by using
LiveOffice -> Modify Object -> Prompt Settings... -> Choose Excel data range ->
but I can`t do it for the key date.
Please help

>
smanocha wrote:
> Hi Timur Khayaliev,
>
> I am facing the same situation. It would be great help for me if you can describe the solution in little more detail.
>
>
> Thanks
> Sandeep Manocha
Hi, smanocha.
Here is my decision:
There is 5 parameters, which describe a key date in a Designer:
KEYDATE_CAPTION
KEYDATE_DEFAULT_VALUE
KEYDATE_ENABLED
KEYDATE_MANDATORY
KEYDATE_NAME
You can get them in file -> parameters -> Parameter.
I filled out the field "KEYDATE_DEFAULT_VALUE" and KEYDATE_ENABLED I set "No".
Then go to filters in your univers.
Open the required filter and add this line before last </OPERATOR>:
<FILTER KEY="[0P_KEYDA]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Key Date:','D',,,)"/></CONDITION></FILTER>.
you should get approximately the following:
<OPERATOR VALUE="AND"><FILTER KEY="[!V000003]"><CONDITION OPERATORCONDITION="Between"><CONSTANT TECH_NAME="@Prompt('Балансовая единица From','A',,,)"/><CONSTANT TECH_NAME="@Prompt('Балансовая единица To','A',,,)"/></CONDITION></FILTER><FILTER KEY="[!V000002]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Главная БЕ (опции выбора, обязательно)','A',,,)"/></CONDITION></FILTER><FILTER KEY="[0P_KEYDA]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Key Date','D',,,)"/></CONDITION></FILTER></OPERATOR>
Then save and export univers.
This should help.
Timur Khayaliev

Similar Messages

  • Pass Key date from Sender to Receiver Query

    Hi,
    We have a requirement to pass key date from the sender query to receiver query.
    In our sender query we derive the key date based on the calendar month value entered by the user on the variable screen and this is used to determine the hierarchy structure to be used for report.
    The user have the option to drill down to detailed query (using RRI) from the context menu option. We would like to use the same key date in the drill down query as the sender query. The drill down query does not have any variable selection.
    In RRI settings I can not see the way to pass on the key date.
    Any help is appreciated.
    Thanks,
    Ankit

    Hi Suman,
    Yes, we do not have variables in the receiver query as we expect the settings in RSBBS to pass the filter values to the receiver query and which is being done consistently.
    The problem is that we do not have any option to pass key date. If required we can add a customer exit variable but how will it work if the user does not want to enter the variable values for the drill down report.
    Thanks
    Ankit

  • Passing of Key Date in RRI

    Hi Folks,
    This problem is related to passing of Key Date value in RRI. We have the Basic(Source) Report in one server & Detail(Target) Report in another server. Now my requirement is to pass Key Date (Query --> Properties) to Target query. I think only variable values & selection will be passed to the target query, So I had a variable in Source report which takes input from user (or default value goes). Now how can this be received by the Key date of the Target query. Iam getting "#" in the Key date of Target query. Mind you once again both queries are on different servers.
    Thanks & regards,
    Manoj.

    Found the answer, thanks to another thread:
    Function RRS_VAR_VALUE_FROM_MEMORY_GET with I_VNAM equal to the key date variable returns the value of the key date.
    DP

  • WAD 3.5 - Pass a date to Hierarchical Filter Selection Key Date

    I'm working in WAD 3.5, with 3.5 queries.  I currently have a Hierarchical Filter Selection on Org Unit using a query with no Key Date set, so as to pull the most current version of the hierarchy.  This filter selection is then applied to several charts and tables below. 
    I need the web app to initially display this current version, but also allow the user to select a date, which triggers a requery of the Hierarchical Filter Selection data provider, passing the date selection to the key date of the data provider query.  1) how do I pass the date (currently from a drop down) to the key date of the other query, and 2) how do I force a requery of the Hierarchical Filter Selection?
    The problem we are attempting to address is that if Org Unit A contained Org Units 1, 2, and 3 at the end of 2007, but only 1 and 2 today, the Hierarchical Filter Selection will not show #3, thus not allowing the user to drill down to it.  If they can choose the version/point in time of the hierarchy, they will then have the ability to drill down on the older Org Units.
    Thanks!
    Anna
    Edited by: Anna Kamrath on Feb 6, 2009 8:52 AM

    Our solution was to modify the user exit variables and store the values in a MEMORY ID and restore from there.

  • Table for Customer and vendor open balance on a key date

    Dear All,
    Can anyone please let me know Table for Customer and vendor open balance on a key date. We are developing one customized report.
    I have checked with the below table :
    Customer-KNC1, KNC3,BSID, BSAD
    Vendor-LFC1, LFC3, BSIK, BSAK.
    But these are not working properly for all customers and vedors. Also, in open items, there are items with clearing documents.
    Plesae let me know, how to go for it.
    Please suggest.

    Hi
    Use BSID and BSIK for open items
    And pass company code, year and from date and to date range in Posting date selection option
    Reg
    Vishnu

  • Crystal report -Subreports and BW key date

    Hope your in good spirits,  we had to install the SP 7 on bw for our webi reports to work, i have an issues here with Crystal reports
    I need to develope a crystal report with two BEx Queries as Data Sources, I suggested to use Subreports, where the promts of the reports can be linked, but i have a Keydates in these two Bex Queries which are poping up as two parameters when i run the report is there any way that you can link those to key dates,where the user can enter for one key date Parameter and the value is passed to the Sub report Key date  parameter, please help me

    >
    raj_4234 wrote:
    > Hope your in good spirits,  we had to install the SP 7 on bw for our webi reports to work, i have an issues here with Crystal reports
    >
    > I need to develope a crystal report with two BEx Queries as Data Sources, I suggested to use Subreports, where the promts of the reports can be linked, but i have a Keydates in these two Bex Queries which are poping up as two parameters when i run the report is there any way that you can link those to key dates,where the user can enter for one key date Parameter and the value is passed to the Sub report Key date  parameter, please help me
    did you manage get the solution, i also want to know how to share date parameter from subreport to main report?

  • Key DAte

    Hi ,
    We ahve a Key date option in BEX Query designer i am assigning an Customer Exit variable to that key date which based on calander day. In the same Query iam using another customer exit which should be depend on the above Key figure can anyone will let me know how to do this..
    means in CMOD i wrote a program for both the variable key date variable is converting fiscal year to date and month and after that second variable need to be exeucted
    Note to both the customer exit iam passing the same variable..
    Thanks

    Hi Srinivas,
    I am creating a reprot which is based on fiscal year period and the customer want to display the data based on periods.
    Means if they select the period as 007.2008 then
    Column 1 should display the data 001.2008 to 003.2008 and
    column2 should display teh data 004.2008 to 006.2008
    column3 should disply the data 007.2008
    how to go head and their is the column where i ahve to disply current fiscal year data..
    Thansk

  • Problem in BADI crm_isa_basket_head to pass ct_extension data to ct_text

    Hi Experts/Gurus,
    I had a problem when i am passing the ct_extension data to ct_text. I need to pass the data of two new fields created in order jsp as extension data. For this i used the BADI method "changehead_before_order" and i had passed this extensoin data from ct_extension to ct_text which can be passed to crm_order_maintain before order. And when i try to get the data using the method gethead_get_data, in this iam calling CRM_ORDER_READ to get the values of IT_TEXT, the b2b webshop is giving an error and asking to logon again.
    The below is the code which i have written in both the methods:
    METHOD if_ex_crm_isa_basket_head~changehead_before_order.
      DATA : ls_orderadm_h  TYPE LINE OF      crmt_orderadm_h_comt,
             wa_orderadm_h  TYPE LINE OF      crmt_orderadm_h_comt,
             ls_extension   TYPE              crmt_isales_extension,
             wa_extension   TYPE              crmt_isales_extension,
             ls_text        TYPE              crmt_text_comt,
             ls_lines       TYPE              comt_text_lines_t,
             wa_lines       LIKE LINE OF      ls_lines,
             wa_text        LIKE LINE OF      ls_text,
      READ TABLE it_extension INTO wa_extension WITH KEY name = 'ZEXTNSM'.
      wa_text-ref_guid = wa_extension-ref_guid.
    *  wa_text-tdobject = 'CRM_ORDERH'.
    *  wa_text-tdname = wa_extension-ref_guid.
      wa_text-tdid     = '0001'.
      wa_lines-tdline = wa_extension-value.
      APPEND wa_lines TO ls_lines.
      wa_text-lines = ls_lines.
      INSERT wa_text INTO TABLE ct_text.
      CLEAR wa_text.
      CLEAR wa_lines.
      CLEAR ls_lines.
      READ TABLE it_extension INTO wa_extension WITH KEY name = 'ZEXTNSI'.
      wa_text-ref_guid = wa_extension-ref_guid.
      wa_text-tdid     = '0002'.
      wa_lines-tdline = wa_extension-value.
      APPEND wa_lines TO ls_lines.
      wa_text-lines = ls_lines.
      INSERT wa_text INTO TABLE ct_text.
    * ct_text = ls_text.
    * append ls_text to CT_TEXT.
    ENDMETHOD.
    to get the data :
    METHOD if_ex_crm_isa_basket_head~gethead_get_data.
      DATA : ls_extension TYPE crmt_isales_extension,
             ls_text        TYPE              crmt_text_comt,
             wa_text        type      CRMT_TEXT_COM,
             ls_lines       TYPE  comt_text_lines_t ,
             wa_lines       type      TLINE,
             ls_basket_head TYPE crmt_isales_baskethead_ui,
             lv_objectid    type CRMT_OBJECT_ID.
      lv_objectid = cs_basket_head-OBJECT_ID.
      if lv_objectid is not initial.
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid = cs_basket_head-guid
        IMPORTING
          et_text        = ls_text.
      READ TABLE ls_text INTO wa_text WITH KEY tdid  = 'ZSM'.
    *Appending the discount value from the database.
      ls_extension-ref_guid = cs_basket_head-guid.
      ls_extension-name = 'ZEXTNSM'.
        ls_lines[] = wa_text-lines[].
      READ TABLE ls_lines INTO wa_lines INDEX 0.
      ls_extension-value = wa_lines-TDLINE.
      APPEND ls_extension TO ct_extension.
      CLEAR ls_extension.
    endif.
    ENDMETHOD.
    When i put the external break point and checked, in the webshop when i click the update button, in the method changehead_before_order, in the ct_extension table i am getting the values and keys which i have set in the java action. But when i click "order" button, i am not getting anything in ct_extension table which i cannot in turn pass this values to ct_text.
    Can you please help me in this regard??
    Thanks a lot in Advance!
    Regards,
    Lakshman.

    The header guid i am trying to pass to the crm_order_read is a mismatch.

  • Dynamically pass the date to all the programs in a chain

    Hi,
    I have a requirement to pass the date to all the programs in the chain. The first step when the chain starts should be to calculate the next batch date from a oracle table, and then pass that date as an argument to all the programs.
    For example,
    This should be the sequence of steps once the chain has started.
    1. Start Chain
    2. Step1 - Calculate the next batch date from the oracle table.
    3. Step2 - After the successful completion of Step1, run the program with the input parameter as date which is calculated from Step1.
    4. End Chain
    Please help.

    Hi,
    The recommended way of doing this is to store tha data to be passed (in this case the date) in a table and have the other steps access it.
    If you have many chains, or the same chain used several times, you can use the job name and owner as the primary key for the table. You can then pass the job name and owner into every program as metadata arguments (see define_metadata_argument) so every step knows what job is a part of and can select the data from the table.
    Hope this helps,
    Ravi.

  • Variable For Query Key Date

    Hi All,
    I am using time dependent master data, i want to count number of employees on particular key date for diffferent Orgunits. So i created variable in the query properties for dynamic date selection .I also have other variable - Calendar month.
    If the user enters particular  Calendar Day (21.03.2008), then the report should show the total number of employees for that particular day.
    If the user chooses Cal Year/month  then the report should show the total number of employees for that time frame (12.2007-12.2008).
    When i enter Cal Year/month and execute the system not allowing to execute the report. It says Calender Day is mandatory.
    How can i bypass the calenderday when i choose calyear/month.
    Variable for Key date :
    Char - Calender Day
    Mandatory
    Ready for Input
    Regards
    A.Vasister

    Hi,
    For this work you have to create another 2 variable.
    1. Make your both user entry variables as optional.
    2. Create another 2 variables processing type as user exit.
    3. In the CMOD program, identify which variable contains data.
       - If the user entered month, then in the user exit of Calender day's from date should be
         first day of the month parameter and to    date should be the last date of the month parameter.
       - If the user entered date, then pass corresponding month&year value of the date to calmonth variable.
    Let me know the position.
    Vivek

  • How to get PNP Org Structure to reflect the org structure as of key date?

    I created a custom program using the PNP logical database.  I defined a custom report category indicating the selection period = employee selection period and allowing org.structure.  I’m also using the standard SAP PNP_DEFAULT selection view. 
    Inside my ABAP I initialize the pnpbegda and pnpbegps to reflect 20060930.  Upon Execution the key date reflects 09/30/2006.  I click on the org.structure button.  The org.structure displayed reflects the one as of today rather than as of Sept-30. 
    During run debug I see that the RP_PNP_ORGSTRUCTURE  program, LRPPNU11, calls function 'RH_TYPE_STRUC_HELP' to get the org.structure.  The call to this function passes 09/30/2006 for the begda and endda, but it still returns the latest org.structure.  I did some playing with this function and found that if I also pass the ACT_SEARCH_WEGID as ORGEH it works.
    Any idea on how I can get the LRPPNU11 program to pass the ACT_SEARCH_WEGID or the subsequent called functions to process for ORGEH?

    thanks. but maybe I don't describe my problem well.
    I use javascript to get some information such as position, sytle of each elements and then pass these to javafx. So the besides the dom tree, I can get more information about elements.
    I need to pass them back to javafx.
    if node support setUserData, I can associate them to each Node/Element. But webkit don't support this feature.
    BTW, If javascript pass a object to javafx. it can only deal with primary types such as string, numeric. But I need pass back a complicated javascript object like:
    {name:"parent", children:[{name:"child1"},{name:"child2"}]
    I can use (String)JSObject.getMember("name"); and JSObject children=JSObject.getMember("children");
    but I can't cast children to Object[] or JSObject[].
    so I have to use some tricky to convert Javascript Object to json string and then in javafx convert it back to Object tree.
    Edited by: user12956197 on 2013-3-11 上午4:27

  • WSRP - Pass Custom Data between Consumer and Producer

    Hello All,
    I am having a couple of queries with respect to Custom Data Transfer. Consider I have a Map of values which I need to transfer between both Consumer and Producer.
    For eg: the map that Consumer sends would contain "firstName", "lastName", etc... On the other hand Producer needs to do some business function based on the data and add more values to the map like "rewardPoint" etc....
    On Consumer Side:
    I have choice to use Backing File or IGetMarkupInterceptor to implement the preInvoke to pass the data using SimpleStateHolder.
    Question: I am not able to send a simple Serializable POJO Object... I can only send primitive / default java objects like Strings, Maps of String etc. Is my understanding correct?
    On Producer side:
    I am able to receive the Custom Data from request. No problems. Now how to send more data from Producer to consumer. I need to add the "rewardPoints" into the map and send back.
    My understanding is that if the Producer puts any values into StateHolder objects, Consumer will receive it in IGetMarkupResponseContext object in the Interceptor's postInvoke method.
    Question: How do I get a handle to the IGetMarkupResponseContext object @ Producer end???
    Question: Do I need to write some interceptors on Producer end? If so which file I need to use?
    Any help / pointers would be greatly appreciated.
    Thanks,
    Paz

    Hi All,
    I tried to set the data in the producer using the following command
    SimpleStateHolder stateSimpleOuterReq = (SimpleStateHolder)request.getAttribute(MarkupRequestState.KEY);;
              if (stateSimpleOuterReq == null) {
                   SimpleStateHolder state = new SimpleStateHolder();
                   state.addParameter("name", "data1");
                   request.setAttribute(MarkupResponseState.KEY, state);
    I am not able to retrieve the same in consumer.
    The above is a WSRP struts request.
    I also tried setting the data by unwrapping the request in producer and still value is null in consumer :-(
              HttpServletRequest requestq = (HttpServletRequest)((HttpServletRequestWrapper) request).getRequest();
              SimpleStateHolder stateSimpleReq1 = (SimpleStateHolder)requestq.getAttribute(MarkupRequestState.KEY);
                   if (stateSimpleReq1 == null) {
                        SimpleStateHolder state = new SimpleStateHolder();
    state.addParameter("name", "data1");
                        requestq.setAttribute(MarkupRequestState.KEY, state);
    Please help me in resolving the issue. Correct me if i am doing anything wrong.
    Thanks
    T. Deena
    Edited by: user11261911 on 12/06/2009 19:49

  • Key Date?  Time-Dependent Master Data

    I need a report on Employee Hires in a given interval (between 1/1/2008 - 12/31/2008). Therefore, I pass the time interval to the query.  However, I need master data as of the Hire Date of the Employee.  What type of variable should I pass in the query properties (as key date) so that it reads employee hire date during query runtime?
    Just FYI...Hire Date is a characteristic and displays on the report.  Different employees could be hired on different days in a given time interval.
    Best Regards,
    -Sonny
    Edited by: Sonny Mohnalkar on Jun 9, 2009 7:23 AM
    Edited by: Sonny Mohnalkar on Jun 9, 2009 7:24 AM

    Hi,
         For query key date you can only specify a single date( fixed value or single entry variable).
    So, your requirement cannot be acheived using key-date functionality as there might be different hire dates for different employees. The only way to acheive this is to identify the master data for each employee based on his/her hire date at query runtime using the concept of virtual characteristics. This is a bit complex and will affect the performance of the query. There is a SAP How-to-Document available which can help you. Also you can refer to the following link for some more information on implementation of virtual characteristics.
    Link: [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c]
    On the other hand, your requirement can be easily realized in the case where you run the query only for a single date. In this case, you need to use a single entry variable instead of Interval variable. And use the same variable for Key date.
    Hope this helps you.
    Thanks ,
    Nithin reddy.

  • Capturing key data for tracking/compliance

    We have two separate user groups, both of whom can access eLearning portal. One group (permanent staff) does have LMS logins but a bigger (volunteer) group have no login IDs (in a year or so, this may change)
    However, i'd appreciate advice on how to capture basic data (Pass/score and Name, - plus users Location/Role/Manager, not currently captured in our LMS)
    Using CP4, I have set up a Random Q pool and then a slide with free Text Entry Boxes, to input key data.
    There are potentially too many people to manage creating an email to send data.
    How do I collect/export the data into, say, a spreadsheet (as an interim solution to capture data to report for compiance training ) .
    If this is possibile, Step-by-step help would be appreciated. (not a techy and never used anything like java scripting)
    Much thanks in advance

    That seems remarkably complicated - surely there must be an easy way to say That is precisely the way all Actions are handle by Swing components. It is extremely easy if you take a few minutes to understand how it works.
    Using a KeyListener is the wrong approach.

  • Currency Translation on Key Date for AR Aging

    Need your valuable advice!
    I have created an AR Aging query including both Open and Cleared Items based on 0FIAR_C03_Q0005 standard query. However the requirement is to do currency translation to Group Currency (USD) on Key Date. This Key date is defaulted to today but the user can change this to go back in time and pull all the ARs as of that back dated key date.
    I was planning to create a currency translation type on M rate based on the Key Date Variable in RSCUR. However I am confused on which variable to base this currency translation. I have several key date variables in my query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date).
    Which Key Date Variable should I use in 'Time Reference from Variable' field in RSCUR? Would it be one of the 3 mentioned above or something else and why?
    Appreciate your valuable advice.
    Thanks,
    Al

    Hi,
    Yes I do want to use the Key date from the variable screen and I am using the standard 0FIAR_C03_Q005 with slight modification including currency translation.
    As I mentioned in my original post I have several key date variables in this query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date). My question is which one should I use if I want to base it on the specific key date variable from the variable screen? I need the specific Key Date variable technical name.
    Thanks,
    Al

Maybe you are looking for