Sources of supply giving wrong results.

Dear experts,
We are using SRM 4.0 ,server 500.
When creating a shopping cart, and checking the proposed sources of supply for a particular product, we get a list of more than 20 contracts. (correct)
When we directly want to create a PO we only get 6 contracts for the same product? Does anybody know what can be the reason for this behavior?
Kind Regards,
Tom

Tom,
A few things to check:
1. Is the config setting to control the source list via AVL maintained?
2. If not then all the contracts for that material or product category will show up in the shopping cart as the source list.
3. Have all the contracts (GOA ) created in SRM exists in R/3 or you do not have any contarcts in SRM at all.
4. In this case have you mainatined any AVLs with backend contracts.
Hope this helps.
Regards
Satish Bengeri

Similar Messages

  • Query giving wrong results

    Below is the query thats giving me wrong results ...can anyone help me figure where i am going wrong :(
    SQL> select count(*) from t where source='LP1.1';
      COUNT(*)
            69
    SQL> select count(*) from tblspring where line_a='LP1.1';
      COUNT(*)
           233now when i join these two table ...the total counts exceeds the expected records that i want
    SQL> select count(*) from t , tblspring where t.source=tblspring.line_a and t.source='LP1.1';
      COUNT(*)
         16077

    the thing is i want to filter only those records from table t where the column named  - source is equal to the column named line_a from table tblspring from the query in table t i get 69 records ....
    now when i match the it table tblspring with the condition
    i want the number of records should be less than or equal to 69 but not more than 69
    Edited by: Suhail Faraaz on Mar 5, 2011 7:31 AM

  • Query giving wrong result

    Hi
    Could anybody tell me why this query is giving the wrong result? The column 'Spend for Selected Period' is showing as far too much (ie exactly 11 times too much!!!) when totalling the 37 invoices involved
    SELECT T0.[CardCode], T0.[CardName],T0.[MailCity] AS 'Town', T2.[SlpName] AS 'Rep',
    SUM(T1.DocTotal - T1.VatSum)  AS 'Spend for Selected Period', MAX(T3.CreateDate) AS 'Last Visit Date'
    FROM OCRD T0  left JOIN OINV T1 ON T0.CardCode = T1.CardCode LEFT JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode LEFT JOIN OSCL T3 ON T0.CardCode = T3.Customer
    where  T0.[CardCode] = 'wyk027/34' AND T1.DocDate BETWEEN '20090101' AND '20091231'
    GROUP BY T0.[CardCode], T0.[CardName],T0.[MailCity], T2.[SlpName]
    Thanks
    Steve

    Hi ,
    It seems like it is duplicated by the number of service calls.
    Try this one:
    SELECT T0.CardCode, T0.CardName,T0.MailCity AS 'Town', T2.SlpName AS 'Rep',
    SUM(T1.DocTotal - T1.VatSum) AS 'Spend for Selected Period', (select MAX(T3.CreateDate) from OSCL T3 where T0.CardCode = T3.Customer) AS 'Last Visit Date'
    FROM OCRD T0 inner JOIN OINV T1 ON T0.CardCode = T1.CardCode inner JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
    where T0.CardCode = '10001' AND T1.DocDate BETWEEN '20090101' AND '20091231'
    GROUP BY T0.CardCode, T0.CardName,T0.MailCity, T2.SlpName
    Best regards,
    Maya

  • SQL Server 2012 Time(7) DataType values Comparison giving wrong result. Please help

    We have a Table with StartTime and EndTime columns in Time(7) datatype, so we want to count the rows for each hour from 6 AM to 5 AM. If a record in table is as StartTime= 7 PM to EndTime = 5 AM (a shift of an employee) then the result is wrong beacause
    being time(7) datatype the EndTime(5AM)< StartTime(7PM) in 24 hours format so following query gives wrong results.
    select
    * from EmpSchedule
    where (StartTime>='19:00:00.0000000'
    OR EndTime>='19:00:00.0000000')
    Please help me out. Thanks

    DECLARE @clockIns TABLE (employeeID INT, startDateTime DATETIME, endDateTime DATETIME)
    INSERT INTO @clockIns (employeeID, startDateTime, endDateTime)
    VALUES
    (1, '2014-07-01 19:01:00.000', '2014-07-02 04:27:00.000'),
    (2, '2014-07-01 18:01:00.000', '2014-07-02 05:27:00.000'),
    (3, '2014-07-01 19:01:00.000', '2014-07-02 05:27:00.000'),
    (4, '2014-07-01 18:01:00.000', '2014-07-02 04:27:00.000')
    SELECT *
    FROM @clockIns
    WHERE datepart(HOUR,startDateTime) BETWEEN 19 AND 23
    OR datepart(HOUR,startDateTime) BETWEEN 0 AND 4
    OR datepart(HOUR,endDateTime) BETWEEN 19 AND 23
    OR datepart(HOUR,endDateTime) BETWEEN 0 AND 4
    Try this out.

  • Opening Illustrator 8 eps is giving wrong results

    I have an eps (in Illustrator 8 format) where I manually changed the encoding to include east-european characters.
    When I open this eps in the latest Illustrator version, I don't see those characters.
    The attempts I made are:
    in a TE block
    39/quotesingle 96/grave 130/quotesinglbase/florin/quotedblbase/ellipsis
    /dagger/daggerdbl/circumflex/perthousand/Scaron/guilsinglleft/OE 145/quoteleft
    /quoteright/quotedblleft/quotedblright/bullet/endash/emdash/tilde/trademark
    /scaron/guilsinglright/oe/dotlessi 159/Ydieresis /space 164/currency 166/brokenbar
    168/dieresis/copyright/ordfeminine 172/logicalnot/hyphen/registered/macron/ring
    /plusminus/twosuperior/threesuperior/acute/mu 183/periodcentered/cedilla
    /onesuperior/ordmasculine 188/onequarter/onehalf/threequarters 192/Agrave
    /Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla/Egrave/Eacute
    /Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis/Eth/Ntilde
    /Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply/Oslash/Ugrave
    /Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls/agrave/aacute
    /acircumflex/atilde/adieresis/aring/ae/ccedilla/egrave/eacute/ecircumflex
    /edieresis/igrave/iacute/icircumflex/idieresis/eth/ntilde/ograve/oacute
    /ocircumflex/otilde/odieresis/divide/oslash/ugrave/uacute/ucircumflex
    /udieresis/yacute/thorn/ydieresis
    TE
    and further down: (128 80 \277) Tx
    I tried to replace the Agrave with Lslash, but Illustrator seems to ignore that part when opening the eps, and still displays a À
    Also tried with the TZ block to reencode the font:
    %AI3_BeginEncoding: _Helvetica-Condensed-Bold Helvetica-Condensed-Bold
    [ 191/Lslash /_Helvetica-Condensed-Bold/Helvetica-Condensed-Bold 0 0 1 TZ
    %AI3_EndEncoding AdobeType
    and further down: (128 80 \277) Tx
    That change is also ignored by Illustrator.
    The character is properly displayed when I open the eps and typing/pasting it in Illustrator, so I know the font supports it.
    Am I doing something wrong here?
    An alternate route could be to use the Illustrator SDK as platform for writing eps files, as I assume that the SDK properly supports unicode characters.
    Did some research on that, but found that the SDK is only to make Illustrator plugins, and not supporting standalone applications, so, for automated eps generating it's not suitable.
    Background:
    I've created software which generates eps files with cartographic maps in them for publishing, printing or other purposes.
    Recently, we got a new customer originating in eastern europe which wants their special, non-isolatin characters printed correcly.
    Hope someone can give me any advice on how to proceed...
    Greetings,
    Paul

    I just realized that order by case x.rest rest isn't giving me 's','m','t','w','th','f','sh' 
    substring(Rest, 1, charindex('~', Rest+'~') - 1) is giving me 's','m','t','w','th','f','sh' 
    so I switched the order by to be
    ORDER BY CASE substring(Rest, 1, charindex('~', Rest+'~') - 1) WHEN 'S' THEN 1 WHEN 'M' THEN 2 WHEN 'T' THEN 3 WHEN 'W' THEN 4
    WHEN 'TH' THEN 5 WHEN 'F' THEN 6 WHEN 'SH' THEN 7 ELSE 8 END, x.FirstWord
    That got the desired results.
    Debra has a question

  • Link Verification program giving wrong results?

    Hey all,
    I wrote a simple link verification program which verifies dynamic links pulled from a database, but the results are not correct. Some valid links turned out to be marked as Error Links. Especially links to some of the pdf files. I am wondering why? Did anyone have similar problems?
    Thank you

    Could be something wrong with your program. Or not. That's about all that can be said based on the information you gave.

  • Conditions giving wrong results

    Hi friends ,
                      i have two Key figures (RKF's)   Col1 and Col2 .
    Col1 having 0's and non zeros values . and Col2 also having zeros and non zeros values.
    My requirement is  Col1 should display only non zero values. then i created on condition
    Col1 >0 with respect to characteristic assignment (Individual chars and char.combi ) is Material-Type .
    Condition working for Col1 fine  and also its applying automatically  on Column 2 ( filtering the zeros in column 2 also).
    But i want filter zero's from Col1 and i need zeros from Col 2.
    I dont know why the Condition is applying on Col2 automatically.
    Can you pls suggest me guys its urgent.

    hi loed,
                i did'nt apply on Col2 .
    i have a
                    1.  RKF (1)  for mat-type X on Bill-Cost
                    2.  RKF (2)  for mat-type Y,Z ...other than X on Bill-Cost.
    Ex.
    Mat      Mat-type      Bill-Cost-X      Bill-Cost Y,Z..etc
       1            X                0
       2            X                5
       3            X                0
       4            Y                                          7
       5            Z                                          0
    Now i created condition on Bill-Cost-X >0 with chars Mat-type X
    then the displayed result is 
    Mat      Mat-type      Bill-Cost-X      Bill-Cost Y,Z..etc
       2            X                5
       4            Y                                          7
    But   5            Z                                     0  should display why this record is not displaying in out put.

  • Crystal XI R2 giving wrong result from a query...

    I created a very simple query using 3 conditions with OR operator, looking for 3 columns within a date range. CR returns the results only for the first condition and ignores the 2 other conditions. I ran exactly the same query using the syntax from CR SQL in MS SQL Management Studio and it works fine there.
    Here is the Record Selection syntax
    {CONTACT2.UBATSENDDT} = {?Date} OR
    {CONTACT2.UBWTSENDDT} = {?Date} OR
    {CONTACT2.UBPTSENDDT} = {?Date}
    Has anyone else experienced it too? Is there a trick to fix it? Please HELP....

    Thanks Jamie. That solved the problem. I've been using it for so long never knew about this setting. That's what happens when you learn things on your own. Appreciate your quick and right on the money response.  Are there any other Report Options setting that should be turned on as a precaution?
    Thanks Naga for suggestion but that wasn't the issue. I had already almost everything else.
    Edited by: ManojT on Mar 2, 2012 8:51 AM

  • MB25 giving wrong results

    Hi experts
    System is not deleting the reservation documents automatically even the document creation date is more than 30 days. while, my settings in SPRO-Materials Mnagement-Inventory Management and Physical Inventory-Reservation-Define Default Values-Plant is as under;
    Mvt check box is ticked
    Days m field has value as 10
    Rete field has value as 30
    MRA check box is ticked
    When I am taking report in MB25 for open reservations, those reservations are also appearing whose creation date is more than 30 days.
    Please help if there is some configuration issue.
    thanks in advance

    Hi,
    Thanks for the reply. Considering the following SPRO config, please help answering following two queries;
    SPRO-Materials Mnagement-Inventory Management and Physical Inventory-Reservation-Define Default Values-Plant is as under;
    Mvt check box is ticked
    Days m field has value as 10
    Retention period  field has value as 30
    MRA check box is ticked
    1. So, based on the above config settings, system will not delete the reservation after 30 days and we only through transaction MBVR, the reservation document with requiremment date prior to current date - 30 days will marked for deletion. If yes, please suggest whether a background job can be scheduled for automatic closure of such reservation documents.
    2. What is the procedure for deletion of reservation documents created with reference to Production Order, Plant Maintenance order and WBS element (project).
    thanks in advance

  • Source of supply in SC shows wrong contracts when changing cocode

    Hi experts,
    Some details:
    We are on an SRM 5.0 implementation, in classic scenario.
    We have a problem when using source of supply in a shopping cart.
    When we select a certain product and let the system suggest a source of supply, it gives us a list of contracts. However, when we change the company code, we would expect that these same contracts would not be visible anymore (as the R/3 contract has a company code). Even after refreshing, the system keeps giving wrong contracts.
    Any suggestions?
    Best Regards,
    Tom

    Hi. Are these backend contracts and do your contracts have plants on?
    I have a feeling that SRM only uses Plant, Unit of Measure and Material group to calculate if a backend contract is valid.
    If your contracts have no plants that might explain it.
    BADI BBP_SOS_BADI should allow you to restrict on custom criterea though.
    Regards,
    Dave.

  • NOT IN operator giving the wrong results

    DB version:10gR2
    Why is NOT IN giving the wrong results. Isn't NOT EXISTS operator a flawless alternative to NOT IN?
    create table my_table1 (col1 number);
    insert into my_table1 values (1);
    insert into my_table1 values (2);
    commit;
    create table my_table2 ( col1 number);
    insert into my_table2 values (1);
    commit;
    select * from my_Table1;
           COL1
              1
              2
    select * from my_table2;
           COL2
              1
      --correct result
      SELECT * FROM my_table1 t1 WHERE NOT EXISTS
    (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1)
           COL1
              2
    ---correct result using IN
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
           COL1
              2
    Inserting a NULL to my_Table2
    Now the query using NOT IN is returning wrong results.
    insert into my_table2 values (null);
    commit;
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
    no rows selected
    Query using NOT EXISTS is still giving the right results.
    SELECT * FROM my_table1 t1 WHERE NOT EXISTS
       (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1);
           COL1
              2

    ScottsTiger wrote:
    can i use NOT EXISTS(with a proper Co-related subquery) as a safe alternative to NOT IN?Depends on your data and what you need to achieve.
    Personally I avoid using NOT EXISTS or NOT IN if I can really help it.
    My preferred method is to outer join the tables together and then remove any resultant rows where a value exists and I didn't want one. ;)

  • Costing Run Error: No Valid Source of Supply

    Hi Experts,
       I am new to Costing,
        While executing Costing Run for a matrial ABC in plant XXX with a Costing Run 111, I get an error No valid source of supply could be found
    but when I run the Costing Run for Same material for sam plant with different Costing Run It gets executed properly.
    I have read the thread related to it where it is giving reference to note 713111, 499699 and 422926 but there is no check for Source List in Material master.
    Regards,
    Rajdeep Rane.
    Edited by: Rajdeep Rane on Jul 24, 2008 1:30 PM

    Rajdeep
    Use OKKN as Jigar says.  
    Select the costing variant that you are using and then click on "valuation variant"
    Look at the tab for subcontract - this will show what the costing variant is useing to creat cost estimates with.
    Your options for subcontracting are:
    2  Effective Price from Quotation Without Fixed Costs
    3  Net Quotation Price
    4  Gross Quotation Price
    5  Effective Price from Quotation
    6  Effective Price from Purchase Order Without Fixed Costs
    7  Net Purchase Order Price
    8  Gross Purchase Order Price
    9  Effective Price from Purchase Order
    If your material has a Special Procuremnet key 30 - then one of these strategies has to be used.

  • Contract Source of Supply Not Populating in SC

    Hello:
    We are in a classic scenario of SRM 5.0 and the source of supply in the SC is not populating (either from an existing local contract or backend contract).  Our expected result is to see the contract(s) associated with that material under the "source of supply" grouping.
    - Side note: When creating a local contract in SRM, we get a dialog box with the error message "ordering party could not be determined"  Not sure if this is related to the big issue, but it looks like an org structure error and we can't figure out the related attribute.
    Can you help shed some light on the situation?
    Much appreciation,
    Edgar
    Message was edited by:
            Edgar Alconera

    Master data conflict

  • How do I resolve this problem: This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required

    When attempting to log in to the web site the following message is received. This web site works
    on other systems using Firefox.
    This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
    Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request.
    == URL of affected sites ==
    http://www.mdyc.org/members_only

    You may have saved a bad password so Firefox is entering that rather than giving you the option to try again. Go to Tools > Options > Security > Saved Passwords and delete the saved passwords for that site and then try logging in again.

  • CALL TRANSFORMATION on Unicode WebAS 6.20: No valid source context supplied

    Hello,
    in the last day's I was stuck into a strange problem. I had to develop a Web Service Client on our Web AS 6.20 Unicode system. I followed the Blog <a href="/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap">Consuming Web Service from ABAP</a>. The problem was that my CALL TRANSFORMATION always throwed an exception "No valid source context supplied". I've tested the transformation with a local copy of the XML the Web Service returned and it works quite well. I had a look into the Documentaion of CALL TRANSFORMATION and it says:
    == Documentation Quote Begin ==
    Addition 3a
    ... SOURCE  XML sxml
    Effect
    Specification of the transformation source
    Transfer the XML document sxml using addition 3a. The following three possibilities exist for specifiying sxml:
    The XML document can be in an ABAP variable sxml of the type STRING or XSTRING or in an internal standard table sxml of the elementary line type C.
    == Documentation Quote End ==
    So there should be no difference between STRING and XSTRING. But there is a difference! Here is my testcase which I've derived from my Blog <a href="/people/gregor.wolf3/blog/2006/06/27/geocode-business-partner-with-google-maps">Geocode Business Partner with Google Maps</a>:
    <b>XSLT Transformation - ZGOOGLE_GEOCODE_TO_ABAP</b>
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:asx="http://www.sap.com/abapxml" xmlns:kml="http://earth.google.com/kml/2.0" version="1.0">
      <xsl:template match="/">
        <asx:abap version="1.0">
          <asx:values>
            <GEOCODE>
              <LON>
                <xsl:value-of select="substring-before(kml:kml/kml:Response/kml:Placemark/kml:Point/kml:coordinates,',')"/>
              </LON>
              <LAT>
                <xsl:value-of select="substring-before(substring-after(kml:kml/kml:Response/kml:Placemark/kml:Point/kml:coordinates,','),',')"/>
              </LAT>
              <ALT>
                <xsl:value-of select="substring-after(substring-after(kml:kml/kml:Response/kml:Placemark/kml:Point/kml:coordinates,','),',')"/>
              </ALT>
            </GEOCODE>
          </asx:values>
        </asx:abap>
      </xsl:template>
    </xsl:transform>
    <b>ABAP Report</b>
    REPORT  z_gw_test_geocode.
    DATA:
    BEGIN OF geocode,
      lon TYPE string,
      lat TYPE string,
      alt TYPE string,
    END OF geocode.
    DATA: client TYPE REF TO if_http_client,
           url TYPE string,
           c_xml TYPE string,
           x_xml type xstring.
    * Build URL to call Googe Maps Geocoding
    CONCATENATE 'http://maps.google.com/maps/geo?'
      'q=Tacherting,+DE'
      '&output=xml'
      '&key=ABQIAAAA2WL-mG7HpdSjlxystL3uBhRvBuAcdiWwcJAQgt9kNvfse-yNqBQuxwHkHo31WjTJ_RzVPIhXNludVg'
      INTO url.
    ****Create the HTTP client
    CALL METHOD cl_http_client=>create_by_url
      EXPORTING
        url    = url
      IMPORTING
        client = client
      EXCEPTIONS
        OTHERS = 1.
    client->send( ).
    client->receive( ).
    ****Get the response content in Character format
    c_xml = client->response->get_cdata( ).
    ****Get the response content as Binary
    x_xml = client->response->get_data( ).
    ****Transform XML as String to ABAP Values
    DATA: xslt_err TYPE REF TO cx_xslt_exception,
          error_text TYPE string.
    WRITE: / 'Transformation with STRING'.
    TRY.
        CALL TRANSFORMATION zgoogle_geocode_to_abap
        SOURCE XML c_xml
        RESULT geocode = geocode.
      CATCH cx_xslt_exception INTO xslt_err.
        error_text = xslt_err->get_text( ).
        WRITE: / error_text.
    ENDTRY.
    WRITE: / 'LON: ', geocode-lon.
    WRITE: / 'LAT: ', geocode-lat.
    WRITE: / 'ALT: ', geocode-alt.
    ****Transform XML as XString to ABAP Values
    WRITE: / 'Transformation with XSTRING'.
    TRY.
        CALL TRANSFORMATION zgoogle_geocode_to_abap
        SOURCE XML x_xml
        RESULT geocode = geocode.
      CATCH cx_xslt_exception INTO xslt_err.
        error_text = xslt_err->get_text( ).
        WRITE: / error_text.
    ENDTRY.
    WRITE: / 'LON: ', geocode-lon.
    WRITE: / 'LAT: ', geocode-lat.
    WRITE: / 'ALT: ', geocode-alt.
    <b>Result</b>
    This is the result on our 6.20 Unicode System:
    Transformation with STRING
    No valid source context supplied
    LON:
    LAT:
    ALT:
    Transformation with XSTRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    I've tried it on our 6.20 and 6.40 NON-Unicode systems and the result was:
    Transformation with STRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    Transformation with XSTRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    Finaly I've tried it on our Solutin Manager 4.0 which runs on Web AS 7.00 and is also a Unicode installation. Here the result is correct:
    Transformation with STRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    Transformation with XSTRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    So now what to do? I've found nothing in OSS regarding this behaviour. Any tips? I also try a OSS Message.
    Regards
    Gregor

    Hi,
    Can you tell me about your project on short notes. For information.
    Regards
    R.Rajendran

Maybe you are looking for

  • MB_MIGO_BADI

    Hi Experts, I have implemented badi "MB_MIGO_BADI" in ECC 6.0. I am using method "POST_DOCUMENT" to call another FM 'BAPI_KANBANCC_WITHDRAWQUANTITY'. But since the above BADI is called in Update Task, its giving error at runtime Error Info...   00 67

  • Why can't I download adobe reader X

    Hi, I am not able to download adobe reader X. It started when I recently could not open a PDF file. I unistalled Adobe XI and tried re installing it and now it says my code doesn't match. How can I fix this problem.

  • Is Airport Extreme a modem or router ?

    Hi there, Is Airport Extreme a modem or a router or both ? I ask because I intend to buy to solve my problem but not sure if it is the correct product to purchase. My problem it that I have a 2Wire modem *** router. It serves me fine all this while w

  • Dynamic vnic connection policy

    I am trying to build a service profile for vmfex but I keep getting a config error I only have 2 vnics assigned to this blade and I have a dynamic vnic connection policy applied. how many dynamic vnics should i be using? does this depened on how many

  • BIOS 1.10 to 1.30

    Hi all, To install new BIOS update 1.30V beofer 1.10V DVD, so, I get long time on logo ( TOSHIBA Leading Innovation >>> ) . Toshiba Satellite c50-a628 PSGCJGV How do I doing to fix it? Thanks..