Target and Source Table - Query from ODI Repository
Hi folks,
Can anybody help me? I am trying to query the following from an ODI 11g work repository:
All tables and for each table the tables that are listed in designer as “filled by” (don’t know the exact translation as I am using a german ODI designer) – in other words “all tables and the tables they are depending on”. The reason is to perform a connect-by query on that.
There is a solution published on ODIEXPERTS: http://odiexperts.com/interface-mapping-query, but however it does not show me the expected results. Does anyone have an idea how to get a simple table like that:
TARGET SOURCE
TAB1 TAB2
TAB1 TAB3
TAB2 TAB4
TAB3 TAB5
TAB3 TAB6
TAB6 TAB7
Using the Metadata Navigator is no option as we don’t have Weblogic installed and I need the data for further processing.
If memory serves you have an SNP_POP table still in that release, join to the Model table (the joins cols are obvious if I recall) to get the datastore names and your more or less there.
I dont have that table in 11.1.1.5 and we moved over a while back so cant really take a look anytime soon.
Similar Messages
-
How to identify the source column and source table for a measure
Does anyone have a query that I can use to positively identify the source column and source table for a cube measure in an SSAS cube? Visual Studio shows ID, Name, and Source, but it is nearly worthless in a large cube and database.
Also - the same for a dimension would be great.
If no query exists for this, can someone please explain how to find the source column/table for a measure and for a dimension?
Thanks.DMVs don’t expose the DataSourceView content. AMO is much better suited for object model operations like
this than the DMVs. PowerShell is also sometimes an option, but in this case C# code would be much easier because analyzing the contents of the DataSourceView is much easier using the .Net DataSet class.
Hope this helps.
Reeves
Denver, CO -
How can I copy and paste table cells from Pages into InDesign with minimum reformating?
How can I copy and paste table cells from Pages into InDesign with minimum reformating?
Do you mean you want to retain the formatting from Pages, or retain formatting already applied in ID?
-
Hi All,
Can anyone please tell me what does Target and Source Database means ?
ThanksIt can get confusing! In RMAN the target is, usually, the database you wish to connect to to make, say, a backup.
When cloning, the Target is the Source database (i.e. the database you wish to make a clone of) and the clone is the Auxiliary.
However, terminologies can get a bit twisted in common parlance, with the Target database being referred to as the Source and the Auxiliary database being referred to as the Target!!!
HTH. -
Can you use Apple TV and source films/music from two different Macs in the home?
Can you use Apple TV and source films/music from two different Macs in the home?
not at the same time but yes.
set up home sharing on both computers and Apple TV using the same Apple ID.
Setting up Home Sharing on your computer
Setting up Home Sharing for Apple TV (2nd generation) -
Query data being picked from which data targets and dimension tables.
Hi Guys,
I need help from you people.
My query is "If we execute any query, i want to know from which data targets and from which dimension tables data being read in the run time", is there any program or any table to find this data.
thanks in advacne.
Regards
PrasadHi Prasad,
We will get Data target information in query level in information TAB.
If you want get dimension tables information also you need use technical business content(bwstatistics) Cubes and need to customize the required information. I think standard statisics cubes is not provide dimention tables information. Need to customize that.
Hope it will help for you.
Thanks,
Chandra -
How to activate hr query from matadata repository
hi all ,
i have a query named (0PY_C02_Q001) in metadata repository....now i want to activate it in bi content.
so tell me the steps to activate it........
as i have no idea in this and i can't find any option to do that.
waiting for your reply...Hi,
rsa1->click 'Business Contents'-->on the left hand pane click 'Collect by Object type' -> a center pane will appear will different types of objects like infocubes, queries, reporting agent settings , infoobjects etc.... select queries-> and find your query and click install. This will activae that particular query.
If the other objects like infocubes, infoobejcts related to this query is already installed then you may choose 'manual collection' . This will collect only that query.
If you are not sure about Business Content Installation, kidly go through
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/frameset.htm
Thanks -
Creation and transportation of query from development to simulation system
Hello experts,
I need to create a new Query in the development system in the General Ledger folder in Financial reporting. and then I need to transport the same to the simulation system. what are the correct steps I need to follow to do the same if have to avoid any issues during this transportation.
Do I need to do any modifications to the role ZS_XX_BEX_MENU and transport the same?
Could anyone help me in this regard giving me the exact procedure I need to follow.
RegardsNo need to modify, but if it is $temp then change it has ur won request.
follow the genral procedure
1)In RSA1 Go to Transport tab and collect ur query.
Drag to right screen
If it is in $Temp change it to your own request. For this You may need Access.
2)Query contains all objects which were used in that query.
if any Info object that are created newly then check for Transport
3) Then, finally click on transport(Truck) icon
4) By default, it will collect all new objects including newly created Info Objects also. You can change the collections of your own selection.
You will get a Request Number here. Please save this Number so that you can check this at SE09
5) In SE09 search for your Request Number.
6)Release The request by subsequent process onwards( Means sub contents like infoprovider first and then Query) -
How to query table/comment information and lookup table names from PKs?
I am trying to figure out whether I can query the Oracle meta-data to look for:
a) comments on tables and fields matching a certain text pattern. If possible I would LIKE the text pattern matching not to be case-sensitive. Am I looking within the right meta tables?
SQL> desc all_col_comments
Name Null? Type
OWNER NOT NULL VARCHAR2(30)
TABLE_NAME NOT NULL VARCHAR2(30)
COLUMN_NAME NOT NULL VARCHAR2(30)
COMMENTS VARCHAR2(4000)
SQL> desc user_tab_comments
Name Null? Type
TABLE_NAME NOT NULL VARCHAR2(30)
TABLE_TYPE VARCHAR2(11)
COMMENTS VARCHAR2(4000)
See http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:233014204543.
b) I was trying to look up a text named 'PKa200030' which showed up within an application upon which we are developing. The application uses Oracle 11g Enterprise Edition. However, I could not find the name anywhere when querying all_constraints, so I am not sure how to trace back the table name / package name, by knowing what seems to be a primary key constraints, any ideas please?
select c.table_name,c.constraint_name, --c.r_constraint_name,
cc.table_name
from all_constraints c
inner join all_constraints cc on c.r_constraint_name = cc.constraint_name
See http://stackoverflow.com/questions/3210743/viewing-oracles-metadata-about-primary-foreign-key-constraints.
c) I am not sure whether it is possible to draw a database entity model, perhaps using software, assuming that the primary/foreign keys have been already defined within Oracle 11g. Is software available to do this?Hi,
a) comments on tables and fields matching a certain text pattern. If possible I would LIKE the text pattern matching not to be case-sensitive. Am I looking within the right meta tables?
SQL> desc all_col_comments
Name Null? Type
OWNER NOT NULL VARCHAR2(30)
TABLE_NAME NOT NULL VARCHAR2(30)
COLUMN_NAME NOT NULL VARCHAR2(30)
COMMENTS VARCHAR2(4000)
SQL> desc user_tab_comments
Name Null? Type
TABLE_NAME NOT NULL VARCHAR2(30)
TABLE_TYPE VARCHAR2(11)
COMMENTS VARCHAR2(4000)
....... The dictionary views are the same . A query with regular expressions may help in identifying the matching strings in comments.
b) I was trying to look up a text named 'PKa200030' which showed up within an application upon which we are developing. The application uses Oracle 11g Enterprise Edition. However, I could not find the name anywhere when querying all_constraints, so I am not sure how to trace back the table name / package name, by knowing what seems to be a primary key constraints, any ideas please?
select c.table_name,c.constraint_name, --c.r_constraint_name,
cc.table_name
from all_constraints c
inner join all_constraints cc on c.r_constraint_name = cc.constraint_name
....... There is one more view for constraints. USER_CONS_COLUMNS may be of help.
Padma -
Reimporting Target and Source structures
Hi,
We recently applied an OSS note (new field) and added a few fields to VBAK table and this is impacting an interface. I would like to get some help on reimporting the source and target structures. Following is the message I get in the processing log inside Message Mappings.
Target structure has no such path:
Greatly appreciate your help with this.
Thanks in advance,
VishHi,
Right click on the Namespace and click on export, it will show you next steps, select whole Namespace to move, that way you wouldn't miss anything, or else you can select individual objects in the drop down and select the message mapping that you changed.
you need to export idoc structures too, right click on software component version and click export and go to individual objects in the drop down and select only the idocs that you want to move, or else you can move whole software component version so that there is no need to move namespace separately.
if you have CTS+ configured already it will create a TR, go to abap stack and type tcode SE09 and you will see a TR which is created. click on it and release the TR (there will be a truck fig on top of the screen after menu bar).
once released contact basis to import it or you can go to STMS and import it from there...
I am trying to post this since yesterday but it is not allowing me to
thanks.
Karna.... -
Hello,
I can't find the right syntax to do what I need, if it's possible :
Context :
I work actualy on a migration from MS Access applications to Oracle (datas only). So I copied all MS Access Tables into Oracle and created manualy all the relationnal constraints like primary and foreign keys ('cause constraints are not included in 'Copy to Oracle').
I Have often to refresh my datas, because the MS access applications are still in use. Therefore I wrote PL/SQL scripts. They do the folowing, using dynamic SQL with 'Execute Immediate' statement :
Script 1
- disable all user's constraints
- disable all user's triggers
- truncate all user's tables
(Here, I have to do a manual copy of all MS Access tables to Oracle, checking the Append check-box, because the BRIDGE statement doesn't support 'Execute Immediate', and wait...)
Script 2
- enable all user's constraints
- enable all user's triggers
Could someone let me know how Il could do the same as :
For t in (select table_name from user_tables) loop
-- Copy the datas from an Access table into the same Oracle table
execute immediate ('BRIDGE ' || t.table_name || ' AS MyAccessConnName(select * from ' || t.table_name || ') APPEND') ;
-- News flash ...
dbms_output.put_line('Table ' || t.table_name || ' filled') ;
end loop;
-------------------------------------------------------------------------------------------------------------------------- ==> 00900. 00000 - "invalid SQL statement"
If a dynamic table name substitution is applicable in the Bridge statement from a query, I take it with joice!
Thank you for helping me...
DanielHi Daniel,
The BRIDGE statement is just an extra command I implemented in the SQL Developer worksheet script runner.
It gets interpreted by SQL Developer and it dynamically creates (CREATE TABLE , INSERT INTO , SELECT ... ) statements and runs them against the connections specified.
It was developed to improve certain migration features of SQL Developer. We haven't really spent any time developing it into a customer friendly statement to be used in custom scripts.
Hence the lack of doc. But it is there and if you can make it work for yourself all the better.
When I say "One way of doing what you want". I mean I haven't thought about your particular problem exhaustively and I wouldn't want you to take my solution as gospel :)
If you are happy running a script in SQL Developer, but would rather not run 2 scripts , or cut and paste results around, you could SPOOL the results and execute them.
--call your other scripts to disable constraints during the data move
set echo off;
set feedback off;
set linesize 1000;
set pagesize 0;
set headsep off;
set termout off;
set verify off;
set heading off;
SET PAGES 0;
SET HEAD OFF;
spool c:\mydynamicscript.sql
select 'BRIDGE ' || table_name || ' AS MyAccessConnName(select * from ' || table_name||');' from user_tables ;
spool off
@c:\mydynamicscript.sql
--call another script to enable your constraints again
Regards,
Dermot.
SQL Developer Team. -
RBKP and BKPF table update from MIRO
Hi All,
I am using the BADI BADI_FDCB_SUBBAS01 to add a custom field in MIRO transaction. The added custom field is getting updated in RBKP transaction.
I also want to update the custom field data in BKPF table, but i dont know when the BKPF table gets updated in MIRO transaction.
Can you help me where the BKPF table will get updated. Is there any BADI for updating the custom fields in table BKPF via MIRO?
Thanks and Regards,
VijayHi Baskar,
I have done this thing from MIRO transaction to update BKPF table. Please check the below code.
METHOD if_ex_badi_fdcb_subbas01~put_data_to_screen_object.
CONSTANTS:
c_bkpf_xref1(25) TYPE c VALUE '(SAPLFDCB)BKPF-XREF1_HD'.
FIELD-SYMBOLS: <fs_bkpf_xref1> TYPE ANY.
fill interface attributes from importing paramters
me->if_ex_badi_fdcb_subbas01~invfo = im_invfo.
ASSIGN (c_bkpf_xref1) TO <fs_bkpf_xref1>.
IF sy-subrc = 0.
<fs_bkpf_xref1> = me->if_ex_badi_fdcb_subbas01~invfo-zlet_number.
ENDIF.
ENDMETHOD.
METHOD if_ex_badi_fdcb_subbas01~get_data_from_screen_object.
CONSTANTS:
c_bkpf_xref1(25) TYPE c VALUE '(SAPLFDCB)BKPF-XREF1_HD'.
FIELD-SYMBOLS: <fs_bkpf_xref1> TYPE ANY.
fill export parameters from interface attributes
ex_invfo = me->if_ex_badi_fdcb_subbas01~invfo.
ASSIGN (c_bkpf_xref1) TO <fs_bkpf_xref1>.
if sy-subrc = 0.
<fs_bkpf_xref1> = ex_invfo-zlet_number.
endif.
ENDMETHOD.
After passing the data through field symbols, then you need to update the BKPF table using the BADI AC_DOCUMENT. Refer the below code.
METHOD if_ex_ac_document~change_after_check.
variable declaration
DATA: lv_let_number TYPE zisr_let_number,
lv_field TYPE char18 VALUE '(SAPLMRMP)xaccit[]',
lv_let_field TYPE char27 VALUE '(SAPLMR1M)RBKPV-ZLET_NUMBER'.
Field symbol declaration
FIELD-SYMBOLS : <ft_accit> TYPE accit_t,
<fs_accit> TYPE accit,
<fv_let_number> TYPE ANY.
Constant declaration
CONSTANTS : lc_miro TYPE sytcode VALUE 'MIRO'.
Check for transaction code MIRO
IF sy-tcode EQ lc_miro.
ASSIGN (lv_field) TO <ft_accit>.
CHECK sy-subrc EQ 0.
ASSIGN (lv_let_field) TO <fv_let_number>.
CHECK sy-subrc EQ 0.
Assign the letter number to BKPF table field XREF1_HD
LOOP AT <ft_accit> ASSIGNING <fs_accit>.
lv_let_number = <fv_let_number>.
<fs_accit>-xref1_hd = lv_let_number.
ENDLOOP.
ENDIF.
ENDMETHOD. -
Hi,
Anyone can send below characteristics what are source field and table in SAP R/3
Account Number Business Imperative Code CC function cc office cc region cc service area cc service line Cost center office cost center service Client Company Code Contract Cost Center Document Date Document Type Employee Fiscal week( posted) Fiscal week( work date) Fiscal year/period Function H/P Industry Client Job Level Office Project Cost center Posting date Project Function PM Company code PM cost center PM function PM office PM region PM service area PM service line Project Manager Project Office Project Partner Project Region Project Service Area Project Service Line Project Type Region Sector Service Area Service Line Service Offering Staffed Cost center WBS Element WBS status Work DateHi,
If you know the technical name of the info object characteristic, go to SE16 in BI, Type table name RSOSFIELDMAP and enter your info object name. I will give you corresponding field name for that info object.
Regards,
Assgn points if helpful. -
Hiding and restoring table columns from file?
how i handle hiding and unhiding columns in a jtable is that i have a checkbox for each column, depending on which is checked "on" the tablecolumn is found and added to a vector and removed from the table.
when the checkbox is checked "off" this vector is searched for the correct tablecolumn, and then added back to the table. this works fine.
when i close out of the program, i go thru the table and write the visible column names along with its size to file.
when i re-open the program, i create the table normally, then go thru the file and hide(remove) the tablecolumns found in it..this works fine.
but when i go back to this checkbox list and try to unhide the tablecolumn, i get an exception
java.lang.IllegalArgumentException: Cannot format given Object as a Number
at java.text.NumberFormat.format(NumberFormat.java:219)
at java.text.Format.format(Format.java:133)
at javax.swing.JTable$DoubleRenderer.setValue(JTable.java:3397)
at javax.swing.table.DefaultTableCellRenderer.getTableCellRendererComponent(DefaultTableCellRenderer.java:160)
at javax.swing.JTable.prepareRenderer(JTable.java:3731)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1149)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)before i unhide the columns, the table is already populated with values. so it might have something to do with that...cuz there is no problems unhiding them if the table contains no data
any ideas?
thanksIf you're interested, this method hides a table column without any modifications of its content:
public static void setTableColumnVisible(JTable table, int col,
boolean visible, int width) {
try {
TableColumn column = table.getColumnModel().getColumn(col);
if (!visible) {
column.setMinWidth(0);
column.setWidth(0);
column.setMaxWidth(0);
column.setPreferredWidth(0);
else {
column.setWidth(width);
column.setPreferredWidth(width);
catch(Exception e) {
e.printStackTrace();
}Method use:
. setTableColumnVisible(table, col, false, 0) hides the column
. setTableColumnVisible(table, col, true, 100) restores the column to its size of 100
Hope this helped,
Regards. -
AttachMovie using variable target and source names
I've frequently used variable names for the target but is it impossible to do this:
holder.attachMovie(["mcButton"+i], ["box" + i + "_btn"], this.getNextHighestDepth()*200, {_x: arrBtnX[i], _y: arrBtnY[i]});
I can't get it to work and I haven't been able to find an example. It doesn't work without the square brackets either.
Thanks
MarionThank you very much for replying. I had tried that before without success but I discovered I had given the 'holder' a different name (doh!) Now that I am using the correct name, I find that it's working but only the last target movieclip appears. When I trace(i) I get the full trace. When I trace(btnHldr["box" + i + "_btn"]._x) I get the correct figures.
I have double-checked the linkage names for the mcButton0-5 movieclips and they are correct. I suspect it's looping through and replacing the same source with the target. I'm a bit puzzled.
Rgds
Marion
Maybe you are looking for
-
Printing issues HP7360, macbook pro running mavericks 10.9.2
Excel document prints fine, pdf documents I get "connection error, can no longer communicate with printer HP D7360". I'm running 10.9.2
-
Address Book Updation Application runs successufully but problem in runing
Hi all, I develop a small application which updates the contact numbers from the Adress Book. and for that i use PIM API.... i sotre some number in following folder appdb\DefaultColorPhone\pim\contacts\Contacts now when i run my application it succes
-
Trying to send Video via email?
I am trying to send a video that I recorded on my Nokia lumia 920 via email as it is to long/big for MMS. The problem is when I go to attach a file from email, it only pulls up pictures and doesn't even show my videos. It happens both on my yahoo a
-
I had two main reasons for replacing the head unit in my car; I wanted the RDS data and I wanted bluetooth connectivity for handsfree calling. I've purchased lots of Sony products in the past and I've always been happy with them. My main and secondar
-
Macbook pro will not save what I was working on when in sleep mode
Everytime my computer goes into sleep mode or battery dies, it does not remember what I was last working on. It starts all over again