Use of 0REFPER in multiprovider reporting with virtual provider in BCS

Hi all,
We're using the multiprovider reporting option in BCS 6.0 / BI7.
As you may know the data in the 'closed periods' provider is populated with closed requests, which need not necessarily be for individual periods (this is different to BCS 4/BW3.5)
As far as I understand from my discussion with the BI team, in the 'closed periods' provider each reference period is populated with ALL data for the year (so a January record appears in 0refper = 01,2008 and also 0refper = 02,2008, whereas a February record only appears in 0refper = 02,2008).
Reporting on a specific reference period will provide data relevant to the hierarchies effective at that reference period.
BUT when the virtual provider is taken in to account for March, surely the reference period is now 03,2008 - so how will the multiprovider choose any records from the 'closed periods' cube?
What I'm not sure about is how the BI report should be structured in terms of 0REFPER selection to ensure that the relevant closed period data is selected alongside the virtual provider data.
I haven't found anything in the help documentation, or the SDN forum - has anyone found a useful source of guidance from SAP?
If not, has anyone got experence of this?
(of course, points will be provided for all useful answers).

Thanks Dan,
I would caution about the use of 0refper for the multiprovider scenario.
Have you used the multiprovider scenario? There is good documentation from SAP on how to set it up but nothing on how the queries/reports should be built. When BCS generates the multiprovider and virtual provider, it adds in 0refper (and the others)
It is my understanding that the closed-period records are stored with cons group as opposed to those of the virtual infoprovider where cons group is only included for posting levels 02, 12, 22 and 30.
+ Thus if the organization/cons groups are changed, it could cause reporting issues unless the closed-period infoprovider is repopulated using the new or changed cons groups.+This was my understanding too, but the BI team are telling me it is NOT required in BCS 6 / BI7.
I will investigate further an post my analysis back here.
In the meantime if anyone else has experience of the multiprovider scenario reporting, espcially in BCS 6 / BI7. Then please do post your experiences here.

