Date (From  and To)

Hi
i am not able to get report inr particular duration
i am trying in parameter (from and To) but it is not worling so
Please tell me procedure how to put ( From and To ) format in excel reporter
I have downloded some sample report also but i am trying not able to get just tell me the procedure.
Thanks & Regards
Amit

Hi
          Here i am telling you step by step
            1 select paramete button on the botton
            2  select  New
            3       Name        Categary        Type            Atribute        Defuilt          Value       Prompt
                    FDate             literal            Date                                                                        From Date
                    Todate            literal            Date                                                                        To Date
           4    Transaction row and select parameter for Date
           5  Apply
Please reply soon
Thanks and Regards
Amit

Similar Messages

  • I wish to generate reports from the database an out put it but i need to enter a date from and to ina  html input box

    i wish to generate reports from the database an out put it
    but i need to enter a date from and to ina html input box
    in the input box a data of range will be input from a start
    to latest
    latest being the default as today's date.
    any help tips snipplets, concepts , turot=rails.
    thanks

    easycfm.com has tutorials for people who are brand new.
    If you don't know much about sql, I have heard good things
    about the book, Teach Yourself SQL in 10 Minutes by Ben
    Forta.

  • Calender using Date From and Date To

    Hi,
    I'm trying to build a calender based on a table that has a user_name, date_from, date_to and comments.
    Basically I want the calender to show all the dates betwwen the date from and date to. Is there any way of getting the calender to use those dates and all the days in between or will I have a to build a view that returns one row for each day between the start and end
    Whats the best way of doing this and does any one have an example
    Thanks in advance

    Andy,
    See my blog post here:
    http://deneskubicek.blogspot.com/2007/05/create-pseudo-tables.html
    and the corresponding example:
    http://htmldb.oracle.com/pls/otn/f?p=31517:83
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to view "date from" and "date to"

    Hi,
    I have loaded EMP data. In the mapping "date from" and "date to" are visible. But these fields are not seen when I display the EMP data.Can someone please tell me how to view these fields?
    Thanks,
    Williams

    I got your question . Please find my understandings .
    In the transformation Please check weather routine or formula is written which is stopping the dats
    to be updated to the target .
    I mean data is there in the source but if its not updating to target it seems some rules have been set up in the transformation . Please check .
    Assign marks is the best way to appreciate help

  • What is the purpose  of Date From and Date To In Oracle HRMS ?

    hi
    I have doubt on
    What is the purpose of Date From and Date To In Oracle HRMS?
    Thanks

    Where do you see these fields? Please give full details (eg, the navigation path).
    If you're referring to Effective Start Date and Effective End Date (effective_start_date, effective_end_date) these are two fields that appear on many HRMS entities. They're used to store dated history over time. For example:
    14-Jan-2009 to 19-Apr-2009 - Pam Stephens
    20-Apr-2009 to date - Pam Erickson
    In this example Pam got married on the 20th April 2009 and changed her surname from Stephens to Erickson. Here the history of changes are kept so that if we date-track to any time prior to the 20th April 2009 we'll see Pam Stephens and if we date-track on or after the 20th April 2009 we'll see Pam Erickson.
    Check out the following Oracle Support article for more information:
    How Date Track Works [ID 177733.1]

  • Info package ABAP Routine to populate date from and To filed

    Hello Experts,
    I have requirement to populate the From and To dates with the: T-1 to T (Current Date u2013 1 to Current Run Date aka Sy-Datum) at info package level.I have written a code for this but see that From filed is not getting populated but TO filed is filled with current date.Can someone please tell me wats wrongwith my code?It is a delta info pacakage.
    data: l_idx like sy-tabix.
    read table l_t_range with key
         fieldname = 'CPUDT'.
    l_idx = sy-tabix.
      l_t_range-sign = 'I'.
      l_t_range-option = 'BT'.
      l_t_range-low = sy-datum - 1.
      l_t_range-High = sy-datum.
    modify l_t_range index l_idx.
    p_subrc = 0.
    Thanks,

    Was able to tackle this using the following code.
    data: l_idx like sy-tabix.
    data: V_date type sy-datum.
    v_date = sy-datum - 1.
    read table l_t_range with key
         fieldname = 'CPUDT'.
    l_idx = sy-tabix.
      l_t_range-sign = 'I'.
      l_t_range-option = 'BT'.
      l_t_range-low = v_date.
       l_t_range-High = sy-datum.
    modify l_t_range index l_idx.
    p_subrc = 0.
    Thanks,
    I am closing this thread

  • Reporting on Master Data From and To

    Hello Experts,
    We are trying to report on the From and To dates of a time dependent infoobject 0FUND.  We have turned the infoobject on as a dataprovider but we dont see how you report on the two dates.  When we try adding 0DATETO to the attributes tab we get an error saying "attribute cannot be used with time-dependent attribute".  Next i tried mapping in a Z infobject but I could not get the object to populate with the Date To data.  What is the trick to getting these date fields in a query?
    Thanks,
    TMS

    Hi,
    Create Z objects for both dates. Create a Z object for master data objects "Fund".
    Add these two Z objects as attributes in master data Z object.
    Create as infoset with Orignal master data object and Z master data object.
    Use Infoset to create report.
    I hope it will work.
    Thanks,
    S

  • Date From and Date To Restriction

    Hi,
    I am loading data from R/3 into BW. I am bringing in Time Dependent Data.
    I want to write routine to bring the data only ones which are valid.
    I've written code as
    form compute_time_dependent_dates
      changing p_datefrom type d
               p_dateto   type d
               p_subrc like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
              p_datefrom = 20040101.
              p_dateto   = sy-datum.
              p_subrc = 0.
    $$ end of routine - insert your code only before this line         -
    endform.
    But when i specify the values it brings in 0 records. And if do not specify it brings all the records.
    Any Idea???
    Thanks..
    Sachin K

    May be there is no records for that specified criteria?
    Nagesh.

  • Parsing the data from and xml type field

    Hi - I have registered a schema and inserted arecord into the table with the xml type column. Now I want to parse the data from the xmltype field into a relational table. I have been using the following select statement to accomplish this - and it does work if there is data in all the selected fields but when the filed is null then the whole select statement fails and brings back 'no rows returned'.If the value is null I want the select statment to return null. please give any ideas.
    SELECT version,frmd_transaction_date,extractValue(value(b), 'event_update/location')"location",
    extractValue(value(b), 'event_update/sending_system')"sending_system",
    extractValue(value(b), 'event_update/event_identifier')"event_identifier",
    extractValue(value(b), 'event_update/event_link')"event_link",
    extractValue(value(b), 'event_update/organization_code')"organization_code",
    nvl(extractValue(value(c), '/schedule/event_duration_minutes'),'000')"event_minutes"
    FROM fraamed_user.frmd_event_update , TABLE(xmlsequence(extract(xml_event_update, '/event_update')))b,
    TABLE(xmlsequence(extract(xml_event_update, '/event_update/schedule')))c

    ...then I guess you have to rewrite the query.
    Is schedule another xml sequence inside of event_update sequence ?
    If it is not you can try this :
    SELECT version,frmd_transaction_date,extractValue(value(b), '/event_update/location/text()')"location",
    extractValue(value(b), '/event_update/sending_system/text()')"sending_system",
    extractValue(value(b), '/event_update/event_identifier/text()')"event_identifier",
    extractValue(value(b), '/event_update/event_link/text()')"event_link",
    extractValue(value(b), '/event_update/organization_code/text()')"organization_code",
    extractValue(value(b), '/event_update/schedule/event_duration_minutes/text()')"event_minutes"
    FROM fraamed_user.frmd_event_update , TABLE(xmlsequence(extract(xml_event_update, '/event_update')))b
    ...if yes, did you try nvl function (I don't think this would be a solution of a problem):
    SELECT version,frmd_transaction_date,nvl(extractValue(value(b), '/event_update/location/text()')"location", 'NULL VALUE'),
    nvl(extractValue(value(b), '/event_update/sending_system/text()')"sending_system",'NULL VALUE'),
    nvl(extractValue(value(b), '/event_update/event_identifier/text()')"event_identifier",'NULL VALUE'),
    nvl(extractValue(value(b), '/event_update/event_link/text()')"event_link",'NULL VALUE'),
    nvl(extractValue(value(b), '/event_update/organization_code/text()')"organization_code",'NULL VALUE'),
    nvl(extractValue(value(c), '/schedule/event_duration_minutes/text()')"event_minutes",'NULL VALUE')
    FROM fraamed_user.frmd_event_update , TABLE(xmlsequence(extract(xml_event_update, '/event_update')))b,
    TABLE(xmlsequence(extract(xml_event_update, '/event_update/schedule')))c
    If none of this works post your xml schema.

  • Invoice date from and to  parameters

    Hi
    2 all
    when i am working with these two parameters  if i give vendor id as null and giving invoice date and from date and to date then data is not getting
    If i give three parameter then data is getting or else even i gave only  vendor id  even data is getting
    my requirement is if i give only invoice from date and invoice to date  data should come...
    can anybody give solution
    AND aia.invoice_date BETWEEN nvl(:p_Invoice_from_date,aia.invoice_date) AND nvl(:p_invoice_to_date,aia.invoice_date)
    and asu.vendor_id=:vendor_id;
    regards
    siva

    Hai,
    Use nvl like below
    AND aia.invoice_date BETWEEN nvl(:p_Invoice_from_date,aia.invoice_date) AND nvl(:p_invoice_to_date,aia.invoice_date)
    and asu.vendor_id=nvl(:vendor_id,asu.vendor_id);

  • How to retreive data from and external program

    Hiii
    I have a Zreport which produce an ALV and also the VF02 transaction which produce a amartform.
    I will need to
    1:  From a new program extract from the Zreport the alv in sort of excel sheet and submit it by mail
    2.  From a new program extract the smartfroms found on VF02 and submit it by mail
    please advise how i can get access to those two external program

    Hi,
    1: When you have an output in ALV why don't you use an EXCEL-Layou in this Report?
    2: Print the smartform and send this as email from the spool (lot of examples in SDN, serach for this).
    Regards, Dieter

  • Date From and Date TO

    Hi All,
    I have created two parameters P_Date_From and P_Date_TO.
    I am using as below in SQL query to restrict data.
    Where Ordered_On_Date>=:P_Date_From and  Ordered_On_Date<=:P_Date_TO
    Its working fine if I supply the dates but erroring out when we run the report without giving any dates.
    Please suggest!!
    Regards
    MBVANAND

    You need to account for the null date values. Modify your "where" clause to this and try:
    Where Ordered_On_Date>= nvl(:P_Date_From, Ordered_On_Date)  and  Ordered_On_Date<=nvl(:P_Date_TO, Ordered_On_Date)
    Thanks,
    Bipuser

  • Combining data from SQL query

    Hoping there is a SQL guru out there that can help me with this
    I have two tables that I want to pull data from and display a report, based on a particular date range, for this example let's say 08/01/2011 to 08/31/2011
    In one table there would be an affiliate ID - AFF_UID and also the date and a counter for that date, IMP_COUNTER , now there may only be a few records not every day might be covered, say
    TABLE IMP
    date,aff_uid,imp_counter
    08/01/2011,999,2000
    08/02/2011,999,2050
    08/20/2011,999,2030
    etc
    I then have another date, similar set up only there are multiple records in here for a single day, again not all days covered, I would need to total up each row for each day to get a count. So it might be:
    TABLE LEAD
    date,aff_uid
    08/01/2011,999
    08/01/2011,999
    08/01/2011,999
    08/01/2011,999
    08/12/2011,999
    So we have different dates covered, sometimes the same date, I need the counter from the first table, and from the second table I need to add them up for a total, and then display any date that has a value and put both counter and lead count together
    Result from above
    date,imp total,lead total
    08/01/2011,2000,4
    08/02/2011,2050,0
    08/12,2011,0,1
    08/20/2011,2030,0
    I am sure there must be a SQL command that can gel all of this together with some grouping? Last thing I need is a ton of SQL statements in a loop!
    My alternative is to add a counter to the IMP table for each lead, so every time I update the lead table with a record, I will also update the counter, but that's unncessary storage of data I already have an an extra update statement that I might be able to do without, but maybe it would make generating reports faster, just pulling to counters with no 'addition' required.
    Appreciate any feedback
    Thanks
    Mark

    Well I thought that I had this one up and running, but once it went into production I found that it didn't give the desired results.
    I have an account that has 3 'tracking'/aff accounts, so what it's doing is giving out 3 lines for each date rather than join them together into one. The values are also incorrect, I'm still trying to figure out just where it's even getting those numbers, I manually added up the numbers in the dbase and it didn't match
    Here's the command
    <CFQUERY name="GetStats" DATASOURCE="#datasource#">
    SELECT
    COALESCE(IMP.imp_date, LEAD.lead_date) AS report_date
    , COALESCE(IMP.imp_counter,0) AS imp_counter
    , COALESCE(LEAD.lead_count,0) AS lead_count
    , COALESCE(LEAD.lead_aff_payment,0) AS lead_aff_payment
    FROM
    SELECT
    imp_date
    , imp_counter
    FROM impressions
    WHERE imp_date BETWEEN #createODBCdate(form_from)# AND #createODBCdate(form_to)#
    <CFIF #val(ListGetAt(form_aff_UID,1))# IS "3">
    AND imp_aff_uid  IN (SELECT aff_uid FROM aff WHERE aff_master_uid = #session.aff_uid#)
    <CFELSEIF #val(ListGetAt(form_aff_UID,1))# IS "2">
    AND imp_aff_uid  = #val(ListGetAt(form_aff_UID,2))#
    <CFELSE>
    AND imp_aff_uid  IN (SELECT aff_uid FROM aff WHERE aff_sub_uid = #val(ListGetAt(form_aff_uid,2))# AND aff_master_uid = #session.aff_uid#)
    </CFIF>
    ) AS IMP
    FULL OUTER JOIN
    SELECT
    lead_date, COUNT(*) AS lead_count, SUM(lead_aff_payment) AS lead_aff_payment
    FROM leads
    WHERE lead_date BETWEEN #createODBCdate(form_from)# AND #createODBCdate(form_to)#
    AND lead_data_status = 1
    <CFIF #val(ListGetAt(form_aff_UID,1))# IS "3">
    AND lead_aff_uid  IN (SELECT aff_uid FROM aff WHERE aff_master_uid = #session.aff_uid#)
    <CFELSEIF #ListGetAt(form_aff_UID,1)# IS "2">
    AND lead_aff_uid = #val(ListGetAt(form_aff_uid,2))#
    <CFELSE>
    AND lead_aff_uid  IN (SELECT aff_uid FROM aff WHERE aff_sub_uid = #val(ListGetAt(form_aff_uid,2))# AND aff_master_uid = #session.aff_uid#)
    </CFIF>
    GROUP BY lead_date
    ) AS LEAD
    ON ( IMP.imp_date = LEAD.lead_date )
    ORDER BY report_date;
    </CFQUERY>
    and here are the results
    TRAFFIC REPORT: 01/01/2012 - 01/21/2012
    All Accounts
    Date
    Offers
    Served
    Total
    Leads
    Revenue
      01/19/2012
    249
    1
    $0.38       
      01/19/2012
    11
    1
    $0.38       
      01/19/2012
    30
    1
    $0.38       
      01/20/2012
    1,006
    7
    $2.66       
      01/20/2012
    40
    7
    $2.66       
      01/20/2012
    1,090
    7
    $2.66       
      01/21/2012
    582
    6
    $2.28       
      01/21/2012
    33
    6
    $2.28       
      01/21/2012
    515
    6
    $2.28       
    Total
    3,556
    42
    Sub-Total
    $15.96       
    Referral Revenue
    $0.00       
    Total
    $15.96  
    $15.96 is NOT correct, I need to find out whats going on there, but the other issue is look how it's duplicating the dates, it's one line for each account by the look of it
    Can anybody help! This SQL command already got a little beyond me
    Thanks
    Mark

  • Import data from file to table by BCP

    Hi 
    i have the following problem. I Want extract and import data from and to Datbase using bcp. But I want export my data in a xml file and i do it whit the instruction:
    bcp "SELECT * FROM BCPDbTest.dbo.BCpTestTable FOR XML PATH('BCPDbTestRow'), ROOT('BCPDbTest'), ELEMENTS" queryout E:\Commons\TestFile.xml -x -w -r -S localHost\SQLEXPRESS2012 -U userName -P password
    Than, i obtain the file i need, but i don't know how import from the file to Db becouse the instruction that I use don't work:
    bcp BCPDbTest.dbo.BCpTestTable in E:\Commons\TestFile.xml -T -f E:\Commons\BCpTestTableDataXmlHead.fmt - e -S localHost\SQLEXPRESS2012
    Have you any idea?
    Thak's a lot
    Valentina Tavanti

    I'm not sure that I understand the question. If the desire is to export the data from one database and import it in tabular format, you should not be using XML in the first place.
    Can you tell us the full story of what you want to achieve?
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Reading Data from Several IPs

    Hi,
    I have a scenario where I need to read data from Several local desktops and combine them into an excel sheet. Please let me know how to read data from the IP.. I am aware of reading the data from and to Excel files.
    ChK

    use this code to get the ip adresss:
    DATA: BEGIN OF usr_tabl OCCURS 10.
    INCLUDE STRUCTURE uinfo.
    DATA: END OF usr_tabl.
    DATA th_opcode(1) TYPE x.
    DATA: size TYPE i.
    CONSTANTS: opcode_list LIKE th_opcode VALUE 2.
    CALL 'ThUsrInfo' ID 'OPCODE' FIELD opcode_list
    ID 'TAB' FIELD usr_tabl-*sys*.
    DESCRIBE TABLE usr_tabl LINES size.
    READ TABLE usr_tabl INDEX size.
    this table has the ip address: usr_tabl

Maybe you are looking for

  • Suggestion for a New Keyboard Shortcut

    I'd like to suggest a way of increasing the efficiency of editing captions and other metadata in Aperture by adding a keyboard shortcut that always serves to move to the next image in the viewer. For example, Command-Shift-] (or something) to move to

  • Downloading excel file from FTP Server to Application Server

    Hi, I have to get data from an excel file available on FTP server into an Internal table.Can I use FTP_SERVER_TO_R3 to do so. Please let me know if there are any function modules available to do this. Thanks, Prasuna.

  • XML Publisher to Excel Report : Date format problem

    Hi, I am trying to create an Excel report with XML Publisher. I have an issue with the Date Fomatting. In the XML template, I have set the "Date" column in date format. But the excel output report "Date" column returns as "General text" (string) and

  • Oracle 8i database initialization prob

    Hi, I have installed oracle 8i on a windows 2000 machine. It seemed to install without any problem. But whenever i try to connect through sql plus or use the database configuration assistant to create a database I get a tns adapter error in the datab

  • Run scripts on a schedule

    Is the a way to run scripts on a schedule? I have a script that I want to run 3 days (Mon, Wed, Fri) a week at a certain time. How can I do this