Dupilcate Records in Multiprovider report

Hi All,
I am getting dupliucate records while reorting on MP. My requirement like below.
In first Cube i have fleds like Job, Project, KF1, KF2
Second Cube I have Job, qualification, KF3 (this key figure not required in report). Job will be having mulitple qualifaction.
I need in report like below. assume that the Job1 having 3 qualifications
Job, qualification, project, KF1, KF2
J1, Q1,P1,50,50
    ,Q2
    ,Q3
But in this case i think Selct options is not useful.
now i am getting data like below, but i need result in single row.
J1, NA,P1,50,50
J1,Q1,,,,
    ,Q2,,,,
    ,Q3,,,,
please hele

This is bcoz you don't have all the common fields in your infocubes.
Job is the only filed common in the infocube.
Some Characteristics like project is only available in one Cube, similarly and qualification field is only available in other Cube.
If a Multiprovider is created on top of these two infocubes. Common chars are identified from both cubes; others can be identified only from the respective cubes.
When we build a query on this Multiprovider, keeping a char which is not part of both cubes will create an other line with # or NA values present in that column.
In the query designer create a new selection on the KF.
Inside that, maintain description and drag the keyfigure from left pane to selection pane, drag characteristic "jobu201D into the selection. In the context menu of job, choose u201Cconstant selectionu201D option.
repeat the same for all the KFs.
for more details chk the below link
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70dcd7b5-6a3d-2d10-c984-e835e37071a2?quicklink=index&overridelayout=true
Regards
KP

