Key date question

How do i make the current date in a query the key date so that the current date the query is opened is the key date?

Hi,
Go to Query Properties(from Query designer)-->use  variable '0DAT' current calender day (SAP Exit) in Key date entry.
Thanks

Similar Messages

  • Question: to have different 2 key dates to show time-dep master data.

    Hello All -
    I would kindly like to ask your suggestion in this challenges.
    In our Finance report e.g AR Report, we have 2 Year to dates of Key Figures. 1) Current Year to date, and 2) previous Year to dates. We want to have the report shows time-dependent master data navigation attribute based on this 2 year to dates.
    I am thinking to have 2 Key Date selection parameter in the report e.g. 1) Current key-date, and 2) Previous Key-date
    The report above will show COLOR as per key date. If the posting is 'Previous YTD', the COLOR will show based on 'Previous Key Date', and if the posting for 'Current YTD', the COLOR will show based on 'Current Key-Date'.
    The question are:
    1) What to do for customization if we want to have 2 key dates in Query or Report? If you have experience it before, could you please share?
    2) If you think that there is other way, feel free to share it.
    Many Thanks, and really appreciate your suggestion & advice,
    Cheers,

    Hello Cornelia -
    Thanks for your advice:
    1) Use Info Set to temporal join between master data, and transaction.
    Comment:
    We are using multicube for reporting. Are you saying that we should put infoset into MultiCube?
    2) Modelling the time-dependent master data as a info object in transaction (Cube).
    Comment:
    Thanks for this, i will analyse if we go to this option.
    Btw, I am also thinking to use Virtual Characteristic, but the performance will be expensive, like using Info Set.
    Feel free for your comment,
    Is there any other backend door that we can use e.g. to use BADI Exit.
    Appreciate your feedback,
    Thanks,

  • 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

  • Key date properties popup

    HI all
    when I refresh the webI report, a pop up with name key date properties is showing up, and once i enter the date value init then it is taking me to prompt window.
    I just wonder why this popup is showing up, in Bex query properties I don't see any variable in the key date assigned.
    My second question is I need to show the prompt values in the header of the report. I can show the one which is in prompt window by using UserResponse() function, but if I use the same UserResponse() function for the key date variable it is not showing up in the report.
    Thanks

    @Pumpactionshotgun:
    very thank you for the reply, I tried the function can you please help me with syntax too because I tried this
    =DataProviderKeyDate("Calender Date(Parameter,Mandatory)")
    It's not taking it  and saying dataproviderkeydate() using invalid data type, but I feel it is correct.
    Thanks

  • Concept to retrieve GL for open at key date (back date)

    Dear All,
    Need help in finding the concept for retrieving the GL items for open at key date (back date).
    I have a  requirement to retrieve all the open items of GL at particular  date.Please help me to write a query to retrieve those items which are present in BSAS table opened till that particular date.
    For example : suppose I need to find all the open items of GL till date 01.01.2014.Then we need to retrieve from BSAS table also.What will be the fetching criteria to retrieve from BSAS table.
    Regards
    Sushant

    Hi,
    As Jelena & Nabheet mentioned, these details are already available in standard transactions  FBL3N or FAGLL03. 
    One question is why do you need this report.
    i) In case, you need  to display only selected fields, you can ask the user to create a layout variant. If you want additional fields, there are BTE's available to add extra fields in the transaction. Other option is to create a custom report, call FBL3N transaction using submit statement and then read the runtime ALV data in the calling program.
    ii) If you are using it in smartforms print program, It is always better to copy the logic from FBL3N  than extracting data from BSIS & BSAS tables as that won't always give correct results ( Explanation given below ).
    For some GL's ,  accounting data does not get stored in tables BSIS & BSAS.  Configuration in GL master decides whether accounting document's detail will get stored in indexed tables BSIS & BSAS or not.
    Transaction FS00 ( GL master data)
    If line item display checkbox is ticked- GL accounting details will get stored in BSEG, BSIS & BSAS.
    If line item display checkbox is not set - GL accounting details will be available only in BSEG.
    Regards,
    DPM

  • Eliminating/workarounding key date concept in Student File

    Hi,
    Short question: can I safely use a default key date of January 1, 1900 everywhere in Student File/Student Master data? with all organizational structure objects also created using this date?
    The rationale behind this decision is to reduce confusion for the end user, which I noticed is more than likely.
    A classical example is the possibility to version birth dates in Student Master Data even though logically this should be a single instance of data only. Ever. However, if we set the key date as "today" or the beginning of an academic period, any corrections would be seen as versions. This confuses the end user, which version is the current one and which one is merely a data correction (and shouldn't be visible at all).
    However, won't setting the key date to 1900 have unexpected complications somewhere else? One complication I already noticed was with creating faculty as HR personnel (they serve as advisors for students and are later assigned in Student File). Faculty birth dates are not allowed to be entered in this case because (I assume) the system thinks faculty can't be born later than the object created (although student birth dates are OK even though the corresponding objects were also created at January 1, 1900)
    Overall, is it possible to eliminate the key date concept from the Student File/Master Data completely? As it feels to do more harm than good.
    Janek

    Janek,
    Of course becasue there is validity dating of the data values, it is necessary to use a key date when you display/change the data.
    For the issue of fields like birthdate, you are right that any 'change' is pretty much a data correction.  It is not possible for a student to really have different brithdates that were valid for different periods!
    It really is something that users must be trained to do.  If they are doing a data correction, they should change the data from the first data 'period', rather than just as of the current date.
    Michael

  • BDB- Recno multiple key/data pairs retrieval

    Hey,
    I am new to BDB and have just started to work with Berkley DB (ver. 5.3.15) using the Linux C API.
    I set up a simple Recno DB which is populated with sequential keys 1,2,3….100. DB Records are in variable length size, although, I am limiting them to a max size.
    Below are the environment and DB open flags I am using:
    dbenv->open(dbenv, DB_HOME_DIR, DB_SYSTEM_MEM | DB_INIT_LOCK | DB_CREATE | DB_INIT_MPOOL, 0)
    dbp->open(dbp, NULL, NULL,DATABASE_NAME, DB_RECNO, DB_CREATE, 0664))
    Single record get/put or using cursor to iterate over the all DB works well.
    However, I would like to retrieve multiple records in a single get call.
    These records can be non-sequential.
    For example, retrieving 3 records with the keys 4,89,90. I prefer the bulk buffer to be as minimal as possible (avoiding stack or heap unnecessary memory allocation).
    I was reading and saw few examples about using bulk retrieval. Though, I couldn’t find any example for racno bulk get on multiple specified keys.
    From what I figured out till now, it seems that I should use:
    Get flags: DB_SET_RECNO, DB_MULTIPLE_KEY. And the macros: DB_MULTIPLE_INIT and DB_MULTIPLE_RECNO_NEXT to iterate over a bulk buffer received.
    But, I couldn’t figure it out where and how I should specify the list of Keys.
    Beside, the BDB man says: "For DB_SET_RECNO to be specified, the underlying database must be of type Btree, and it must have been created with the DB_RECNUM flag."
    Does the BDB open with DB_RECNO flag imply that the underlying database is Btree? If creating Btree instead of recno, wouldn’t I loss access performances?
    I would appreciate if anyone could supply some guidelines or an example which will assist me to figure it out how to retrieve multiple key/data pairs from a recno DB.
    Thanks in advance
    Kimel

    I am checking the BDB to see if it can suit my needs (mostly performance wise).
    It should work on a simple home router device and should hold router runtime information (static/dynamic).
    This information should be accessible for process in the system which can write or read the device info.
    The DB is not require to be persistent and is recreated every reboot (memory only).
    I believe the DB will hold not more then 200 parameters at max.
    DB access rate is around 30 records per sec (write/read)...
    Currently, I think of either BDB or maybe just use a normal Linux shared memory (random access + semaphore).
    Cons and pros to each...
    If I choose BDB, I will use the in memory DB and recno due to access performance considerations.
    Getting back to my question, I would like to be able to read a list of parameters in a single get call.
    In order to use recno, I will give every parameter a unique id (1 - ip, 2 - subnet , 3 - default gateway).
    e.g: ip , subnet , default gateway. (get keys 1,2,3)
    Hope you have the relevant info.
    Thanks

  • Bex query-KEY date for time dependent objects

    Hi
    I have one infoobject called 0customer that has one time dependent attribute .called status. I would know how the system works in the following senario for the a given key date(which in bex properties).
    question 1)
    customer todate          fromdate    status
    1            20071231     20070101     Y
    1            20081231     20080101      N
    1            20091231     20081101      X
    can the data in the infoobject be overlapped? is the 3 rd record is  valid in the above example - as months(11&12of2008)  overlapping with second record? ? pls advise
    question 2)
    customer todate          fromdate    status
    1            20071231     20070101     Y
    1            20081231     20080101      N
    1            20091231     20090101      X
    If the keydate is 20080201 which record will it return?would it return the record that has status 'N'?
    what does the keydate is compared against? is it with from date or todate or between fromdate and todate? does the query return only one customer record for a given customer when it runs in the query?
    Please advise.
    Thanks
    Vennela

    1) Normally you cannot activate the data with this constellation. If you have inconsistent master data you can repair with transaction RSRV.
    2) The system returns N for key data 20080201.
    Best regards
    Dirk
    Edited by: Dirk Herzog on Nov 19, 2008 1:16 PM

  • 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

  • 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

  • Is there a list of open items at key date per customer?

    Hello,
    In FBL5N you can get a list of open items for a customer at some specific date.
    I'm looking for a summarized list that would give me a list of sums  of open items for some customer per day, so I would see for example for one month what was the sum of open items for this customer on each day.
    Is there already some similar report in SAP?
    Thanks and best regards,
    David

    Hi,
    I still don't think we understand each other.
    If I run FBL5N I have option to select:
    - Items that are or were open at the key date are displayed on one date
    - All items posted on the posting date specified fromde date1 to date2.
    - Items that were cleared at the clearing date specified
    I would like a list of all items from option 1 (Items that are or were open at the key date are displayed on one date) so items that are or were STILL open and not yet cleared on one date, but not just for one date but for more days.
    If I use your suggestion I get what items opened or cleared on one day not how many items were still open on particular day.
    So a list of how many opened items were there at the day, and notjust items that were opened on that day but also all previous items that were not yet cleared at that day.

  • FBL5N - Invoice History by Open Items at Key Date

    Hi Experts.
    I have a doubt. Is it posible in FBL5N to get the invoice status information by " Open Items: Open at key date" ?
    e.g. if I change the baseline date or House Bank information in 08/25/2010 and I get the report using the date: 08/24/2010, how can I get the information in that date?
    In my case, the system always show the last change, and not the invoice situation in specific date.
    Thanks .

    Yes, The system dislays the data with the current details (After changes).
    For open item key date, it consider the posting date (Which can not be changes, once document is posted).
    Regards,
    Gaurav

  • AP Aging report - key date for user entry

    Hi All,
    We have a requirement to calculate aging buckets like 0-30,31-60,61-90...etc.
    I know the key date for this report is created on net due date in SAP standard report.
    In standard SAP report , key date is always a system date(SY-DATUM).
    What we need for this report is , we need to get all the invoices which are outstanding as of that date(the date which user enters).
    If user enters today's date(08/28/07) , he should get all the invoices outstanding till that date in aging buckets and if user enters some date in the past like 07/26/07, he should get all the invoices outstanding as of that date.
    Can  someone Pls tell me if aging buckets are calculated based on a user entry ?
    Regards,
    Kumar

    Hi Voodi,
    Aging in the standard report is being calculated like below...
    1.For open items
    Posting date<key date
    Item status = O
    2.Posting date < keydate and clearing date > key date and net due date with offsets on keydate ( key date + 1 - keydate+30 --- for 1-30 days) like wise for all aging buckets.
    in this scenarion , key date is always system date ie today's date.
    But user wants to get all the invoices based on his user entry...
    is this possible with the same standard key date variable or do we need implement any other logic???
    Regards,
    Kumar

