No effective source of supply despite valid source in Source List

Hi,
Can somebody help me why I can't assign source of supply in PR when I already have multiple valid vendors with info records maintained on the material? I'm using MPN material to maintain info record. I have checked all my master data with validity dates and they are all valid. Also, I noticed that there are no effective source displaying when I do simulation inside ME01 (Source List). Maybe that is one of the reason why I can't assign source of supply in PR.
hoping for an immediate reply.
Thanks,
MM

If it can't find ANY source and you definitely have FULL info records (I mean manually manitained with ME11 / 12) and you definitely have sources in the source list, then are these entries correct, are the date ranges valid, is the P org correct?
This functionality WILL work if the data is set up correctly but there are lots of small elements of that data that could stop the system from determining a valid source.
Try changing one of the entries in the source list (just the date for instance) just to see if there are any warning messages triggered.
Steve B

Similar Messages

  • Issue in Service tab and Sourc of supply tab validation in ME51N/ME52N

    Hello,
    I have requirement in ME51N/ME52N transaction for Validation of service number (under service tab) asigned Agreement number (under Source of Supply Tab)
    Requirement is like : get KONNR number(agreement number) from item level than get PACKNO fro EKPO table than get all the service number SRVNO from ESLL table.
    now get all the service number from Service Tab at item level.
    than validate service number in service tab should belongs to service number available only for selected KONNR number.
    I tried with BADI : ME_PROCESS_PR_REQ but there is not a single method is available which will return SRVNO details .
    and in user exits we also tried but not able to get correct exit or BADI which should return details of serviced numbers used in PR.
    please help to find out the correct way or other solution for this.
    thanks and regards,
    Tamseel Hashmi

    Hi,
    Make sure  item category D is selected in Purchase Req or Purchase Order.
    Thanks
    Silas

  • 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 User Exit with Quota Arrangements in ME57 and ME56

    Hi there,
    We are using Quota Arrangements to define Vendor rebate levels and we have enabled User Exit EXIT_SAPLMEQR_001 to provide a more informative popup to replace standard Source of Supply popup as need to display current allocation quantities and % allocation fulfiled.
    This User Exit is invoked during Assign Source of Supply during PReq processing (More precisely during Assign Source of Supply in ME51n and Automatic Source of Supply in ME57 and ME56) which all works fine.
    When used in ME51n and Source of Supply Assigned and PReq saved, the allocated quantity against the valid Quota Arrangement (EQUK-QUMNG) is successfully updated with the relevant amount
    When using ME56 or ME57 to Automatically Assign source of Supply via the PReq list, the User Exit is invoked correctly and on selecting Vendor and saving the PReq is update correctly, however the allocated quantity against the valid Quota Arrangement (EQUK-QUMNG) is NOT updated with the relevant amount
    I have searched SAP Notes and debuged with limited success but cannot find evidence as to why this difference is happening - I assume that it has something to do with User Exit but any advice gratefully received if anyone else has experienced this issue?
    Ben

    Hello Jerry,
    source will be determine based on the following points:
    Outline Agreement
    Info record
    Quota Arrangement
    Source List
    For more information, <a href="http://help.sap.com/saphelp_47x200/helpdata/en/75/ee11b255c811d189900000e8322d00/content.htm">Click here</a>
    Hope this helps.
    Regards
    Arif Mansuri

  • Backend system used to fetch sources of supply in classic scenario?

    Dear Experts,
    In sourcing for shopping cart in classic scenaro, the proposing sources of supply fetches possibles sources like contract, info record from local system as well as backend systems. If there are number of backend systems, which system is used to fetch the probable contracts and info-record as source of supply?
    Is it the source system for the product category used in the shopping cart? or is there any settings defined in the org structres of the user attributes?
    Thanks and regards,
    Ranjan

    You could try to set a Breakpoint at FM BBP_PDC_SRC_DETERMINE  or inside META_sOS_determine.
    as KGP said you will get inforecord and contract are valid source of supply
    We call the backend system in the plugin function B46B_SOURCEDETER_GETSOS_MULTI at the line:
    Get sources of supply from backend system for all items
      CALL FUNCTION 'BBP_SOURCEDETER_GETSOS_MULTI'
        DESTINATION lv_destination
        EXPORTING
          iv_find_contract      = iv_find_contract
          iv_find_inforecord    = iv_find_inforecord
          iv_read_price         = iv_read_price
        TABLES
          it_search_criteria    = lt_sos_find_be
          et_found_contracts    = lt_found_contracts
          et_found_inforecords  = lt_found_inforecords
          et_return             = ct_return
        EXCEPTIONS
          communication_failure = 1  MESSAGE lv_msg_text
          system_failure        = 2  MESSAGE lv_msg_text
          OTHERS                = 3.
    Muthu

  • Assign Source of Supply - Inforecord

    Hello guys!
    Do you know if can be possible to assign a source of supply at a Purchase Requisition but where the inforecord isn´t brought too?
    Is there any IMG activity where i can customize this?
    Now, if an inforecord exists for a certain vendor-material and i press "Assign Source of Supply" button, this inforecord is always showed.
    Thank you very much for your help.
    Regards,
    cecil

    Hello,
    Please maintain source list .
    You define source list requirements at plant level. If a source list requirement exists, you must maintain the source list for each material before you can order it.
    The source list serves:
    To define a source of supply as "fixed". Such sources count as preferred sources over a certain period of time. For example, the fixed vendor XXXX for material 100XX is ASA Company for the first quarter and BSB Co. for the second quarter of the year.
    Select the plants for which you wish to specify a source list requirement
    You use the source list to determine the valid source of supply at a certain point in time.
    The source list contains all the sources of supply defined for a material and the periods during which procurement from these sources is possible
    Following T/Code activities in Material Management module.
    Maintain source list  -  ME01
    Display source list  -  ME03
    Display changes to source list -  ME04
    Analyze source list  -  ME06
    Reorganize source list  -  ME07
    Generate source list  -  ME05
    Display source list for material-  ME0M
    you make the system settings that are necessary for purchasing operations carried out using source lists.
    Source list requirement for materials, It may be necessary to include possible vendors of a material in the source list before the material can be ordered.
    The Source list requirement field in the purchasing data of the material master record indicates whether a source list requirement exists for a material.
    You can define the Source list requirement at plant level in IMG.  Logistics -->Materials management --> Purchasing --> Source list.
    Here you can see the plants for which a source list requirement exists.
    Reward if useful
    Kedar Kulkarni

  • 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

  • Source of Supply Error?

    Hi,
    I am currently experiencing the following problem: (We are running SRM 5)
    I replicate vendors from the R/3 system to SRM via BBPGETVD trans code.
    I select the correct Object ID (for the Vendor Org structure I created in PPOCV_BBP)
    I check that the Vendors have been replicated (They appear in Vendor Org structure – PPOMV_BBP)
    BUT these newly replicated Vendors do not appear in the Source of Supplier when I try to assign them when creating a Shopping Cart?? It’s strange cos the previous batch of vendors I replicated worked fine and appear in the Source of Supply??
    I’ve also run the business partner check transaction: BBP_BP_OM_INTEGRATE and checked that the Org units are synchronized. I have green lights for everything.
    I’ve checked that the replicated vendor is mapped to the correct Purchasing Org, Manually in the Frontend (with Admin user via “Manage Business Partners”) and
    via the Backend with trans code BBP_UPDATE PORG. The vendor is assigned to the correct Purch Org.
    What am I missing here? Any help would be appreciated.
    Regards,
    Shayne

    Hi
    Note 901497 Industry-specific fields not changeable in the quotation 
    Note 902719 Implementation of interface method in Novation Class 
    Note 833098 Tabular customer fields in quotation increased entries
    Note 822424 CUF. Customer fields cannot be changed in the bid
    Note 809630 - Customer field in bid invitation and bid - How does it work?
    Hope this will definitely help.
    Do let me know, incase you need any other details.
    Regards
    - Atul
    Hi
    <u>Please go through the following SAP OSS Notes, which will help -></u>
    Note 1030627 - Source of supply not found for service items
    Note 1051985 - Proposed source of supply new vendor address doesn't update
    Note 1062273 - Source of supply not listed completely in classic scenario
    Note 1024423 - Source of supply not found for service items in shopping cart
    Note 1039542 - Source of supply from catalog reset on change of location
    Note 1039945 - Source of supply list is not refreshed
    Note 1043176 - Source of Supply Selection not shown from Purchaser inbox
    Note 1003666 - Determining the source of supply takes a long time
    Note  988252
    <b>Other Related Notes</b>
    Note 1006929 - Performance improvement while fetching source of supply
    Note 927077 - Error during the automatic assignment of a source of supply
    Note 905894 - Performance improvement in Sourcing
    Note 991898 - Source of supply not reset when product type changes
    Note 931757 - Source of Supply not copied correctly
    Note 881695 - Source of supply with item changes
    <u>Some other related SAP links -></u>
    Re: Vendor exists in R3 but BBPGETVD could not find it ?
    Create SC using >BBPSC03 in SAP GUI
    Source of supply problem
    Source of Supply
    Re: Source of Supply problem
    SC does not determine source of supply if Source List maintianed in R/3
    Source of supply in shopping cart
    Re: Source of Supply problem
    Sources of supply in SC not visible
    Contract Source of Supply Not Populating in SC
    Do let me know.
    Regards
    - Atul

  • Sourcing - Sources of supply.

    Hello Experts
    Could you all please tell what are the different source of supply can be used in classic, extended classic and standalone scenario.
    Also let me know, what are the sources of supply can be replicated from the backends and their respective programs.
    Thanks in advance.

    Hi Santosh,
    In SRM source of supply will be assigned in shopping cart level, sourcing cockpit  or in PO if a PO created directly without SC (possible only for a professional purchaser role) based on the implementation scenario here is the details information:
    Extended classic Scenario:
    Source of supply in SC:
    1. Source will be copied from catalog if you add shopping carts from catalog
    2. Source will be prompted in shopping cart if there is already a contract available for that product category
    3. If SC is not soco relevant then after approval PO will be created in held status, where buyer can assign vendor
    Sourcing cockpit:
    1. Buyer can assign a vendor
    2. Buyer can assign a contract
    3. Buyer can create a RFx (bid / auction) with reference to SC and later that can be converted into a PO / contract
    Sourcing in PO (In case PO is created directly)
    Here buyer can assign a vendor
    Buyer can enter vendor & contract if contract is available (should be created for same vendor / location & product category combination)
    Classic Scenario:
    SRM shopping cart:
    1. Source will be copied from catalog if you add shopping carts from catalog
    2. Source will be prompted in shopping cart if there is already a contract available for that product category
    PR / PO in ECC:
    1. If a supplier list is maintained then supplier / contract will be picked from the supplier list
    2. Buyers can process the PR / PO and assign a source of supply
    Standalone / Local scenario:
    Same as Extended classic scenario (source of supply assignment)
    Replication:
    Except the local scenario: Vendor master data can be replicated / update  from ECC to SRM using BBPGETVD / BBPUPVD programs
    Contracts can be maintained in SRM (contract management) and same can be used as a source of supply in SRM / ECC (SRM 7.0 central contract) or separate contacts for SRM i.e. local contract & ECC i.e. GOA's (In case of SRM 5.0 version)
    Also, you can import the contract from ECC to SRM via initial upload program.
    Hope above information will provide an overview about the source assignment / replication process.
    Regards,
    Krish
    <div id="isChromeWebToolbarDiv" style="display:none"></div>

  • Proposed vs. assigned source of supply

    Hello Experts,
    I have the following scenario:
    We are using SRM 5.0, extended classic scenario and have a requirement in which a material without an SAP number is selected from a catalog (something similar to a 3rd party catalog).
    However, each material in this catalog have all the information needed such as price, vendor, description, etc.
    However, when this is sent to the shopping cart, the vendor is assigned as a proposed source of supply, instead of an assigned source of supply. Because of this, this requirement is sent to the Sourcing Cockpit, which we don't want to to, since all information needed is already there, and is should automatically create a Purchase Order.
    Is it possible to do this?
    If so, which BADI's should we use?
    Regards,
    Gilberto Gallardo

    Hi
    Using BBPDOC_CHANGE_BADI, we have done this several times._
    Also, we can go for BBPCATALOG_TRANSFER BADI..._
    Please go through the links below for more details ->
    Re: Automatic PO with preferred vendor
    Re: Convert preferred vendor to fixed vendor
    Missing Name in BBP_PD_SC_GETDETAIL
    Re: I cannot access "Supplier Catalogue no" in BBP_DOC_CHANGE_BADI
    Re: partner functions  for vendor master in SRM
    Re: Partner functions OA and IP missing for Vendor in Extended classic PO
    How to select Vendor information as per the line item of the shopping cart
    Hope this will defiinitely help. Do let me know.
    Regards
    -Atul

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

  • 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

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

  • 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

  • "No valid source context supplied" in technical bar after upgrade to EhP1

    Dears,
    After upgrade from 7 to 7 EhP1 we have error displayed in technical bar (bar on the top, with Log off and Personalization buttons) in all business roles that we log in. There is BSP error displayed:
    "No valid source context supplied"
    Exception Class CX_XSLT_RUNTIME_ERROR
    Error Name CX_XSLT_RUNTIME_ERROR
    Program CL_BSP_WD_REPOSITORY==========CP
    Include CL_BSP_WD_REPOSITORY==========CM003
    ABAP Class CL_BSP_WD_REPOSITORY
    Method CREATE_INSTANCE_FROM_XML
    Line 10 
    Long text -
    Do you have any ideas?
    We have component webcuif in 701 version (SP 4).
    Best Regards

    thx Anup but still no success.
    I am thinking whether we should do any repositories consitency check after upgrade? any manual adjustments? this is a standard component crmcmp_hdr.
    the error seems to be caused by implementing note 0001358764 before upgrade in CRM 7.
    Best Regards

Maybe you are looking for