Similar Messages

  • 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

  • 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.

  • Need help on filtering out one record from a report and open in new page

    Hi I am new and embarrassed to write in the forum asking silly questions. Thing is I am learning all from scratch without help from anyone. I have created a database (have previous knowledge only from Access) and have managed to create a beautiful report from a search filter. This report lines up several records matching what I needed. Now, I want to make the whole report with hyperlinks to a detailed page on each of the records in the report. I have tried using the feature where one can make one column hyperlinked and redirect to a new page, where I am getting all the records again - instead of only getting the record I am clicking on. I have looked and looked in the forums without finding solution and I have tested and tried various methods without luck. I am suspecting that I need some sort of knowledge on how to write a select query with where conditions that can apply to filtering out a record from one report to get another detailed on only one object (i.e. record). :/ Stupid or what?

    Hrefna.
    What you need to look into is two things:
    1) The link you defined, needs to set additional attributes for the target page. In the "Column Link" box, you have set the link to "Page in this Application" and followed by the page number (let's say, Page 10). Below that, you should set an Item to an item on you target page (let's call that P10_PRODUCT_ID). This item should be the primary key of your detail table (on the targe page). You can select this item from the popup list. The Value of the item should be picked from a popup list as well, being the value from the record you clicked on. This should then transfer your selected item to your page. The URL will then have something like P10_PRODUCT_ID:5 at the end.
    2) On the target page, 10, you must change the query slightly, so that it adds a WHERE clause:
    WHERE PRODUCT_ID = :P10_PRODUCT_ID
    Now, you should be set.
    Hope this helps.
    Borkur

  • How to refresh after delete the records in ALV report ?

    Hi Friends,
    How to refresh after delete the records in ALV report.
    I am deleting records in ALV report .
    After successful delete the screen should refresh.
    u201C Deleted records should not appear in the screen u201C.
    Please guide me.
    Regards,
    Subash

    Hi subhash,
    FORM user_command USING r_ucomm LIKE sy-ucomm      rs_selfield TYPE slis_selfield.
    WHEN 'BACK'.
    Refresh the internal table from the ALV grid
          PERFORM update_alv_tab.
    ENDFORM.                    "user_command
    FORM update_alv_tab .
      DATA :  e_grid TYPE REF TO cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = e_grid.
      CALL METHOD e_grid->check_changed_data.
      "update_alv_tab
      CALL METHOD e_grid->refresh_table_display.
    ENDFORM.                    " UPDATE_ALV_TAB
    Then see in Debug mode is it updating or not..
    Please confirm .
    And please paste the code if you can.
    Regards.

  • How to create a link to another transaction on a record in ALV report.

    Hi All,
    I have an ALV report output ,if i click on any record in the report i want it to show me the details of the record which is another transaction code in my case.So basically i want to execute that T-code on clicking on the record of the ALV report.
    How can i achieve this ,please provide me the insight with same helpful examples.
    Thanks in advance,
    Swati

    Hi,
    This solution is for the ALV by Function Module Appraoch.
    You need to use the Importing Parameter I_CALLBACK_USER_COMMAND, of the FM Reuse_ALV_GRID_DISPLAY(or LIST Display) for this.
    Slis_ev_user_command TYPE slis_formname VALUE 'USER_COMMAND'.
    As this is a frequently-used Callback event, the form routine can also be passed directly in the interface by passing the user command in the IMPORTING parameter I_CALLBACK_USER_COMMAND.
    This is an exit subroutine and takes care of the Interactive aspect of the ALV. When User performs any action in the displayed ALV, Control automatically goes to this Subroutine.
    The interface of the form routine specified must be defined as follows:
                 FORM user_command  USING r_ucomm LIKE sy-ucomm
                                          rs_selfield TYPE slis_selfield.
         Parameter R_UCOMM contains the function code triggered.
         Structure RS_SELFIELD contains the following information:
    o     tabname  :      Name of the internal output table
    o     tabindex :       Index of the internal output table
    o     fieldname:      Field name
    o     endsum   :     Cursor is located on the totals line
    o     sumindex :     If >0, the cursor is located on a subtotals line
    o     value    :        Value of the field on the list
    o     refresh  :       (Exporting) List should be set up again
    o     col_stable:   (Exporting) Keep column position when list is set up    again
    o     row_stable:   (Exporting) Keep row position when list is set up again
    o     exit      :        (Exporting) Exit list (and ALV)
    o              before_action: Call before standard action execution
    o              after_action : Call after standard action execution, before list    setup
    o              ignore_multi : Internal use
    o              sel_tab_field: Internal use
    The EXIT routine is called whenever a function unknown to the ALV is   triggered or if the routine call before/after the execution of a  standard function code has been defined by interface parameter.
    Ok code for double click is &IC1 for ALV report.
    Eg:
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
    Name of the program
        I_CALLBACK_PROGRAM                    = V_REPID
    title
        I_GRID_TITLE                          = 'Details of Storing'
    calls subroutine : PF_STATUS_SET
           i_callback_pf_status_set           = 'PF_STATUS_SET'
    Calls subroutine : user_command
            i_callback_user_command           = 'USER_COMMAND'
    Overall structure of the report
           IS_LAYOUT                          = STRUCT_LAYOUT
    Passes the field catg internal table
           IT_FIELDCAT                        = I_FIELDCAT
    Passws the sort sequence internal table
           IT_SORT                            = IT_SORT
           I_DEFAULT                          = 'X'
           I_SAVE                             = 'A'
    Passes the internal table for variants
           IS_VARIANT                         = i_variant1
    fetches different events into internal table i_events
           it_events                          = i_events[]
          TABLES
    Passes data table for ALV display
            T_OUTTAB                          = I_TAB
         EXCEPTIONS
           PROGRAM_ERROR                      = 1
           OTHERS                             = 2
    *&      Form  user_command
    Form used to handle USER_COMMAND events
    rf_ucomm: Function Code
    rs      : Internal Table containing the selection information.
    FORM user_command USING rf_ucomm LIKE sy-ucomm
                              rs TYPE slis_selfield.
    data : v_mblnr like mseg-mblnr.
    case rf_ucomm.
    A custom pushbutton for record deletion is set in the GUI status.
    When a record is selected , the field BOC for that record becomes 'X'.
    The records are traced and deleted and the fields are refreshed( rs
    of type slis_selfield is refreshed)
    when '&DEL'.                 "Print button clicked.
        delete i_tab where box = 'X'.
         rs-refresh = 'X'.
    When the user selects a row and presses the Select pushbutton ( user
    defined ) from the application toolbar, the details of the document
    will be shown in another ALV list
    when '&SEL'.
      PERFORM SUB_SELECT_DOCUMENT.
      set parameter id 'MBN'  field  i_tab-mblnr.
      call transaction 'MB03'.
    Ok code for double click is &IC1 for ALV report
    when '&IC1'.
      perform sub_hotspot.
    endcase.
    ENDFORM.
    *&      Form  SUB_HOTSPOT
          text
    -->  p1        text
    <--  p2        text
    form SUB_HOTSPOT.
    message i398(00) with 'Hello'.
    endform.                    " SUB_HOTSPOT

  • 2 IDs called from wwv_flow_files, as one record in a report??

    In my app I have 2 File Broswers( 1 for REMEDY_NAME and 1 for INSTRUCTIONS_NAME), 1 SUBMIT button and on click, 2 new records are added to the 'wwv_flow_files' table. As stated in the How To: Build File Up/Download App (figure 11) ,I created a page process to insert both file names and subjects at once into one row in 'file_subjects' table.
    The next part is where I am having trouble.<br>
    I need to "alter the SQL Report region to join to the additional attributes table."
    I can easily do this for one file but not two. The sql I have:<br>
    select w.id,s.REMEDY_NAME,s.REMEDY_SUBJECT,s.INSTRUCTIONS_NAME,s.INSTRUCTION_SUBJECT from wwv_flow_files w,DBA_PATCH_LOG s where w.name = s.REMEDY_NAME<br>
    is incomplete because it does not inlcude the id for INSTRUCTIONS_NAME. Any suggestions on how I could call this second id along with the first one as one record in a report? Does this make sense? I would like my report to look like this with both downloads linking to different files ofcourse:<br>
    download Remedy1[b] RemedySubjectdownload Instruction1[b] InstructionSubject.<br>
    Thanks.

    My sql for my report is:<br>
    select<br>
    w.id,s.REMEDY_NAME,w.id,s.INSTRUCTIONS_NAME from wwv_flow_files w,DBA_PATCH_LOG s where w.name = s.REMEDY_NAME or w.name = s.INSTRUCTIONS_NAME<br>
    <br>
    It produces<br>
    .....ID.....REMEDY.....ID......INSTRUCTIONS<br>
    ..11111......AAA.......11111..........BBB.......<br>
    ..22222......AAA.......22222..........BBB.......<br><br>
    but what I need is:<br>
    .....ID.....REMEDY.....ID......INSTRUCTIONS<br>
    ..11111......AAA.......22222..........BBB.......<br><br>
    To recap, I am trying to create an upload/download app that will upload two files at once. Right now I have two file browsers working by inserting two files, with one submit, as two new records into into the 'wwv_flow_files' table. On my report I want to display both records in one row.

  • Link from Account record to specific report

    Hi,
    I have created a single account overview report. Now I want to link from specific account records to that report (embedded analytics).
    I have set up the web link but need to change either the link or the report so that it is generated only for the specific account record from where I have clicked the link.
    Ideas are highly appreciated.
    Thanks!
    Søren

    Søren,
    I have a document that details how to link a report to a webapplet so for each account record you get a report based upon that account. I'm happy to send it to you, but do not want to be spammed, so email me at alex.neill@ (use Homepage details on my profile)
    regards
    alex

  • Need help Updating Records in a Report Region

    We have created some javascript to check a drop down used in a report region.
    This is the way the report is supposed to work:
    The first time the user comes to this screen he will go down the list and select a value of '1' or '2' for col2.
    When col2 drop down has a value of 1 then we want to disable col3 and col4.
    Then the user will click on the Submit button.
    When he clicks on the Submit button then we want to set col4 to have a value of sysdate in the database table for any record where col2 had a value of 1.
    The next time the user comes to this screen he will select values for col3 and col4 of the records that col2 had a value of 2 (meaning col3 and col4 are enabled)
    This works fine if there is only one record in the report region.
    The problem is when we have more than one record.
    for example:
    Say we have two records...
    for record1 the user selects '1' for col2 and for record2 the user selects '2' for col2.
    When the user clicks on the Submit button col3 and col4 get disabled and col4 gets set to sysdate for record1, while col3 and col4 remain available but empty (because the user has not made a selection for these columns at this point) for record2.
    When the user comes back to this screen he now selects a value for col3 and picks a date for col4 for record2. When he clicks on the Submit button the value for col3 and the date entered in col4 for record2 should get updated in the database table and it is but the col3 value and the col4 date is being inverted with record1's data for some reason.
    Can you please tell me how to fix this?
    This is what the user has selected on the screen:
    (COL2) (COL3) (COL4)
    Requested? Granted? Response Date
    Record1 NO - 13-APR-09
    Record2 YES YES 20-APR-09
    After the user clicks on the Submit button this is how the screen displays it back:
    (COL2) (COL3) (COL4)
    Requested? Granted? Response Date
    Record1 NO YES 20-APR-09
    Record2 YES N/A 13-APR-09
    I am including the code from my update staement below:
    DECLARE
    A_ID NUMBER;
    requested NUMBER;
    grnted NUMBER;
    respdate DATE;
    f01 = AID ID
    f02 = REQUESTED YES OR NO
    F03 = GRANTED YES OR NO
    F04 = RESPONSE DATE
    BEGIN
    FOR i IN 1..HTMLDB_APPLICATION.G_F01.COUNT LOOP
    BEGIN
    A_ID      := HTMLDB_APPLICATION.G_F01(i); -- this is hidden
    requested := HTMLDB_APPLICATION.G_F02(i); -- (YES or NO)
    grnted := HTMLDB_APPLICATION.G_F03(i); -- (YES or NO)
    respdate := to_date(HTMLDB_APPLICATION.G_F04(i),'MM/DD/YYYY');
    EXCEPTION
    WHEN OTHERS THEN
    A_ID      := HTMLDB_APPLICATION.G_F01(i); -- this is hidden
    requested := HTMLDB_APPLICATION.G_F02(i); -- (YES or NO)
    grnted := 3; -- (YES or NO)
    respdate := sysdate;
    END;
    UPDATE TBL_AIT
    SET b_requested_id = requested,
    b_granted_id = grnted,
    b_response_date = respdate
    WHERE ait_id = A_ID;
    END LOOP;
    END;

    Hi,
    Any disabled items are not submitted with the page - therefore, your f03 and f04 collections would be one value short. This is a browser feature rather than an Apex feature.
    You can get around this by enabling all items before the submit takes place. Have a look at: Re: A better method of handling tabular forms with variable column type? This is for disabling items mainly, but includes an enableItems() javascript function that should help you.
    Andy

  • How to inlcude all records in a report, with a formula result of 0 or 0?

    I'm reporting on classes scheduled for a certain location, and calculating the number of available seats per class. A formula will give me the net seats available (Max seats-count of students). BUT if there are no students enrolled, class does not appear on the report. Formula is {SCHEDULES.qy_sch_max} - Count ({WAITING_LISTS.no_emp}, {SCHEDULES.cd_crs)
    What am I missing? Currently using Crystal 8.5 and reporting against a SQL database.
    Appreciate your help.
    christi

