Trigger a Report after a Database table is loaded

Hello,
Does anyone know a good way to trigger a Webi report to run or not run based on if the data is loaded in to the dirving table? I need to stop a report from running if the data in the table loads late, but not sure the best way to make this work.
Thanks,
Tammy

If your database can write a file to a specific location, you could make it trigger the creation of an event on your Webi server. You can then use this as an event to wait for in your scheduling parameters under events.

Similar Messages

  • No data in report after auto linking tables

    Hi All,
    I m new to Crystal Reports 2008 and I have a report that takes data from multiple database tables. The problem is that the report is not returning any data. On the Links tab in Database Expert, I checked that the tables are linked. I removed all links and added the links back one-by-one to see where I get the problem of not getting data in the report. I have pointed out the link, but I dont know how to fix the problem of not getting the data in the report because i need data from that table which means that I would need to select it and link it in the report.
    Please help me with this.
    Thank you.

    You know your data and what you want to get out of it, typically it's the join type, Left Outer etc. or possibly using Unions and SELECT's in SELECTS. Lots of ways to accomplish the results but without knowing your data structure I can't be specific.
    Possibly if you list the fields you want to use and the tables you get the info from it would help to suggest how. If Jason Long see's this post and you give the info he will likely suggest something also, he's a SQL GURU....
    Need to know what type of DB also.
    Another great source is looking at our sample reports:
    https://smpdl.sap-ag.de/~sapidp/012002523100005852352008E/cr_xi_xtreme_rep_smpl_en.zip
    Don

  • Write OBIEE report results in database table

    Hi everyone,
    I need to implement a process that executes an OBIEE report and writes the result rows to a database table.
    How can this be done?
    Thanks,
    Alex

    You can do it with delivers/scheduler and a script.
    Delviers give the content to the script and you can do what with it.
    Check this document :
    http://www.oracle.com/technology/products/bi/files/advanced%20delivery%20with%20bi%20publisher%20delivery%20manager%20api.doc

  • Oracle Database Table data Load it into Excel

    Hello All,
    Please I need your help for this problem:
    I need to load Oracle database Table data and load it into Excel and saved with xls format.
    Example -Select * from Slase data load it into the Excel.
    I appreciate ans sample code to help me do that, Please help me out. This is very urgent.
    Thanks alot and best regards,
    anbu

    >
    I need to load Oracle database Table data and load it into Excel and saved with xls format.
    Example -Select * from Slase data load it into the Excel.
    I appreciate ans sample code to help me do that, Please help me out. This is very urgent.
    >
    Nothing in these forums is 'urgent'. If you have an urgent problem you should contact Oracle support or hire a consultant.
    You have proven over and over again that you are not a good steward of the forums. You continue to post questions that you say are 'urgent' but rarely take the time to mark your questions ANSWERED when they have been.
    Total Questions: 90 (78 unresolved)
    Are you willing to make a commitment to to revisit your 78 unresolved questions and mark them ANSWERED if they have been?
    The easiest way to export Oracle data to Excel is to use sql developer. It is a free download and this article by Jeff Smith shows how easy it is
    http://www.thatjeffsmith.com/archive/2012/09/oracle-sql-developer-v3-2-1-now-available/
    >
    And One Last Thing
    Speaking of export, sometimes I want to send data to Excel. And sometimes I want to send multiple objects to Excel – to a single Excel file that is. In version 3.2.1 you can now do that. Let’s export the bulk of the HR schema to Excel, with each table going to it’s own workbook in the same worksheet.
    >
    And you have previously been ask to read the FAQ at the top of the thread list. If you had done that you would have seen that there is a FAQ for links that have many ways, with code, to export data to Excel.
    5. How do I read or write an Excel file?
    SQL and PL/SQL FAQ

  • Can not refresh ValueObject after altering database table

    Hello All,
    In FB4, in order to refresh a service, I used to
    - select a service operation
    - select configure return type
    - select auto-detect
    - hit next and on the follow page select the existing ValueObject
    ...it would update.
    As far as I can see, this does not work in FB4.5.  Instead, after selecting auto-detect and clicking next:
    There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.
    Reason: Warning: mysqli_stmt_bind_result(): Number of bind variables doesn't match number of fields in prepared statement in...
    Is there a way to refresh a ValueObject.  Clicking refresh is a no go.
    Thanks for your help!
    J

    hey jay.  did you ever figure out how to update your valueObject?  I just posted a similar discussion "changing php-service in FD breaks AS3 service class and valueObjects" here: http://forums.adobe.com/thread/882288
    maybe we'll get a reply....

  • Triggering a report after the completion of processing the session

    Hi Friends,
    I want to know how to trigger an report after the completion of processing the session.
    Thanks,
    Raj

    Hi
            SELECTION-SCREEN                               *
    PARAMETERS: p_name     LIKE apqi-groupid,
                p_datum    LIKE apqi-credate,
                p_time     LIKE apqi-cretime,
                p_event    LIKE tbtco-eventid.
                 DATA                                     *
    DATA: fl_job_ok TYPE c,
          fl_event TYPE c,
          cont_sysubrc_6 TYPE i.
    DATA: start_time LIKE sy-uzeit,
          start_date LIKE sy-datum,
          time       LIKE sy-uzeit,
          delta_time TYPE i.
    DATA: apqitab LIKE STANDARD TABLE OF apqi WITH HEADER LINE.
    DATA:
      btc_running       LIKE tbtco-status VALUE 'R',
      btc_ready         LIKE tbtco-status VALUE 'Y',
      btc_scheduled     LIKE tbtco-status VALUE 'P',
      btc_released      LIKE tbtco-status VALUE 'S',
      btc_aborted       LIKE tbtco-status VALUE 'A',
      btc_finished      LIKE tbtco-status VALUE 'F',
      btc_put_active    LIKE tbtco-status VALUE 'Z',
      btc_unknown_state LIKE tbtco-status VALUE 'X'.
                         START-OF-SELECTION                              *
    START-OF-SELECTION.
      DATA: a VALUE '1', b.
    Controllo esistenza job:
      start_time = sy-uzeit.
      start_date = sy-datum.
      DO.
        apqitab-creator = sy-uname.
        CALL FUNCTION 'BDC_OBJECT_SELECT'
          EXPORTING
            name                   =  p_name
            datatype               = 'BDC'
        CLIENT                 = SY-MANDT
            date_from              = p_datum
        DATE_TO                =
            time_from              = p_time
        TIME_TO                =
           QSTATE                 = 'F'
            session_creator        = apqitab-creator
          TABLES
            apqitab                = apqitab
          EXCEPTIONS
            invalid_datatype       = 1
            OTHERS                 = 2.
        IF sy-subrc <> 0.
          fl_job_ok = space.
        ELSE.
          LOOP AT apqitab.
            CASE apqitab-qstate.
              WHEN 'F'.          fl_job_ok = 'X'. EXIT.
              WHEN 'E'.          fl_job_ok = 'E'. EXIT.
              WHEN OTHERS.       fl_job_ok = space.
            ENDCASE.
          ENDLOOP.
          IF fl_job_ok = 'X' OR fl_job_ok = 'E'.
            EXIT.
          ENDIF.
        ENDIF.
        IF start_date <> sy-datum.
          start_time = sy-uzeit.
        ENDIF.
        time = sy-uzeit.
        delta_time = time - start_time.
        IF delta_time > 1800.
          EXIT.
        ENDIF.
        REFRESH apqitab.
      ENDDO.
      IF fl_job_ok = 'X'. " Trovato JOB
        fl_event = 'X'.
        IF fl_event = 'X'.
    Attiva evento
          CALL FUNCTION 'BP_EVENT_RAISE'
            EXPORTING
              eventid                = p_event
            EXCEPTIONS
              bad_eventid            = 1
              eventid_does_not_exist = 2
              eventid_missing        = 3
              raise_failed           = 4
              OTHERS                 = 5.
          IF sy-subrc <> 0.
            MESSAGE e999(zfagm) WITH p_event 'is not actived'(002).
          ELSE.
            MESSAGE i999(zfagm) WITH p_event 'is successfully actived'(002).
          ENDIF.
        ELSE.
          MESSAGE e999(zfagm) WITH p_event 'is not actived'(002).
        ENDIF.
      ELSE.
        IF fl_job_ok = space.
          MESSAGE e999(zfagm) WITH p_event 'is successfully actived'(002).
        ELSE.
          MESSAGE e999(zfagm) WITH p_event 'is successfully actived'(002).
        ENDIF.
      ENDIF.
    Max

  • User exit/BADI AFTER the database commit in va01 va02

    Hi All
    I need an user exit/BADI <b>AFTER the database tables are updated</b> when save button is pressed on VA01/VA02, both these user exits are fired before that.
    Regards
    Badari

    Check out all these exits
                                                                                    SDTRM001            Reschedule schedule lines without a new ATP check            
    V45A0001            Determine alternative materials for product selection        
    V45A0002            Predefine sold-to party in sales document                    
    V45A0003            Collector for customer function modulpool MV45A              
    V45A0004            Copy packing proposal                                        
    V45E0001            Update the purchase order from the sales order               
    V45E0002            Data transfer in procurement elements (PRreq., assembly)     
    V45L0001            SD component supplier processing (customer enhancements)     
    V45P0001            SD customer function for cross-company code sales            
    V45S0001            Update sales document from configuration                     
    V45S0003            MRP-relevance for incomplete configuration                   
    V45S0004            Effectivity type in sales order                              
    V45W0001            SD Service Management: Forward Contract Data to Item         
    V46H0001            SD Customer functions for resource-related billing           
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan 
    SDAPO001            Activating Sourcing Subitem Quantity Propagation

  • How to save data after clicking checkbox  stored in database table

    TYPE-pools: slis.
    tables:mkpf,mseg,mard.
    TYPES: BEGIN OF tp_data,
          mblnr LIKE mseg-mblnr,
         matnr LIKE mseg-matnr,
         werks LIKE mard-werks,
         lgort LIKE mard-lgort,
         lgpbe LIKE mard-lgpbe,
         charg LIKE mseg-charg,
         bwart LIKE mseg-bwart,
         budat LIKE mkpf-budat,
         menge LIKE mseg-menge,
         meins LIKE mseg-meins,
         kostl LIKE mseg-kostl,
         aufnr LIKE mseg-aufnr,
         rsnum LIKE mseg-rsnum,
         checkbox TYPE c,
      __mark,
    END OF tp_data,
    tp_tbl_data TYPE STANDARD TABLE OF tp_data.
    Constants
    Data objects (variable declarations and definitions)
    Report data to be shown.
    DATA: it_data TYPE STANDARD TABLE OF tp_data.
    Heading of the report.
    DATA: t_heading TYPE slis_t_listheader.
    ========================== Selection Screen ==========================
      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:smblnr FOR mseg-mblnr MODIF ID m1,
                   smatnr FOR mseg-matnr MODIF ID m2,
                   swerks FOR mard-werks MODIF ID m3,
                   slgort FOR mard-lgort MODIF ID m4,
                   slgpbe FOR mard-lgpbe MODIF ID m5,
                   scharg FOR mseg-charg MODIF ID m6,
                   sbwart FOR mseg-bwart MODIF ID m7,
                   skostl FOR mseg-kostl MODIF ID m8,
                   saufnr FOR mseg-aufnr MODIF ID m9,
                   srsnum FOR mseg-rsnum MODIF ID m10.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS:pre RADIOBUTTON GROUP radi USER-COMMAND ucomm DEFAULT 'X',
               pse RADIOBUTTON GROUP radi,
               bps RADIOBUTTON GROUP radi.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    PARAMETER:layout TYPE i.
    SELECTION-SCREEN END OF BLOCK b3.
    =========================== Event Blocks =============================
    AT selection-SCREEN.
    start-OF-selection.
    PERFORM get_data USING it_data.
    END-OF-selection.
    PERFORM build_alv USING it_data t_heading.
    =========================== Subroutines ==============================
    *&      Form  get_data
          Gets the information to be shown in the report.
    FORM get_data USING t_data TYPE tp_tbl_data.
      SELECT msegmblnr msegmatnr mardwerks mardlgort mardlgpbe msegcharg msegbwart mkpfbudat
        msegmenge  msegmeins msegkostl msegaufnr mseg~rsnum
      INTO CORRESPONDING FIELDS OF TABLE t_data
      FROM mseg
      JOIN mard ON mardmatnr EQ msegmatnr
                   JOIN mkpf ON msegmblnr EQ mkpfmblnr
                   WHERE mseg~matnr IN smatnr.
    ENDFORM.                    " get_data
    *&      Form  build_alv
          Builds and display the ALV Grid.
    FORM build_alv USING t_data TYPE tp_tbl_data
          t_heading  TYPE slis_t_listheader.
    ALV required data objects.
      DATA: w_title   TYPE lvc_title,
            w_comm    TYPE slis_formname,
            w_status  TYPE slis_formname,
            x_layout  TYPE slis_layout_alv,
            t_event    TYPE slis_t_event,
            t_fieldcat TYPE slis_t_fieldcat_alv,
            t_sort     TYPE slis_t_sortinfo_alv.
      REFRESH t_fieldcat.
      REFRESH t_event.
      REFRESH t_sort.
      CLEAR x_layout.
      CLEAR w_title.
    Field Catalog
      PERFORM set_fieldcat2 USING:
            1 'MBLNR' 'MBLNR' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
            2 'MATNR' 'MATNR' 'MSEG' space space space space space space space space space space space space  t_fieldcat ,
            3 'WERKS' 'WERKS' 'MARD' space space space space space space space space space space space space  t_fieldcat,
            4 'LGORT' 'LGORT' 'MARD' space space space space space space space space space space space space t_fieldcat ,
            5 'LGPBE' 'LGPBE' 'MARD' space space space space space space space space space space space space t_fieldcat ,
            6 'CHARG' 'CHARG' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
            7 'BWART' 'BWART' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            8 'BUDAT' 'BUDAT' 'MKPF' space  space space space space space space space space space space space t_fieldcat,
            9 'MENGE' 'MENGE' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            10 'MEINS' 'MEINS' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            11 'KOSTL' 'KOSTL' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            12 'AUFNR' 'AUFNR' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            13 'RSNUM' 'RSNUM' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            14 '__MARK' 'XFELD' space space space 'Select' 'Select this row' 'Sel' 'Select this row' space space space 'X' 'X' space t_fieldcat.
    Layout
      x_layout-zebra = 'X'.
    Top of page heading
      PERFORM set_top_page_heading USING t_heading t_event.
    Events
      PERFORM set_events USING t_event.
    GUI Status
      w_status = ''.
    User commands
      w_comm   = 'USER_COMMAND'.
    Order
    Example
    PERFORM set_order USING '<field>' 'IT_DATA' 'X' space space t_sort.
    PERFORM set_order USING 'LIFNR' 'IT_DATA' 'X' space 'X' t_sort.
    PERFORM set_order USING 'EBELN' 'IT_DATA' 'X' space 'X' t_sort.
    PERFORM set_order USING 'EBELP' 'IT_DATA' 'X' space space t_sort.
    Displays the ALV grid
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program       = sy-repid
        it_fieldcat              = t_fieldcat
        is_layout                = x_layout
        it_sort                  = t_sort
        i_callback_pf_status_set = w_status
        i_callback_user_command  = w_comm
        i_save                   = 'X'
        it_events                = t_event
        i_grid_title             = w_title
      TABLES
        t_outtab                 = t_data
      EXCEPTIONS
        program_error            = 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.
    ENDFORM.                    " build_alv.
    *&      Form  set_top_page_heading
          Creates the report headings.
    FORM set_top_page_heading USING t_heading TYPE slis_t_listheader
          t_events  TYPE slis_t_event.
      DATA: x_heading TYPE slis_listheader,
            x_event   TYPE LINE OF slis_t_event.
    Report title
      CLEAR t_heading[].
      CLEAR x_heading.
      x_heading-typ = 'H'.
      x_heading-info = 'Reporte Prueba'(001).
      APPEND x_heading TO t_heading.
    Program name
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'Program: '.
      x_heading-info = sy-repid.
      APPEND x_heading TO t_heading.
    User who is running the report
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'User: '.
      x_heading-info = sy-uname.
      APPEND x_heading TO t_heading.
    Date of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'Date: '.
      WRITE sy-datum TO x_heading-info.
      APPEND x_heading TO t_heading.
    Time of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'Time: '.
      WRITE sy-uzeit TO x_heading-info.
      APPEND x_heading TO t_heading.
    Top of page event
      x_event-name = slis_ev_top_of_page.
      x_event-FORM = 'TOP_OF_PAGE'.
      APPEND x_event TO t_events.
    ENDFORM.
    *&      Form  set_events
          Sets the events for ALV.
          The TOP_OF_PAGE event is alredy being registered in
          the set_top_page_heading subroutine.
    FORM set_events USING t_events TYPE slis_t_event.
      DATA: x_event   TYPE LINE OF slis_t_event.
    Example
    clear x_event.
    x_event-name = .
    x_event-form = .
    append x_event to t_event.
    ENDFORM.
    *&      Form  set_order
          Adds an entry to the order table.
    FORM set_order USING p_fieldname p_tabname p_up p_down p_subtot
          t_sort TYPE slis_t_sortinfo_alv.
      DATA: x_sort TYPE slis_sortinfo_alv.
      CLEAR x_sort.
      x_sort-fieldname = p_fieldname.
      x_sort-tabname   = p_tabname.
      x_sort-UP = p_up.
      x_sort-down = p_down.
      x_sort-subtot = p_subtot.
      APPEND x_sort TO t_sort.
    ENDFORM.                    "set_order
    *&      Form  set_fieldcat2
          Adds an entry to the field catalog.
    FORM set_fieldcat2 USING p_colpos p_fieldname p_ref_fieldname p_ref_tabname
          p_outputlen p_noout
          p_seltext_m p_seltext_l p_seltext_s p_reptext_ddic p_ddictxt
          p_hotspot p_showasicon p_checkbox p_edit
          p_dosum
          t_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: wa_fieldcat TYPE slis_fieldcat_alv.
      CLEAR wa_fieldcat.
    General settings
      wa_fieldcat-fieldname = p_fieldname.
      wa_fieldcat-col_pos = p_colpos.
      wa_fieldcat-no_out = p_noout.
      wa_fieldcat-HOTSPOT = p_hotspot.
      wa_fieldcat-CHECKBOX = p_checkbox.
      wa_fieldcat-ICON = p_showasicon.
      wa_fieldcat-do_sum = p_dosum.
    Set reference fieldname, tablenam and rollname.
    If p_ref_tabname is not given, the ref_fieldname given is a data element.
    If p_ref_tabname is given, the ref_fieldname given is a field of a table. In case ref_fieldname is not given, it is copied from the fieldname.
      IF p_ref_tabname IS INITIAL.
        wa_fieldcat-rollname =   p_ref_fieldname.
      ELSE.
        wa_fieldcat-ref_tabname = p_ref_tabname.
        IF p_ref_fieldname EQ space.
          wa_fieldcat-ref_fieldname =   wa_fieldcat-fieldname.
        ELSE.
          wa_fieldcat-ref_fieldname =   p_ref_fieldname.
        ENDIF.
      ENDIF.
    Set output length.
      IF NOT p_outputlen IS INITIAL.
        wa_fieldcat-outputlen = p_outputlen.
      ENDIF.
    Set text headers.
      IF NOT p_seltext_m IS INITIAL.
        wa_fieldcat-seltext_m = p_seltext_m.
      ENDIF.
      IF NOT p_seltext_l IS INITIAL.
        wa_fieldcat-seltext_l = p_seltext_l.
      ENDIF.
      IF NOT p_seltext_s IS INITIAL.
        wa_fieldcat-seltext_s = p_seltext_s.
      ENDIF.
      IF NOT p_reptext_ddic IS INITIAL.
        wa_fieldcat-reptext_ddic = p_reptext_ddic.
      ENDIF.
      IF NOT p_ddictxt IS INITIAL.
        wa_fieldcat-ddictxt = p_ddictxt.
      ENDIF.
    Set as editable or not.
      IF p_edit IS NOT INITIAL.
        wa_fieldcat-INPUT     = 'X'.
        wa_fieldcat-EDIT     = 'X'.
      ENDIF.
      APPEND wa_fieldcat TO t_fieldcat.
    ENDFORM.                   "set_fieldcat2
    =========================== Subroutines called by ALV ================
    *&      Form  top_of_page
          Called on top_of_page ALV event.
          Prints the heading.
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        i_logo             = 'XXXXX'
        it_list_commentary = t_heading.
    ENDFORM.                    " alv_top_of_page
    *&      Form  user_command
          Called on user_command ALV event.
          Executes custom commands.
    FORM user_command USING r_ucomm     LIKE sy-ucomm
          rs_selfield TYPE slis_selfield.
    Example Code
    Executes a command considering the sy-ucomm.
    CASE r_ucomm.
       WHEN '&IC1'.
         Set your "double click action" response here.
         Example code: Create and display a status message.
         DATA: w_msg TYPE string,
               w_row(4) TYPE n.
         w_row = rs_selfield-tabindex.
         CONCATENATE 'You have clicked row' w_row
                     'field' rs_s lfield-fieldname
                     'with value' rs_selfield-value
                     INTO w_msg SEPARATED BY space.
         MESSAGE w_msg TYPE 'S'.
    ENDCASE.
    End of example code.
    LOOP AT T_DATA.
    IF  it_data-__MARK EQ 'X'.
    insert ztable.
    ENDIF.
    ENDLOOP.
    ENDFORM.                    "user_command
    ur sending code loop is error ,plz check that one  after checking send me

    Hi,
    After displaying ALV report output, if you want to update database table based on your selected record, then use the below logic in your User_command subroutine.
    You will get the index of the selected record in rs_selfield-tabindex. using this index read the respective record from the internal table and move corresponding field to the table fields and then update.
    data : wa_data like t_data.
    read table t_data index rs_selfield-tabindex into wa_data.
    if sy-subrc = 0.
       move-corresponding wa_data to ztable.
       insert ztable.
    endif.
    thanks,
    sksingh

  • Calling an Oracle Report from a database trigger

    At the moment I have an Oracle form with a timer checking a table for new orders. when
    the form finds new orders an oracle report is run from the form (sending it to the printer directly) with the run_product procedure with parameters being passed also.
    Is there a way to run the report directly from a database/table trigger (also passing parameters)? or failing that how about a batch file or something.
    Info:
    I am using forms/reports 6.
    I believe the database is 7.x
    Cheers,
    Simon
    null

    hello,
    assuming you are using the oracle reports server, you can use UTIL_HTTP to submit a job to the server using http.
    with oracle9i reports we will introduce a feature called event-based reporting API. a plsql package that allows you not only to submit jobs but also check their status.
    oracle9i reports will be part of iAS Release 2.
    regards,
    the oracle reports

  • Trigger a report to run after dataloads are completed for 2 separate cubes

    Hello, 
    Can someone please suggest how to accompish the following:
    I have a report built on a multiprovider that contains 2 infocubes.
    I would like to trigger the report to run only after dataloads for both of the cubes been completed.
    I am using BI 7.0
    Previously we were on 3.5 and was able to use event collector to do this.  Event collector is not available in 7.0 anymore.
    Thanks.

    Hi David,
    I assume that report here refers to BEx query on the multiprovider.
    Have you thought of using information brodacasting and scheduling the chain using the process type - Trigger event on data change).
    Check this link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00172934-f3c1-2b10-728a-c42a0fc28c61
    If the two cubes are loaded in the same chain, then you could have an AND process type after the two DTP's/IP's and trigger the event after the successful completion of the loading of both.
    In information broadcasting you can define the broadcast setting of the query to execute when the event of data change is triggered by the process chain.
    If the two cubes are loaded in two different chains, then you may need to use a custom ABAP program , which updates a table regarding the successful completion of load of a particular cube and you have to check after the load of one cube, if the other has completed ( by checking the table in ABAP) and then use the process type, trigger data change event.
    Hope this helps,
    Regards,
    Sunmit.

  • After REFRESH the cached object is not consistent with the database table

    After REFRESH, the cached object is not consistent with the database table. Why?
    I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
    in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
    Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
    JDeveloper.
    How to make the JDeveloper's offline tables to be synchronized with the underling database tables?

    qkc,
    Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
    John

  • No data in Portal Database tables for Activity Report

    Hi experts,
    I've developed an Activity Report application in SAP Portal 7.0, which went live but the report shows no data.
    We are pulling data from 2 portal database tables: WCR_WEBCONTENTSTAT and WCR_USERPAGEUSAGE
    In non production environment there is data in the report but there is no data in the production environment.
    The Activity Report service is already activated/started and set to true.
    What could have caused this? And what should we check now?
    What other configurations/setup should be done?
    Regards,
    Greg

    Hi Greg,
    Those are the aggregated tables. If they are not filled with data although the Portal Activity Report is activated, you should check whether the aggregation finished successfully.
    In the older SPs there were some problems that were fixed in later SPs of 7.0.
    In order to have the latest version of Portal Activity report, you can check SAP note 1084379 - Portal Activity Report - Latest Version (SDA file).
    You can compare the SP via the MANIFAST file, as it contains the version and SP number.
    In order to troubleshoot problems in Activity Report, you can follow SAP note: 1690023 - Portal Activity Report - Component-specific Note
    Some basic checks that you can do:
    Run query on the raw data tables to check since when there is data in those tables:
    select min(timestamphour) from SAP<SystemID>DB.WCR_WEBCNODESTAT;
    If there is too much data from long time ago, then you should delete the old data, and leave only the new data (there is anyways retention time for the data to be kept).
    If there is no data, then it means that the Portal Activity Report does not collect data, and not really activated (usually this is not the case).
    The aggregation runs every top of the hour, so you can check in the default traces for an error during that time.
    In most of the cases something went wrong while aggregating the data.
    As a result the aggregation is not finished, so the transaction is not being committed, and the aggregated tables stay empty.
    If there is a DuplicateKeyException in the trace, you can follow SAP note 1054145 - Duplicate Key Exception.
    If you have any more questions, please don't hesitate to ask.
    I hope this information helps,
    Thanks & regards,
    Michal Zilcha-Lang

  • I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1.

    I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.

    Hi ,
    In your write back XML  try the below  query insert
    INSERT INTO TABLE_XYZ (attribute1)  values (SELECT CASE  WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
    Regards
    Rajagopal

  • How to save report file to database after generation

    I am generating a report using oracle reports 6i. The report is a .pdf file. I need to save this file in a database table to that i can show a link on the application to view the file online. How can i achieve this functionality?
    Thanks.

    Yes you can. Find about BLOB fields.

  • How to compare performance of 2 reports which update a database table?

    I have got this assignment of optimizing the perfomance of an existing report. I made a report zreport_2 & executed both of them in background simultaneously to compare the time. However, the following error was reported during the concurrent run:
    Express Document "Update was Terminated"..
    When executing individual report in background, no error was reported.
    I checked T-code SM13 & ST22 (as advised in one of the threads) & following was the error (during INSERTING one record):
    Error analysis
    Short text of error message:
    Error in adding to table EASTE 000000000000065578   0
    Technical information about the message:
    Diagnosis
         An error occurred during addition of one or more table entries.
         This error was reported by the database system.
    System Response
         The system does not permit addition of one or more table entries.
         It is possible that an SAP short dump has been written from the SAP
         basis system.
    Procedure
         Find out if the SAP short dump provides additional information.
         You can view SAP short dumps using Transaction SM21.
    Message classe...... "E9"
    Number.............. 015
    Variable 1.......... "EASTE"
    Variable 2.......... 000000000000065578
    Variable 3.......... " "
    Variable 4.......... 0
    Variable 3.......... " "
    Variable 4.......... 0
    Please help!

    > I made a report zreport_2 & executed both of them in background simultaneously to compare the time
    this was really no good idea.
    If you insert anything to the database, then you get a dump, if you try to times the same.
    Even if you don't change anything then the parallel processing will not show anything the only try to get the resources.
    You must execute them onne by one.
    Run traces of both executions, execute every version at least three times (first one more expensive, second and third similar otherwise repeat)
    SQL trace:
    /people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy
    SE30
    /people/siegfried.boes/blog/2007/11/13/the-abap-runtime-trace-se30--quick-and-easy
    The SE30 shows everything what was going on, the SQL trace only the db part.
    Check the summary by SQL statements, this is small, and youi can compare both executions by hand.
    The SE30 hitlist is large, but there is a tool to compare then, see here:
    Z_SE30_COMPARE
    /people/siegfried.boes/blog/2008/01/15/a-tool-to-compare-runtime-measurements-zse30compare
    Siegfried

Maybe you are looking for

  • How do i get my ipod nano/i tunes/windows media player to work together

    how do i get anewly purchased i pod nano tp work with i tunes and windows media player

  • Steps to selectively load data from r/3 to bw

    Hi all,               I have a requirement to load data selectively into bw.I want to run init load multiple times  for the below datasources. 2LIS_12_VCITM 2LIS_13_VDITM 2LIS_13_VDKON 2LIS_03_BF 2LIS_02_ITM 2LIS_02_SCL Now my doubt is that form whic

  • How to update Item(Product/Product category) Description ??????

    Hi I have to update Item(Product/Product category) Description in opportunity/ lead during Create.I have created the opportunity using the FM BAPI_BUSPROCESSND_CREATEMULTI in CRM 5.0 .But i am unable to update the product description details. It is a

  • File-IDOC Scenario

    Hi, My scenrio is File -IDOC. I had done Design & Configuration part. I am getting following error <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_RCV_SERV</SAP:Code> Kindly help me;.

  • HR License Query

    Dear All, we have Oracle HR & Payroll License for 500 employees. Does this mean, I can create as many contingent workers as possible or I need to buy additional licenses? I had gone through Price List there definition of employee is given as below. E