OWB 10gR2 "Experts" - does documentation exist?
Do any sources of information on OWB 10gR2 experts exist anywhere? The users guide has almost nothing about them, and the API / scripting reference doesn't mention them. I'm specifically looking on how to write experts to streamline tasks such as copying expression operators from one map to another.
There seems to be a huge amount of power in these, but without docs we really won't be able to harnass it.
Any help is appreciated!!!
Thx,
Scott
Hi Scott.
Hummm.... I've tried google (owb+experts), found some info in:
http://www.nicholasgoodman.com/bt/blog/2004/11/17/owb10g-paris-experts/
It's not a technical resource, though.
Regards,
Marcos
Similar Messages
-
Hi,
I am trying to use the new 'Experts' feature in OWB10gR2 with little success. The first problem is that it is very un-intuative and coupled with this, there is basically no useful documentation anywhere.
Does anyone have some useful, detailed, documentation or else know how to use this feature.
Thanks a lot,
GerardHi,
Please send me your mail id as reply to this thread. I have such a document downloaded from the net. I am yet to check the usefulness of the document. I think it can be of some help to you.
Regards
-AP -
10gR2 - XMLIndex - does it exist ?
I read in a previous oracle whitepaper [1] that 10gR2 would add a new kind of xml index call "XMLIndex", providing path, value and order indexing.
However, in the 10gR2 XML DB Developers Guide, I don't find any mention of this.
Did XMLIndex make it into 10gR2, and the docs are wrong, or was this dropped ?
Thanks,
Andy Mackie.
[1]Oracle Database 10g Release 2
XML DB Technical Overview
An Oracle White Paper
May 2005
http://www.oracle.com/technology/tech/xml/xmldb/Current/twp_xmldb_10gr2_tech_overview.pdfFollowing can be found in http://www.oracle.com/technology/tech/xml/xmldb/Current/TWP_XMLDB_Content_Mgmt.pdf
The Hierarchical Index
The hierarchical index, and the associated XDB$HI_TABLE are used manage the
information needed to allow the database to support using a file /folder
mechanism to organize content. The hierarchical index is automatically created
and maintained for resources participating in the Oracle XML DB Repository,
and is not exposed to the application developer. -
OWB 9.2: Active Job Does not Exist !
OWB:9.2.0.2.8
I have opened a TAR for this, not much headway so far
Error Message: ORA-20211: Active job does not exist, cannot link to job record.
Here is the sequence of events
1) A test database was cloned fom production
2) We were able to to get the runtime instance on test running by setting the fields in wb_rt_service_nodes
Service doctor now indicated that the service was up
3) Using OWB deployment mangager, I tried to execute a map and got this message
Starting Execution EU_ITM_WH
Starting Task EU_ITM_WH
ORA-20211: Active job does not exist, cannot link to job record.
ORA-06512: at "OWB_RR.WB_RT_MAPAUDIT", line 1252
ORA-06512: at "OWB_RR.WB_RT_MAPAUDIT", line 2084
ORA-06512: at "OWB_TS.EU_ITM_WH", line 2250
ORA-06512: at "OWB_TS.EU_ITM_WH", line 2331
ORA-06512: at line 1
Completing Task EU_ITM_WH
Completing Execution EU_ITM_WH
I searched Metalink and got some references to this.but they seem out-dated.Did you try to stop and start the runtime sevice by using stop_service.sql/start_service.sql from the <OWB_HOME>/owb/rtp/sql directory?
Also, you say that you cloned the database - are the database parameters different in the cloned database (db name, hostname, port, user name, password)? If yes, did you change the location registration parameters?
Regards:
Igor -
Error ACLContainer: 65315 does NOT EXIST in the Object Cache for parentID:
Expert,
I did the following steps to upgrade the OWB repository from 10g to 11g
• Created a dummy workspace in the 11.2 repository
• Created users in the destination environment
• Run Repository Assistant against the 11.1 source database
• Then selected *“Export entire repository to a file”* and selected the MDL(10g) to import
After 99% of completing I have got the below error
Error ACLContainer: 65315 does NOT EXIST in the Object Cache for parentID: 65314
Please let me know the solution.
Thanks,
Balaa...Hi I had the same error and worked on it for almost a week with no success but there is few work around for this try it it might work for you.
Step 1>Run a health check on OWB 10.2 enviroment(make sure you clone your OWB 10.2 enviroment and then do this healthcheck ,these checks are tricky )
refer
Note 559542.1 Health Check of the Oracle Warehouse Builder 10.2 Metadata Repository
This will give you info about your missing ACL
Step 2> download these two scripts fixLostACLContainer.sql ,fixAllACLContainers.sql
please refer :
Note 559542.1 Health Check of the Oracle Warehouse Builder 10.2 Metadata Repository
OWB 10.2 - Internal ERROR: Can not find the ACL container for object (Doc ID 460411.1)
Note 754763.1 Repository Cleanup Script for OWB 10.2 and OWB 11.1
Note 460411.1 Opening Map Returns Cannot find ACL Containter for Object
Note 1165068.1 Internal Error: Can Not Find The ACL Containter For for object:CMPPhysical Object
It might resolve this ACL issue but it did not work for me.
If none of these work then
Perform export from design center of OWB 10.2 and import through design center of OWB 11.2.(ONLY OPTION)
It worked for me.
Varun -
Error :-The requested resource does not exist while opening the adobe form
hello Experts,
We are in Portal implementation face with ECC6 EHP4 and Portal EHP1
We have developed adobe form using HCM forms and processes and done the required configuration in SPRO
When we are trying to open the form from ESS we are getting below error
404 not found
The requested resource does not exist.
Please look into this issue and let us know any thing we are missing
Sincerely
Pareshis ADS working correctly?
1. Use transaction SA38 to execute the program FP_TEST_00.
Detailed information about this test program and about how you
should then proceed is given in the Adobe Document Services
Configuration Guide in the Help Portal under:
http://help.sap.com/saphelp_nw2004s/helpdata/en/37/504b8cbc2848a4
94facfdc09a359b1/frameset.htm -> Adobe Document Services
Configuration Guide -> Configuring the Web Service -> Securing
Access to the Web Service ->Configuration Check -> Configuration
Check for PDF-Based Forms in ABAP
- If the FP_TEST_00 form is displayed in the print preview, the
ADS configuration is correct.
-> If you use scenarios with an interactive PDF, proceed with
point 5. Otherwise, proceed with the test under point 6.
- If the system displays an error message instead of a form, the
configuration of ADS is incorrect.
-> Carry out the additional tests from point 2 onwards.
2. Use transaction SA38 to execute the program FP_PDF_TEST_00.
This enables you to check the RFC connection to ADS (see the
reference to the documentation given above).
- If the system displays the version number of ADS, the
configuration of the RFC connection is correct.
read the note 944221
Please paste the whole error? Is any dump in ST22 -
Error while deploying map: ORA-00942 Table or view does not exist
Hi OWB experts,
I'm having yet another problem with OWB, this time when I try to deploy a mapping I get this error:
ORA-06550: line 59, column 3:
PL/SQL: ORA-00942: table or view does not exist
DIM_01_ESTCON_MAP
ORA-06550: line 93, column 3:
PL/SQL: SQL Statement ignored
If I open the package that OWB created I see the errors:
CURSOR "DEDUP_SRC_0_IN2_c" IS
SELECT
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_ID" "ESTADOCONEXION_ID",
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_COD_ESTCON" "ESTADOCONEXION_COD_ESTCON",
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_DESC_ESTCON" "ESTADOCONEXION_DESC_ESTCON",
"DEDUP_INPUT_SUBQUERY2$1"."STANDARD_TOTAL_COD_TTL" "STANDARD_TOTAL_COD_TTL"
FROM
(SELECT
DISTINCT
"DIM_01_ESTCON_MAP"."GET_CONST_CA_0_ESTADOCO" "ESTADOCONEXION_ID",
"ESTADOS"."ESTADO" "ESTADOCONEXION_COD_ESTCON",
"ESTADOS"."DESC_EST" "ESTADOCONEXION_DESC_ESTCON",
"DIM_01_ESTCON_MAP"."GET_TOTAL_C_0_TTLID" "STANDARD_TOTAL_COD_TTL"
FROM
"CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
WHERE
( estado LIKE 'EC%' )) "DEDUP_INPUT_SUBQUERY2$1";
Where AYADEV_LOCATION points to the module/schema/location where my source data is.
Now, I have defined three modules:
SOURCE, where I defined the tables and other objects from the original database (source data)
STAGE, where I am performing all the transformations; here I defined all the maps
TARGET, this holds the dimensions and fact tables.
Now all three modules point to different databases. The dblink for AYADEV_LOCATION has been created and shouldn't present any problems. The username that I'm using to log on to the source database is current and I can connect to it through SQL+ or any other program (TOAD, SQLDeveloper).
What could be happening here? I'm using OWB 10g R2, with Oracle DB 10g R2.
I'd really appreciate any help you could provide.
Best Regards,
--Osvaldo
[osantos]Hi,
I'm still having problems but I found out why these tables are returning errors. The username I've been given by the DBA to connect to the database is CONSULTA, but this user is only for querying purposes, the actual objects reside on a differente schema, of course, which is PROD. So the line:
"CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
raises an exception because the table ESTADOS is not located on that schema, but on PROD. If I query the table from SQL Plus with:
SELECT *
FROM [email protected]@AYADEV_LOCATION
then there's no problem at all.
Why is this? How do I instruct OWB to point to the correct schema or to avoind fully qualifying the table name?
Please help me, I'm kind of confused here.
Best Regards,
--oswaldo.
[osantos] -
ORA-20211: Active job does not exist, cannot link to job record.
Getting the above error while executing OWB mapping in production environment.
Details of the error :
ORA-20211: Active job does not exist, cannot link to job record.
ORA-06512: at "RADRUN.WB_RT_MAPAUDIT", line 1278
ORA-06512: at "RADRUN.WB_RT_MAPAUDIT", line 2110
ORA-06512: at "RADSTG.MAP_STG_AIRCRAFT", line 2384
ORA-06512: at "RADSTG.MAP_STG_AIRCRAFT", line 2513
RADRUN -- runtime schema
RADSTG -- Target schema where mappings deployed.
source database is accessed through a DB link.
OWB version - 10.1.0.4.0
Oracle - 9.2.0.6.0
Here mappings are getting executed by calling a pl/sql procedure. This pl/sql procedure is executed every day by scheduling a dbms_job. After the error, the job is in hanging.
Last week also the same error happened, on that occasion , restarted the database and re submitted the job. Mapping executed without any error.
Looking for the expert commentsHi.
See Note:125860.1 in metalink (and please, lol to solution #3). It applies to older OWB versions though... Are you using DBMS_JOB or OEM to run these mappings? If so, then the metalink note might be useful help.
Karesz, I believe if the source database was down, it would fail with an ORA-12XXX Error.
Regards,
Marcos -
SOP to Demand Management - Mass Transfer -RMCA0766 - Program does not exist
Dear Experts,
I am configuring the mass transfer from SOP to Demand Management. I want to maintain the variant for the program RMCA0766 so that I can create the Mass transfer job.
But I get the message RMCA0766 does not exist. So, How do I generate this program in the client?
Any help would be greatly appreciated.
Reagrds
TomHi,
Please refer the below document. It speaks about the mass processing on SOP.
http://help.sap.com/bestpractices/BBLibrary/documentation/M06_BPP_22_EN_NO.doc
Hope you will get the answer you needed.
Regards,
Manimaran M.
Edited by: M Manimaran on Aug 9, 2011 8:01 AM -
Storing degenerate dimension info in an OWB 10gR2 cube
Hi,
I'm looking to store "degenerate dimension" information in an OWB 10gR2 cube. Typically in a DW, I'd just add a column to the fact table to hold the information. However, in OWB 10gR2, I don't see any way to add a column to a "cube" object - everything appears to either have to be a dimension surrogate key, or a measure.
Not sure the best way to proceed. We've coded all our ETL using the standard cube objects and letting OWB do all the surrogate key lookup, etc. automagically for us, so I'd hate to be forced to go back to manually loading the fact tables. Is there an easier way?
Thanks,
ScottHi Scott,
The problems I've run into with dimensions and cubes are:
Dimensions abort if there are many roles - about 4 is the limit. This is very bad for the time dimension which should have 100s of aliases. Unfortunately I can't use the Time dimension wizard because we require ISO-Weeks. My workaround is to create several Time dimensions manually and assign 4 roles to each.
Naming - when I create several time dimensions with 4 roles each (see above), in the BI layer, the foreign keys in cubes are always named something like time_dim, time_dim_1, etc rather than named for role names. I have to manually rename them in tables and then when I deploy BI objects, manually rename them again in Discoverer Administrator.
Redeploying just about anything is broken. Table upgrade plans are invalid (even after running the grant scripts that support recommended), Redeploying BI objects runs successfully but if you read the job output, it does nothing since the objects already exist - again, the upgrade option does nothing.
Column ordering is random when deploying objects so I've taken to sorting alphabetically for our BI objects. Not ideal by any means.
As for the time savings with lookups, I don't save nearly that much. Due to many composite keys in our source systems, I assign surrogate keys in our staging area. These become the "business keys" in our DW layer and consequently I end up doing lookups against the staging MAP tables - really no more or less difficult than looking up dimension keys. That is more a design choice than anything and may just be my "Kimball" habits dying hard.
I'm encouraged to hear that you are having success. I chose to utilize the Dimensions and Cubes and so far am sticking with it. I'm hoping that there will be patches and/or point releases to OWB soon! -
Error: While Opening a Custom view- Action &OBJECT_ID& does not exist
Hi Experts,
On the click of button, I am creating a window and opening as follows:
wd_comp_controller->go_window = lo_window_manager->create_window(
window_name = 'ZW_CERTIFICATION_POP'
title = lv_pop_title
close_in_any_case = abap_false
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_none
I have written following code in INIT method of View to Subscribe events but it is dumping with the Error "Action &OBJECT_ID& does not exist ".
DATA lv_ok type string.
DATA lv_cancel type string.
DATA lo_popup TYPE REF TO if_wd_window.
DATA lo_view TYPE REF TO if_wd_view_controller.
DATA lo_window_ctlr type ref to if_wd_window_controller.
register button events
lo_view = wd_this->wd_get_api( ).
lo_window_ctlr = lo_view->get_embedding_window_ctlr( ).
wd_comp_controller->go_window = lo_window_ctlr->get_window( ).
lv_ok = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/OK' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = lv_ok
action_name = 'OK'
action_view = lo_view
is_default_button = abap_true
lv_cancel = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/CANCEL' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_cancel
button_text = lv_cancel
action_name = 'CANCEL'
action_view = lo_view
is_default_button = abap_true
How to solve this exception causing application to dump.
Thanks
DepeshHi Depeshn,
I have written following code in INIT method of View
I think you have writen code containg subscribe_to_button_event method in the INIT method of the pop up view. But actually you should write that code where you are generating the pop up window. i.e in the ONACTION method of the button (which when clicked generates the pop up window.)
It should be something like this:
" This whole code should come in the event handler of the button.
wd_comp_controller->go_window = lo_window_manager->create_window(
window_name = 'ZW_CERTIFICATION_POP'
title = lv_pop_title
close_in_any_case = abap_false
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_none
DATA lv_ok type string.
DATA lv_cancel type string.
DATA lo_popup TYPE REF TO if_wd_window.
DATA lo_view TYPE REF TO if_wd_view_controller.
DATA lo_window_ctlr type ref to if_wd_window_controller.
* register button events
lo_view = wd_this->wd_get_api( ).
lo_window_ctlr = lo_view->get_embedding_window_ctlr( ).
wd_comp_controller->go_window = lo_window_ctlr->get_window( ).
lv_ok = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/OK' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = lv_ok
action_name = 'OK'
action_view = lo_view
is_default_button = abap_true
lv_cancel = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/CANCEL' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_cancel
button_text = lv_cancel
action_name = 'CANCEL'
action_view = lo_view
is_default_button = abap_true
I hope it helps.
Regards
Arjun -
Query Error - Schema Does Not Exist
I get the following error when creating stored procedure:
Msg 2797, Level 16, State 1, Procedure SearchAllTables, Line 90
The default schema does not exist.
CREATE PROC SearchAllTables
@SearchStr nvarchar(100)
AS
BEGIN
CREATE TABLE #Results(TableName nvarchar(370), KeyValues nvarchar(3630), ColumnName nvarchar(370), ColumnValue nvarchar(3630))
SET NOCOUNT ON
DECLARE @TableName nvarchar(256), @ColumnName nvarchar(128), @SearchStr2 nvarchar(110)
,@TableShortName nvarchar(256)
,@TableKeys nvarchar(512)
,@SQL nvarchar(3830)
SET @TableName = ''
SET @SearchStr2 = QUOTENAME('%' + @SearchStr + '%','''')
WHILE @TableName IS NOT NULL
BEGIN
SET @ColumnName = ''
-- Scan Tables
SET @TableName =
SELECT MIN(QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME))
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE'
AND QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME) > @TableName
AND OBJECTPROPERTY(
OBJECT_ID(
QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME)
), 'IsMSShipped'
) = 0
Set @TableShortName=PARSENAME(@TableName, 1)
-- print @TableName + ';' + @TableShortName +'!' -- *** DEBUG LINE ***
-- LOOK Key Fields, Set Key Columns
SET @TableKeys=''
SELECT @TableKeys = @TableKeys + '''' + QUOTENAME([name]) + ': '' + CONVERT(nvarchar(250),' + [name] + ') + ''' + ',' + ''' + '
FROM syscolumns
WHERE [id] IN (
SELECT [id]
FROM sysobjects
WHERE [name] = @TableShortName)
AND colid IN (
SELECT SIK.colid
FROM sysindexkeys SIK
JOIN sysobjects SO ON
SIK.[id] = SO.[id]
WHERE
SIK.indid = 1
AND SO.[name] = @TableShortName)
If @TableKeys<>''
SET @TableKeys=SUBSTRING(@TableKeys,1,Len(@TableKeys)-8)
-- Print @TableName + ';' + @TableKeys + '!' -- *** DEBUG LINE ***
-- Search in Columns
WHILE (@TableName IS NOT NULL) AND (@ColumnName IS NOT NULL)
BEGIN
SET @ColumnName =
SELECT MIN(QUOTENAME(COLUMN_NAME))
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = PARSENAME(@TableName, 2)
AND TABLE_NAME = PARSENAME(@TableName, 1)
AND DATA_TYPE IN ('char', 'varchar', 'nchar', 'nvarchar')
AND QUOTENAME(COLUMN_NAME) > @ColumnName
) -- Set ColumnName
IF @ColumnName IS NOT NULL
BEGIN
SET @SQL='
SELECT
''' + @TableName + '''
,'+@TableKeys+'
,''' + @ColumnName + '''
,LEFT(' + @ColumnName + ', 3630)
FROM ' + @TableName + ' (NOLOCK) ' +
' WHERE ' + @ColumnName + ' LIKE ' + @SearchStr2
--Print @SQL -- *** DEBUG LINE ***
INSERT INTO #Results
Exec (@SQL)
END -- IF ColumnName
END -- While Table and Column
END --While Table
SELECT TableName, KeyValues, ColumnName, ColumnValue FROM #Results
ENDHere is the code from my blog post:
CREATE PROCEDURE spSearchStringInTable
(@SearchString NVARCHAR(MAX),
@Table_Schema sysname,
@Table_Name sysname)
AS
BEGIN
DECLARE @Columns NVARCHAR(MAX), @Cols NVARCHAR(MAX), @PkColumn NVARCHAR(MAX)
-- Get all character columns
SET @Columns = STUFF((SELECT ', ' + QUOTENAME(Column_Name)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE DATA_TYPE IN ('text','ntext','varchar','nvarchar','char','nchar')
AND TABLE_NAME = @Table_Name
ORDER BY COLUMN_NAME
FOR XML PATH('')),1,2,'')
IF @Columns IS NULL -- no character columns
RETURN -1
-- Get columns for select statement - we need to convert all columns to nvarchar(max)
SET @Cols = STUFF((SELECT ', cast(' + QUOTENAME(Column_Name) + ' as nvarchar(max)) as ' + QUOTENAME(Column_Name)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE DATA_TYPE IN ('text','ntext','varchar','nvarchar','char','nchar')
AND TABLE_NAME = @Table_Name
ORDER BY COLUMN_NAME
FOR XML PATH('')),1,2,'')
SET @PkColumn = STUFF((SELECT N' + ''|'' + ' + ' cast(' + QUOTENAME(CU.COLUMN_NAME) + ' as nvarchar(max))'
FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS TC
INNER JOIN INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE CU ON TC.TABLE_NAME = CU.TABLE_NAME
AND TC.TABLE_SCHEMA = CU.TABLE_SCHEMA
AND Tc.CONSTRAINT_NAME = CU.CONSTRAINT_NAME
WHERE TC.CONSTRAINT_TYPE ='PRIMARY KEY' AND TC.TABLE_SCHEMA = @Table_Schema AND TC.TABLE_NAME = @Table_Name
ORDER BY CU.COLUMN_NAME
FOR XML PATH('')),1,9,'')
IF @PkColumn IS NULL
SELECT @PkColumn = 'cast(NULL as nvarchar(max))'
-- set select statement using dynamic UNPIVOT
DECLARE @SQL NVARCHAR(MAX)
SET @SQL = 'select *, ' + QUOTENAME(@Table_Schema,'''') + 'as [Table Schema], ' + QUOTENAME(@Table_Name,'''') + ' as [Table Name]' +
' from
(select '+ @PkColumn + ' as [PK Column], ' + @Cols + ' FROM ' + QUOTENAME(@Table_Schema) + '.' + QUOTENAME(@Table_Name) + ' )src UNPIVOT ([Column Value] for [Column Name] IN (' + @Columns + ')) unpvt
WHERE [Column Value] LIKE ''%'' + @SearchString + ''%'''
--print @SQL
EXECUTE sp_ExecuteSQL @SQL, N'@SearchString nvarchar(max)', @SearchString
END
GO
IF OBJECT_ID('TempDB..#Result', N'U') IS NOT NULL DROP TABLE #Result;
CREATE TABLE #RESULT ([PK COLUMN] NVARCHAR(MAX), [COLUMN VALUE] NVARCHAR(MAX), [COLUMN Name] sysname, [TABLE SCHEMA] sysname, [TABLE Name] sysname)
DECLARE @Table_Name sysname, @SearchString NVARCHAR(MAX), @Table_Schema sysname
SET @SearchString = N'Cost'
DECLARE curAllTables CURSOR LOCAL FORWARD_ONLY STATIC READ_ONLY
FOR
SELECT Table_Schema, Table_Name
FROM INFORMATION_SCHEMA.Tables
WHERE TABLE_TYPE = 'BASE TABLE'
ORDER BY Table_Schema, Table_Name
OPEN curAllTables
FETCH curAllTables
INTO @Table_Schema, @Table_Name
WHILE (@@FETCH_STATUS = 0) -- Loop through all tables in the database
BEGIN
INSERT #RESULT
EXECUTE spSearchStringInTable @SearchString, @Table_Schema, @Table_Name
FETCH curAllTables
INTO @Table_Schema, @Table_Name
END -- while
CLOSE curAllTables
DEALLOCATE curAllTables
-- Return results
SELECT * FROM #RESULT ORDER BY [Table Name]
It works OK for me.
I also posted another code today which searches a single column in all tables of the database. I spent about an hour working on that code and it works fine for me too.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
SRM MDM, Error, "Table with Code 'null' does not exist in repository"
Hi experts,
We has SRM MDM scenario, while doing OCI settings, we are able to connect with MDM repository but getting follwoing error message in portal, "java.lang.IllegalArgumentException: Table with Code 'null' does not exist in the repository 'Repository' or is one of the system table (e.g. Workflows) that is not exposed in repository schema"
Can You please suggest,
Thanks and Regards,
MunishHi everyone,
Sudhanshu and Anshuk:- Thanks for your response, let me try and explain the real scenario in details:-
We have deployed the SRM-MDM Catalog Search UI in Portal.
We tried accessing the http://<Portal Host>:<Portal Port>/SRM-MDM/SRM_MDM
Then we got a screen (Search UI App screen), where in we have provided the MDM Server name, then the MDM Server Password, then presses the Connect button, then below this, it displayed the Repository name created in the MDM. We have selected the Repository, then provided the Credentials of a User (Name: T_CORP) in MDM which has "Catalog Manager", and the "UI Configuration Manager" Roles. Please note that these Role names were created by us in MDM. Is it the right procedure or do we have any standard Roles delivered by SAP in MDM to map? If any standard Roles are available, where we need to check these.
Once the Credentials of MDM User is provided, and then selected the "Login" button.
Then we are getting the below error.
"java.lang.IllegalArgumentException: Table with Code 'null' does not exist in the repository 'Repository' or is one of the system table (e.g. Workflows) that is not exposed in repository schema"
Please clarify; we are not configuring any values in iViews. Where we need to do this, I mean name of the iView, and what values do we need provide generally? We are just running the Search UI App application; I don't think it is an iView, because the URL shows the Application name details, etc...
Please guide us, how to fix this Error.
Thanks and Regards,
Munish -
Purchase info record does not exists in purchase organization 1000
Hi experts,
I have created a new enterprise structure in SAP. when i am creating a PO its picking the correct info record, but when i am doing GR, its giving the error as 'purchase info record does not exists in purchase organization 1000". I have maintained everything perfect. the only thing i have changed is I have moved the open and close period from 11-2002 to 12-2008 in MMPV.
Please give me some suggestions, where it can go wrong.
Thanks & Regards,
Poorna.Hi Guys,
Thanks for all yours responses, Actually what deepak said was right, but in my IDES system i am not able to create new entries in assign plant to std purchase org. I found the database view for that, V_001W_E its for table T001W. So i looked into that table i found that std purchase org was given as 1000. i made direct entries in that table, i thought the reason for this may be due to , that i copied plant from 1000. After making entries , i did not got the error message that was i am previously getting.
Thanks & Regards,
Ravi. -
Field VIQMSM-MATXT(14) does not exist in the screen SAPLIQS0 7204
Hi experts,
I have a BDC calls QM02 Tcode in a custom report as follow:
PERFORM bdc_dynpro USING 'SAPLIQS0' '7204'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=REAK'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VIQMEL-QMNUM'.
CLEAR txline.
CONCATENATE 'VIQMSM-MATXT(' lnindex ')' INTO txline.
" txline = VIQMSM-MATXT(0014)
CONCATENATE 'PO #: ' alv_qmel-ponum INTO matxt SEPARATED BY space.
PERFORM bdc_field USING txline
matxt.
PERFORM bdc_transaction USING 'QM02'.
When debugging I found that the input bdcdata table contains a field VIQMSM-MATXT(14) in screen SAPLIQS0 7204.
Number 14 is the number of task of the notification which was not marked as deleted.
This field caused the error: Field VIQMSM-MATXT(14) does not exist in the screen SAPLIQS0 7204 after that.
I would like to know what does VIQMSM-MATXT(14) mean? How BDC can transfer VIQMSM-MATXT(14) to QM02? And How does it work?
Thanks,
KhanhHi Kostek,
I did not have the solution for this exact problem because our FA canceled this bug.
Check your test case carefully whether the screen of the TCode called by BDC has that field OR NOT. If that screen does not have that field in your special case, just ignore it.
Regards,
Khanh
Maybe you are looking for
-
hi, Hello all, please help!! I used function BAPI_PO_CREATE1 to create PO with limit item but function returned message error '518 No account assignment exist for service line 0000000000'. Can anyone give me an idea to slove this problem? i am passin
-
I'm trying to embed an image in a form. For example: show a persons picture with his name address etc. Can someone tell me exactly how to do this? The form will contain fields that are updateable. I tried this: Created a region; Created items A,B,C i
-
Storage Location for Movement type
Hi, How do I set up Storage Location Can not Movement type '261' goods issue ? Thanks
-
Permissions not repairing with Disk Utility
I booted off my internal backup drive to run Disk Utilities on my main drive as I've been having some display problems and wanted to check for viruses and check the integrity of my drive. No viruses, disc verifies OK, but I had a lot of permissions n
-
Hello, I'm trying to measure the time between 2 datapoints. When the data acquirement begins the time should be saved and when the signal reaches 90% of it's max. Those 2 times then get subtracted and then you have the elapsed time. But I'm not quite