Table and Datasources info
Hello All,
Is there any table or function module where we can find infomation about the datasources and related underlaying tables/views?
for example in RSO2 i have created a Datasource ZDS using a table ZTAB, now i want to know all the datasources built on ZTAB
Regards,
Ravi
Message was edited by:
Ravi Pasumarty
You can get this info in table ROOSOURCE . In the EXTRACTOR field just give the name say 'ZTAB' .
Regards.
Sanjay
Similar Messages
-
Link between technical table and datasource - SE16
Hi,
I'm looking for the table in SE16 that gives me the association between my technical tables and my datasources/infosources:
for example:
I have table /BIC/B0000161000 and I want to know for which datasource this is the PSA table...
Kind regards
Jokealready found the link: rstsods
-
Create a report from scratch, add Table and Datasource Problem
Hi,
I'm using the latest Crystal Reports Runtime supplied for eclipse.
I want to create a report from scratch, add a Table and then add a ArrayList of Pojos as the Datasource.
But unfortunately depending on the ConnectionInfo I supply to the Table I get different errors.
I looked through the samples and see that I have to supply properties
like
"Database DLL", "crdb_javabeans.dll" and ConnectionInfo.setUserName("");
ConnectionInfo.setPassword(null)
I looked through the forums and find different set of properties.
Actually because I am just working with Pojos I would have thougth that something like the following
would be sufficient:
ReportClientDocument doc = new ReportClientDocument();
doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
doc.newDocument();
Table table = new Table();
table.setAlias("reportTable");
table.setName("reportTable");
doc.getDatabaseController().addTable(oTable, null);
doc.getDatabaseController().setDataSource(myCoolection, myClass, "reportTable", "reportTable");
So could someone tell me the right/minimum Set of Properties to make a Table get connected to Pojos?
Edited by: jack mann on Aug 31, 2010 3:25 PMWith XI Release 2, you can come quite close to creating from scratch:
http://technicalsupport.businessobjects.com/KanisaSupportSite
/search.do?cmd=displayKC&docType=kc&externalId=5074668
You need Service Pack 2:
http://support.businessobjects.com/downloads
/service_packs/crystal_reports_en.asp
Sincerely,
Ted Ueda -
Hi all
How to know which all DB tables has attached to any specific datasources (R/3) ..
like : 0EC_PCA_1 - GLPCT
0EC_PCA_3 - GLPCA
Is their any specific transaction to know all these or any DB tables which update all the details regarding the datasource and their respective tables from which they are updated.
Thanks
SurajNo - you will have to do the digging yourself
If it is a view then you are lucky - but 99% of the transaction datasources are not
They are either from direct postings to the delta queue (you can see this in LBWE - which types of postings update the queue for each datasource - eg PO, GR)
For everything else - it's funtion module and read the 10,000 lines of code for each one (normally look in the function modele for a get_delta statement and double click down till you get the details) -
Identifying Tables and Datasources.
HI, this question is regarding R/3 in identying the fields .
I have a spec that contains most of the Structures, how do i know from which table i am getting these fields from and the datasources. When i am trying to check some of the tables names it is giving me a message Table MEPO_VENDOR is not active in the Dictionary
MEPO_TOPLINE Structure
RM06E Structure
MEPO_VENDOR Table MEPO_VENDOR is not active in the Dictionary
MEREQ3321 Structure
Thanks,
KrisKris
Also look this thread
Re: DataSources and Tables
Thnaks
Sat -
Table to track book and payment info-LSO
Hi Folks,
I am trying to find out book and payment info related table while booking in LSO, we have radio button against this book and payment information .
We can capture the booking and follow up details in -HRP1001 and HRPAD25 but unable to find out which button selected while booking.
Please share your thoughts on this.
ThanksHi Kumar,
That information goes into the 'Priority' field of infotype 1001. The field name is HRP1001-PRIOX. You will have a record in both directions in HRP1001 i.e. for the employee and the course as well. You will see that the radiobutton you chose while booking the participant, gets mapped to the value of one of the switches(given below) in T77S0. As a result, HRP1001-PRIOX will have the corresponding value that has been set for the applicable(your selection of the radibutton) switch-
SEMIN-MAXMU(Maximum priority for essential booking)
SEMIN-NPRIO(Default priority for normal booking)
SEMIN-MINWL(Minimum priority for waiting-list booking)
The system I use I get the values: 50-Normal, 09-Essential, 90-Wailisted. Values in your system may be different.
Hope this helps.
Thanks
Amit. -
Generic datasource based on custom table and hierarchy table
Hi Gurus,
I have a doubt regarding generic datasource.
my requirement: to create a datasource with 10 fields. (7 fields from custom table and 3 fields whose values can be derived from a hierarchy table).
I have a custom table. In this table one field refers to a hierarchy table. Using this hierarchy table, we can derive values to 3 new fields.
My question is, If i create a generic datasource based on the custom table, how can i include the extra 3 fields which gets values from the hierarchy table.
Where can i write the logic to extract the values for those 3 fields from the hierarchy table.
Thanks
Regards,
Aarthi
[email protected]Hi Aarthi,
Sample code in the user exit woul be like this:
DATA: i_biw_tab LIKE BIW_MARA_S.
WHEN '<data source>'.
LOOP AT i_t_data INTO i_biw_tab.
SELECT fields
INTO <table from which you want the value
FROM <table>
WHERE <your condition>.
IF sy-subrc = 0.
MODIFY i_t_data FROM i_biw_tab.
ENDIF.
ENDLOOP.
Bye
Dinesh -
More info on DRAW table and DRAZ table
Hello,
I am new in SAP trying to upgrade some existing code. I am looking for information concerning the DRAW and DRAZ tables and their benefits.
any help is highly appreciated.
Thank youHi ,
DRAW is main Doument Info Record Table for Document Management system Module.
When you create a document Thru CV01N the doucment is updated in table DRAW and other tables .When you attach an file or an attachment to the documnet that information is stored in table DRAZ.
If you want to know more tables you transaction SARA and enter object name CV_DVS you will get a list of tables.
Please reward if useful . -
Pivot tables and charts error: Please load datasource first
hi all,
i am getting a error: please load data source first in rtf template , only for pivot table and charts(note: normal tables and fields i can insert )
Please help me with this.
Thanks and Regards
PrakharWell... if you think and try long enough, you may find the solution .
The core problem is to reference to queried values not shown in the table/chart. And there IS a solution.
Just use...
NoFilter(RelativeValue([measure prior year_1];([year/month]);-12))
... instead of
RelativeValue([measure prior year_1];([year/month]);-12)
NoFilter enables RelativeValue to reference to values not present in a table or chart, but available in the report .
From there on, you can define e.g. the starting point of the category axis of a chart by defining a local filter without losing values to be referenced . -
Retrieve and display info from 3 tables
Been struggling with this for some days now. Setting up a calendar with football fixtures. For some reason, the team names do not appear in the table and this is really killing me. I thought I knew something about sql and php, guess not.
So for building up this page, I use 3 tables, Season, Teams & Calendar containing a.o. these columns. The first table, season, has only 1 record/row, being the season that's up, in this case 2010-2011:
Season
id (primary key - AI)
current
Teams
id (primary key - AI)
season
leagueid
teamid (unique value)
teamname
Calendar
id (primary key - AI)
season
leagueid
hometeamid
awayteamid
So, what the query should look like is, based on that 1 record from the table season, it has to select all games from the table calendar, selecting all the columns as displayed above. Now that's the easiest part, the hardest part is, replacing the hometeamid AND awayteamid by their names from the teams table. The teamid you see in the table teams is also used in the table calender. Below some basic input from the tables in question, to get a better feel of it:
Season
1
2010-2011
Teams
ID
Season
League ID
Team ID
Team Name
1
2010-2011
u12
1245-u12aa
Team XYZ
2
2010-2011
u8a
9521-u8a
Team ABC
3
2010-2011
u12
1245-u12a
Team HFH
Calendar
ID
Season
League ID
Hometeam ID
Awayteam ID
1
2010-2011
u12
1245-u12aa
5874-u12a
2
2010-2011
u12
9521-u12ab
7436-u12abSo far you have 4 tables, so the links between the 4 tables is:
1)id from season table(parent) is linked to seasonid from teams table(child)
2)id from season table(parent) is linked to seasonid from calendar table(child)
3)id from league table(parent) is linked to leagueid from teams table(child)
So the joins between them are:
JOIN1: season.id=teams.seasonid
JOIN2: season.id=calendar.seasonid
JOIN3: league.id=teams.leagueid
To extract from multiple tables, SQL query would be as follows:(criteria 1 is optional)
SELECT * FROM teams,season,league,calendar
WHERE [CRITERIA 1] AND JOIN1 AND JOIN2 AND JOIN3
To create relational tables, change all the tables ENGINE=INNODB
then
ALTER TABLE foreign table name ADD FOREIGN KEY(' insert foreign key') REFERENCES(' insert database.primary table.primary key ')
ON DELETE CASCADE ON UPDATE CASCADE -
Fact Table and Dimension Tables
Hi Experts, I'm creating custom InfoCubes for data coming from non-SAP source systems. I have two InfoCubes. Tha data is coming from like 10 tables. I have 10 DataSources created fo this and the data will be consolidated in Standard DSO before it will flow into 2 InfoCubes.
Now client wants to know before how much data will be there in InfoCubes in Fact table nad Dimension tables in both the InfoCubes. I have the total size of all the 10 tables from the sources given to me by the DBA. I wan not sure how I can convert that info for Fact table and Dimension table as I have not yet created these Infocubes.
Please help me with this on how I should address this.hi,
The exact data will be hard to give however you can reach at a round figure in your case.
You are consolidating the data from the tables that means that there is relation between the tables. Arrive at a rough figure based on the relation and the activity you are performing while consolidating the data of the tables.
For example, let us say we want to combine data for sales order and deliveries in a DSO.
Let Sales order has 1000 records and Delivery has 2000 records. Both the tables have a common link (Sales Order).In DSO you are combining the data that means the data will be at the most granular level consist of Delivery data, so the maximum no of records which the consolidated DSO can have is 2000.
regards,
Arvind. -
Fetch data from table and generate attachment than mail it.
Hello Experts,
From couple of day I am searching on Google for a better database procedure that will help me to get data from tables and generate attachment and mail it but i fail.
My Scenario is:
I have a query that will fetch almost 5000 records from database tables. Each record has almost 75 characters
select a.location_code,
a.item_code,
b.description item_desc,
to_char(a.manufact_date,'ddMonyy')mfg,
to_char((a.manufact_date + nvl(b.expiry_period,0)),'ddMonyy')expr,
to_char((a.manufact_date + nvl(b.qurantine_period,0)),'ddMonyy')qrtn,
round(nvl (b.qurantine_period, 0) - (sysdate - a.manufact_date)) days_elapsed,
a.closing_balance_posted quantity
from wms_stock_current_balance_v a, wms_item_setup_mast b
where a.closing_balance > 0
and a.item_code = b.item_code
and a.loc_type in ('RACKING','PICKING','QUICKA','BUNDLED')
and nvl(b.qurantine_period,0) > 0
and round(nvl (b.qurantine_period, 0) - (sysdate - a.manufact_date)) <= 0
order by a.item_code, a.location_code;
Sample data of above query is
LOCATION_CODE
ITEM_CODE
ITEM_DESC
MFG
Expiry
Quarantine
Days Elapse
Quantity
13DL2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
14DL0
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
134
14DL2
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
160
14DR2
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
20
14LL2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
17ER2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
17GL2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
17SL0
000000000000000F0487
CLEAR COOL BLACK 05ML
17-Feb-10
28-Mar-14
1-Jun-13
-125
64
18QL0
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
160
19AR5
000000000000000F0487
CLEAR COOL BLACK 05ML
17-Feb-10
28-Mar-14
1-Jun-13
-125
160
19DL1
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
19JR0
000000000000000F0487
CLEAR COOL BLACK 05ML
17-Feb-10
28-Mar-14
1-Jun-13
-125
60
19TL1
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
20GR2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
40
36FL3
000000000000000F0487
CLEAR COOL BLACK 05ML
18-Feb-10
29-Mar-14
2-Jun-13
-124
65
19UR0
000000000000000F0591
COMFORT WHITE 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
1
12SL1
000000000000000F0593
COMFORT PINK 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
42
12SR1
000000000000000F0593
COMFORT PINK 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
42
14OR1
000000000000000F0593
COMFORT PINK 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
8
36EL4
000000000000000F0594
CLEAR HF DECRASE 5M*360
14-Feb-10
14-Feb-11
12-Oct-10
-1088
14
13VL1
000000000000000F0595
CLEAR COM SFT CRE 5*360
8-Feb-10
8-Feb-11
6-Oct-10
-1094
160
14ER0
000000000000000F0595
CLEAR COM SFT CRE 5*360
8-Feb-10
8-Feb-11
6-Oct-10
-1094
105
Database Info
Oracle 10g
Version 10.2.0.1.0Look at the sample code for generating a CSV file that I've just posted in response to a similar question:
Re: How to execute a proc and spool files in a database job
And the use the search button in this forum to find sample code for sending a CLOB as a plain/text e-mail attachment using UTL_SMTP. -
Good day,
I searched through the forum and cant find anything.
I have around 300 published reports on SSRS and we are busy migrating to a new system.
They have already setup their tables on the new system and I need to provide them with a list of table names and column names that are being used currently to generate the 300 reports on SSRS.
We use various tables and databases to generate these reports, and will take me forever to go through each query to get this info.
Is it at all possible to write a query in SQL 2008 that will give me all the table names and columns being used?
Your assistance is greatly appreciated.
I thank you.
Andre.There's no straightforward method for that I guess. There are couple of things you can use to get these details
1. query the ReportServer.dbo.Catalog table
for getting details
you may use script below for that
http://gallery.technet.microsoft.com/scriptcenter/42440a6b-c5b1-4acc-9632-d608d1c40a5c
2. Another method is to run the reports and run sql profiler trace on background to retrieve queries used.
But in some of these cases the report might be using a procedure and you will get only procedure. Then its upto you to get the other details from procedure like tables used, columns etc
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How can I get data in flat file from Pool table and cluster table ?
Hi,
I am working in one Achiving project. My requirement is to get data into flat file from Cluster table and pool table.
Is there any tool avilable to download data into flat file from pool table and cluster table ?
if table name given in the selection screen then data will be downloaded into flat file.
waiting for quick response.
Best Regards,
BansidharData cannot be retrived directly form the cluster table
as the Cluster results are stored in Cluster Key say for example PCLkey
and form that Key we need to fetch the data
these clustes are not the part of PNP or PNPCE tables
for ur info kindly check -
How can I get a list of locations with address and contact info?
In Adobe Story Plus, I've gone through the effort of entering address and contact info for all locations. I would like to now use this information.
When I choose Sets and Locations, I get the set names only, separated by Studio and Location. No locations, no addresses.
When I choose to export the Set List as XML, I get an XML file that seem to contain the address information. However, it does not appear to be a valid XML file, readable neither in Excel nor Google Docs.
Are there reports that I can create that include this information? Is there a useful way to export XML and open in Excel/Number/Google Docs/Word, etc?
I'm about to embark on a search to how the XML can be formatted properly but this isn't really where I wanted to be spending my time on this project.
Thanks.Yes. I tried it on Windows version.
Would you mind doing the following steps to view that XML file as a table in Safari? Then from safari, you can copy paste it Excel.
1. Export the Set List XML from Story.
2. Extract the 'transformSetListIntoTable.xsl' file from the attached zip file and place it in the same directory in which Set List XML is present.
3. Open the Set List xml file in a text editor and paste the following text at its very beginning.
<?xml-stylesheet type="text/xsl" href="transformSetListIntoTable.xsl"?>
4. Save the changes.
5. Open the Set List xml file in Safari
6. In Safari, Select All and paste it inside Excel.
Maybe you are looking for
-
Executable not working - Looking for LabVIEW Run-Time Engine
This has been one of those days. I'm trying to create my .exe file to place onto another computer. I've done this before with success. But that was then and this is now. I believe I have all the files I need in my LLB, and I believe I did my applicat
-
Why Lifecycle Designer ES4 crashing on a pdf form created in ES2
On HP Probook 4730s laptop with Windows 7, Designer ES4 keeps crashing on a pdf form created in ES2. Opening it in Adobe Acrobat Pro XI and reader is fine. Installed the ES4 sp1 did not help. Other forms are fine. No special fields on the form except
-
In valid Date set in the column
Hi I am facing a problem with the in valid date getting set at the time of updating the record. The problem is , I am fetching the record for update and sending the created date fetched along with other values and the updated date is set to the syste
-
Hi, If I run local host it has to display initial JSP page as login.jsp. I have added the file name in web.xml <welcome-file-list> <welcome-file>logon.jsp</welcome-file> </welcome-file-list> the server that I am using is Tomcat. P
-
Toshiba Bluetooth Stack vs Microsoft Bluetooth Stack
Which Bluetooth stack is better and more reliable for Toshiba Qosmio G20-127, in your opinion Microsoft Bluetooth Stack (which comes in XP Service Pack 2), or, the native Toshiba Bluetooth Stack 4.00.23?