Multiple Joins between 2 folders - when change condition value

Hi
I have created a report that joins 3 tables. The join between 2 of them gave me the option of two possible joins. I selected one and the report runs OK.
There is a condition in the report that uses one of the fields from one of the tables that has multiple join paths.
If I change the value of the condition from e.g. field = 04 to field = 05, then I get the error 'multiple join paths between folders'.
If I disable the multiple join path detection it runs ok and the query matches the original one.
However, do you know why I would get this error by just changing the value within an existing condition where the join path was already selected?
Thanks
GB

Hi,
Everytime when you change the value of the column, discoverer re-generates the query and hence asks for the Multiple joins.
You can disable this option in Discoverer Desktop.
Go to Tools > Options > Advanced > Uncheck "Multilpe Join Path Detection".
Cheers!
Yogini

Similar Messages

  • Multiple Joins Between Folders

    Hi Gurus,
    I have a fact table which contains multiple candidate fields that can be joined to a lookup table
    2 folders
    fact_table
    lookup_table1
    2 Joins are possible between the two folders
    fact_table.code_combination_id -> lookup_table1.code_combination_id
    fact_table.accrual_code_combination_id -> lookup_table1.code_combination_id
    When I try to create a workbook and include fields from the fact table, then include fields from the lookup table it asks me to choose the join.
    If I then want to add fields based on the second join it won't ask me which join to use in future. It appears to assume the first join is still in affect between the two folders for the report. I know I can create another folder using the same lookup table and move one of the existing joins from the current folder to the new folder. Am I missing something or is this the only way to go?
    Regards,
    John

    Hi John,
    Interesting issue. This is how we resolved it in my last job.
    Folders created:
    Fact table: AR Fact
    Lookup folder: Code Combination Lookup
    Lookup folder: Accrual Code Combination Lookup
    Then join AR Fact to each lookup folder. Generally, point the lookup folder to the AR Fact folder when creating the joins. Discoverer will like that direction best. As additional code combination types are referenced, add additional code combination folders. All of those folders come from the same lookup table. The only thing that is different is the column joined to in AR Fact.
    So, in the end, your joins would be:
    Code Combination Lookup.code_combination_id -> AR Fact.code_combination_id
    Accrual Code Combination Lookup.code_combination_id -> AR Fact.accrual_code_combination_id
    Hope this helps.
    Regards,
    Nancy

  • BAPI_SALESDATA_CREATEFROMDAT2 Changing Condition Value

    Hi,
      when I use  BAPI_SALESDATA_CREATEFROMDAT2  to changeing condition value
      wa_order_conditions_in-itm_number  = '000010'.
      wa_order_conditions_in-COND_ST_NO  = '010'.  
      wa_order_conditions_in-COND_COUNT  = '01'. 
      wa_order_conditions_in-cond_type   = 'PR01'.
      wa_order_conditions_in-applicatio  = 'V'. 
      wa_order_conditions_in-cond_value  = '1900'.
      wa_order_conditions_in-currency    = 'RMB'.
      wa_order_conditions_in-cond_p_unt  = '1'.
      wa_order_conditions_in-cond_unit   = 'PC'.
      wa_order_conditions_inx-itm_number = '000010'.
      wa_order_conditions_inx-COND_ST_NO = '010'.  
      wa_order_conditions_inx-COND_COUNT = '01'.    
      wa_order_conditions_inx-cond_type  = 'PR01'.
      wa_order_conditions_inx-updateflag = 'U'.
      wa_order_conditions_inx-cond_value = 'X'.
      wa_order_conditions_inx-currency   = 'X'.
      wa_order_conditions_inx-cond_p_unt = 'X'.
      wa_order_conditions_inx-cond_unit  = 'x'.
      APPEND wa_order_conditions_inx TO  
             i_order_conditions_inx.
      APPEND wa_order_conditions_in TO
             i_order_conditions_in.
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
           EXPORTING
                order_header_in      = wa_order_header_in
                order_header_inx     = wa_order_header_inx
           IMPORTING
                salesdocument        = salesdocument
           TABLES
                order_conditions_in  = i_order_conditions_in
                order_conditions_inx = i_order_conditions_inx.
    run it i get a Sales order when i look the item conditions
    i found it add a new condition line like :
      PR01 1800.00  RMB ... (automatic price which can
                             be deleted and modifide manual  
                            in 'VA02')
      PR01 1900.00  RMB ... (I expected)
    but I only want to get one line
      PR01 1900.00  RMB ...
      now i don't know the reason,
      my version is R/3 3.6C
      wa_order_conditions_in-itm_number = '000010'.
      wa_order_conditions_in-COND_ST_NO = '010'.  
      wa_order_conditions_in-COND_COUNT = '01'. 
    '000010','010', '01'
      is found in BAPISDORDER_GETDETAILEDLIST by creat in va01 and look it in BAPISDORDER_GETDETAILEDLIST.

    Hi Pan!
    The handling of the conditions is quite tricky. Have a look at OSS 593246 for some hints.
    Have also a look in some other linked topics:
    BAPI_SALESORDER_CHANGE conditions
    BAPI_SALESORDER_CHANGE- No Pricing Condition Change
    Regards,
    Christian

  • Change condition value in debit memo and credit memo

    Hi Experts,
    When I am trying to create Credit Memo/Debit memo I could able to change the condition value for which condition type the value is there in Sales Order, but where as for other condition types it is not changeable.
    For example for Freight the Condition type is ZFRE,  value is 100 rs in sales order 90000001.
    If I create credit memo with reference to sales order I can able to change freight value from rs100 to rs 75.
    But what to do If I do not maintain freight value initially in sales order and if I want to adjust freight value ZFRE as rs 60 in credit memo. Presently I could not able to enter values in C/D Memo.
    Hope my question is clear to you all.
    Thanks & Regards
    Naresh

    Hi Naresh
    If I understand correctly,  then you want to include the freight amount automatically in the Credit memo which was not featuring in the Credit memo request.
    If it is so, then first see which is Pricing procedure working  for your Credit memo Request.
    In the Pricing Procedure, check the freight condition type (e,g. KF00).
    See the what is Acees sequence assigned to it and in the Access sequence what are table assigned.
    In  condition type KF00,  Access sequence assigned is KF00 and two condition tables "Incoterm" and "Incoterm Part1 + Part2" are assigned to it.
    In the Access sequnce of your Freight condition type , add another/new condition table "350" (Sales organisation). This table is already available in standard system.
    Select the new condition table row, and click on the "Field" in the dialog box till the technical names are opened up / shown inspite of warning.
    Once the technical names of the fields are shown , you can see the green light there, then save it.
    Now, create a condition record (VK11) for your Freight condition (e,g. KF00) by choosing the "Sales organisation" level  from the key combination.
    Then go to the Copy control (VTFA), find the combination "G2 from CR "> go to Item level > select item category G2N and go to details.
    Here, you change the "Pricing type" value to " H " and save it.
    Now, when you will create a Credit memo with reference to the Credit memo request, the  new Freight condition (KF00) will come into effect in the Credit memo, even if ,it was not there in the reference document.

  • Userexit at Billing Save to change condition value

    Hi
    My requirment to look for some userexit/enhancement etc. , which will work at the time of billing save (before passing to accounting)  where i can change the condition values (KOMV-KWERT) at item level for particular condition type.
    Regards/Rakesh

    Dear Rakesh,
    Try with these User Exits
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
    EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
    EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
    EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
    EXIT_SAPLV60B_007: Change the installment plan
    You can use exit 007 to add information to the installment plan
    parameters in the GL account item.
    EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
    After the accounting document is filled in with data, you can use exit 008 to change the document once again.
    EXIT_SAPLV60B_010: Item table for customer lines
    You can use exit 10 to influence the contents of customer lines before they are created.
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    You can use this exit to change inbound parameters in order to influence account determination.
    I hope this will help you,
    Regards,
    Murali.

  • Changing  Condition values and Condition currency of PO to local currency.

    Dear Friends,
    I have a weird request.
    I have  a PO which has been created in USD. My local currency is INR.
    Normally, when i display the PO, under conditions tab, the condition values and currency will be displayed in USD.
    My requirement is like, i want to change and simulate the condition values in USD to local currency (INR) based on current exchange rate.
    Is there any way i can simulate the same. Kindly help.
    Thanks and Regards
    Sandeep Sivan

    I am not sure that it can be done through the config. You can change the values with the correct user exit and change the values accordingly before the values are displayed.
    Regards,
    FS

  • BAPI_PO_CHANGE, changing condition value in the purchase order

    Hi Friends,
    I have a requirement,
    a flat file is present in the application server that contains the information about PO,PO-ITEM,Condition type, movement type , condition value, plant, storage location .
    And i m calling the bapi "BAPI_PO_CHANGE" and passing the po number to it.
    the bapi returns the following tables, i_return, i_header,i_cond, i_item,i_itemx.
    But the purpose of calling the BAPI is, to check, if the condition value in the specified PO is '0', then it has to replace with the value of condition type present in the flat file.
    But when we check the tablei_return, its shows error type.
    And the PO is not updated with the new  condition value.
    Help me out in sorting this problem, by telling me
    what value is to be passed to the respective BAPI and what should i do to solve the issue?
    and after that i m using a BAPI " BAPI_GOODSMOVEMENT_CREATE".
    and it is for the purpose of creating the GR(Goods Receipt),
    when i go through the i_return table of the bapi, it si returning a message that "BAPI_201  Unable to create goods movement".
    Help me in proving the input to those bapi's and how can i get the expected output?
    And let me know, what the bapi's ,"BAPI_COMMIIT" and " BAPI_ROLLBACK" , will be doing?
    Edited by: kumar t on Aug 9, 2008 1:02 PM

    HI
    [Check the Link|http://abap.wikiprog.com/wiki/BAPI_PO_CHANGE]
    [Commit|http://abap.wikiprog.com/wiki/BAPI_TRANSACTION_COMMIT]
    [Roll Back|http://abap.wikiprog.com/wiki/BAPI_TRANSACTION_ROLLBACK]
    Regards
    Pavan

  • Dump when changing the value for a field (of 13 decimals) in alv grid.

    Hi Group,
    Its giving a dump when user is trying to change the value.
    dump description: Unable to interpret "70,000 " as a number.
    what is happening here is, the original value is 50,000 and he is deleting 5 and replacing it with 7, here its throwing the dump.
    If he removes the complete number 50,000 and then gives 70000 its  taking the value.
    I tried to use, the decimals options in alv field catalog but to no joy.
    Please can you give me an advice on this.
    Many Thanks.

    the problem is the comma in the 70,000....that's an alpha character.... Normally, we expect SAP to display numeric fields in a appropriate format, based upon their numeric type, but trying to forcibly insert '70,000' into a true numeric-type field can generate an 'unable to interpret xxx,xxxx  as number' error.
    You could experiment with changing your ALV column to a char17 (or appropriate width) and putting your numeric value into that to display, then converting back to type P, or other field type in the table, in a column that is not displayed, when the user changes the value....  essentially two columns, one not displayed with a routine to copy/convert the numeric field into the alpha field and the reverse when the field is changed.
    But, the better solution is probably for the user to understand that they're seeing a formatted numeric field, and that they need to replace the entire value with the only possible punctuation being a decimal and (if necessary) a negative sign.

  • BAPI_PO_CHANGE - Change Condition Value

    Hi,
    I want to change the Condition value for a particular Condition type using BAPI_PO_CHANGE.
    I am populating values for following
    Import parameters
    PURCHASEORDER
    POHEADER (Fields PO_NUMBER)
    POHEADERX (Fields PO_PO_NUMBER = X)
    Tables
    POITEM (Fields PO_ITEM, PLANT, STGE_LOC
    POITEMX (Field PO_ITEM, PO_ITEMX = X, PLANT = X, STGE_LOC= X)
    POCOND (Fields COND_TYPE, COND_VALUE, CURRENCY)
    POCONDX (Fields COND_TYPE = X, COND_VALUE = X, CURRENCY = X)
    But PO condition value is not getting changed...
    Regards,
    Balaji Viswanath.

    Hi,
    I got the answer from Naren's earlier post... Given the answer below...
    Hi,
    I believe you can use this BAPI to PO conditions..
    Check this code..
    PARAMETERS: p_ebeln LIKE ekko-ebeln.
    DATA: t_poitem LIKE bapimepoitem OCCURS 0 WITH HEADER LINE.
    DATA: t_poitemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE.
    DATA: t_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: t_cond LIKE bapimepocond OCCURS 0 WITH HEADER LINE.
    DATA: t_condx LIKE bapimepocondx OCCURS 0 WITH HEADER LINE.
    t_poitem-po_item = '00010'.
    t_poitem-net_price = '17.00'.
    APPEND t_poitem.
    t_poitemx-po_item = '00010'.
    t_poitemx-net_price = 'X'.
    t_poitemx-po_itemx = 'X'.
    APPEND t_poitemx.
    t_cond-itm_number = '00010'.
    t_cond-cond_type = 'P000'.
    t_cond-cond_value = '17.00'.
    t_cond-currency = 'USD'.
    t_cond-change_id = 'U'.
    APPEND t_cond.
    t_condx-itm_number = '00010'.
    t_condx-itm_numberx = 'X'.
    t_condx-cond_type = 'X'.
    t_condx-cond_value = 'X'.
    t_condx-currency = 'X'.
    t_cond-change_id = 'X'.
    APPEND t_condx.
    CALL FUNCTION 'BAPI_PO_CHANGE'
    EXPORTING
    purchaseorder = p_ebeln
    TABLES
    return = t_return
    poitem = t_poitem
    poitemx = t_poitemx
    pocond = t_cond
    pocondx = t_condx.
    COMMIT WORK.
    The above code works fine for me...
    Thanks,
    Naren

  • Change condition value in PO after GR

    HI all,
    how can i change the freight condition value  in PO after making  GR for partial quantity.
    we want to change the freight for the next GR.
    thanks

    Hello Laxman,
      The PO can be reversed, change the freight condition and repost it.
      Alternately, the extra amount of freight can be entered as unplanned delivery cost in LIV (MIRO).
    Thanks,
    Venu

  • BEx crashes when changing variable values

    Hi all,
    We're having a problem with BEx.
    It crashes when trying to change variable values.
    We've been looking into syslogs and dev logs and so on,
    and found that the cpic connection has been disconnected
    before the crash. BUT we cannnot find out what is actually
    disconnecting the session.
    Well, at least F/W wasn' the cause. Have check the logs.
    Any ideas? Thx in advance!
    Yuko
    Below is our info.
    BEx: BI 7.10 sp7
    BI: BI 7.0 SAPKW70017
    <BI syslog at the time of BEx crash>
    15:40:36 RD                                 Q0  I Operating system call recv failed (error no. 232 )
    15:40:36 RD                                 S2  3 Connection to CPI-C client 586 was closed
    15:40:36 RD                                 S7  4 > Partner LU name:
    15:40:36 RD                                 S0  R > Host: 172.19.xx.xxx
    15:40:36 RD                                 S0  I > Partner TP Name: EXCEL
    15:40:36 DIA  000 500 BIB103                R4  9 Communication error, CPIC return code 020, SAP return code 223
    15:40:36 DIA  000 500 BIB103                R5  A > Conversation ID: 82142217
    15:40:36 DIA  000 500 BIB103                R6  4 > CPI-C function: CMSEND(SAP)
    <dev_rd log trace level 3>
    GWRD LOOP **********
    I'm in GwReceive
    SiSelPSelect: start select (timeout=20000)
    Thu Apr  9 15:40:36 2009
    SiSelPNext: an error occurred in sock 31
    NiSelISelectInt: error detected on hdl 18 / sock 31
    NiSelIListInsert: add hdl 18 [17] to sel-list (0) of set0
    NiSelISelectInt: 1 handles selected (0 buffered)
    main: NiSelNext (ni_hdl=18, read=1, write=0, connect=0, hdl_info=0x6000000000587400)
    request from CLIENT
    GwRequest: request from client 586
    GwGetMemory: allocated 0x600000000089bee0 (len=34615)
    NiHsLGetHostName: found address 172.19.xx.xxx in cache
    ***LOG Q0I=> NiIRead: recv (232: Connection reset by peer) [nixxi.cpp 4423]
    ERROR => NiIRead: SiRecv failed for hdl 18 / sock 31
        (SI_ECONN_BROKEN/232; I4; ST; 172.19.xx.xxx:1097) [nixxi.cpp    4423]
    Adresse   Offset  bad request
    GwSaveErrInfo2: save err info (225)
    ***LOG S23=> GwIDisconnectClient, client disconnected (586) [gwxxrd.c     11657]
    ***LOG S74=> GwIDisconnectClient, client disconnected ( SY08472) [gwxxrd.c     11665]
    ***LOG S0R=> GwIDisconnectClient, client disconnected () [gwxxrd.c     11704]
    ***LOG S0I=> GwIDisconnectClient, client disconnected ( EXCEL) [gwxxrd.c     11713]
    LOCATION    SAP-Gateway on host mxxx112 / sapgw01
    ERROR       connection to partner '172.19.xx.xxx:1097' broken
    TIME        Thu Apr  9 15:40:36 2009
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -6
    MODULE      nixxi.cpp
    LINE        4423
    DETAIL      NiIRead
    SYSTEM CALL recv
    ERRNO       232
    ERRNO TEXT  Connection reset by peer
    COUNTER     790

    Just FYI.
    After all, we ended up applying BEx addon patch 9.
    The problem about the BEx crash seemed to be fixed in patch 8, but another problem (I heard it was about something to do with report jump function) was not fixed. As a result, we skipped patch 8 and applied 9.
    Both problems were fixed in patch 9.
    Many thanks to SDN informations.
    Yuko

  • Multiple joins between tables

    Not sure that the title best describes this.
    I've got two tables which I'll simplify here
    t1 - building (BuildingCode, Reception, Porter, Manager)
    A, 1, 3, 8
    B, 2, 4, 9
    C, 1, 4, 7
    t2 - staff (ID, Name, Extn)
    1, Dave, 3302
    2, Chris, 3994
    3, Claire, 3033
    8, Simon, 3255
    and i'd like to get a table out that looks like
    A, Dave, 3302, Claire, 3033, Simon, 3255
    B, Chris, 3994 etc.
    select b.buildingCode, s.Name, s.Extn
    from building b, staff s
    where s.ID = b.Reception
    would give me one set of details - how can i get all 3?
    Do I need to do 3 queries - where s.ID = b.Reception, where
    s.ID = b.Porter and where s.ID = b.Manager and then join the 3
    tables together or is there a more direct route?
    Many thanks
    Michael

    Now that I've had a chance to try the code I found that to
    use the results on the page I needed aliases in the select part as
    well - final code is
    select t1.BuildingCode, r.Name as rname, r.Extn as rextn,
    p.Name as pname, p.Extn as pextn, m.Name as mname, m.Extn as mextn
    from t1, t2 r, t2 p, t2 m
    where t1.Reception = r.ID
    and t1.Porter = p.ID
    and t1.Manager = m.ID

  • Condition value getting changed when open the Sales order in VA02

    Hi Experts,
    i have creating Sales order manually in VA01, and for first line item of sale order, i have assigned value in custom field of additional tab B, to populate Condition value for condition type ZK01 and checked in VA02, VA03 same Condition value is there for condition type ZK01.
    And created delivery document and billing document for newly created Salesorder.
    When i have open the Sales order in VA02, then i am getting changed Condition value for conidition type ZK01 in bothe header and first line item and in VA03 there is no change in value.
    Kindly let me know the user exit or any related programs to this issue.Thanks in Advance.

    Hi Rajani,
    this sound like VOFM -> conditions. Do you know which conditions are active during the determination?
    Cheers,
    Stefan.

  • Multiple foreign key joins between two tables

    Hi,
    I have a question about building a repository.
    I have a date dimension and one fact. The fact table has about 10 foreign key columns that link to the date Dimension.
    In this case should I create 10 aliases to create joins in the Physical and BMM layer or is there any other way to handle this situation.
    I am asking this question because 10 aliases can get very confusing for me at the later point of time while creating reports.
    Using OBIEE 10.1.3

    Hi
    I have a follow up question on this.
    I am okay with not seeing the different date tables under the Subject area. Even if it just shows a it as a Simple DATE Dimension I am good with it.
    In this case which is the efficient way, creating 10 aliases or creating 10 joins in the physical layer. I just figured out that we can create multiple joins between the same set of two tables but do not know how will that effect the way BI server works.
    Please help me in understanding this concept.
    thanks
    This request id for OBIEE 10.1.3

  • Condition value of Tax condition type gets added to Total Value in Contract

    Hi All,
    I'm currently investigating an issue where there are 2 line items in an SAP Sales Contract. There is a human error in the second line where the billing end date is less than billing start date in the billing plan.  Consequently, the second line has null Outgoing target value.
    However, the header Total value in the Contract  gets wrongly calculated as Basic condition value of 1st line  + Condition value of tax condition type of line one due to this.   When I modify the billing end date for the second line item to be a date greater than the billing start date, the above problem disappears and the total value of the contract does not include the tax component.
    For eg.
    Normal Error free  Contract
    Total Value at Header =   700.00 EUR
                       Material          Outgoing Target val
    Item 0010    MAT1               450.00                          ( 450 + 50 (tax )  )
    Item 0020    MAT2               150.00   
    Contract with billing plan error in second line
    Total value at Header =   550.00 EUR 
                            MAterial       Outgoing target val          
    Item 0010         MAT1             450.00                    ( 450 + 50 (tax ) )
    Item 0020         MAT2              0.00         
    Any inputs would be most welcome.
    Regards,
    Venkatesh.
    Edited by: Venkatesh Gopalarathnam on Jan 24, 2012 9:48 AM

    No, i didn't.
    Actually, i enter condition type and amount in sales order manually.
    At that time my program which i modified at 'Define And Assign Pricing Procedures' in IMG should be run. 
    But the result of running is different from my purpose.
    To change Condition value of condition type in sales order, are there any solution?

Maybe you are looking for

  • Movies will not go to my ipod

    I recently just bought 3 movies from and they will not go onto my ipod. They downloaded correctly but Itunes told me there was an error and it could not be transfered onto my ipod? help please

  • How to create insert trigger to XI

    My scenario as follow: When the database is inserted, it trigger the proess in XI How can i solve the problem? Just use the JDBC Adapter? If so, how could i write the SQL? But i have seen the links about Document Formats for the Receiver JDBC Adapter

  • How to rearrange photos put on my iPhone?

    I have recently gotten a new iPhone and before I had not used iCloud or Photo Stream, so all of my pictures are instead backed up in a folder on my computer. On iTunes, when I go into my devices and add the photos to my iPhone from the folder, they a

  • ATI 5700 HD & 32" TV --- Screen resolution Issue

    Hey all, I recently set up a media center using arch as my distro.  Everything works great!  The only problem I have is that my screen resolution isn't perfect. I have an ATI 5700 HD, I'm using the open source drivers.  I have a Philips 32" 1080p TV

  • Forgot to switch to Point Banking after Elite, made a purchase; too late?

    I know that it's never too late to switch to Point Banking, but I was wondering if there's any way to bank points from a certificate that was earned after achieving Elite status. What happened was that I lost Elite status at the beginning of this yea