How to get recent 5 hours reports on dashboard

hi folks,
how to get recent 5 hours reports on dashboard
if any body know pls help me
thanks ,
nataraj kesana

do you have any time column in your report?
then add a filter like time_column >= timestampadd(sql_tsi_hour,-5,current_timestamp)

Similar Messages

  • How to get parameter value from report in event of value-request?

    Hi everyone,
    The customer want to use particular F4 help on report, but some input value before press enter key are not used in event of "at selection-screen on value-request for xxx", How to get parameter value in this event?
    many thanks!
    Jack

    You probably want to look at function module DYNP_VALUES_READ to allow you to read the values of the other screen fields during the F4 event... below is a simple demo of this - when you press F4 the value from the p_field is read and returned in the p_desc field.
    Jonathan
    report zlocal_jc_sdn_f4_value_read.
    parameters:
      p_field(10)           type c obligatory,  "field with F4
      p_desc(40)            type c lower case.
    at selection-screen output.
      perform lock_p_desc_field.
    at selection-screen on value-request for p_field.
      perform f4_field.
    *&      Form  f4_field
    form f4_field.
    *" Quick demo custom pick list...
      data:
        l_desc             like p_desc,
        l_dyname           like d020s-prog,
        l_dynumb           like d020s-dnum,
        ls_dynpfields      like dynpread,
        lt_dynpfields      like dynpread occurs 10.
      l_dynumb = sy-dynnr.
      l_dyname = sy-repid.
    *" Read screen value of P_FIELD
      ls_dynpfields-fieldname  = 'P_FIELD'.
      append ls_dynpfields to lt_dynpfields.
      call function 'DYNP_VALUES_READ'
        exporting
          dyname     = l_dyname
          dynumb     = l_dynumb
        tables
          dynpfields = lt_dynpfields
        exceptions
          others     = 1.
      check sy-subrc is initial.
    *" See what user typed in P_FIELD:
      read table lt_dynpfields into ls_dynpfields
        with key fieldname = 'P_FIELD'.
    *" normally you would then build your own search list
    *" based on value of P_FIELD and call F4IF_INT_TABLE_VALUE_REQUEST
    *" but this is just a demo of writing back to the screen...
    *" so just put the value from p_field into P_DESC plus some text...
      concatenate 'This is a description for' ls_dynpfields-fieldvalue
        into l_desc separated by space.
    *" Pop a variable value back into screen
      clear: ls_dynpfields.
      ls_dynpfields-fieldname  = 'P_DESC'.
      ls_dynpfields-fieldvalue = l_desc.
      append ls_dynpfields to lt_dynpfields.
      call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname     = l_dyname
          dynumb     = l_dynumb
        tables
          dynpfields = lt_dynpfields
        exceptions
          others     = 0.
    endform.                                                    "f4_field
    *&      Form  lock_p_desc_field
    form lock_p_desc_field.
    *" Make P_DESC into a display field
      loop at screen.
        if screen-name = 'P_DESC'.
          screen-input = '0'.
          modify screen.
          exit.
        endif.
      endloop.
    endform.                    "lock_p_desc_field

  • How to get total in ALV report in same Internal table?

    Data : Begin of it_data,
            kunnr type kunnr,
            name1 type name1,
            amt1  type btrt01, " CURR 15,2
           end of it_data.
    loop at it_data into wa_data
    endloop.      
    Hello friends,
    I am developing one ALV report with 20 rows.
    I have filled one internal table with some fileds like amount.
    I want to get total of all amount1 in AMT1 field.
    So, How to get total of amount in same internal table in ALV report ?
    It is ok if i get duplicate rows in internal table.
    Points 'll be awarded soon.
    Regards,
    NVM

    Hi Ronny,
    the alv output will display the sum at the last row.
    for this functionality u have do this logic.
    data: lw_fcat type slis_fieldcat_alv.
    data: lt_fcat type slis_t_fieldcat_alv/
    wa_fcat-fieldname = 'AMT1'.
    wa_fcat-tabname = 'ITAB'.
    wa_fcat-do_sum = 'X'.
    append wa_fcat to lt_fcat.
    and then pass it to reuse_alv_grid_display function,
    regards,
    Santosh Thorat

  • How to get theoutput of classical report in table format

    hi all,
                   i am new to this forum.i want the help from experts over here.for example if we create the program in classical report for employee details.how to get the output in tabular column format.pls reply to me.
          Thanks in advance

    HI all,
    I am new here. Currently I am trying to create a program which is able to compare and validate key fields from different tables.
    my code looks like this:
    *~Internal Tables
    DATA:
      LT/RAB/KPI_CONF TYPE STANDARD TABLE OF /RAB/KPI_CONF,
      LT/RAB/KPI_MAPP TYPE STANDARD TABLE OF /RABL/KPI_MAPP,
      LT/RABL/KPI_HEAD TYPE STANDARD TABLE OF /RABL/KPI_HEAD.
    DATA:
      /RAB/KPI_CONF_NEW TYPE SORTED TABLE OF /RAB/KPI_CONF WITH UNIQUE KEY XX100011 XX100004 XX100022 XX100010,
      /RAB/KPI_MAPP_NEW TYPE SORTED TABLE OF /RAB/KPI_MAPP WITH UNIQUE KEY XX100009 XX000197 XX100007 XX100014,
      /RAB/KPI_HEAD_NEW TYPE SORTED TABLE OF /RAB/KPI_HEAD WITH UNIQUE KEY XX100004.
    DATA: GWA_/RAB/KPI_CONF TYPE /RAB/KPI_CONF,
          GWA_/RAB/KPI_MAPP TYPE /RAB/KPI_MAPP,
          GWA_/RAB/KPI_HEAD TYPE /RAB/KPI_HEAD.
    *Fill the internal table with database values
    PERFORM get_existing_records.
    FORM GET_EXISTING_RECORDS.
      SELECT *
        FROM /RABL/KPI_CONF
        INTO TABLE LT/RAB/KPI_CONF.
      SELECT *
          FROM /RAB/KPI_MAPP
          INTO TABLE LT/RAB/KPI_MAPP.
      SELECT *
          FROM /RAB/KPI_HEAD
          INTO TABLE LT/RAB/KPI_HEAD.
      LOOP AT LT/RAB/KPI_CONF INTO GWA_/RAB/KPI_CONF.
        READ TABLE LT/RAB/KPI_HEAD INTO GWA_/RAB/KPI_HEAD with key XX100004 = GWA_/RAB/KPI_CONF-XX100004.
        IF SY-SUBRC <> 0.
          WRITE:  'No header id found in formula'.
        ENDIF.
        LOOP AT LT/RAB/KPI_HEAD INTO GWA_/RAB/KPI_HEAD.
          READ TABLE LT/RAB/KPI_MAPP INTO GWA_/RAB/KPI_MAPP with key XX100009 = GWA_/RAB/KPI_HEAD-XX100012.
          IF SY-SUBRC <> 0.
            WRITE: ' no selection ID found in table'.
            endif.
        ENDLOOP.
            ENDLOOP.
    ENDFORM.
    I would like to have a output report in which the results from my above statement are displayed.
    Any advise is welcome
    Thanks.
    Rabie

  • How to get  documentation of a report with its respective headers?

    I know fm, SRTU1_GET_REPORT_DOCUMENTATION, has to be used to get the documentation of a report. But when i print out the result it only shows the documentation data and not the data's respective headers. Without the headers the data looses its meaning.
    Any idea on how to get both the report documentation and its respective headers.
    Any help will be appreciated.
    Thanks
    Nahman

    The following code downloads program docu as pdf file:
    data: header like thead,
          options like itcpo.
    data: lines like tline occurs 0 with header line,
           otfdata like  itcoo occurs 0 with header line,
           pdflines like tline occurs 0 with header line,
           docstab like  docs occurs 0 with header line,
           binfilesize type i,
           filenm type string.
    parameters: program like trdir-name obligatory,
                filenam like rlgrap-filename default 'c:temppdftest.pdf'.
    start-of-selection.
      call function 'DOC_OBJECT_GET'
        exporting
          class                  = 'RE'
          name                   = program
         language               = sy-langu
          short_text             = 'X'
          appendix               = 'X'
       importing
         header                 = header
        tables
    *   RTF_LINES              =
          itf_lines              = lines
       exceptions
         object_not_found       = 1
         others                 = 2
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      options-tdgetotf = 'X'.
      options-tdprogram = 'SAPLSHL2'.
      options-TDDEST = 'LOCL'.
      call function 'PRINT_TEXT'
        exporting
          application                    = 'TD'
    *   ARCHIVE_INDEX                  = ' '
    *   ARCHIVE_PARAMS                 = ' '
          device                         = 'PRINTER'
          dialog                         = ' '
          header                         = header
          options                        = options
    * IMPORTING
    *   NEW_ARCHIVE_PARAMS             =
    *   RESULT                         =
        tables
          lines                          = lines
          otfdata                        = otfdata
       exceptions
         canceled                       = 1
         device                         = 2
         form                           = 3
         options                        = 4
         unclosed                       = 5
         unknown                        = 6
         format                         = 7
         textformat                     = 8
         communication                  = 9
         bad_pageformat_for_print       = 10
         others                         = 11
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      refresh lines.
      call function 'CONVERT_OTF_2_PDF'
    * EXPORTING
    *   USE_OTF_MC_CMD               = 'X'
    *   ARCHIVE_INDEX                =
       importing
         bin_filesize                 = binfilesize
        tables
          otf                          = otfdata
          doctab_archive               = docstab
          lines                        = pdflines
       exceptions
         err_conv_not_possible        = 1
         err_otf_mc_noendmarker       = 2
         others                       = 3
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      filenm = filenam.
      call function 'GUI_DOWNLOAD'
        exporting
    *   BIN_FILESIZE                    =
          filename                        = filenm
          filetype                        = 'BIN'
        tables
          data_tab                        = pdflines
    *   FIELDNAMES                      =
       exceptions
         file_write_error                = 1
         no_batch                        = 2
         gui_refuse_filetransfer         = 3
         invalid_type                    = 4
         no_authority                    = 5
         unknown_error                   = 6
         header_not_allowed              = 7
         separator_not_allowed           = 8
         filesize_not_allowed            = 9
         header_too_long                 = 10
         dp_error_create                 = 11
         dp_error_send                   = 12
         dp_error_write                  = 13
         unknown_dp_error                = 14
         access_denied                   = 15
         dp_out_of_memory                = 16
         disk_full                       = 17
         dp_timeout                      = 18
         file_not_found                  = 19
         dataprovider_exception          = 20
         control_flush_error             = 21
         others                          = 22
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Regards
    Sridhar

  • RE:RRI Checks how to get the data my reports.

    Hi,
    I have two reports overview&Detail reports.When i execute overview report i am getting the data.in the same report i am integrated the detail report.when i am trying to open detail report in overview report i am not getting the data it shown the error No Data Available. But data is there in Detail report when i execute individually.
    i Did the RRI Checks also,
    Pls help me how to get the data in detail reports and also give me the steps which i have follow.
    Regards
    Som

    HI All
    Let me rephrase my Question
    I have an overview report and a detailed Report Both of them are working fine individually. But when i link them using RSBBS the detailed report is not giving any data. it gives "no Data available". There is no assignment details maintained. it is having the default value. (generic and *)
    please let me know what might i be missing
    Regards
    D

  • How to get total on Chart report

    I created a chart (line graph) in IR and set the legends on Depth with 5 products legends.
    How to get the total of these 5 products as a 6th legends.
    Ravi..

    The way it seems to (not) work for now is you can't have subtotals and grand total at the same time, at least not without some heavy tinkering and customising which would kinda defeat the purpose of the interactive report.

  • How to get night shift hours of the employee in SAP.

    Hello experts,
    I have requirement to develop a report to have employee night shift hours.
    I am not a functional guy, Could you guys help me in getting night shift hours for the mentioned period.
    Any function modules or tables wherein I can have this data.
    Thanks and Regards
    Reddy.

    Hi,
    Their mightbe utilized DWS class is different for Night Shifts in "V_T550A" field name"TPKLA".
    You can check employee Personnel Work schedule through "PT63".
    The following will be help incase any development report.
    If you having time evaluation very easy to check in cluster tables "PSP" for personnel work schedulw and  check table "PT" for employee worked or not
    (reference screen field PDCPT-COGOS status are '0' on a break
    '1' at work
    '3' working off-site
    '4' absent before clock-in, no interim postings (only used internally)
    '5' absent after clock-out, no interim postings (only used internally)
    '6' absent before clock-in, with interim posting
    '7' absent after clock-out, with interim posting )

  • How to get the alv grid report in another screen when double click on basic

    Hi.
    I have created an alv report using class cl_gui_alv_grid.I got another report in the same screen,when double clicked on basic list(using double_click event).I want to get this report in another screen.What i have to do?(In classical reports i worked with sy-lsind = 1 ,but how to do here?)
    How to set color to the selected rows in the alv grid report?I worked with change_data_from_inside method of cl_gui_alv_grid.But it didn't work out..
    With Regards,
    Ramana.

    On double click event . you will have to call another screen say 9000.
    now within screen 900 PBO.. you will have to prepare the fieldcatalog/layout.. and the table to be displayed there.
    in PAI of screen 9000, you can return to the original ALV.
    method double_click.
    call screen 9000.
    endmethod.
    " now in PBO create a module display_alv2
    module display_alv2.
    'prepare the fieldcat/layout info for new alv
    'add the data to the new ALV table
    'instantiate the grid call.. etc
    'call the ALV
    endmodule
    "in PAI
    module exit.
    case sy-ucomm.
    when 'ENT1'.
      leave to screen 0.
    endcase.
    endmodule
    while preparing the field catalog you can mention the EMPHASIZE field, whish will give color to tht column
    E.g
    *--Service Order
        ls_fieldcat-tabname   = 'IT_FINAL_VALID'.
        ls_fieldcat-fieldname = 'AUFNR'.
        ls_fieldcat-scrtext_m = 'Service Order'.
        ls_fieldcat-ref_table = 'AUFK'.
        ls_fieldcat-ref_field = 'AUFNR'.
        ls_fieldcat-col_pos   = 1.
        ls_fieldcat-outputlen = 12.
        ls_fieldcat-emphasize = 'C400'.  "This will add color to the cell
        APPEND ls_fieldcat TO fcat_valid.
    Hope this helps.

  • How to get data for Planning reports in 'CRM Interactive BI Reports' ?

    Hi ,
    Can you please let me know how can we get the data for the Planning Reports?
    Do we have any specific data in the BI system related to Planninin Reports?
    Planning Reports are :
    1. Plan/Actual Comparison
    2. Plan/Actual Monitor
    3. Plan/Actual Analysis
    4. Plan/Actual Compar. (YTD/YTG)
    5. Sales Volume Forecast
    6. Plan/Actual Net Revenue/Cust.
    7. Plan/Actual Net Revenue/Prod.
    Thanks
    Ravi

    We should have a separate BI system to get the data for all these reports.
    Regards
    Ravi

  • AdminTools: how to get a list of reports which send to a specific email

    Hello,
    AdminTools is very usefull to get data about instances in the repository. when I ran
    SELECT si_Name, si_scheduleinfo.SI_DESTINATIONS,* FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Report'
    How to access si_scheduleinfo.SI_DESTINATIONS.1.SI_DEST_SCHEDULEOPTIONS.SI_MAIL_ADDRESSES.1?
    Please help. Thanks.

    Hi Leo,
    Please refer to below link
    http://www.tek-tips.com/viewthread.cfm?qid=1535142
    http://forumtopics.org/busobj/viewtopic.php?p=733608&sid=79423c76c28d6c08492378a3383f985d
    Regards,
    Sravanthi

  • How to get month name in report

    Hi
    I want to know is there any way that we get name of the month in the report when we display.
    eg: 04.2006 needs to displayed as April 2006.
    Please let me know

    Hi Amith,
    It is possible. Use a text variable of type replacement path in the column/report heading for characteristic 0CALMONTH. For displaying the key (for example 01.2007) you can use a SAP standard text variable. There's no need to create a new one.
    If you want to show text (Eg: Jan 2007) just create a new text variable of type replacement path and chose Text instead of key. Hope this helps.
    Sumit

  • How to get negative values in Report?

    Hi,
    i have to do 1 FI report in that if it's debited value have to come negative. How can i do the same?

    see this example
    IF ittaxdet-shkzg = 'H'.
                     itsumtax-add_tax  = ittaxdet-hwste * -1.
                   else.
                       itsumtax-add_tax = ittaxdet-hwste.
                   ENDIF.

  • How to get Long text in report from FBL3N

    Hi,
    I need to get Long Text from FBL3N (G/L Account Line Item Display) in my report.Can anyone tell me in which table it is stored?

    Hi
    These long texts are not stored completely in any tables
    where as the parameters of these texts like OBJECT,OBJECTNAME and ID, LANGUAGE are stored in STXH table
    You have to pass these 4 parameters to the fun module READ_TEXT and to fetch the text.
    Double click on the long text will goes to text editor
    from menu GOTO-> HEADER  you will see the above 4 paramters
    see the doc of READ_TEXT fun module
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    Function call:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters:
    CLIENT
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to get Daily Customer Balance Report?

    Hi
    I have received a requirement from the user where he has to send the Daily Customer balance report currently he is using the T.Code S_ALR_87012172 Customer Balances in Local Currency for fetching the monthly data.
    I want to know what are the ways to make the report and what is the best way out of them to do it. Can it be done through user Exit, BADI, query or we have to get the Z report made by the apaber.
    Also, if it is possible please tell me the way step by step for user exit, badi or query if that is to be used.
    Please help
    Thanks in advance
    Pankaj

    Thanks for your reply Aleksey...
    We are using the report S_ALR_87012172 - Customer Balances in Local Currency and user want the same report on daily basis like Total Debit/Credit, Balance carryforward and the Accumulated balance. I have checked but unable to find out any such output.
    Please suggest what to do whether to make chnges in report painter or have to write a query. If I write a query then plz suggest me the tables as I am trying to do that but unable to link the Balance carryforward and accumulated balance.
    Regards
    Pankaj

