Error! No data source found with name 'mynewdsname' (after asking 0 providers)
Hi all,
I am trying out the instructions given below.
http://dev.day.com/docs/en/cq/current/developing/jdbc.html
I followed them exactly but removed <cq:include script="head.jsp"/> line from the jsp since I do not have a head.jsp.
my config node settings are as follows.
But when I go to the page, I get below error message.
error! No data source found with name 'mynewdsname' (after asking 0 providers)
DB is up and running. I could not find any issue with it. Code is as follows.
<%DataSourcePool dspService = sling.getService(DataSourcePool.class);
try {
DataSource ds = (DataSource) dspService.getDataSource("mynewdsname");
%>
Any help will be great. TX
Document is outdated & for now could you please follow http://dev.day.com/content/kb/home/cq5/Development/HowToConfigureSlingDatasource.html
Similar Messages
-
Incoming Payment Error(-2028) Data source - No data found, pls help me
Dear friend,
Im struggle in Adding Incomming Payment, I got -2028 Error msg,
DATA SOURCE NO DATA FOUND pls help me to solve
Its My code
Public Sub incopay(ByVal oform As SAPbouiCOM.Form)
Dim incom As SAPbobsCOM.Payments
Dim value As Integer
Dim strerror As String
Try
Dim rset As SAPbobsCOM.Recordset
oitem = oform.Items.Item("om")
oedit = oitem.Specific
vfd1 = oedit.String
incom = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
incom.AccountPayments.AccountCode = acc
incom.AccountPayments.AccountName = accn
incom.AccountPayments.Decription = "deposit"
incom.AccountPayments.SumPaid = vfd1
'incom.CardCode = "C1"
'incom.CardName = "Shama Broadcast Contents & Services (P) Ltd."
incom.DocDate = Now
incom.DueDate = Now
incom.TaxDate = Now
incom.DocCurrency = "INR"
incom.Reference2 = 2
incom.JournalRemarks = "Incoming Payments - 161020"
'incom.AccountPayments.Add()
'value = incom.Add
incom.CheckAccount = "102020"
incom.Checks.DueDate = Now
incom.Checks.CountryCode = "IN"
incom.Checks.BankCode = "HDFC"
incom.Checks.Trnsfrable = SAPbobsCOM.BoYesNoEnum.tNO
incom.Checks.CheckSum = 100
incom.Checks.Add()
incom.AccountPayments.Add()
value = incom.Add
Catch ex As Exception
oapp.MessageBox(ex.Message)
End Try
''incom.AccountPayments.Add()
''value = incom.Add()
If value <> 0 Then
ocompany.GetLastError(value, strerror)
MsgBox(value & " " & strerror)
End If
End Sub
Regards,
Hempradeep.SHi Hempradeep,
I haven't tried executing your code, but suggest that you try and solve it with elimination. This means you make your code shorter and shorter until it posts.
So firstly take out the account payment and the check payments and just do a cash payment and see if it posts. If it posts then you gradually add the code you hade previously until it gives you that error again.
That error you got can be because of many reasons. It could be that the cardcode, gl account, currency, etc, etc, etc does not exist. It could be because of any data you specify from another table does not exist or does not relate to this object. Like when you're posting to a customer and you actually specify a supplier (just an example and not your problem).
Start with a very basic incoming payment and work your way up to the code you've got there now.
Good luck,
Adele -
Data source - Invalid table name [66000-7]
Hi,
I created UDO with master table and child table and when I tried to execute on it a dbdatasource query I got this error Data source - Invalid table name [66000-7]. When I tried this query on system table it works perfectly, so I don't know where is the problem (it looks like DBDataSources.Query doesn't work on user tables).
My code:
oDBDataSources = oForm.DataSources.DBDataSources.Add("@MyTable");
oConditions = (SAPbouiCOM.Conditions)(SBO_Application.CreateObject(BoCreatableObjectType.cot_Conditions));
oMatrix = (SAPbouiCOM.Matrix)(oForm.Items.Item("mtx_dzial").Specific);
oCondition = oConditions.Add();
oCondition.BracketOpenNum = 1;
oCondition.Alias = "U_MyDate";
oCondition.Operation = BoConditionOperation.co_BETWEEN;
oCondition.CondVal = "2008/10/01";
oCondition.CondVal = "2008/10/06";
oCondition.BracketCloseNum = 1;
oDBDataSources.Query(oConditions);
Regards
ElaHi
Look here the working example...
Hope it can help you.
Public Sub SBO_CreateForm()
Dim oForm As SAPbouiCOM.Form
Try
Dim sUniqueID As String = "O99_" & Microsoft.VisualBasic.Format(Now.Millisecond, "0000")
Dim sFormXmlFile As String = "MY_FORM_FILE.xml"
' Search for this function on this forum...
Call ReplaceUIDandLoadToB1(sFormXmlFile, sUniqueID)
oForm = SBO_Application.Forms.Item(sUniqueID)
Call Matrix_SetConditions(oForm)
oForm.Visible = True
Catch ex As Exception
If Not oForm Is Nothing Then
oForm.Close()
oForm = Nothing
End If
Finally
System.GC.Collect() 'Release the handle to the table
End Try
End Sub
Private Sub Matrix_SetConditions(ByRef oForm As SAPbouiCOM.Form)
Dim oMatrix As SAPbouiCOM.Matrix
Dim oConditions As SAPbouiCOM.Conditions
Dim oCondition As SAPbouiCOM.Condition
Try
oMatrix = oForm.Items.Item("mtx00").Specific
If oMatrix Is Nothing Then Throw New Exception("ERROR!...")
oConditions = SBO_Application.CreateObject(BoCreatableObjectType.cot_Conditions)
' ++++++++++++++++++++++++++++++++++++++++++++
If Not sItem1.Equals("") And Not sItem2.Equals("") Then
'// AND (P.U_CodItem BETWEEN '" & s1.Trim & "' AND '" & s2.Trim & "')"
oCondition = oConditions.Add
oCondition.BracketOpenNum = 1
oCondition.Alias = "U_CodItem"
oCondition.Operation = co_BETWEEN
oCondition.CondVal = sItem1
oCondition.CondEndVal = sItem2
oCondition.BracketCloseNum = 1
Else
If Not sItem1.Equals("") Then
'// AND P.U_CodItem = '" & s1.Trim & "'"
oCondition = oConditions.Add
oCondition.Alias = "U_CodItem"
oCondition.Operation = co_EQUAL
oCondition.CondVal = sItem1.Trim
End If
If Not sItem2.Equals("") Then
'// AND P.U_CodItem = '" & s1.Trim & "'"
oCondition = oConditions.Add
oCondition.Alias = "U_CodItem"
oCondition.Operation = co_EQUAL
oCondition.CondVal = sItem2.Trim
End If
End If
' other conditions ....
'// Execute the query with the conditions collection
oForm.DataSources.DBDataSources.Item("@O99_MY_TABLE_NAME_HERE").Query(oConditions)
oMatrix.LoadFromDataSource()
oMatrix.SelectionMode = BoMatrixSelect.ms_Single
Catch ex As Exception
' log exception here
Finally
If Not oConditions Is Nothing Then If oConditions.Count > 0 Then glo_Conditions = oConditions
System.GC.Collect()
End Try
End Sub
In the xml file of my form I have added dbdatasource:
<datasources>
<dbdatasources>
<action type="add">
<datasource tablename="@O99_MY_TABLE_NAME_HERE"/>
</action>
</dbdatasources> -
Error saving Data Source Properties. - Base Exception. Call Oracle Support
Hi,
Oracle Application Server 10g Release 2 (10.1.2).
I tried to create new Datasource using OEM Console but it throws error as following :
Error saving Data Source Properties. - Base Exception: The Entity et="system";ei="0",et="application";ei="138",et="data-sources";ei="146":child:data-sourcechild key:location:jdbc/OracleCoreDS; class:com.evermind.sql.DriverManagerDataSource; already exists in the repository. Resolution: If possible, remove et="system";ei="0",et="application";ei="138",et="data-sources";ei="146":child:data-sourcechild key:location:jdbc/OracleCoreDS; class:com.evermind.sql.DriverManagerDataSource; . Call Oracle Support.
May I know how to resolve this please ?
Thank you.
J.Hi ,
Write following code in your UDF
String Query = " ";
Channel channel = null;
DataBaseAccessor accessor = null;
DataBaseResult resultSet = null;
Query = <your query>;
try{
channel =LookupService.getChannel(<comm channel name>,< business system>);
accessor = LookupService.getDataBaseAccessor(channel);
resultSet = accessor.execute(Query);
if(!(resultSet.equals(null)))
Iterator rows = resultSet.getRows();
if (rows.hasNext()) {
Map rowMap = (Map)rows.next();
<your variable>.add(rowMap.get(<db field name>)+ "");
catch(Exception ex)
result.addValue(ex.getMessage());
finally
try
if (accessor!=null) accessor.close();
catch(Exception e)
result.addValue(e.getMessage());
Thanks ,
Suvarna
Pls award pts if it helps . -
"Error parsing data-sources config" when I restart JDeveloper
I am using JDeveloper. Every time I got the same server error - "Error parsing data-sources config" when I restart JDeveloper and even if i use a project it works before JDeveloper is restarted.
Firstly, I import EAR file to the JDev, then I work on my code, everything is fine and compile.
But If I restart the JDeveloper and open the same project again, it has the error Error parsing data-sources config, Exception: The factory-class cannot be empty.
And I need to everything again, import EAR file, get the changes from my previous project. It really slows down my working efficiency.
Do you know what the problem is?
2008-06-24 12:13:46.289 Exception processing legacy data source. Exception: The factory-class cannot be empty.
2008-06-24 12:13:46.289 Exception processing legacy data source. Exception: The factory-class cannot be empty.
2008-06-24 12:13:46.305 Application Deployer for dvt-faces-test-13 FAILED.
2008-06-24 12:13:46.321 WARNING: DeployerRunnable.run java.lang.InstantiationException: Error parsing data-sources config at file:/C:/Documents and Settings/ytang.WALT-DCNT/Application Data/JDeveloper/system11.1.1.0.30.50.26/o.j2ee/embedded-oc4j/application-deployments/dvt-faces-test-13/data-sources.xml: DataSourceConfigException: The factory-class cannot be empty.oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error parsing data-sources config at file:/C:/Documents and Settings/ytang.WALT-DCNT/Application Data/JDeveloper/system11.1.1.0.30.50.26/o.j2ee/embedded-oc4j/application-deployments/dvt-faces-test-13/data-sources.xml: DataSourceConfigException: The factory-class cannot be empty.
2008-06-24 12:13:46.321 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:82)
2008-06-24 12:13:46.321 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-06-24 12:13:46.321 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-06-24 12:13:46.321 at java.lang.Thread.run(Thread.java:619)
2008-06-24 12:13:46.321 Caused by: java.lang.InstantiationException: Error parsing data-sources config at file:/C:/Documents and Settings/ytang.WALT-DCNT/Application Data/JDeveloper/system11.1.1.0.30.50.26/o.j2ee/embedded-oc4j/application-deployments/dvt-faces-test-13/data-sources.xml: DataSourceConfigException: The factory-class cannot be empty.
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.parseDataSources(EnterpriseArchive.java:1680)
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.parseDataSources(EnterpriseArchive.java:1666)
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.parseDeploymentMainNode(EnterpriseArchive.java:588)
2008-06-24 12:13:46.321 at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:344)
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.parseRootNode(EnterpriseArchive.java:2561)
2008-06-24 12:13:46.321 at com.evermind.xml.XMLConfig.init(XMLConfig.java:224)
2008-06-24 12:13:46.321 at com.evermind.server.J2EEComponent.initDeployment(J2EEComponent.java:264)
2008-06-24 12:13:46.321 at com.evermind.server.J2EEComponent.initDeployment(J2EEComponent.java:194)
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArchive.java:348)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:468)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:206)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
2008-06-24 12:13:46.321 ... 5 more
oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.distributeApplicationToTargets(Jsr88RemoteDeployer.java:672)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployApp(Jsr88RemoteDeployer.java:1108)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:183)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:435)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$4$1.run(AdrsStarter.java:1252)
#### Cannot run application dvt-faces-test-13 due to error deploying to DefaultServer.
[Application dvt-faces-test-13 stopped and undeployed from Server Instance DefaultServer]
Thanks a lotBy the way, I am using Windows Platform. For any version of JDeveloper from June I used has the same problem.
-
using sharepoint designer 2013 - connected to sharepoint online - but getting " data source file cannot be saved" after making a new linked datasource
Hi,
Based on your description, I have done a test and I can’t reproduce your issue.
I have used SharePoint Designer 2013 to open a SharePoint Online site and there are no issues.
I’d like to clarify whether you encounter any issues when accessing SharePoint Online sites. If there are no issues during the accessing procedure, SharePoint Online service should be working fine at your side. The issue may be caused by specific SharePoint
Designer client or network. I suggest you refer to the following steps to troubleshoot the issue.
1. Use SharePoint Designer to open another site and check whether it is successful.
2. When you are prompted to enter Office 365 account and password, try other users’ accounts and select the remembering the credential.
3. Perform the connection procedure under another environment and verify whether the issue is resolved.
If the issue persists, can you provide related screenshots for further troubleshooting?
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
Error updating data source from SQL Server ODBC into SQL Native Client 10.0
I am converting Crystal 8.5 reports into Crystal XI release 2. The data source was ODBC using SQL Server 2000 and pointing to a stored procedure. In the new server the data source has to be ODBC again, but it uses the SQL Native Client 10.0 Driver, because the new server is SQL Server 2008. I have copied the same old stored procedure on the new server and it works fine as a data source to a brand new Crystal XI report. But when I am opening an existing 8.5 version crystal report and updating the data source to the new location I get the error message "Some tables could not be replaced, as no match was found in the new data source".
I thought I could tackle this error by creating a temporary data source using the standard ODBC SQL Driver linked to the SQL 2008 Server instead of the SQL Native Client 10 ODBC. So I first updated the crystal data source to link to this temp ODBC using SQL Driver and it worked fine. But after that, when I try to update the data source to link to the SQL Native Client 10 ODBC, I get the same error again.
So I guess that the problem is not the new server itself, but the switch between SQL Server ODBC and SQL Native Client 10 ODBC.
Does anyone know what's going on with this SQL Native Client 10 in updating crystal report data sources?CR XI does not support that driver. Try selecting the Native driver or upgrade to CR XI R2 for free and use SP4, 5 and 6 and then FP 6.4 or upgrade to CR 2008 and SP 3 and Fix Pack 3.3
Thank you
Don -
JDBC runtime error using data source (Oracle 9i server & Oracle 8i client)
Hi,
Wud someone help me with this? Why am I getting this run-time error?
D:\shilpa\javaprogs>java -classpath %classpath%;.; CreateMovieTables
javax.naming.NoInitialContextException: Need to specify class name in environmen
t or system property, or as an applet parameter, or in an application resource f
ile: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
40)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
a:280)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at CreateMovieTables.initialize(CreateMovieTables.java:18)
at CreateMovieTables.main(CreateMovieTables.java:101)
This is how I have created the data source:
public void initialize() throws SQLException, NamingException
Context initialContext = new InitialContext();
DataSource dataSource = null;
dataSource = (DataSource) initialContext.lookup("jdbc/Oracle");
connection = dataSource.getConnection();
I have set the classpath to: C:\j2sdk1.4.2_08\jre\lib where the jndi.properties file exists.
Here's the jndi file:
datasource.name=jdbc_1
datasource.url=jdbc:oracle:thin:@10.119.5.98:1521:sea77db0
datasource.classname=oracle.jdbc.driver.OracleDriver
datasource.username=tr1
datasource.password=tr1
What am I doing wrong? Cud someone help me with this? It's working fine when I don't use the data source. Maybe I am doing something wrong.
Regards,
Shipf1After reading your posts, I noticed that my eyes were bleeding...
Wud someone help me with this?
Cud someone help me with this?
Thanks. It worked. BUt, IF i wanna ...
I don't[b] wanna...
what shud i do then?
Thought I should return the favor encapsulating the essence of this writing style:
So, IF i cud, I wud, but If i don't wanna shud i anyway?
Just funnin around... Good luck on your problem though.
Darn it, my eyes are bleeding again! -
Hello,
On the MDW Disk Usage Collection Set report, I get the following error when I click on a database hyperlink.
A data source has not been supplied for the data source DS_TraceEvents
SQL profiler shows the following SQL statements are executed (I've replaced the database name with databaseX)
1. exec sp_executesql N'SELECT
dtb.name AS [Name]
FROM
master.sys.databases AS dtb
WHERE
(dtb.name=@_msparam_0)',N'@_msparam_0 nvarchar(4000)',@_msparam_0=N'databaseX'
this returns zero rows as databaseX does not exist on my MDW central server, but is a database on a target server (i.e. one that is being monitored and uploaded into the MDW central server).
2. USE [datatbaseX]
this produces the following error:
Msg 911, Level 16, State 1, Line 1
Database 'databaseX' does not exist. Make sure that the name is entered correctly.
why is the report looking for the database on my server?
thanks
Jag
Environment: MDW (Management Data Warehouse) on SQL 2008 R2Hi Jag,
Based on my test, while this database is offline, we will encounter this issue. This is because that while we click the certain database in “Disk Usage Collection
Set” report, it will query some information with that certain database. If this database is offline, we will not access this database to acquire related information and generates this error.
Therefore I recommend that you check the status of this database by using this system view:
sys.databases. If it is not online, please execute
the following statements in a new window to make this database to be online:
USE master
GO
ALTER DATABASE <database name> SET ONLINE
GO
If anything is unclear, please let me know.
Regards,
Tom Li -
Data Source enhancement with ABAP....
My requirement is to enhance Z data source to include
bonus_cat,perfinc and active from ztrm_labdlycat table.
For that reason i appended the extract structure and in CMOD included the following code in EXIT_SAPLRSAP_001 as this is transaction data source
<b>CODE:</b>
case i_datasource.
when ' Z_TRM_LMS'.
Loop at case i_datasource.
when ' Z_TRM_LMS'.
Loop at i_t_data.
Select single bonus_cat perfinc active from ztrm_labdlycat into
i_t_data-zzbonus i_t_data-zzperf i_t_data-zzactive
Where locat = i_t_data-locat and
exrsn = i_t_data-exrsn and
apobj = i_t_data-apobj.
Modify i_t_data.
Endloop.
Endcase.
<b>ERROR</b>
The field "I_T_DATA" is unknown, but there is a field with the similar name "C_T_DATA".
I am new to BW and not familiar with ABAP code...please update me on this how can i correct error
ThanksInclude the into clause within bracket.
Select single bonus_cat perfinc active from ztrm_labdlycat into
(i_t_data-zzbonus, i_t_data-zzperf, i_t_data-zzactive)
Where locat = i_t_data-locat and
exrsn = i_t_data-exrsn and
apobj = i_t_data-apobj.
But its not good practice to include Select Statement inside Loop..endloop.
You can create a separate internal table with the three fields and fill it with single select.
Then you can use read statement inside your loop..endloop.
The code will be like.
TYPES: begin of ty_data,
Locat (INCLUDE THE VARIABLE TYPE),
Exrsn (INCLUDE THE VARIABLE TYPE),
Apobj (INCLUDE THE VARIABLE TYPE),
bonus_cat (INCLUDE THE VARIABLE TYPE),
perfinc (INCLUDE THE VARIABLE TYPE),
active (INCLUDE THE VARIABLE TYPE),
End of ty_data.
Data: i_data type ty_data occurs 0 with header line.
Select locat exrsn apobj bonus_cat perfinc active from ztrm_labdlycat into corresponding fields of table i_data.
Loop at i_t_data.
Read table i_data with key
locat = i_t_data-locat
exrsn = i_t_data-exrsn
apobj = i_t_data-apobj.
If sy-subrc = 0.
I_t_data-bonus_cat = i_data-bonus_cat.
I_t_data-perfinc = i_data-perfinc.
I_t_data- active = i_data- active.
Modify i_t_data.
Endif.
Endloop. -
Data source creation with XEClient driver crashes ODBC Data Source Admin.
OS: Windows XP Professional SP2
How to reproduce:
1. Install Oracle XEClient 10g from: http://www.oracle.com/technology/software/products/database/xe/htdocs/102xewinsoft.html
2. (optional) You may need to install MSVCRT71.DLL and MFC71.DLL (see Re: odbc error in XE and 9i
3. Open Control Panel
4. Double-click on the Administrative Tools icon
5. Open Data Sources (ODBC) applet.
6. Click Add button
7. Select Oracle in XEClient
8. Name the Data Source.
9. Press OK
10. Double-click on the Data Source. The ODBC Data Source Administrator crashes.OS: Windows XP Professional SP2
How to reproduce:
1. Install Oracle XEClient 10g from: http://www.oracle.com/technology/software/products/database/xe/htdocs/102xewinsoft.html
2. (optional) You may need to install MSVCRT71.DLL and MFC71.DLL (see Re: odbc error in XE and 9i
3. Open Control Panel
4. Double-click on the Administrative Tools icon
5. Open Data Sources (ODBC) applet.
6. Click Add button
7. Select Oracle in XEClient
8. Name the Data Source.
9. Press OK
10. Double-click on the Data Source. The ODBC Data Source Administrator crashes. -
Error in Data source Enhancment
Hi All,
While putting my code in "EXIT_SAPLRSAP_001" in function exit for enhancing Data source I meet this error as below.
Program names ZX... are reserved for includes of exit function groups
Message no. DS027
It is happening when I am clicking on Double click on "zxrsau01" . Any clue what is giving me this error.
Thanks a lot in advance.
Regards,
JohnHi John,
this is basically a warning. If you press enter after getting the message it will work.
kind regards
Siggi -
Data source Enhancement with Function Module
Hi all!
I have a requirement like I have to enhance my Generic Data source.
Let me make it clear!
I have 10 field in R/3 which I am able to get into extract structure using Generic Data Source on the corresponding Table.
I have another field on my extract structure, say ZEXMFLD1 which is updated by a function module ZZ_FUNC_MODULE_SAMPLE.
I came to know that Data source Enhancement can be done, but don't know how.
Request your guidance in this. Can u please let me know how I can achieve this?
Thanks,
SriHi Sri,
You can enhance generic datasources also.
For that you have to use below function modules based on your datasource type.
EXIT_SAPLRSAP_001 - Transactiona data
EXIT_SAPLRSAP_002 - Master
EXIT_SAPLRSAP_003 - text
EXIT_SAPLRSAP_004 - Hier
First check in CMOD(TCODE) whether component RSAP0001 is assigned to any project. If it is not assigned to any project(fresh system), assign it to a project by creating it.
Ex. ZBW. If it is already assigned, go SE37.
For transaction data go to function module EXIT_SAPLRSAP_001(Trans data) and start your logic.
CASE i_datasource.
WHEN 'your data source name'.
call you Function module - CALL 'ZZ_FUNC_MODULE_SAMPLE'.
pass the imported value from above FM to c_t_data.
close case with ENDCASE.
Let me know if you need more info.
- Kalyan. -
Connection error while connecting to engine with names
hi
Due to DR setup one of our DEVLPMNT server are moved to different site and it's IP got changed.
Both IP and system name are working for connecting to the engine, but if we try to connect from local through SSMS it is connecting only with IP and it is throwing error when we are using instance name.
->Two instances are there in server, both engines can be connected by using IP or INSTANCE NAME in server
could please some one help me in this
with regards,
ramSounds more likely to be a DNS issue than a SQL issue?
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
USING TEMPLATE IN A DIFFERENT DATA SOURCE BUT WITH THE SAME GL QUBE
Hi, I want to chance connection in a SV Workbook to another data source. As we are having several test instances I need to be able to use the same Query workbook on different instances.
I've not been able to reproduce the steps to get the SV to ask for the new instance/source.
Below is what I did before but can't get to work again. Please advice
1. Open Excel and Open the SV Template you want to use that containing a different Shared URL (You can check this with (T) Smat View > Sheet Info. Login as User/PW: Casey.Brown/<weekly PW>
2. Make sure SV Options Shared Connection URL is set to point to the new instance SV > Options > Advanced > Shared Connections URL, for example 'https://fapXXXX-bi.oracleads.com/workspace/SmartViewProviders' (B) OK
3. Open Smart View Panel Navigator > Open > Smart View Panel
4. Select a 'Recently Used' connection in the Panel that points to the new instance. If you don't have it create one by connecting to your new instance and then Disconnect All.
5. In the Login to Fusion Applications window login as User/PW: Casey.Brown/<weekly PW>
(B) Sign In
NOTE: You have to click on button Sign In. You cannot press enter on keyboard as this makes the login window to pop up again. This is a known issue.
6. In the Connect to Data Source pop up window login as User/PW: Casey.Brown/<weekly PW>
(B) Connect
A pop up window 'Smart View' will pop up: 'The worksheet contains data from prior operation. What do you want to do with the contents of the sheet?
-> Clear sheet contents and POV
-> Reuse sheet contents only (Free operation will take place, existiong POV will be lost.)
-> Reuse sheet contents and POV (New ad hoc connection/Smart Slice must be consistent wit existing contents.)
7. Select 'Reuse sheet contents and POV
Depending on seeded data member changes you may receive 'Input Grid contains unknown Memebers' pop up window.
(B) OK
If you get above you need to correct unvalid members.
For example removing Budget-Budget and replace it with Budget- for the Scenario dimension. Then you will be able to use the sheet with the new data source.
Please advice on what step is needed to get the system to provide the pop up window 'Smart View': 'The worksheet contains data from prior operation. What do you want to do with the contents of the sheet?
Thanks,
Max.You can only sync with one iTunes library. However, you can manage music and videos among different computer/iTunes libraries. See:
Using iPhone, iPad, or iPod with multiple computers
If you want to change syncing computers see:
Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
If all the media is in the iTunes library of the second computer then you can omit the transferring media steps.
Maybe you are looking for
-
Unable to capture packets on ASA(ASDM)
Hi all, We have site to site VPN connection to one of our client. From which we both are accessing our applications and other resources. Now client needs to acccess two of our internal server. So we have created Static NAT in our ASA. For one server
-
Cannot find HP printer after upgrade to Home Hub 3...
Hello an engineer installed a home hub 3/infinity this morning and left after about 10mins giving me a tiny getting-started booklet, a CD, and a couple of stickers to show my network keys etc. Whilst I can access the internet with my laptop, and ipho
-
Availability of material based on the shipping conditions
Dear Friends, Please mail to me how to configure the availability of material based on the shipping conditions? That is when we give the shipping condition in the sales order (va01) for example by air 1 day, by road 5 days and by water 6 days. The sy
-
Why can't anyone see my birthday on my profile?
I've always had this issue, and I don't know how to fix it. I have it set, I can see my friends' birthdays, but no one can see mine. So when my birthday passes along, no one ever gets the notification, yet then again, I can get theirs. And I know for
-
How do I get photo shop, that I already purchased on a new laptop?
I purchased photo shop last summer and had to purchase a new laptop because my old one was ruined. Wanted to know how to reinstall my photo shop onto my old laptop?