Join Problem LIKP,LIPS,VBRK and VBRP

Hi,
i am working on the SAP Query report. But having problem in creating joins between the following tables
LIKP
LIPS
VBRK
VBRP
please guide me
regard
khurram

LIKP
LIPS
VBRK
VBRP
select a~ b~ c~ d~ into corresponding fields of table itab from likp as a inner join
LIPS as b on a~VBELN = b~VBELN
VBRK as c~VBELN = a~VBELN
VBRP as d~VBELN = a~~VBELN.
also check the first condition  a~VBELN = b~(KDAUF,VBELV,VGBEL,WKTNR)
second condition a~VBELN = c~SFAKN
third condition a~VBELN = d~(AUBEL,VBELV,VGBEL,VGBEL_EX)
hope it solves...

Similar Messages

  • Select from vbak, vbrk and vbrp

    Hi experts,
    In one of my programs i hve to select the data from tables <b>VBAK, VBRK</b> and <b>VBRP.</b>
    The requirement is:
    <b>parameters: p_matnr like vbrp-matnr,
                p_charg like vbrp-charg.
    select-options: audat for vbak-audat.</b>
    upon entering the values on selection-screen,
    i need to select <b>FKDAT, FKIMG</b> from tables VBRK and VBRP respectively.
    Please help me in writing the selection.
    Any help is appreciated.
    Thanks a lot.

    Hi,
    Hope this will give u some idea..
    select avbeln bfkdat into table itab from vbak as a inner join
                                  vbrk as b on
                                  avbeln = bvbeln where
                                  a~audat in s_audat.
    if not itab[] is initial.
    select fkimg into corresponding fields of table itab_final
                  from vbrp for all entries in itab
                  where vbeln = itab-vbeln and
                        matnr = p_matnr and
                        charg = p_charg.
    endif.
    Cheer,
    Vikram
    Pls reward fopr helpful replies!!

  • How to update the VBFA table without entries in VBRK and VBRP tables

    Hello,
    I have a requirement , where the sales order , delivery happens in one SAP system say X system and billing document wil happens in other sap system say Y.
    Now in this particular case , if the user want to know the billing document number in X system. what would be the solution.
    Is there any possibility to update the VBFA table with invoice number of Y system (without updating the VBRK and VBRP tables).
    User want to see the billing doc number from sales order in the form of document flow in X system
    Thanks in advance
    Pradeep

    Hii
    Without updating VBRK/VBRP table and updating VBFA is not possible, So you have to play with work arround to create one Z TABLE, so whenever system Y will create billing document with the reference of System X data you have to update Ztable with Invoice number created in System Y, The primary key will be in Z TABLE is Delivery document number to track one to one with billing doc.
    Thanks and Regards
    Shambhu Sarkar

  • Vbrk and Vbrp tables performance problem

    Hi all,
    The below query is taking lot of time in QAS i need to decrease the time without affecting the logic.....
      SELECT vbrk~kunag
           vbkd~bstkd
           vbkd~bstdk
           INTO TABLE c_tab_po FROM vbrp
           INNER JOIN vbrk ON vbrkmandt = vbrpmandt AND vbrk~vbeln =
           vbrp~vbeln
           INNER JOIN vbkd ON vbkdmandt = vbrpmandt AND vbkd~vbeln =
           vbrp~aubel
                              AND vbkd~posnr = con_zposnr
           WHERE vbrp~vbeln EQ nast-objky.
      DELETE ADJACENT DUPLICATES FROM c_tab_po COMPARING ALL FIELDS.
    *Getting the other Invoices based on the customer PO number
      IF c_tab_po[] IS NOT INITIAL.
        SELECT
        vbrk~kunag
        vbkd~bstkd
        vbkd~bstdk
        vbkdposex_e vbrkvkorg
        vbrpvbeln vbrpposnr vbrp~erdat
               vbpakunnr vbrpaubel vbrpaupos vbakerdat
               vbrpmatnr vbrkmwsbk vbrp~netwr
               vbrkvaldt vbrkzterm vbrk~vbtyp
                INTO TABLE g_tab_invoice FROM vbrp
                INNER JOIN vbrk ON vbrkmandt = vbrpmandt AND vbrk~vbeln =
                vbrp~vbeln
                INNER JOIN vbkd ON vbkdmandt = vbrpmandt AND vbkd~vbeln =
                vbrp~aubel
                               AND vbkd~posnr = con_zposnr
                INNER JOIN vbpa ON vbpamandt = vbrpmandt AND vbpa~vbeln =
                vbrp~aubel
                               AND vbpaposnr = con_zposnr AND vbpaparvw =
                               con_parvw
                INNER JOIN vbak ON vbakmandt = vbakmandt AND vbak~vbeln =
                vbrp~aubel
                FOR ALL entries IN c_tab_po
                    WHERE vbrk~kunag EQ c_tab_po-kunag AND
                    vbkd~bstkd EQ c_tab_po-bstkd AND
                    vbkd~bstdk EQ c_tab_po-bstdk.
      ENDIF.

    Hi Younus,
    First join seems to be oku2026
    But you are querying Db tables multiple times to avoid this.
    Fetch the fields
    vbkdposex_e vbrkvkorg
    vbrpvbeln vbrpposnr vbrp~erdat
    vbrpaubel vbrpaupos
    vbrpmatnr vbrkmwsbk vbrp~netwr
    vbrkvaldt vbrkzterm vbrk~vbtyp
    in the first join itself.
    SELECT vbrk~kunag
    vbkd~bstkd
    vbkd~bstdk
    vbkd~posex_e vbrk~vkorg
    vbrp~vbeln vbrp~posnr vbrp~erdat
    vbrp~aubel vbrp~aupos
    vbrp~matnr vbrk~mwsbk vbrp~netwr
    vbrk~valdt vbrk~zterm vbrk~vbtyp
    INTO TABLE c_tab_po FROM vbrp
    INNER JOIN vbrk ON vbrk~mandt = vbrp~mandt AND vbrk~vbeln =
    vbrp~vbeln
    INNER JOIN vbkd ON vbkd~mandt = vbrp~mandt AND vbkd~vbeln =
    vbrp~aubel
    AND vbkd~posnr = con_zposnr
    WHERE vbrp~vbeln EQ nast-objky.
    then Just join VBPA & VBAK and get required data.
    Thanks,
    Sudha

  • Find total quantity from vbrk and vbrp

    Hi frinds doing a report to display sales in 3 month 6 month snd past 12 months but didnt get logic to find out
    here is my code
    SELECT vbrk~vbeln
             vbrk~fkdat
             vbrp~fkimg
             vbrp~matnr
             vbrp~werks
             INTO CORRESPONDING FIELDS OF TABLE iquan
             FROM vbrk INNER JOIN
             vbrp ON vbrkvbeln = vbrpvbeln
             WHERE vbrk~fkdat >= w_date " w_date =past 12month
               AND vbrp~matnr IN s_matnr  " = imatr-matnr
               AND vbrp~werks IN s_werks. " = imatr-werks
    **now how to find the total sales quantity
    i tried in this way its not working "iquan is same as iquan1 with added added sales field.
      LOOP AT iquan.
        READ TABLE iquan1 WITH KEY matnr = iquan-matnr
                                   werks = iquan-werks.
        IF sy-subrc = 0.
          IF w_date3 LE iquan-fkdat.
            w_tot3 = w_tot3 + iquan-fkimg.
          ELSEIF
            w_date2 LE iquan-fkdat.
            w_tot2 = w_tot2 + iquan-fkimg.
          ELSEIF
            w_date1 LE iquan-fkdat.
            w_tot1 = w_tot1 + iquan-fkimg.
          ENDIF.
          iquan-sale12 = w_tot1.
          iquan-sale6 = w_tot2.
          iquan-sale3 = w_tot3.
        ENDIF.
        MODIFY iquan.
      ENDLOOP.
    *PLs pls pls pls help me with code or suggestion
    0ut put shpuld be
    material plant sales 3months  6months 12 months
    01        0040    130          00.00    120
    regards

    Hi Farukh,
    Try this code. This will definitely help you.
    <b>REPORT ZTEST .</b>
    <b>TABLES:</b> VBRK,
            VBRP.
    <b>SELECT-OPTIONS :</b>
    s_matnr FOR VBRP-MATNR,
    S_WERKS FOR VBRP-WERKS.
    <b>DATA:</b> BEGIN OF STRUCT,
    matnr LIKE vbrp-matnr,
    werks LIKE vbrp-werks,
    vbeln LIKE vbrk-vbeln,
    fkdat LIKE vbrk-fkdat,
    fkimg LIKE vbrp-fkimg,
    sale6 LIKE vbrp-fkimg,
    sale12 LIKE vbrp-fkimg,
    sale3 LIKE vbrp-fkimg,
    END OF STRUCT,
    IQUAN LIKE TABLE OF STRUCT WITH HEADER LINE,
    IQUAN1 LIKE TABLE OF IQUAN WITH HEADER LINE.
    <b>DATA:</b> w_tot1 LIKE iquan-fkimg,
          w_tot2 LIKE iquan-fkimg,
          w_tot3 LIKE iquan-fkimg.
    <b>DATA:</b>  W_DATE1 LIKE SY-DATUM,
          W_DATE2 LIKE SY-DATUM,
          W_DATE3 LIKE SY-DATUM.
    **assign dates
    W_DATE1 = '20051107' .
    W_DATE2 = '20060507' .
    W_DATE3 = '20060807'.
    <b>SELECT</b> vbrk~vbeln
    vbrk~fkdat
    vbrp~fkimg
    vbrp~matnr
    vbrp~werks
    INTO CORRESPONDING FIELDS OF TABLE iquan
    FROM vbrk INNER JOIN
    vbrp ON vbrkvbeln = vbrpvbeln
    WHERE vbrk~fkdat >= w_date1     " w_date1 =past 12month
    AND vbrp~matnr IN s_matnr       " = imatr-matnr
    AND vbrp~werks IN s_werks.      " = imatr-werks
    <b>SORT</b> IQUAN BY MATNR WERKS.
    IQUAN1[] = IQUAN[].
    <b>LOOP AT iquan.</b>
      READ TABLE iquan1 WITH KEY matnr = iquan-matnr
      werks = iquan-werks.
      IF sy-subrc = 0.
    "w_date3 : PAST 3 MONTHS
        IF w_date3 LE iquan-fkdat.   
          w_tot3 = w_tot3 + iquan-fkimg.
        ELSEIF
    "w_date2 : PAST 6 MONTHS
        w_date2 LE iquan-fkdat.               
          w_tot2 = w_tot2 + iquan-fkimg.
        ELSEIF
    "w_date1 : PAST 12 MONTHS
        w_date1 LE iquan-fkdat.
          w_tot1 = w_tot1 + iquan-fkimg.      
        ENDIF.
        iquan-SALE12 = w_tot1.
        iquan-sale6 = w_tot2.
        iquan-Sale3 = w_tot3.
      ENDIF.
    <b> MODIFY iquan.</b>
    ENDLOOP.
    <b>LOOP AT IQUAN.</b>
    STRUCT = IQUAN.
    <b>AT END OF WERKS.</b>
    <b>WRITE:/</b>
           STRUCT-matnr, ' ',
           STRUCT-werks, ' ',
           STRUCT-sale6, ' ',
           STRUCT-sale12, ' ',
           STRUCT-sale3.
    ENDAT.
    <b>ENDLOOP.</b>
    <b>The output is:</b>
    9767A002AA           3201         10,255.000               0.000               0.000
    C9138-60001          3201         10,255.000           2,000.000               0.000
    C9361-30001          3201         10,255.000           2,004.000               0.000
    Hope this will solve your purpose.
    Regards,
    Pragya

  • "How to sum FKIMG in VBRK and VBRP Table with sample output

    Sir\Mam\Gurus ;
    I hardly found it difficult in resolving my program in getting the sum of FKIMG inside the VBRP and VBRK tables
    The scenario is that i have one Sales Order with multiple invoices . What i need to do is to sum up the fkimg or the quanitity of specific material regardless of how many invoices the material have in a particular SO
    Example I have Sales Order number 35678952 with
    3 invoices
    Invoice # 123 with material number mat1=12, mat2=5 , mat3=7
    345 with material number mat1=7, mat2=7
    678 with material number mat1=5, mat3=10
    Output shoud be
    salesorder# 35678952
    mat1 = 24
    mat2 = 12
    mat3 = 17
    Below is my Sample Codes:
    DATA : it_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    ls_vbrp_details TYPE wa_vbrp_details,
    ls_vbrp_details1 TYPE wa_vbrp_details,
    lsfinal_vbrp_details TYPE wa_vbrp_details,
    it2_vbrp_details TYPE STANDARD TABLE OF wa2_vbrp_details,
    ls2_vbrp_details TYPE wa2_vbrp_details,
    it3_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    itfinal1_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    itfinal2_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    itfinal3_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    ls3_vbrp_details TYPE wa_vbrp_details,
    rtime1 TYPE i,
    rtime2 TYPE i,
    rtime3 TYPE i,
    s_erdate type d,
    scr_erdat type d,
    s_erdate = scr_erdat.
    CALL FUNCTION 'MONTH_PLUS_DETERMINE'
    EXPORTING
    months = 1 " Negative to subtract from old date, positive to add
    olddate = s_erdate
    IMPORTING
    newdate = new_date.
    """ This is another way manual adding by days
    CALL FUNCTION 'CALCULATE_DATE'
    EXPORTING
    days = +30
    start_date = s_erdate
    IMPORTING
    result_date = new_date.
    result_date = ddate.
    REFRESH: it_vbrp_details.
    SELECT
    vbrp~matnr
    vbrp~aubel
    vbrp~aupos
    vbrp~vbeln
    vbrp~kzwi1
    vbrp~kzwi2
    vbrp~kzwi3
    vbrp~kzwi4
    vbrp~kzwi5
    vbrp~kzwi6
    vbrp~mvgr1
    vbrp~mvgr2
    vbrp~mvgr3
    vbrp~mvgr4
    vbrp~mvgr5
    vbrp~knuma_pi
    vbrp~knuma_ag
    vbrp~mwsbp
    vbrp~vkaus
    vbrp~fkimg
    vbrk~vbeln
    vbrk~fkart
    vbrk~belnr
    vbrk~xblnr
    vbrk~vbtyp
    vbrk~kunag
    vbrk~fksto
    vbap~posnr
    INTO TABLE it_vbrp_details
    FROM vbrp INNER JOIN vbrk ON vbrkvbeln EQ vbrpvbeln
    where vbeln eq gt_data-vbeln
    where vbrpaubel eq vbapvbeln
    WHERE vbrp~posnr GE ''
    AND vbrk~vbtyp EQ 'M'
    AND vbrk~fksto NE 'X'
    AND ( vbrperdat GE s_erdate OR vbrperdat LE new_date OR vbrp~erdat IN s_erdat ) " + JP 09 19 2011 Additional Optimization
    ORDER BY aubel aupos .
    ORDER BY aubel aupos matnr.
    """" This where i need your help Sir\Mam\Gurus
    it3_vbrp_details = it_vbrp_details.
    SORT it3_vbrp_details BY aubel matnr fkimg kzwi1 kzwi2 kzwi3 kzwi4 kzwi5 kzwi6 aupos vbeln
    mvgr1 mvgr2 mvgr3 mvgr4 mvgr5 knuma_pi knuma_ag mwsbp vkaus fkart belnr vbtyp kunag fksto.
    LOOP AT it3_vbrp_details INTO ls_vbrp_details.
    COLLECT ls_vbrp_details INTO itfinal1_vbrp_details.
    APPEND ls_vbrp_details TO it_vbrp_details.
    ENDLOOP.
    kzwi1,kzwi2,kzwi3 is also been sum up
    Sir the output is something like this
    Sales Ord# Material Qty KWIZ1 KWIZ2 KWIZ3 MGVR1 VBELN
    1234       Mat1     24  23.2  22    12           LastInvoice#
    1234       Mat2     12  20.0  21    15           LastInvoice#  
    1234       Mat3     37  22.0  22    16           LastInvoice#
    5432       Mat1     30  25.0  23    15           LastInvoice#
    5432       Mat2     24  22.0  24    23           LastInvoice#
    5432       Mat3     20  18.0  20    12           LastInvoice#
    Hope you can help me as i cant hardy sleep thinking of this ...
    I will really appreciate your great help..
    Thanks !
    I will really appreciate your great help..
    Thanks !
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Sep 20, 2011 3:05 PM

    Hi,
      How you want to display the output?..
    If you want to display the output as mentioned below, then you have to use nested loop & dynamic field assignments to get result.
    Output column
    sales order     Mat1 Mat2 Mat3 ......
    1234               24    12     37
    Kindly let me know, if you have any questions
    Regards,
    S.Senthilkumar

  • Amount is different in VBRK and VBRP

    For currency USD, why the amount posted to NETWR in VBRK is correct and amount posted to NETWR in VBRP is with 2 decimal places. Example, total of 226.472,0000 USD but posted as 22.647.200,00.

    Hi,
    1> Please check the decimal notation settings under default tab for the user under transaction SU3.
    2> If your condition rate currency is different than document currency, exchange rate will be applied during the condition value calculation.  Exch rate * TCURF-FFACT  = VBRK-KURRF (In case of billing doc).   So plz check the TCURF table FFACT value whether is 1 or 100.  It should be 100 for no decimal currencies (Such as JPY, TWD)
    Regards,
    P Gomatheeswaran

  • How to get invoice data(VBRK and VBRP)

    Hi, guru:
    Would like to ask one thing:
    customer system will pass ECC invoice id, and base on that do we have any SAP standard BAPI or function module which can get all the details for that invoice(header and items both).
    I tried BAPI_billingdoc_getdetail, however I can only get data for header(VARK)
    Thanks heaps!
    Eric

    is ECC a legal number maintained in the J*** transaction. then you can fetch if from there.

  • Combinataion between VBRK AND LIPS

    hi,
    I have a requirement, where i have to combine two tables , which doesnt have any field in common. but i have to combine the tables
    VBRK and LIPS.
    from lips
    i have to select matnr and lfimg.
    from  vbrk, i have to take vkorg,vtweg, kunrg.
    how can i take the materials from lips for the partiicular VKORG or KUNRG.?
    the only possible link, i have got is linking vbuk with both the tables.since the vbuk-vbeln hold the vbeln of  both these tables.
    i m not willing to use join also.
    I prefer for all entries.
    can some one help me out with the codes.

    hi,
    DATA:it_lips LIKE lips OCCURS 0 WITH HEADER LINE.
    DATA:it_vbrp LIKE vbrp OCCURS 0 WITH HEADER LINE.
    DATA:it_vbrk LIKE vbrk OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
      SELECT * FROM lips
      INTO TABLE it_lips
    UP TO 1000 ROWS.
    *where vbeln in s_vbeln and matnr in s_matnr.
      IF NOT it_lips[] IS INITIAL.
        SELECT * FROM vbrp INTO TABLE it_vbrp
        FOR ALL ENTRIES IN it_lips
        WHERE vgbel = it_lips-vbeln
        AND vgpos = it_lips-posnr
        AND   vgtyp = 'J'.
      ENDIF.
      IF NOT it_vbrp[] IS INITIAL.
        SELECT * FROM vbrk INTO TABLE it_vbrk
        FOR ALL ENTRIES IN it_vbrp
        WHERE vbeln = it_vbrp-vbeln.
      ENDIF.
      LOOP AT it_vbrk.
        WRITE: / it_vbrk-vbeln,it_vbrk-vkorg,it_vbrk-vtweg,it_vbrk-kunrg.
      ENDLOOP.
    ( If you are not getting entries into it_lips means you have to use conversion exit function module for vbeln in the tbale s_vbeln )
    Regds
    Sivaparvathi
    Please dont forget to reward points if helpful..
    Edited by: Siva Parvathi on Jan 10, 2008 8:50 AM

  • HT6114 Joined problem labels Labels to color everyone in the line archives mp3 and selection in dots as it exists now can be anyone who wants to do what HELPS of how thoroughly enjoyable.

    Joined problem labels Labels to color everyone in the line archives mp3 and selection in dots as it exists now can be anyone who wants to do what HELPS of how thoroughly enjoyable.

    Sp188585 wrote:
    Joined problem labels Labels to color everyone in the line archives mp3 and selection in dots as it exists now can be anyone who wants to do what HELPS of how thoroughly enjoyable.
    Sorry, you will have to outline your issues more clearly.
    Thanks
    Pete

  • Relation between RV61A structure and VBRP,VBRK,KONV

    Hi Gurus,
    My requirement is i need to get RV61A -KOEIN values.Currently i have tables VBRP,VBRK and KONV which i have connected . Now i need a relation to connect RV61A with either of these tables.
    Also i need to connect tables KOMP-NETWR , KOMK-WAERK with these tables.
    How to connect these tables.

    Hi Abhishek,
    Just see my post in this thread. Hope it will be helpful for you.
    Re: Determining relationships between tables
    Thanks
    Nitesh

  • New airport: can't get my macbook or my imac to join my wireless automatically, my other stuff still joins without problems but i have to join manually with the book and the imac ?? I've tried all the settings and every thing else I can think of.....

    new airport: can't get my macbook or my imac to join my wireless automatically, my other stuff still joins without problems but i have to join manually with the book and the imac ?? I've tried all the settings and every thing else I can think of.....
    Running on Lion, never had a problem before until the old airport died and I replaced it.

    try connecting the device in _*recovery mode*_, then restore from your backup.
    also, make sure [_*Apple Mobile Device Service*_|http://support.apple.com/kb/TS1567] is installed and started.
    JGG

  • Table relations between vbrk and bkpf for  Accounting Document Number

    hello,
    i am using 4 tables to get data into my programs.
    vbrk,vbrp konv and bkpf.
    i want to get belnr from bkpf.i found relation between vbrk and belnr.but in vbrk table belnr's value is initial.
    can anybody tell me that how should i relate vbrk and bkpf or how to get Accounting Document Number(belnr) from bkpf for Billing Document(vbeln).
    regards,
    soniya s.

    hi,
    chekc this. its working for me.
    data : WA_AWKEY LIKE BKPF-AWKEY.
    data :  WA_BELNR LIKE BKPF-BELNR.
    data : LENGTH TYPE I.
    *BREAK MTABAP.
    LENGTH = STRLEN( IT_VBRK-VBELN ).
    if  LENGTH = '10' .
    MOVE it_vbrk-VBELN TO WA_AWKEY.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR.
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY .
    else.
    CONCATENATE '0' it_vbrk-vbeln INTO wa_awkey.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR .
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY.
    endif.

  • Sales Report problem with 2LIS_11_VAHDR, 2LIS_11_VAITM and other DS

    Hi Experts,
    I need your help in following topic. I have a requirement to build a big (overall) sales report in BI (NW2004s).
    I would like to use BI Content because I'm running out of time and try to use all preconfigured stuff if possible.
    In the requirement a bunch of fields of different SD DataSources are used (mostly 2LIS_11_VAHDR and 2LIS_11_VAITM but also some fields of other Datasources).
    In SE16 I know how to locate all the field in the tables VBAK, VBAP, KNA1, VBKD,
    LIKP, VBRK and of course some texts. Some fields could already be located by me, others couldn't even be found in BI.
    The difficulty I have is to bring all the DataSources together so that the data is displayed correct - even if there are redundant parts.
    For example:
    For sales orders the doc no, sales org, distr. channel (and a lot of other header data) should be displayed in each line together with item data such as item no., material code, quantity (and a lot of other item data). If an order has multiple items each item should be diplayed in one row in the report.
    In the Query the report should look like a common table (e.g. as in an ALV Grid if you model a query with SQ01) --> a lot of columns.
    I'm not sure if I should use one big DSO with multiple InfoSources or if I should create a MultiCube and add the BI DSOs 0SD_O03 (Orders) and 0SD_O01(Order Items).
    I know this is a very common requirement in SD. Do you know how to combine the most common SD datasources that no issues come up?
    Thank you very much in advance,
    Horst
    Message was edited by:
            Horst Henkel

    Hi Horst,
    Reporting on ODS / DSo is slow. I'm here at a cleint where we have lots of reports on SD_O01 and SD_O03. The best way to have good  query performance is to build cubes on top of your ODS. Build a sales cube on top of SD_O03 with all fields and a billing cube on top of SD_O01. Load the data from your ODS to your new cubes. Then create a multipovider on top of both cubes, identify the keyfigures and characteristics required for your queries. Build the queries on top of the multiprovider.
    You can display all items of a bill in one row if you choose drill-across for the irems in the query, instead of drill-down. So it looks for a standard SD report.
    Regards,
    Juergen

  • Problem Getting Error Code and Description in Alerts

    We are having trouble getting the Error code and Error description in the Alerts and we're having trouble getting a alert for message mapping exceptions.  I have read through the BLOGs and the help on SAP.  I'm not sure it is something to do with the configuration or SP14.  We did not have these problems with SP12 at our other customer XI implementations.
    Background -
    We have setup an "XI Alert" classification with three Alert categories -"XI_Mapping_Error", "XI_Adapter_Error", "XI_Runtime_Error". 
    For the "XI_Mapping_Error" alert category, we have setup a rule so that any Integration Engine Application Mapping.* Error code will create an alert.  However, when we have a mapping error in XI which we can see in MONI, we do not get an alert.  The checkbox for "Suppress Multiple Alerts of this Rule" is not selected.  I am not sure why we're not getting the alert.
    For the "XI_Adapter_Error" alert category, we have setup a rule so that any Adapter Engine * adapter type will create an alert.  The alert gets created - however, some of the container variables do not get poulated in the email.  We have defined Container variables pointing to the corresponding ABAP data dictionary elements - i have double checked these definitions.
    Here is an alert email - the Error Code (SXMS_ERROR_CODE -  SXMSERRTX) and Error Category (SXMS_ERROR_CAT - SXMSERRCAT) are not being extracted:
    Alert ID: ##23896##
    Error Code =
    Error Category =
    Message ID = 1506eab0-6125-11da-9ba2-00505685 Time = 14:26:12 Date = 29.11.2005
    Sender Party =
    Sender Service = BS_CPI
    Sender Interface = MI_CPI_INV_RFC_REQ_ABS
    Receiver Party =
    Receiver Service = BS_CPI
    Receiver Interface =
    We are not able to figure out why the Alert framework is not working correctly.  We are running XI 3.0 SP 14 on Win2K, SQL 2000.
    Anyone encounter these problems?  Any help would be appreciated.
    Regards,
    Jay Malla

    >> There are some problems with SP 14 and the alert framework.
    Very true! Join the team!
    >> We applied Note 876546 which triggered certain alerts that were not getting triggered. However, we're not getting the Error code and Error Description in some of the alerts.
    Jay, This note is specifically for a situation where the 'where did the error occur' set to No Restriction. I don't think anything else is included in this fix .01 to patch 0.9 of SPS 12 of XI 3.0!!!
    My problem is that even the messageID variable is not getting replaced!!! In SP12 everything was perfect. After SP14, the errors are coming almost instantaneously to the inbox, but without any variable replacement.
    Best of luck,
    Kannan

Maybe you are looking for

  • Search not working in HTML Help

    We are working in RobHelp for Word 6 on a very large legacy project. The source material consists of 25 large Word documents. Using MS Office Word 2003 to edit the source documents. We produce output in HTML and Web Help formats. In the HTLM (a singl

  • How do I download a song from my girlfriends iTunes library to my iPod touch?

    There are a couple of tunes my girlfriend has in her iTunes library that I would like to download to my iPod touch. Both her and my library are both on the same mac. Is it possible to do this?

  • MTS file playback in CS6

    I upgraded to CS6 on my editing machine from CS5. When I import an MTS file into CS6 and play it back on the timeline the playback drops frames and the sync between video and audio lags and drops out. I can do the exact same thing with the exact same

  • When i call another iphone it doesn't offer facetime

    How do i sent my iphone 4 that when i call an iphone 4 it ask me if i want to facetime with caller? I figured it would do it automaticlly when i enter them in my contacts using iphone. I am also using wifi at the time of calls.

  • Using a Pages template

    When trying to use a template in pages, I have access to edit the first page, but can't "find" the subsequent pages. I am trying to use a newsletter template.