To get the name of the Datasource into WAD
Hi All,
I need to get the name of the datasource into WAD,
i.e. if the datasource is Oracle i need to show it in WAD.
How am i suppose to go for it?
Thanks
Godhuli
hi Godhuli,
there is technical business content infoobject 0TCTDSOURC - datasource.
- activate from business content for this infoobject with 'dataflow before' if not yet done.
- you will get infosource 0TCTDSOURC and infopackage, run the infopackage to upload data.
- this infoobject delivered not as 'infoprovider', you may modify with transaction rsd1, mark 'char. is data target/infoprovider' and reactivate, or you can create an new infoobject (if you don't want modify business content objects), copy from 0TCTDSOURC and create update rules with data update from 0TCTDSOURC.
- create query to report from 0TCTDSOURC or copied infoobject (as infoprovider)
- use this query in webtemplate
hope this helps.
Similar Messages
-
great, but my MBA did not come with an installion disc, only a tiny jump drive that is not recognized by windows; and I can't get the contents of that burned to a DVD either. So how the heck do I get the drivers into Windows 7? My MBA has bootcamp 3.0.4.
Here's what I get:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0 mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:11:24:7d:e7:1e
media: autoselect (none) status: inactive
supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback>
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::211:24ff:fe28:2e71%en1 prefixlen 64 scopeid 0x5
inet 169.254.115.141 netmask 0xffff0000 broadcast 169.254.255.255
ether 00:11:24:28:2e:71
media: autoselect status: active
supported media: autoselect
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 2030
lladdr 00:11:24:ff:fe:7d:e7:1e
media: autoselect <full-duplex> status: inactive
supported media: autoselect <full-duplex> -
If I buy music from iTunes using my ipod touch instead of the computer, how do I get the music into iTunes also so that I can back it up on CD?
File>Transfer Purchases
-
Panasonic P2HD how do i get the video into Final Cut Express.
I have a Panasonic P2HD video camrea how do i get the video into FCE.
You can't. FCE doesn't support DVCPRO HD. You'd have to convert it to the Apple Intermedia Codec in some other sofware. FCE also probably doesn't support the frame resolution the P2 media is using.
-
TS3274 How do I get the Camera into the video mode
How do I get the Camera into the Video mode
Swipe up or down on the Camera function selector to move it to the desired position.
-
IBM WSAD 4.0.3 - getting the DataSource object
Hi guys , i had posted a DataSource question before...but i was able to figure that out. My new problem is that i cant get the DataSource object in my java program and the following error is thrown.
java.lang.NoClassDefFoundError: com/ibm/ejs/ras/TraceElement
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:212)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:656)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:199)
at DataSourceCheck.main(DataSourceCheck.java:27)
Exception in thread "main"
Here is my Java program :
import java.sql.*;
import javax.naming.*;
import java.util.*;
class DataSourceCheck
public static void main(String[] args)
javax.sql.DataSource myDataSource= null;
try
String initialContextFactory = "com.ibm.websphere.naming.WsnInitialContextFactory";
String providerURL = "iiop://localhost:8081";
java.util.Properties props = new java.util.Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
props.put(Context.PROVIDER_URL, providerURL);
Context myContext = new InitialContext(props);
Connection myConnection = myDataSource.getConnection();
catch (Exception e)
e.printStackTrace();
System.out.println();
I start a Server instance from IBM WSAD and it runs on 8081.
Please suggest what to do .sorry..i forgot to delete that line...its a typing eror.
Here is the code again....
I fail to get the context.
import java.sql.*;
import javax.naming.*;
import java.util.*;
class DataSourceCheck
public static void main(String[] args)
javax.sql.DataSource myDataSource= null;
try
String initialContextFactory = "com.ibm.websphere.naming.WsnInitialContextFactory";
String providerURL = "iiop://localhost:900";
java.util.Properties props = new java.util.Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
props.put(Context.PROVIDER_URL, providerURL);
Context myContext = new InitialContext(props);
//myDataSource = (javax.sql.DataSource)myContext.lookup("jdbc/oracle/OracleDataSource");
//Connection myConnection = myDataSource.getConnection();
catch (Exception e)
e.printStackTrace();
System.out.println(); -
i bought a ringtone that was delivered by text from cellsea. i thought it would show up in Ringtones in settings. It didn't. How do you get the ringtone into the ringtone library so it can be hooked to a incoming ring
You don't.
This is not how you get ringtones for iphone. -
I received a photo album via email and would like to get the pictures into my iPhoto library
A photo album was emailed to me. How do I get the photo album pictures into an existing iphoto folder or into my iphoto library?
iTunes isn't an editor. You need an app that's intended for editing audio files, like Adobe Audition (http://www.adobe.com/products/audition.html) or Audacity (free in the App Store).
-
How to get the data into select options if we have 10 select options
Hi Experts,
I facing problem to get the data from diffrent tables and different select options.
I have to pass different parameter ranges.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: rb1 RADIOBUTTON GROUP g1. "Existing Key Accounts
PARAMETERS: rb2 RADIOBUTTON GROUP g1. "Potential Key Accounts
SELECT-OPTIONS: s_part FOR but000-partner."Business Partner Number
PARAMETERS: p_bpkind LIKE but000-bpkind. "Business Partner Type
PARAMETERS: p_but000 LIKE but000-partner. "Key Account Manager
SELECT-OPTIONS : s_vkont FOR fkkvkp-vkont. "Contract Account
SELECT-OPTIONS : s_ktokl FOR fkkvkp-ktokl. "Debtor Type
SELECT-OPTIONS : s_sparte FOR ever-sparte. "Division
SELECT-OPTIONS : s_vertra FOR ever-vertrag. "Contract
SELECT-OPTIONS : s_budat FOR erdk-budat. "Invoice Date
SELECT-OPTIONS : s_netto FOR dberchv-nettobtr."Billing Amount
SELECT-OPTIONS : s_abrm FOR abc. "Consumption Value
SELECTION-SCREEN: END OF BLOCK b1.
need response asap.
Thanking you.
Regards Surya RamireddyHI,
You can use as many Select-options in the select statment,
Select XXXX yyyy from TABLE where FIELD In S_FIELD1 and
FIELD2 In S_FIELD2.
Regards
Sudheer -
Extracting data from Legacy system - How do we get the data into a normaliz
Hi All,
Requirement that I have now is to get the data from 6 different tables ORACLE database to BI using DB Connect, where in each of those 6 tables has the transactional data as well - If it is only 2 tables, would have been creating a view and get the data. Each of the 6 tables are linked to one other by the Primary Key and Foreign key relation ship.
If it is from ERP system we would have created a Functional Module.
Please advice me on how to get the data to BI end from those tables in Legacy system.
Thanks in advance.Anil:
I recommend following Ralph Kimball's EDW data modeling principles.
Have a staging layer of DSO's with data dump from source system. So have 6 different DSO's extracting data from 6 tables from source system independently.
Then have an integeration layer of DSO's depending on requirement. You could combine data from 2 or more DSO's here based on requirement and integrate your data here. Use primary key foreign key relationships here to do look ups or direct loads to do your business logic.
Then have an analytical layer of InfoCubes, MultiProviders, InfoSets as required.
The 3 layered architecture is a standard best practice that i have seen followed in many organizations. You could search for this type of architecture online under EDW (Enterprise Data Warehouse). There should be plenty of information available.
Good Luck.
MP. -
RMAN to disk script - how to get the hostname into the directory?
I see you can get the Oracle SID in there but how to get the hostname?
We have a NFS device where the directory is
/backups/<hostname>/rman
Ideas?
This is not a unix script, ideally its run thru OEM.You never mentioned a version.
Version is always important.
From 9i and higher you don't need to allocate a channel, and you can CONFIGURE the default channels.
You can also include a format specifier in the configuration command.
This needs to be done only once.
Apart from that: with that number of databases one would probably create a catalog and work with stored scripts, which can be called from a generic RMAN job.
Stating 'it isn't possible' is too early, especially as you are scarce on information.
Sybrand Bakker
Senior Oracle DBA -
Getting user name of person logged into workspace in BPM 11g.
What API and method calls can we use to determine who is logged into BPM 11g? Since many people can be assigned a role or human task (using dynamic task assignments) how can we determine who the actual user is?
The use case is a user logs into the workspace and executes human tasks assigned to him/her. In the ADF UI, we are using database controls to view, update and create records in database associated with this task. The tables have audit information like, LAST_MODIFIED_BY and MODIFIED_DATE. These fields or columns need to be updated with the user ID and current system date when data changes in the tables.
The problem is that I know how to get the user who the task is assigned to, but if the user is a delegate or process owner, how do we know? Also if many people are assigned to the human task, how do we find which one is actually working on the human task? In other words the current logged in user?
In the ADF task flow, I have access to an object SystemAttributesType that contains a lot of useful information, like the list of assignees. The problem is it doesn't seem to give me information about who is actually working on it (logged in user). Here's a code snippet for how I got this object. It is a method in a managed bean associated with the task flow.
public List getAssignees() throws IOException {
FacesContext context = FacesContext.getCurrentInstance();
String ctx = (String) context.getApplication().evaluateExpressionGet(context,
"#{pageFlowScope.bpmWorklistContext}", String.class);
String tskId = (String)context.getApplication().evaluateExpressionGet(context,
"#{pageFlowScope.bpmWorklistTaskId}", String.class);
IWorkflowServiceClient workflowSvcClient = WorkflowService.getWorkflowServiceClient();
ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService();
IWorkflowContext wfContext;
List assignees= "";
try {
wfContext = wfQueryService.getWorkflowContext(ctx);
Task myTask = wfQueryService.getTaskDetailsById(wfContext, tskId);
Element xmlPayload = (Element) myTask.getPayloadAsElement();
SystemAttributesType systemAttributes = myTask.getSystemAttributes();
assignees = systemAttributes.getAssignees();
return aissignees;
Thanks in advance for your help.Hi.
Plz find the link below, it might hep you.
11g how to get participant information
Bibhu -
Unable to get the dataSources while creating the persistent stores.
Hi, While I am trying to create a persistent store (JDBC Store) I am unable to see the already created DataSources in the dropdown menu. I also tried creating new DataSource from Persistent Store creating screen but still could not see.
Following steps followed while creating DataSource.
Fill in the values for
Name, E.g.: JD-JDBC-Store.
JNDI Name – jdbc/JobDispatcherDS.
DatabaseType – Oracle
Database Driver - Retain the default selection
Click on ‘Next’
Click on ‘Next’
Fill in values for:
Database Name – SID of the Database
Host Name – The hostname/IP on which the Database is running
Port – DB Port
Database User Name - JOBUSER.
Password – JOBUSER
Click on ‘Next’
Click on ‘Test Configuration’ to ensure the correctness of the values. Got a success message on the screen.
Click on ‘Next’
Select your target server. E.g.: AdminServer
Click on ‘Finish’
Following steps while creating the Persistent Store
Clicked on New button. Select ‘Create New JDBC Store’ Option
Fill in the values.
name – E.g.: JD-JDBC-Store
Target server - admin Server.
data source - not able to get any to select from the DropDown.
Thank You,
Naresh.Dear Rajesh ,
I am assuming your server is on Windows :
For Eg.
My SID is PRD and system number 02 and hostname prdserver then command should be execute like :
E:\usr\sap\PRD\DVEBMGS02\exe>jcmon pf=E:\usr\sap\PRD\SYS\profile\PRD_DVEBMGS02_prdserver
Rest all are same :
In JControl Monitor Program - Main Menu :
Select : 20 : Local Administration Menu
And check the status of server0 process it shoud be up and running .
Regards ,
Santosh -
IN BI 7.0 , Iam not getting the datasources
Hi gurus,
I am finding specific problem, if any of you gone through this problem please guide me
i am new to Bi 7.0, recently we have installed ECC 6 with BI 7.0,
In rsa1 when i am checking the SS( source sys) there is only one self SS is there and not finding any other SS ,s like R/3 , FC,DB,..
When i am trying to create new SS for R/3, in status " no entry for BW_USER in table RSADMIN available'.
with the existing SS i replicated the DS(Datasources) but i unable to find any of the DS what is the problem, all steps related to R/3 is performed like RSA5 .RSA6 and also checked for RSA3 - every thong was OK
Please help me , early reply is appreciable
Thanks
ram kumarHi Ram,
Even though u've installed ECC and BI u've build a connection between them inorder to move data from ECC to BI 7.0 through RFC after giving the RFC then u need to create a SS in BI 7.0 sytem for R/3 for doing all these things u need to get SAP_ALL authorization.
First follow the steps to given by our frnd in the below answer to create RFC connection.
then got to RSA1 and create a SS by assigning the respective logical system names and passwords then after creating this SS u should select htis SS and replicate ur datasources..........
Hope it helps........
Regards
Madahvi -
Problems while getting the Datasource from a Utill class
Hi all,
I faced a problem when following below instructions.
http://dev.day.com/content/kb/home/cq5/Development/HowToConfigureSlingDatasource.html
It would not return from the getDataSource(dataSourceName); call. No exceptions.
public DataSource getDataSource(String dataSourceName) {
DataSource dataSource = null;
try {
log.info("Reaches here ! ");
dataSource = (DataSource) dataSourceService
.getDataSource(dataSourceName);
log.info("Never Reaches here ! ");
} catch (DataSourceNotFoundException e) {
log.error("Unable to find datasource {}.", dataSourceName, e);
return dataSource;
I can connect to db directly from post.POST.jsp so DB is correctly mapped.
I had to remove below annotation since while compiling the bundle, it says that it is deprecated.
@scr.component immediate="true" metatype="no"
Log is as follows...
com.day.cqwebsite.impl.DatasourceUtilImpl -------------------------------------------- Using DataSourcePool service lookup to get connection pool mynewdsname
26.09.2012 17:49:30.197 *INFO* [0:0:0:0:0:0:0:1 [1348661970143] POST /content/mywebsite_cq/en/toolbar/login.html HTTP/1.1] com.day.cqwebsite.impl.DatasourceUtilImpl Reaches here !
26.09.2012 17:50:17.770 *INFO* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.impl.AgentManagerImpl Processing job for agent publish
26.09.2012 17:50:17.770 *INFO* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
26.09.2012 17:50:18.983 *ERROR* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Error while sending request: java.net.ConnectException: Connection refused: connect
26.09.2012 17:50:18.983 *ERROR* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Replication (ACTIVATE) of /etc/designs/mywebsite/images not successful: java.net.ConnectException: Connection refused: connect Conversation follows
26.09.2012 17:50:18.983 *ERROR* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish ------------------------------------------------
26.09.2012 17:50:18.983 *ERROR* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending message to localhost:4503
26.09.2012 17:50:18.983 *ERROR* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> POST /bin/receive HTTP/1.0
26.09.2012 17:50:18.983 *ERROR* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Action: Activate
26.09.2012 17:50:18.983 *ERROR* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Path: /etc/designs/mywebsite/images
26.09.2012 17:50:18.983 *ERROR* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Handle: /etc/designs/mywebsite/images
26.09.2012 17:50:18.983 *ERROR* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> ...spooling 744 bytes...
26.09.2012 17:50:18.983 *INFO* [pool-6-thread-32-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.impl.AgentManagerImpl Job for agent publish processed in 1213ms. Failed.
Any help will be great !
TxCould you please use [1], verify & confirm. If does not work let me know cq version & jdbc jar you are using.
[1]
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Properties;
import org.apache.felix.scr.annotations.Property;
import org.apache.felix.scr.annotations.Service;
@Component(immediate = true)
@Service(value = DatasourceUtil.class)
@Properties({
@Property(name = "service.description", value = "Data Source lookup example"),
@Property(name = "service.vendor", value = "Day Management AG")
Maybe you are looking for
-
Why am getting this ME083 error in BATCH JOB, where as ONLINE not getting?
Hi Experts, Am creating Purchse Requisation by using BAPI ---> BAPI_PR_CREATE. If I run ONLINE, Purchse Requisations are creating in EBAN table, with out any erorr messages, fine. If the same prog. is scheduled as BATCH JOB in production, the Purchse
-
IPhoto 9.4.2 and iPhone OSX 6.0.1 does not sync photos selected
With the latest upgrade to OSX 6.0.1 my sync deleted all of the photos from my iPhone and it no longer syncs any of the selected albums or events from iPhoto. I have all of the latest versions of all software installed for all of my applications. I'
-
Simple Portal Installation on Solaris 9 fails
Simple installation with no existing Directory Server fails on Solaris 9 with Java problems. The LDAP Server is running and seems to be configured correctly. Any hints?? Setup /var/sadm/install/logs/pssetup.4359/tmp/response/jdk BASEDIR=/opt IDSAME_B
-
How to trigger the workflow from the excel sheet
hello friends, my problem is that i should trigger the workflow from a excel sheet which contains a list of appraisers and appraisees.how to do this. can anyone help on this. thanks.
-
Hi, I try connect to database "mariusz" using sql developer. When I try do this I get error ORA-12528... I try shutdown and startup database and nothing. I chceck status using lsnrctl and there I have : mariusz state blocked. I try LSNRCTL> stop LSNR