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
Similar Messages
-
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 SalokheHello 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 Regardsthx 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 -
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> -
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
GregorHi,
Can you tell me about your project on short notes. For information.
Regards
R.Rajendran -
No valid source of supply could be found - while running the cost estimate
Hi all,
We are running the material cost estimate for a subcontracting material. The costing is giving an error saying "No valid source of supply could be found".
We have checked
1. Purchase info record
2. Source list
3. Valid dates are maintained for the condition records for the info record.
Still we are getting the error.
Can somebody help on this ?
Thanks in advance
Regards
Karpagam SrinivasanDear Karpagam,
Please check these points,
Are you sure you have created a Purchase Info Record in ME11 for a Sub-contratcing process?
Sometimes you would have crated a standard Purchase Info Record.
Maintain procurement type as F and special procurement value 30 in the MRP2 view of the material
master for that material.
As you have mentioned PIR,Source list already exists,please check this and come back.
Regards
Mangalraj.S -
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 PMRajdeep
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. -
No valid source of supply could be found
Dear SAP Gurus,
In the costing run, we foundout the error for the material XXXX as "No valid source of supply could be found". Please suggest
Checked up in the purchasing data everything is definedDear,
Message no CK380 or CK776 No valid source of supply could be found.
The error does not occur, if The source list contains 2 valid entries for 2 vendors
either the source list or the quota arrangement has been maintained.
one of the two entries is removed in the source list or in the quota arrangement.
Or check Purchase Info-record need to create with Subcontract Category.
Regards,
R.Brahmankar -
While running the cost : No valid source of supply could be found
Hi Friends,
When we have doing the ck11n i got the this error meassge.
No valid source of supply could be found , could u please give me clarification where i can fix this issue.
Regards
Mastan Reddy NDear,
F means Externally Procured Item, so system will not allow you to create Cost Estimate.
Please change it to E and then create Cost Estimate, it will work.
Br,Vivek -
No valid source of supply found for material ABC plant Plant1
Hi ,
I am using the Tcode kkf7 (product cost collector ) for costing a material XYZ(finished prod) , it throughts an error that the material ABC which is an sub assembly of XYZ of type E has no valid source of supply.
Regards,
Reddyhi
you have to maintain purchase info records for subcontracting material, TCODE Me11, procurement type in material master F, special procurement type 30.
In the costing variant assigned check valuation variant strategy for subcontracting
krishna -
I just bought a new Scanjet G4050 and when I try to install the software I get an error message and the software will not install. Error message is:"Error 1706.No valid source could be found for product ScannerCopy. The Windows Installer cannot continue." During the install, I was prompted to enter a CD or other location to load ScannerCopy.
I had an older version of this same Scanjet G4050 working on my PC about a year ago. My PC is running Vista 64.
Any ideas how I can get the software to successfully load? Any ideas of where I can get this "ScannerCopy" that the software is asking for?Remove your current installed Reader using http://labs.adobe.com/downloads/acrobatcleaner.html
then download and run the full installer from http://get.adobe.com/reader/enterprise/ -
Excel 2007 = Refresh All = Error Message "Initialization Data Source Failed"
Excel 2007 => Data Tab - Refresh All => Error Message "Initialization Data Source Failed
2nd Error message:
The following data ranged failed to refresh: ExternalData1 - Continue to refresh all
How do I resolve this? Trying to connect to Oracle DB environment 12CWhat will happen if you rebuild the PivotTable/Table ?
Make sure the external database is available and the Oracle Provider for OLE DB is installed correctly.
Wind Zhang
TechNet Community Support -
Error message from the source system, Caller 09 contains an error message.
Hi,
Guru's, i got an error massage when my process chain is running(Daily) in BIW 7.0, the error got in Data Loading from source to PSA or data targets. The errors having the below details
Error message from the source system
Diagnosis
An error occurred in the source system.
System Response
Caller 09 contains an error message.
Further analysis:
The error occurred in Extractor .
Refer to the error message.
Procedure
How you remove the error depends on the error message.
Note
If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request. "
Can any body help me out of this situation what to do and how to resolv ethe problem.
Thanks and Regards,.
Taps....Caller 09 is a very common issue - please search the forums before posting....
Arun -
Error Code :-5002 Error Message :Enter valid currency , '51100000-01-001-0
Hi all,
I have found a error "Error Code :-5002 Error Message :Enter valid currency , '51100000-01-001-01'" while adding the DELIVERY document.
I have made a customer and assign then "EURO" currency and add delivery document then it prompts error.
Could anyone solve this problem. is there any setting which i am missing..??
Regards
SandeshHI Sandesh,
Check Sap note :1252328
and also check below thread of similar issue:
Re: 'Invalid Currency' error when attempting to deliver order
Hope this will solve your issue.
Thanks,
Neetu -
Error message: "Enter valid currency [Message 173-57]" during Deposit transaction
Hi All,
Is there a specific reason why can't I deposit from a "Multi-currency" cash account to a "specific (i.e., USD)" cash account using the Banking> Deposits> Deposit module.
I have already read below threads related to this issue.
Error message "Enter valid currency [Message 173-57]" during cash deposit
Can't Create Cash Deposit of Journal Entry due to "Invalid Currency" Error
Transfer Between bank accounts in different currencies
GL Postings between different currency accounts
foreign currency transactions
SAP Business One Note: 1260658 - Transfer monies between different monocurrency accounts
I have posted successfully e cash transfer from multicurrency to monocurrency cash account thru Journal Entry, However, I wanted to know the reason why it is not possible to post this transaction thru the Banking> Deposit module.
Appreciate your feedback on this matter.
Thanks!Hi,
Same error message is appeared in 8.81 PL10. So this is not due to PL. If you select other than local currency at deposit currency, this error appears.
Let me check and update.
Thanks & Regards,
Nagarajan
Maybe you are looking for
-
Problem invoking EJB web service from Java
The project has a BPEL project calling embedded Java class and that Java class is invoking EJB WS(Java based). The whole project has been developed in Jdeveloper. There is a dependency set between BPEL project and the EJB project. The EJB WS has been
-
Solman_setup - Landscap Data
Dear All, I am configuring Solution Manager EHP1 using solman_Setup. Which infomation entered during Wily Introscope Enterprise Managers in Lnadcap Data -> Basic Configuratin. Regards, Nirav
-
Other than the standard Recruitment functions available in SAP my client needs to include a web-link functionality. Applicants should be able to enter their data in a form which should be automatically updated in SAP Recruitment. Further they want to
-
Hi, I am using flexbook for newspaper project. We have lots of huge size images in our app,all more than 1 MB. I use SuperImage as flexbook content,I also noticed that the application was using huge amounts of memory and crashed IE6, IE7,IE8 and
-
I keep getting an error The ipad can not be synced because the sync session failed. same error for my iphone. any ideas?