A: How to inlcude all records in a report, with a formula result of 0 or >0?

thanks, Sanjay - been there done that.
basically, I need to show the net result for the open seats available,which will be the same as the max seats offered.
I tried the following:
If Isnull{WAITING_LISTS.no_emp}
then {@Open}={SCHEDULES.qy_sch_max}
else
{SCHEDULES.qy_sch_max} - Count ({WAITING_LISTS.no_emp}, {SCHEDULES.cd_crs})
and got a message "Missing the then".  (@Open is the formula title)

thanks, Sanjay - been there done that.
basically, I need to show the net result for the open seats available,which will be the same as the max seats offered.
I tried the following:
If Isnull{WAITING_LISTS.no_emp}
then {@Open}={SCHEDULES.qy_sch_max}
else
{SCHEDULES.qy_sch_max} - Count ({WAITING_LISTS.no_emp}, {SCHEDULES.cd_crs})
and got a message "Missing the then".  (@Open is the formula title)

  • Get entire record from Crystal report viewer

    Hi,
    I'm using Crystal 2008 .Net components to view reports from within an application.
    I would like to write a custom drill down event so that users can link back from a record on the report they are previewing to somewhere else in the application. In order to do this I need access to the whole record's data for the object that they clicked on.
    It's not really much good if I just have the value, name and table of the field they clicked on, since it is probably not a unique value within that table, and therefore I couldn't drill back to the specific record they selected. Also, if it's not a database field in the first place then I have no way of going anywhere. But if I can get the whole record they are on then I'll already know which primary key field I want, and I could then get the appropriate value from the record.
    Is this possible?
    Richard

    You can get at specific objects using events,  but not a whole record.
    Can't think of any way of doign this at all...
    Ludek

  • Pass Records to Oracle Reports

    Hi,
    Lets say that I've already fetched a set of records on Oracle Form, I want to pass these records to a Report " on the Report I don't wana use range or where clause to give me these records"
    In other way I just want to pass these records on the reports.
    Any ideas how to do that please?
    Thanks!

    Francesco,
    If you need to send output to the cache, the easiest way to do this is to use the UTL_HTTP package in the database to request a report using a URL just as you would do in a browser. By submitting the request to the report server, you can execute these requests in parallel (unlike srw.run_report, which runs one thing at a time) and also control resource consumption.
    If you output the data in XML format, Reports won't generate an empty page for output. (On the other hand, it will generate a file containing XML....)
    Hope this helps,
    Stewart

  • How can I numbered the records in the report

    Hi, can anyone please show me how do I number the records in the reports in the Report Builder?
    Thank you.

    Hi,
    Follow the following steps:
    1. Create a summary column in the data model of the report.
    2. Select the function as Count.
    3. Select the source for which you want to generate the serial no.
    4.Reset the column at Report level.
    5. Now create a field in the paper layout of the report and select this summary column as the source. The field should be in the same repeating frame as its source.
    This will generate the nos. as reqd.
    Swati

  • When pressing the "R" on the keyboard to record the following pop up - "Beta-only warning message-not to be localized Can't create record files please report" and then this "error occurred Result= -48"  What does this mean?

    When pressing the "R" key on the keyboard to record the following pops up - "Beta-only warning message-not to be localized.  Can't create record file, Please Report"  I press O.K. and this pops up - "Error occurred Result= -48".  Can't figure out why.  First time I have every had problems>  What's up with this?

    a -48 error is a duplicate filename.
    the first things i'd try are the oddball problems fixes:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • How to Pass Record Group to Reports Server ?

    How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
    We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
    How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    Thanks,

    how come the online help in forms 10g says you can?
    or am I missing something.
    there is a section on it.
    >
    Passing Record Groups to Reports or Graphics
    You can pass a record group to Reports or Graphics as a DATA parameter. This DATA parameter is a special type of parameter that gives a signal to the integration code to substitute the contents of the record group whose name you give for the results of the query named by the query name you indicate.

  • Maybe you are looking for

    • How to Read the "text file and csv file" through powershell Scripts

      Hi All i need to add a multiple users in a particular Group through powershell Script how to read the text and CSV files in powershell am completly new to Powershell scripts any one pls respond ASAP.with step by step process pls Regards: Rajeshreddy.

    • Form will not open with adobe reader when using chrome and mozilla

      The form opens fine in internet explorer, but when opened with chrome and mozilla it says that parts of the document could not be displayed and the 'submit form' and 'print' functions do not work? how do I get it so that the forms open with adobe rea

    • Digitized music not transferring from iTunes to iPod

      I've been transferring and digitizing all my old cassettes onto my computer. It works great and plays fine in iTunes, but it won't load onto the iPod. It's in mp3 format like all the other music on my iPod. Any ideas or suggestions as to what to do t

    • Base Photoshop version (4.0) won't lod on 64 bit computer

      I first bought Photoshop 4.0 many years ago.  Upgraded to 6.0 and finally CS2.  I want to load Photoshop on my new computer but it won't accept the 4.0 full version. What does Adobe offer its long term customers in this case? Thanks Kurt Schoelman

    • Cost repoting

      Current state-Interfaces built in between SAP payroll and ECC that brings in each employees cost into their cost centre. Future State-Cost reporting is at cost centre, plant, equipment and functional level . How can this be covered?