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

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

  • 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.

  • 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

  • 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

  • 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

  • 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

  • Report Output with Key Date

    Dear All,
    I have the following fields in DSO.
    Key Part: EmployeeID, DateTo, DateFrom.
    Data Part: Designation, AnnualSalary.
    I have data in the DSO as follows:
    EmployeeID DateTo        DateFrom      Designation AnnualSalary
    1                 12.11.2008 01.01.2008    Worker        10000
    1                 31.12.9999 13.11.2008    Officer         20000
    2                 14.11.2008  01.01.2008    Worker        10000
    2                 31.12.9999  15.11.2008    Officer        20000
    Now If I give key date as 13.11.2008.
    The Output of the Report should be like this:
    EmployeeID Designation AnnualSalary
    1                 Officer         20000
    2                 Worker        10000
    How can I achive this ??
    Cheers,
    Neel.

    Hi,
    I think you can achieve this by using a formula with boolean operators "is less than" and "is greather than", and then also use row/columns settings and/or conditions to suppress rows that does not contain the key date.
    BR,
    Niclas

  • Key date in vendor ageing report

    hi,
    As i run the report S_ALR_87012077 which stands for vendor ageing report it shows
    Key date on the top right hand side of the report.
    Can any one tell me what does this Key Date stand for and from where it is getting picked up
    Thanks
    Parin

    S_ALR_87012078 - Due Date Analysis for Open Items
    You run the above report for due date analysis.
    Key date we will give manually for analysis on which date we want to take Open Items.

  • Open orders display in BEX report based on Key date

    Hello All,
    I have a requirement:
    We have an existing report which needs to have input selection as Key Date.
    The report should display the Open orders based on the key date mentioned.
    For Eg: if an item A was Opened on 20th Sept, 2010 and now CLEARED and if I run the ECC report today and mention the key date as 20th Sept, 2010, then the report will show me the item A status as OPEN
    Plz help me with the logic for the same at the earliest
    Tthanks..
    Sneha

    Hi Sneha,
    I assume you have open and crear dates in your query. So put an open date in your query filter and restrict it as less then Key date variable(which is a variable of type user-input on 0calday), then create another variable that feeds from keydate variable (it can be a replacement path or simplest user-exit).
    Note: the another variable is needed because as far as i can remember you cant use the same variable to restrict two different chars in the same query/anyway test if it's not possible - then create another variable as i mentioned.
    Take Cleardate in your query filter and restrict it as more than keydate variable andr # (not assigned). (in case if it hasnt been creared at all yet at the key date time)
    Pls let me know if this was helpfull

Maybe you are looking for