Sources of Supply

Hi
I am using function module 'BBP_EXTREQ_INBOUND' to create shopping carts in an ABAP program. It works well and the shopping cart is created.
My question is when you go into the SRM Portal and check the data everything is populated ecept the section under "Sources of Supply / Service Agents "
It comes back with 'No vendor assigned' even though you can specify a vendor in the function module in the table 'I_BUP'  I have done this, the vendor shows in the other relevant tabs but not in Sources of Supply.
Does anyone know how to update the the Sources of Supply via this fucntion module or by any other?
Thanks.

Hi,
Which SRM version are you working on??
Have a look at these notes:
Note 682192 - BBP_EXTREQ_INBOUND: Dump when adding a vendor
Note 688609 - External requirement deletes vendor in contract
BR,
Disha.
Do reward points for useful answers.

Similar Messages

  • Create Deep Entity  - Error "No valid source context supplied".

    <?xml version="1.0" encoding="utf-8" ?>
    - <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> 
    <code>CX_XSLT_RUNTIME_ERROR/EE1D984A671BED4AAD4D1BD10D509C75</code>  
    <message xml:lang="en">No valid source context supplied</message>  
    - <innererror> 
    <transactionid>7795A2E3D43AF1FCB4BA42F2E933967A</transactionid>  
    <errordetails />  
    </innererror>
    </error>
       Inner error message : " Deserialization of XML failed via transformation ''
    _______________________________________XML FILE _________________________________________________
    <?xml version="1.0" encoding="UTF-8"?>
    <atom:entry
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
    xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <atom:content type="application/xml">
    <m:properties>
    <d:ParentQuestGuid>42F2E933967A1EE3A6C5C06CE7D414BA</d:ParentQuestGuid>
    <d:ExternalID>CORRECATE_V08</d:ExternalID>
    <d:Planstartdate>2014-01-31T00:00:00</d:Planstartdate>
    <d:FinalDate>2014-02-28T00:00:00</d:FinalDate>
    <d:Actualfinishtime>PT00H00M00S</d:Actualfinishtime>
    </m:properties>
    </atom:content>
    <atom:link
    rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/zpartners"
    type="application/atom+xml;type=feed"
    title="Z_V02_AUDIT_SRV.zcorrecact_2_partner">
    <m:inline>
    <atom:feed>
    <atom:entry>
    <atom:content type="application/xml">
    <m:properties>
    <d:REF_GUID m:null="true" />
    <d:PARENT_GUID m:null="true" />
    <d:EXTERNAL_ID m:null="true" />
    <d:Role_Sortnr>1</d:Role_Sortnr>
    <d:Role>52</d:Role>
    <d:Partner_Role>BUP003</d:Partner_Role>
    <d:PARTNER_GUID m:null="true" />
    <d:Responsible_Name>102</d:Responsible_Name>
    <d:SYUNAME m:null="true" />
    <d:ROLE_TEXT m:null="true" />
    <d:RESPONSIBLE_TEXT m:null="true" />
    <d:LANGU_ISO m:null="true" />
    </m:properties>
    </atom:content>
    </atom:entry>
    </atom:feed>
    </m:inline>
    </atom:link>
    </atom:entry>
    ___________ Tried using the following solutions yet unsuccessful ___________
      1) Cleared the cache
      /IWBEP/CACHE_CLEANUP
      /IWFND/CACHE_CLEANUP
      2) Checked all the Date fields for "Nullable", both at header and item entitys.
    _________ not clear about my xml format _________________
      1) please check the xml format.  i read other blogs and feel it is correct.
       Regards,
      Nitin Koushik
    [email protected]

    Hi Nitin,
    there seems to be an issue with the xml in the request body.
    As an approach, you could try to send two separate requests, in order to check if the creation of the parent entity works and then use the specified link and check if the creation of the child entity works with the given xml. This could help to clarify which part of the xml is actually rejected
    I've copied below the xml of a deep insert that works for me.
    It is the request body of a POST request sent to the BusinessPartnerCollection of the service ZGWSAMPLE_SRV that can be found here:
    https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZGWSAMPLE_SRV?sap-ds-debug=true
    Hope it helps a bit.
    Regards,
    Carlos
    <?xml version="1.0" encoding="utf-8"?>
    <entry xml:base="http:/.../sap/opu/odata/sap/ZGWSAMPLE_SRV/"
    xmlns="http://www.w3.org/2005/Atom"
    xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
    xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
    <category term="ZGWSAMPLE_SRV.BusinessPartner"
    scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    <link href="BusinessPartnerCollection('0100000002')/Contacts"
    rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contacts"
    type="application/atom+xml;type=feed"
    title="Contacts">
       <m:inline>
        <feed xml:base="http://.../sap/opu/odata/sap/ZGWSAMPLE_SRV/">
         <entry>
          <category term="ZGWSAMPLE_SRV.Contact"
             scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
          <content type="application/xml">
           <m:properties>
            <d:BusinessPartnerID>0100000002</d:BusinessPartnerID>
            <d:Title/>
            <d:FirstName>Maria Julia</d:FirstName>
            <d:MiddleName/>
            <d:LastName>Brown</d:LastName>
            <d:Nickname>Mary</d:Nickname>
            <d:Initials/>
            <d:***>F</d:***>
            <d:PhoneNumber>3023352668</d:PhoneNumber>
            <d:FaxNumber/>
            <d:EmailAddress>[email protected]</d:EmailAddress>
            <d:Language>E</d:Language>
            <d:PostalCode>19899</d:PostalCode>
            <d:City>Wilmington, Delaware</d:City>
            <d:Street>1 2345 King Street</d:Street>
            <d:Building>1</d:Building>
            <d:Country>US</d:Country>
            <d:AddressType>02</d:AddressType>
           </m:properties>
          </content>
         </entry>
        </feed>
       </m:inline>
      </link>
      <content type="application/xml">
       <m:properties>
        <d:AddressType>02</d:AddressType>
        <d:Country>US</d:Country>
        <d:Street>1 2345 King Street</d:Street>
        <d:PostalCode>19899</d:PostalCode>
        <d:City>Wilmington, Delaware</d:City>
        <d:CurrencyCode>USD</d:CurrencyCode>
        <d:LegalForm>Ltd.</d:LegalForm>
        <d:CompanyName>DelBont Industries3</d:CompanyName>
        <d:BusinessPartnerID>0100000002</d:BusinessPartnerID>
        <d:BpRole>01</d:BpRole>
        <d:EmailAddress>[email protected]</d:EmailAddress>
       </m:properties>
      </content>
    </entry>

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

  • Error 'No valid source context supplied' for getEntity / getEntitySet call

         Hi All
    we have configured our ECC system with IW_BEP and Gateway as standalone system. We have developed the Gateway Services using SEGW in backend ECC system and have registered these services on Gateway system.
    However when we are executing getEntity or getEntitySet methods in Browser or Gateway Client, the call is failing with error message 'No valid source context supplied.'
    I checked the error log for this issue and it says Deserialization of XML failed via transformation ''. Can you guys suggest what could be the issue with this error? Is this due to in-correct configuration? In our Gateway system, we have created System-Alias for ECC system with both check-boxes for Local GW & For Local App as unticked. The RFC destination underlying this System alias is working fine.
    Please help me on this.
    Regards,
    Deepak Salokhe

    Hello Deepak,
    OK thanks for sharing the info regarding Key.
    Can u try checking why its failing in method /IWBEP/CL_MGW_REMOTE_HANDLER-->REQUEST_PROCESS ?
    Only way is to debug Deepak. Since error is not specific we nned to debug in these kind of cases and try to know y its failing. This might help and we may get some info which will help fixing things.
    This problem is only happening for this particular service ? or its happening for all the services ?
    Check this first. If its happening for rest of the services then problem is something else with the GW/BE components only. If not then its service specific.
    Can u try regenerating objects again and check ?
    Regards,
    Ashwin

  • 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

  • Error when creating a source of supply list via me01 and/otr me05

    Dear expert,
    We use SAP R/3 4.6c release.
    I'm trying to create a source of supply that uses a contract.
    I get an error message 'Object does not exist'.
    When I look at the details of this messsage I see it is
    Message OL 826 
    Diagnosis :
    You tried to create an instance of the object type BUS2053 with the key
    0000000000001026311990. No instance of this kind exists.              
    I have checked SW01 and  regenerated the object type BUS2053. The generated object looks ok, but when I test it it still comes up with the same error message.
    What did I forget?

    HI ,
    This is a program error .
    Implement Note 683767.
    According ti this note it will solve the following problem which is similar to your problem
    "When you try to maintain a source list using Transaction ME01, the system generates a termination message with number OL826 'You tried to create an instance of the object type BUS2053 with the key. No instance of this kind exists'. "
    Hope it helps you .
    Regards,
    Anupam

  • Error message "No valid source context supplied"

    Hii,
    I will add buttons to my html page. So far, I inserted the following code to my bsp page:
    <% DATA: ls_button type CRMT_THTMLB_BUTTON,
                      lt_button type CRMT_THTMLB_BUTTON_t.
                      CLEAR ls_button.
                      ls_button-type = cl_thtmlb_util=>gc_icon_edit.
                      ls_button-on_click = ''.
                      ls_button-enabled = 'X'.
                      ls_button-text = 'Cancel'.
                      append ls_button to lt_button'.
    %>
    <thtmlb:areaFrameSetter toolbarButtons = "<%= lt_button %>"
                                            maxButtonNumber = "1" />      
    When I remove the buttons, that I inserted before with the configuration tool (button Coniguration) and test my page, I get the following error message:
    Cannot display view Z_SHOW/Upload of UI Component Z_SHOW
    An exception has occured
    Exception Class  CX_BSP_ELEMENT_EXCEPTION-:No valid source context supplied
    Methode              CL_BSP_ELEMENT=>IF_BSP_ELEMENT~RAISE_ERROR
    Source Test Row: 3
    Can anyone explain me, how to fix the error message?
    Thanks and regards,
    Harris

    I have the same error,could you tell me how to solve it .thanks !
    无法显示视图 ZGSWIDET/DetailsEF
    已出现异常 例外分类  CX_BSP_ELEMENT_EXCEPTION - : No valid source context supplied 
    方法:  CL_BSP_ELEMENT=>IF_BSP_ELEMENT~RAISE_ERROR 
    源文本行:  3

  • Assign Source of supply is not working for contract with material group

    Dear Experts,
    I have searched all the threads and gone through before posting my query. So i would ask moderators to go through the thread properly before rejecting this.
    We have value contracts with respect to a particular material group without material and with item category W in the contract item, Please note that for the materials with this material group, the source determination is not set and source list is also not maintained.
    When we create PR for the material with this contract, and when we click on assign source of supply contracts used to get popped up, but recently from few days, when we click on assign source of supply we are getting an error " no source found for this item ".
    Can anybody help on this.
    Regards

    @ Biju,
    As mentioned earlier, we are not creating PR with reference to contract.
    first we are creating contract with item category W (material group), without material and plant details.
    we create PR with or without material with account assignment K and with the material group in the transaction ME51N, and after inputting all the fields, we click on assign source of supply, it was proposing the existing contracts with respect to material group earlier, but it is not happening for particular material group(it is working for all other material groups)
    Hope it is clear.
    @ Dev Patra,
    we are using DIEN-Service material types and we assign that particular material group to only service material type.
    we have not ticked, source list in the material master, we donot have any source list for the materials under that material group.( please check the note 457110- question number 14.)
    Regards

  • Automitic source of supply assignment in backend system for SRM

    Hello Experts,
    I am facing one issue regarding source of supply for SRM purchase Requisitions in backend ECC system.
    When we create a shopping cart in SRM 5.0, a purchase requisition is created in backend and has source of supply assigned to it.
    I donu2019t want to assign source of supply to purchase requisitions created for SRM.
    Can you please suggest how to achieve this?
    Also I think, SRM is internally using BAPI u201CBAPI_REQUISITION_CREATEu201D from backend ECC system for creation of requisition. This BAPI has an importing parameter u2018AUTOMATIC_SOURCEu2019, and if we pass space to this parameter, it creates requisition without assigning source of supply.
    If this is correct, then can I use any BADI or customization in SRM to set the value of this parameter as space when SRM calls this BAPI?
    Thanks in Advance.
    Thanks and Regards,
    Sanjay

    SPRO--> SRM > SRM server> cross application basic settings --> Define objects in backend system (PR,RS,PO)
    waht is the settings you maintained for your product category / purchase group - external procurement .
    the above setting determines your follow on documents in the backend systems.
    as discuused in the thread are you using any BADI ?
    Unable to create PO in backend system for a text material in Shopping cart
    peter offers how to debug to ..in the above link.
    br
    muthu

  • SRM 4.0: Source of Supplier not copying in line item on Shopping Cart

    We are using SRM 4.0 in an extended classic setup and currently experiencing a problem with the source of supplier not being copied on line items. The user stated that  when copying a line items in a shopping cart the source of supplier is not copying to the new line.  It happens sometimes but not everytime the client uses the line copy option.
    It was initially thought that based on the amount of the line item (>=$25,000) that would cause the source of supplier (vendor) not to copy to the new line item but it has been verified by client that is not the case.  If anyone has seen this issue and know of what the root cause could be please let me know.
    Thanks

    Yann,
    Actually this is occurring when the user is creating a shopping cart from scratch.  He added a line item either from catalog or free text, sources the item and then uses the copy function to copy the line item.  When the client does this the item is copied but the vendor disappears from the 2nd line item and client has to add it again. 
    So that OSS notes doesn't apply unless I'm missing something.

  • Assigning a Source of Supply in a Purchase Order....Please Help!!!!

    Hello, Forum.
    I am a student and my final SAP project is due tomorrow. One of the steps is to create a Purchase Order certain specifications. I have defined the needed purchase requisitions for the Purchase order, but I am having a problem Assigning A Source of Supply to my items. When I select the items and click the "Assign Source of Supply" Icon I get the error message that "Existing Sources Will be Lost." I have tried many different ways to assign sources of supply to these items and the option is either grayed out, gets, this error message, or simply nothing happens.
    I cannot advance in my project without first completing this step and it is a huge portion of my grade. This is of utmost importance to me so if anyone can help me figure out how to bypass this problem and Assign Sources of Supply, or even what this error message means, you would really be doing me a great service.
    Thank you so much,
    John

    Hi John,
    I cannot test it now, but seems to me that the transaction me21n is not designed to run source
    determination unless the  purchase order is created in reference to apurchase requisition
    ( where source determination can be run ).
    If a PO is directly created without reference to a requisition,  the outline agreements specified in the source list have to be manually entered in the PO ( even if there is only one agreement ), otherwise the error message is issued...
    Could you please check it
    Regards,
    Mauro

  • Assigning a source of supply in sourcing cockpit not working.

    Good day Gurus,
    When we assign a source of supply in sourcing cockpit we get the following error : Invalid combination of sources of
    supply for item 1200012571/1
    This is how we got the error.
    Create a shopping cart and approve it.
    Go to sourcing cockpit and in the comntract column enter the contract number and in the contract item enter the contracts item number,when click enter we get the error as indicated below.
    Please assist,Your help is very much appreciated.
    kind regards,
    Lethabo Kgatla

    HI Anamika,
    I created a free text shopping cart and wanted to propose the source of supply without using the propose source of supply button and got the error.The functionality did work previously and does not work anymore.I am trying to find how can be resolved.
    Regards,
    Lethabo

  • SRM 7.01 Custom field in Shopping Cart source of supply tab Issue

    Hello All,
    I have requirement to add two new fields ( Vendor Email Id and YES/NO option field to send mail to supplier from PO) in Source of supply tab in Shopping cart. I have followed below steps
    1) Enhanced item structrues with two fields
    2) Added new fields in V_DODC_SC_I_VENDOR view with new fields, This fields are appered on screen perfectly.
    Now i need to determine YES/ NO field value based on company code value of Shopping cart, I am not able to getING  Company code value of item in method WDDOMODIFYVIEW  of Pre and post exits to do logic.
    Please let me know where can i save this fields data and how, Thanks in advance.
    Best Regards,
    Bhaskar

    Hi Zuber,
    Yes, custom field is available in structure /SAPSRM/S_CLL_WD_SC_I_BD.
    I have created Context attribute in /SAPSRM/WDC_DODC_SC_I_SOS for view V_DODC_SC_I_VENDOR.
    Please let me know how can i map between view V_DODC_SC_I_VENDOR  and /SAPSRM/S_CLL_WD_SC_I_BD  structure ( SAPSRM/WDC_DODC_SC_I_BD  componet context), Thanks in advance.
    Best Regards,
    Bhaskar

  • Addition of New column to Vendor Overview on Shopping cart Source of supply

    Hi All,
    I have a requirement where I need to display Contract description,price in Vendor overview table of Shopping cart Source of Supply.
    Currently I can see the  Name ,Vendor , Contract  Item,  Pur.Info Record, In Vendor List  , but I also have to show the Contract Description and Price..
    Can anyone suggest how to handle this.
    Thanks in Advance.
    Neelima

    Hi Neelima,
    Please investigate the use of customer fields for meeting this requirement.
    Regards
    Azad

  • ME57-sources of supply

    In ME57 t-code ,for a material ,several purchase requisitions r displayed ,on selection ,a pop window appears to select a vondor from many sources of supply options.
    my report is to get only PR's which has a single vendor for automatic assignment to PO.
    i need to fix GET EBAN event.
    Can anyone help me regarding this.
    Regards.

    HI Surya,
    Source of supply is nothing but automatic determination of vendor or list of possible vendors for that particular product ir product category...
    Whenever you are doing Shop then you can find one tab "source of supply tab"..here you can find automatic source of suppply if already maintained.
    These we will maintain in process vendor list t-code...
    Thanks
    Ravi

  • Contract automatically set as source of supply for PR/PO

    Hello MM experts,
    I am thinking about implementing the following scenario and I have 4 questions
    PM service order  that creates a Purchase requisition automatically.
    I will have in the system a MM contract for that material / vendor / plant
    It is possible in SAP that the contract is set automatically as a source of supply in the automatically created purchase requisition?
    If it’s not possible in the PR it’s is possible at the time of PO creation?
    What configuration is needed in the system for this?
    It is possible to automatically create a PO from a PR with no steps for the  user?
    Thanks a lot for your valuable help and regards.

    Dear,
    Here you need to consider two parameters.
    Contract  : Its an yearly or monthly contract with a desired vendor on Quantity(Quantity Contract) or Value(Value contract) based.
    But if you are creating a service P.R using maintenance order for that particular maintenance service.Here system considers the account assignment as "F".
    If you want to capture the service cost of contract,
    Create an AMC for the services of that vendor and create P.O with account assignment as "U-Unknown". At the time of service required by maintenance department, They will create a maintenance order and do service entry with respect to "Maintenance Order". So actual cost will update in maintenance order.
    You can create a "Automatic P.O "with respect to P.R as our friend Jurgen said for supply.This can be done by activating the check box in material master of "Purchasing" view.
    You have an option of assigning the agreement in 'Maintenance Order"At the time of creating a P.R through it.But If your contract "Account assignment" and P.R "Account assignment" Creating through maintenance order will be different.So system will populate an error message as" Account assignment in agreement and Requisition incompatible"
    Regards,
    Pardhu

Maybe you are looking for

  • Function Modules for Actual, Plan, Budget Cost over internal orders

    Dear All, I need a function module for getting the Actual, Plan, Budget Costs for the internal orders assigned. I want to fetch the cost related to internal order which is assigned to project C projects in PLM.

  • Check for spaces embedded with in a field

    Hi, I need to check for spaces in a field. The field is char(8). I need to check for spaces in between. Example: ' 1 2' '1 2' ' 12' Leading spaces and spaces between the chars. the spaces can be more than 1. Is this possible in just SQL?

  • Get image of Data Type of wire

    Hello,  I know how to return the image of a front panel or diagram using VI server however I'm looking to be able to return the same image as displayed within the 'Data Type of Wire' information in the Context Help window when I hover my mouse over a

  • Output memory

    What does it mean when the error, "not enough output memory" pops up when attempting to burn a DVD? Please help!

  • CFLock Challenge with CFObject in Application.cfc

    I occasionally get a cflock error when running an application in the morning. I moved several cfobject lines into the application.cfc onApplicationStart method. Some of the methods in the objects use cflock to read a session variable. Here is the err