Similar Messages

  • Using DB2 views in crystal reports with java

    Post Author: Shikha Tomar
    CA Forum: JAVA
    Hello,
    We have used DB2 views in Crystal Report 11.
    We are able to view the report through crystal report tool but while using this rpt file in java application,the DB2 view is not found.
    It gives an error: "table SCDC.View_report not found."
    SCDC.View_report=Name of the view used in rpt
    Code for calling rpt is as below:
    The line marked as red gives the error:
    private static void switch_tables(DatabaseController databaseController) throws ReportSDKException, IOException {
    final String URI = "!com.ibm.db2.jcc.DB2Driver!jdbc:db2://"SERVERNAME":"PORT"/"DATABASE_NAME"!"+"";
    final String DATABASE_DLL = "crdb_jdbc.dll";
    //Obtain collection of tables from this database controller.
    Tables tables = databaseController.getDatabase().getTables();
    CommandTable commandTable=new CommandTable();
    //Set the datasource for all main report tables.
    for (int i = 0; i < tables.size(); i++) {
    ITable table = tables.getTable(i);
    //Keep existing name and alias.
    table.setName(table.getName());
    table.setAlias(table.getAlias());
    //Change properties that are different from the original datasource.
    table.setQualifiedName(TABLE_NAME_QUALIFIER + table.getName());
    //Change connection information properties.
    IConnectionInfo connectionInfo = table.getConnectionInfo();
    //Set new table connection property attributes.
    PropertyBag propertyBag = new PropertyBag();
    //Overwrite any existing properties with updated values.
    propertyBag.put("Trusted_Connection", "false");
    propertyBag.put("Server Name", SERVERNAME); //Optional property.
    propertyBag.put("Connection String", CONNECTION_STRING);
    propertyBag.put("Database Name", DATABASE_NAME);
    propertyBag.put("Server Type", "JDBC (JNDI)");
    propertyBag.put("URI", URI);
    propertyBag.put("Use JDBC", "true");
    propertyBag.put("Database DLL", DATABASE_DLL);
    connectionInfo.setAttributes(propertyBag);
    //Set database username and pasword.
    //NOTE: Even if these the username and password properties don't change when switching databases, the
    //database password is not saved in the report and must be set at runtime if the database is secured.
    connectionInfo.setUserName(DBUSERNAME);
    connectionInfo.setPassword(DBPASSWORD);
    connectionInfo.setKind(ConnectionInfoKind.SQL);
    //connectionInfo
    table.setConnectionInfo(connectionInfo);
    //Update old table in the report with the new table.
    databaseController.setTableLocation(table, tables.getTable(i));
    Regards,
    Shikha

    Hi,
    Fo business views please reffer to [Business Views Administrator's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_bv_admin_en.pdf]
    Yes, Crystal Reports 2008 can consume business views.
    Regards,
    Ramu.

  • Problem use SQL query in coding report with SBO

    Hi everyone!
    I have problem in execute query to delete and create a report with SQL 2000 in SAP.
    Try
            oForm.DataSources.DataTables.Item(0).ExecuteQuery("DELETE FROM rptReport")
    Catch ex As Exception
    End Try
             oForm.DataSources.DataTables.Add("TestReport")
             oForm.DataSources.DataTables.Item(0).ExecuteQuery("SELECT     Number, RefDate, Memo        into  rptReport   FROM         dbo.OJDT")
             oTable = oForm.DataSources.DataTables.Item("TestReport")
    This code is error. I don't know how to execute 2 this sql command. Hope everyone help me hix hix!  .

    /Invalid query tree  [300-33]. The SQL error is 8180/
    But search in SQL book hasn't got that err. Some person spoke ExecuteQuery property wasn't support Table Delete and Create, it only support simple Select... I tried to use Recordset but don't success. Can I use "Delete" and "Select ... Into..."   query another style??? Help me, please...!!!

  • SSRS 2008 R2 - Using Action to call a report with MultiValue Parameters

    I have a report uses project names as parameter(Multi value) and display some data. I want to call this report from some other report on a click (drill down). This report has a program row where it aggregates the data, underneath Programs, I have
    list of projects(group). When I use Action on the individual projects, it takes me to the appropriate project ( I used
    Fields!ProjectName.Value). However, when user clicks on the program, it should pass the group of projects within that program to the called report. With expression,  Fields!ProjectName.Value, it only select one random project (may be first/last from
    the query) and display records. I tried Join(Fields!ProjectName.Value, ",") and Fields!ProjectName.Value(0) but now it doesn't select a sengle project. Can someone help please?

    use In instead =

  • Using Forms 4.5 and Reports with MS-SQLServer as backEnd.

    Hi,
    I am to use Oracle Forms 4.5 as Front end tool against an MS-SQL
    Server 7.0 Database, Please Provide me some hint or code sample
    for doing so,
    Waiting for Reply.
    Thanks in Advance.
    Shahid.

    1. Check the tnsnames entry in forms 4.5 and 10g home
    2 open a command/dos prompt
    set the ORACLE_HOME (eg set %ORACLE_HOME%=C:\dev10g
    set the TNS_ADMIN
    3 Run tnsping <Enter your hostname>
    4 Also check if you have recently installed any virus scanner /any other appln
    5 Also run sqlplus from the command/dos prompt
    Rajesh Alex

  • Using Data-Dependent Routing in combination with Membership provider

    Hi there!
    Currently we have two Web applications running on azure using a single SQL database. We are experiencing problems with performance because we are using only one database. We are investigating some solutions like documentDB and elastic scale.
    DocumentDb seems like a really good option for us because it looks like it can be implemented easily and we know just what to do.
    With elastic scale on the other hand we have to figure out what our options are. We are using a membership provider for our users to login in one of the two applications. The other web applications does not use a membershipprovider, it does not use a login
    system at all.
    in the backend of our code we determine a subscription_id for both applications to retrieve tenant data.
    I think we have a few options here
    1. to keep using the membershipprovider we could create a database just for the login mechanism so we can determine the subscription_id, and with that subscription_id we can use Data-Dependent Routing to retrieve the correct data from the correct shard.
    2. We can add extra columns to the Shard Map Manager database (i think i've read that it's not supposed to be used for user data) like username and password so we can login through this database.
    Does anyone has better options than the options mentioned before and can anyone give me advise on how we should deal with these issues?
    Thanks!

    Elmar --
    The best approach would be to maintain the Membership DB in a separate Azure SQL database.  Then you could shard your transaction details across an Elastic Scale set of databases based on the subscription ID.   (The Shard Map Manager
    database is not designed to be extended with additional columns, and Elastic Scale works by caching that Shard Map data in the client application anyway, and those in-memory structures can't be changed).
    You would use an ordinary ADO.Net connection to query membership for a Subscription ID, and then get an appropriate shard-specific connection using the Elastic Scale GetOpenConnectionForKey method, passing the subscription ID retrieved from
    the membership query. 

  • Installing windows XP using discs supplied with virtual PC

    I am currently running Windows XP Home in Virtual PC under 10.3.9 in a powerbook G4. I want to upgrade to a new Macbook for Christmas.
    Can I use the Windows discs I purchased with Virtual PC to install Windows for the dual boot process?
    Thanks in advance
    Rob

    Hi Rob,
    it is indeed technically possible to use the Windows XP from Virtual PC.
    See here for procedure: http://www.macosxhints.com/article.php?story=20060527175405403
    But keep in mind that the Windows License does not allow you to use one Windows XP on two or more computers.
    And because of the Activation Process of XP they will find out...
    Good Luck
    Stefan

  • Multiprovider report problem

    Let me explain you the Multiprovider report with example .
    Multiprovider is created based on Basic cube and DSO . Basic cube has Billing doc number in line item dimension .
    DSO has Billing document number , Item number and Partner function as primary key.
    I have Created one diemension on Multiprovider where I have assigned Billing document number , and other 2 data fields from DSO which are not available in Cube .  Is it correct design ?
    DSO have below records ..  - Doc no , Item and PF are primary key of DSO .
    Billing doc no      Partner function     Personal Number    Customer number
    100                                 ER                                1
    100                                 Y1                                                              555
    100                                  Y2                                                              111
    In Cube I have below records -
    Billing doc no     Sales Org          Netvalue            Total sale         
    100                      001                      $ 3000               $3200
    200                        001                    $ 5000                $5100
    When I execute the report based on MP by partner function i should get below result.
    Billing doc   PF    Personal Number    Customer number  Netvalue   Total sales
    100             ER         1                              555                       3000          3200
    Is it possible ?
    Let me know if my question is not clear .
    Regard

    Hi
    Multiprovider is a union of infoproviders.So you can achieve the report you want by building a Multiprovider with the Cube and DSO.You have to assign the Billing doc no to both Cube and DSO during the craetion of the Multiprovider.
    When you execute the report on the MP on Purchase Order, all the values of Billing doc no will be fetched from both cube and DSO(as MP is a union).
    According you can set a filter to fetch only specfic data from a specific part-provider of the Multiprovider.
    Also At query Designer level a InfoObject : 0INFOPROV will be available which will give and option to fetch the data only from a specifi part provider of MP if required.
    help link : http://help.sap.com/saphelp_erp2004/helpdata/EN/52/1ddc37a3f57a07e10000009b38f889/content.htm
    Hope this helps!!
    Regards, Hyma

  • Error (ORA-01403) saveing data form a report with apex_item items

    Hi all,
    I've a problem saveing data that's inserted into a report which I created using apex_item items. Reproducing the exact issue on apex.oracle.com will take me a lot of time, and I don't know if I really can reproduce this matter... So I hope I can explain my problem clearly enough, here...
    The global story of the application is that its an application used for measureing objects. For these objects there are templates, with default properties. When measureing an object, the user must fill in those properties for the object. The report is build dynamicly, becouse each object has different properties and each property could be of an other kind (number, text, list, counter [=number field with add and substract buttons], and date). Depending on the type of the property, the report has to show an other item to fill.
    The query for constructing this report is like this:
    select defprop.proptyp_id,
    apex_item.hidden(41,defprop.id) defprop_id,
    defprop.nam,
    decode(proptyp.id,
                    1, apex_item.text(p_idx=>42,p_value=>''||
                        decode(defprop.srt, 'CONSTANT', (select WRD
                                                                            from    measurement_prop
                                                                            where    defprop_ID = defprop.id
                                                                            AND        measurement_id IN
                                                                                (SELECT ID
                                                                                FROM measurement
                                                                                WHERE OBJ_ID = obj.id
                                                                                AND DAT IN
                                                                                    (SELECT latest_date
                                                                                    from object_instance
                                                                                    WHERE ID = obj.id)))
                     ||'' ,p_attributes=>'class=case5_num'),
                    2, apex_item.text(p_idx=>42,p_value=>''||
                        decode(defprop.srt, 'CONSTANT', (select WRD
                                                                            from    measurement_prop
                                                                            where    defprop_ID = defprop.id
                                                                            AND        measurement_id IN
                                                                                (SELECT ID
                                                                                FROM measurement
                                                                                WHERE OBJ_ID = obj.id
                                                                                AND DAT IN
                                                                                    (SELECT latest_date
                                                                                    from object_instance
                                                                                    WHERE ID = obj.id)))
                     ||''),
                    3, apex_item.select_list_from_query(p_idx=>42,p_value=>''||
                        decode(defprop.srt, 'CONSTANT', (select WRD
                                                                            from    measurement_prop
                                                                            where    defprop_ID = defprop.id
                                                                            AND        measurement_id IN
                                                                                (SELECT ID
                                                                                FROM measurement
                                                                                WHERE OBJ_ID = obj.id
                                                                                AND DAT IN
                                                                                    (SELECT latest_date
                                                                                    from object_instance
                                                                                    WHERE ID = obj.id)))
                     ||'', p_query=> 'select wrd, id from property_typewrd where proptyp_id = ' || proptyp.id ||' order by vlgnum', p_show_null=> 'NO'),
                    4, apex_item.text(p_idx=>42,p_value=>''||
                        decode(defprop.srt, 'CONSTANT', (select WRD
                                                                            from    measurement_prop
                                                                            where    defprop_ID = defprop.id
                                                                            AND        measurement_id IN
                                                                                (SELECT ID
                                                                                FROM measurement
                                                                                WHERE OBJ_ID = obj.id
                                                                                AND DAT IN
                                                                                    (SELECT latest_date
                                                                                    from object_instance
                                                                                    WHERE ID = obj.id)))
                     ||'',p_attributes=>'class=case5_num')
                    || '<a name="add_f02" href="#"><img alt="add" src="#WORKSPACE_IMAGES#plusBig.gif"/></a>    '
                    || '<a name="sub_f02" href="#"><img alt="sub" src="#WORKSPACE_IMAGES#minusBig.gif"/></a>',
                    5, apex_item.date_popup(p_idx=>42, p_value=>''||
                        decode(defprop.srt, 'CONSTANT', (select WRD
                                                                            from    measurement_prop
                                                                            where    defprop_ID = defprop.id
                                                                            AND        measurement_id IN
                                                                                (SELECT ID
                                                                                FROM measurement
                                                                                WHERE OBJ_ID = obj.id
                                                                                AND DAT IN
                                                                                    (SELECT latest_date
                                                                                    from object_instance
                                                                                    WHERE ID = obj.id)))
                     ||''),
                    oms
                ) waarde
    from default_property defprop,
    object_instance obj,
    property_type proptyp
    where defprop.stdobjver_id = obj.stdobjver_id
    and defprop.proptyp_id = proptyp.id
    and obj.id = :P2200_ID_INVThis report works fine. Depending on the type of the property it shows a numberic field, text field, selectlist (with right values), counter field or date field.
    If the default property is set to a 'CONSTANT' value, the last known value is filled in.
    With a javascript I check the numberic field value and achieve the counterfield to add or substract values when 'plus' or 'minus' is clicked.
    This javascript is placed in the field 'Execute when Page Loads' in the page properties in APEX. Here is the code:
    /*Execute when page loads*/
    /*Allow only numbers */
    number_elem = $('input[name=f42].case5_num');
    number_elem.keypress(function(event) {
      if (event.which && (event.which < 46 || event.which > 57 || event.which == 47) && event.keyCode != 8) {
          event.preventDefault();
      if (event.which == 46 && $(this).val().indexOf('.') != -1) {
          event.preventDefault();
    //for mouse events, remove any non numeric characters
    number_elem.bind('mouseup mousedown mouseleave', function(event) {
       this.value = this.value.replace(/[^0-9]/g, '');
    /* Subtract Button */
    $('a[name="sub_f42"]').click( function() {
      number_elem = $(this).siblings('input[name=f42].case5_num');
      currVal = number_elem.val();
    if ( isNaN( currVal) ){
       elemVal = 0;
    else {
       elemVal = Number(currVal);
    if (elemVal > 0)
         number_elem.val(elemVal-1);
    else
    { elemVal = 0; }
    /* Add Button */
    $('a[name="add_f02"]').click( function() {
      number_elem = $(this).siblings('input[name=f42].case5_num');
      currVal = number_elem.val();
    if ( isNaN( currVal) ){
       elemVal = 0;
    else {
       elemVal = Number(currVal);
    number_elem.val(elemVal+1);
    });Those two codes makes my report works fine. So far I'm happy. But now I want the data, which the user fills in the items, to be saved.
    So I created a process that should do this for me (it wil run after the user hits a button), here is the code:
    declare
         v_objmet_id number := 0;     
    begin
         select measurment_seq.nextval
         into v_objmet_id
         from dual;
         insert into measurment
         ( id
         , obj_id
         , dat
         values
         ( v_objmet_id
         , :P2200_ID_INV
         , :P2200_METDAT_INV
         /*Loop trough the values (g_f42 holds the value of the property)*/     
         for i in 1 .. apex_application.g_f42.count loop
              /*g_f41 holds the key to the default property*/
              if apex_application.g_f41(i) is not null and
                   apex_application.g_f41(i) > 0 then
                   insert into measurment_prop
                   ( measrument_id
                   , defprop_id
                   , wrd)
                   values
                   ( v_objmet_id
                   , apex_application.g_f41(i)
                   , apex_application.g_f42(i)
              end if;
         end loop;
    end;After running this process, the application branches back to the page, clearing the cache and set some items I use for filtering an other report with their own values.
    Both the process and the branche have a 'when button pressed' condition, where the same button is filled in. The branche fires on submit: after processing.
    When I hit the button to save the data, I get an error: ORA-01403: no data found
    In the debug info I can find there is encountered an unhandeled exception in the process, but I don't know what's going wrong...
    I thought it could be something with the date field, I want to save, so I put it in a to_date() with the right format, but I still got the error...
    I've also checked if the query which fetches the nextval of the sequence is correct, and it is, no typeing error in the sequence name, or something.
    I'm using APEX 4.0.2
    Edited by: Mir on 28-jun-2011 10:25
    Changed some code of the javascript, it directed to the wrong item ID, now its correct

    My problem is solved. The error occured when application item g_f41 was accessed, so my application couldn't find the data, the user putted in there. I now pasted this part of the sql, to the other apex_item field, so it became one field and now it works correctly:
    select [...]
    apex_item.hidden(41,defprop.id) ||
    decode(proptyp.id,
                    1, apex_item.text(p_idx=>42,p_value=>''||
                        decode(defprop.srt, 'CONSTANT', (select WRD
                                                                            from    measurement_prop
                                                                            where    defprop_ID = defprop.id
                                                                            AND        measurement_id IN
                                                                                (SELECT ID
                                                                                FROM measurement
                                                                                WHERE OBJ_ID = obj.id
                                                                                AND DAT IN
                                                                                    (SELECT latest_date
                                                                                    from object_instance
                                                                                    WHERE ID = obj.id)))
    [... etc ...]

  • Report with multiple dimensions in Row and Column with EvEXP

    Hi
    We are currently running BPC 7.0 SP3 and try to create the report(or schedule) with more 2 x 2 dimensions in the row and column.
    e.g.
    row dimension : Outer row is Entity, Inner row is Account
    column dimension : Outer column is Time, Inner row is Category
    We created the report with  2 x 2 dimensions like above e.g. with EvEXP and EvNXP, NOT EvDRE
    based on default dynamic template:Template13.xlt(Nested Row, 2 x 1 dimensions defined by EvEXP and EvNXP formula).
    However, when expanding the dimension with double click these dimensions or change CV of the report with  2 x 2 dimensions defined by EvEXP and EvNXP formula,
    error occurs on EvEXP and EvNXP formula and can't retrieve the result correctly.
    [Question]
    Can't we create the report with more 2 x 2 dimensions in the row and column using EvEXP and EvNXP function ?
    We understand that we can make the report with more 2 x 2 dimensions in the row and column if using EvDRE.
    Thank You in advance
    Kenya

    Thank you for your advice.
    I understand that we should use EvDRE when creating the report with multiple dimension in the row/column because EvEXP have some erros, poor performance, etc.
    Then, we have two questions.
    1)
    >plus they had some errors in the designs.
    what kind of errors they have as an example?
    2)
    >If you must build the EVEXP and EVNXP, I would suggest building the template from scratch
    We built the simple template with just 2 x 2 dimension from scratch.
    But this report doesn't work well when double-click the dimension or changing CV...
    Would you please check the following template?
    <https://sapmats-de.sap-ag.de/download/download.cgi?id=RCZE1ME4YSORY3DCDO4NNMANZLBL1L5ZBUOB2F71YVNVS8XDJW>
    It would be greatly appreciated if you could give me your advice for the template.
    Thank you again
    And my best regards,
    Kenya

  • Report with radio button

    How to create an sql-report with a radio button for each record ?

    Set up LOV with
    Deptno label Deptno Value
    ACCOUNTING NEW YORK, 10
    RESEARCH DALLAS, 20
    SALES CHICAGO, 30
    OPERATIONS BOSTON, 40
    Make radio button group item PX_RADIO using the LOV PX_RADIO
    Make report with query
    Select col1, col2, etc., deptno From data_table Where deptno = :PX_RADIO.
    Have radio button item calculation
    Begin
    If :PX_RADIO is NULL then
    :PX_RADIO = 10;
    Else
    :PX_RADIO;
    End if;
    End;
    To set the default radio and table value for deptno when table loads,
    and update table to the new :PX_RADIO value when person clicks on a new radio button.

  • How to use intractive list in Alv REPORT

    how to use intractive list in Alv REPORT with example.
    thangs
    venki.......

    Hi
    using the USER_COMMAND we can move to the Secondary(interactive) list in the ALV
    see the sample code
    report yh645_secndry_alv.
    type-pools: slis.
    data: fieldcat type slis_t_fieldcat_alv,
    fieldcat_ln like line of fieldcat,
    fs_layout type slis_layout_alv,
    t_layoout like standard table
    of fs_layout.
    data: begin of fs_spfli,
    carrid type spfli-carrid,
    connid type spfli-connid,
    countryfr type spfli-countryfr,
    cityfrom type spfli-cityfrom,
    airpfrom type spfli-airpfrom,
    countryto type spfli-countryto,
    cityto type spfli-cityto,
    airpto type spfli-airpto,
    fltime type spfli-fltime,
    deptime type spfli-deptime,
    arrtime type spfli-arrtime,
    distance type spfli-distance,
    distid type spfli-distid,
    fltype type spfli-fltype,
    period type spfli-period,
    checkbox,
    color(3),
    end of fs_spfli.
    data:
    begin of fs_table,
    carrid type spfli-carrid,
    connid type spfli-connid,
    end of fs_table.
    data: begin of fs_sflight,
    check,
    color(3).
    include type sflight.
    data:end of fs_sflight.
    data:
    begin of fs_table1,
    carrid type sflight-carrid,
    connid type sflight-connid,
    fldate type sflight-fldate,
    end of fs_table1.
    data:
    t_spfli like standard table
    of fs_spfli.
    data:
    t_table like standard table
    of fs_table.
    data:
    t_table1 like standard table
    of fs_table1.
    data:
    t_sflight like standard table
    of fs_sflight.
    data:
    t_sbook like standard table
    of sbook.
    data t_layout type slis_layout_alv.
    select *
    into corresponding fields of table t_spfli
    from spfli.
    perform start_list_viewer.
    perform get_spfli_details.
    *& Form SUB1
    text
    -->RT_EXTAB text
    form sub1 using rt_extab type slis_t_extab.
    data: flight type slis_extab.
    flight-fcode = 'SFLIGHT'.
    append flight to rt_extab.
    set pf-status 'SFLIGHT'. " EXCLUDING RT_EXTAB.
    endform. "SUB1
    *& Form START_LIST_VIEWER
    text
    --> p1 text
    <-- p2 text
    form start_list_viewer .
    data: pgm like sy-repid.
    pgm = sy-repid.
    fs_layout-box_fieldname = 'CHECKBOX'.
    fs_layout-info_fieldname = 'COLOR'.
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
    i_callback_program = pgm
    i_callback_pf_status_set = 'SUB1'
    i_callback_user_command = 'USER_COMMAND'
    i_structure_name = 'SPFLI'
    is_layout = fs_layout
    tables
    t_outtab = t_spfli
    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. " START_LIST_VIEWER
    *******Process Call Back Events (Begin)**************************
    form user_command using ucomm like sy-ucomm
    selfield type slis_selfield.
    case ucomm.
    when 'SFLIGHT'.
    selfield-refresh = 'X'.
    perform get_spfli_details.
    select *
    from sflight
    into corresponding fields of table t_sflight
    for all entries in t_table
    where carrid eq t_table-carrid
    and connid eq t_table-connid.
    perform display_sflight.
    when 'SBOOK'.
    selfield-refresh = 'X'.
    perform get_sflight_details.
    select *
    from sbook
    into corresponding fields of table t_sbook
    for all entries in t_table1
    where carrid eq t_table1-carrid
    and connid eq t_table1-connid
    and fldate eq t_table1-fldate.
    perform display_sbook.
    endcase.
    endform. "USER_COMMAND
    *& Form SUB2
    text
    -->RT_EXTAB text
    form sub2 using rt_extab type slis_t_extab.
    data: flight type slis_extab.
    flight-fcode = 'SBOOK'.
    append flight to rt_extab.
    set pf-status 'SBOOK'. " EXCLUDING RT_EXTAB.
    endform. "SUB2
    *& Form DISPLAY_SFLIGHT
    text
    --> p1 text
    <-- p2 text
    form display_sflight .
    data: pgm like sy-repid.
    pgm = sy-repid.
    clear t_layout.
    fs_layout-box_fieldname = 'CHECK'.
    fs_layout-info_fieldname = 'COLOR'.
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
    i_callback_program = pgm
    i_callback_pf_status_set = 'SUB2'
    i_callback_user_command = 'USER_COMMAND'
    i_structure_name = 'SFLIGHT'
    is_layout = fs_layout
    tables
    t_outtab = t_sflight
    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. " DISPLAY_SFLIGHT
    *& Form GET_SPFLI_DETAILS
    text
    --> p1 text
    <-- p2 text
    form get_spfli_details .
    loop at t_spfli into fs_spfli.
    if fs_spfli-checkbox = 'X'.
    fs_spfli-color = 'C51'.
    fs_spfli-checkbox = '1'.
    fs_table-carrid = fs_spfli-carrid.
    fs_table-connid = fs_spfli-connid.
    append fs_table to t_table.
    modify t_spfli from fs_spfli.
    endif.
    endloop.
    endform. " GET_SFLIGHT_DETAILS
    *& Form GET_SFLIGHT_DETAILS
    text
    --> p1 text
    <-- p2 text
    form get_sflight_details .
    loop at t_sflight into fs_sflight.
    if fs_sflight-check = 'X'.
    fs_sflight-color = 'C71'.
    fs_sflight-check = '1'.
    fs_table1-carrid = fs_sflight-carrid.
    fs_table1-connid = fs_sflight-connid.
    fs_table1-fldate = fs_sflight-fldate.
    append fs_table1 to t_table1.
    modify t_sflight from fs_sflight.
    endif.
    endloop.
    endform. " GET_SFLIGHT_DETAILS
    *& Form DISPLAY_SBOOK
    text
    --> p1 text
    <-- p2 text
    form display_sbook .
    data: pgm like sy-repid.
    pgm = sy-repid.
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
    i_callback_program = pgm
    i_structure_name = 'SBOOK'
    tables
    t_outtab = t_sbook
    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. " DISPLAY_SBOOK
    Reward points for useful Answers
    Regards
    Anji

  • Reporting with BI

    Hi all, I am new to Oracle Business Intelligence. I have a project that I would have to use BI to design a reports with that will be updated automatically let say every 5 minutes to show a continue trend analysis of sales performance. Something similar to how Enterprise Manager reports database performance through a graph.
    Can BI help me design such kind of reports?

    well it's not necessary a web service. it can be just an interface that my java application can push the xml data in, and a pdf report file is generated.

  • 0Soursystem in a virtual provider

    We have 0Customer compounded with 0Soursystem to obtain unique customer numbers.
    I have taken a 3.x infosource which successfully populates a standard cube and used this as the source for a virtual provider.
    The problem is that 0Soursystem shows as unassigned in the virtual provider.
    I have tried changing the transfer rules to pass a constant value to the VP but 0Soursystem still is not populated.
    Any suggestions would be appreciated.
    Alex

    *"Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    *"Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • Virtual provider and cumulative key figure

    Hi guru,
    Is it possible to use a cumulative key figure in a virtual provider?
    Thanks a lot

    Hi
    Non cumulative key fig is not a part of Fact table ,it is a part of Infocube defination which is calulated on the basis of inflow and out flow whic are essentialy KF avail in the factable of the Infocube
    NonCumulative kF Is calculated within InfoCube defination using exp. Agg. on last value  and last inflow substracting outflow .
    Inview of the above VP will not be able to contain NCkey Figure

Maybe you are looking for

  • Error 503--Service Unavailable. Error while Test the webservice

    Hi... I created a webservice and deply it into a remote weblogic server. It deployed there and when I click on Test client, it shows this error. Error 503--Service Unavailable From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.5.4 503 Service

  • InfoSet Query: Syntax Error while generating the program.

    Dear All, I have a Query in CRM system which contains an Infoset based on LDB. The InfoSet Query throws up a Syntax error while generating the program. So, we are not able to change the Infoset using the Infoset Query through SQ01. The error is as fo

  • OSX Mountain Lion keeps Crashing (MBP 2010)

    I just upgraded to Mountain Lion from Snow Leopard on my 2010 Macbook Pro. However it keeps crashing randomly during the day particularly when I try to access the remote file access on my University website Below is the error report Any help will be

  • Hooking up power mac to digital tv

    is it a good idea to hook up a powermac g5 to a digital tv. i was thinking about buying a 32 inch tv. i was wondering what i would need to buy to hook this up and if it would be good for video editing?

  • Accessing VB Code using JNI

    Can access functions implemented in Visual Basic from a Java program using JNI? I was thinking like, since there's no .h file concept in VB, we can't access VB code from Java. Correct me if i am wrong.... Thanks, Vasu