Maybe you are looking for

  • EHPI installer: Error while reading a dynpro. Stuck at Start Shadow First.

    Hi Everyone, I am dead in the water with my test install of EhP5 using the most current installer.  This small test is on an older iseries, V5R4 with 8G memory. The SAP version is ECC 6.0 at sp Basis  23 and Applications at 19. The install stops at S

  • How can i save or transfer my text messages? (Noki...

    hi. can someone please tell me if there is a way that i can save my text messages? my phone (nokia 6300) has a lot of problems, but i have many text messages that i want to keep somehow... i've tried so many times to see if i could find a way to save

  • Content Server installation on MaxDB datbase

    Hi, I am going to install Content Server 6.40 on MaxDB datbase 7.6.03, can any body guide me in the below points: 1) Shall I install the below in a single Drive in my server like (C:.....etc)     a) MaxDB Independent Programe Drive  b) MaxDB Independ

  • RT61, connects, gets ip from dhcp but no traffic gets trough

    Here we go again. I bought D-Link DWL-G630 wireless pcmcia card which has RT61 chipset. I installed latest rt2x00-cvs and rt2x00-rt61-fw from core. My network manager sees wireless networks, I can connect to mine (WPA2 AES) I even get ip from router.

  • How to make F9, Shift+F9, F10, Shift-F10 etc. work in FCP?

    I'm showing my Mac newness here, (only 1.5 years using Macs) but I can't for the life of me figure out how to use the editing shortcut keys (F9, F10, etc.) in Final Cut. They always perform the System shortcuts, not the Application shortcuts. I've tr