Maybe you are looking for

  • Submitting a Signed PDF form in Workflow

    Hello, Is there anyone experienced submitting signed PDF form in workflow? We have tried to use a PDF form designed using AFD 5.0 along with AWS 6.2 to automate the approval process. But when the initiator signs the document, using the signature obje

  • Insufficient privilege when run SQL in PL/SQL Developer

    Hi, My developer had strange behavior when run below SQL from PL/SQL Developer. It will come out with "*Insufficient Privileges*" message. SELECT Fiscal FROM pmaps_fiscalweekonly WHERE intend >= trunc(sysdate) AND rownum < 5 ORDER BY intend ASC; Same

  • UD for production order quality inspection

    hi,   i have activated inspection 04 for a material and after GR it has been inspected and found ok. at the UD stage we are keeping the stock directly as unristricted stock and it is figuring in the inventory.but still phisically the material is not

  • How to handle the MISSING STATISTICS:Table or Index has no optimizer stats

    Dear All, For some of our recently created Ztables, we have been receiving an error message of MISSING STATISTICS in the system saying that Table or Index has no optimizer statistics. To solve the problem, when I go for creating an index with the key

  • TS1702 how do I re-download an audiobook?

    I have purchased an audiobook but can no longer find it on any of my deviced.  The iTunes stores says that the audiobook has already been downloaded but I cannot find where to re-download it.