Macro media dream weaver - table function
Macro media dreamweaver mx 6 - Table function stopped working, Why?
Deleting Corrupted Cache in DW
http://forums.adobe.com/thread/494811
Nancy O.
Similar Messages
-
Hi
I have made a really cool background in fireworks and set it
as the back drop in dreamweaver, i have managed to centre a table
over the background so the text fits nicley over the right place on
the background.
The problem is when the browser is not open fully the table
and the background shift like as if the table centres itself
depending on the size of the browser so it no longer fits over the
background and the text cannot be read. It only works when the
browser is fully maxamised.
Is there anyway i can rectify this so the table sticks to the
background image? or stays where i want it?
Thanks
Mark> I have made a really cool background in fireworks and
set it as the back
> drop
> in dreamweaver, i have managed to centre a table over
the background so
> the
> text fits nicley over the right place on the background.
Now resize your text in the browser. How cool is that?
> The problem is when the browser is not open fully the
table and the
> background
> shift like as if the table centres itself depending on
the size of the
> browser
> so it no longer fits over the background and the text
cannot be read. It
> only
> works when the browser is fully maxamised.
Yes. This is an excellent demonstration why your going in
method is badly
flawed, and can never work.
> Is there anyway i can rectify this so the table sticks
to the background
> image? or stays where i want it?
You could make it the background of the table, but you'd
still have the text
resizing problem.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"webbmanjones" <[email protected]> wrote in
message
news:[email protected]...
> Hi
>
> I have made a really cool background in fireworks and
set it as the back
> drop
> in dreamweaver, i have managed to centre a table over
the background so
> the
> text fits nicley over the right place on the background.
>
> The problem is when the browser is not open fully the
table and the
> background
> shift like as if the table centres itself depending on
the size of the
> browser
> so it no longer fits over the background and the text
cannot be read. It
> only
> works when the browser is fully maxamised.
>
> Is there anyway i can rectify this so the table sticks
to the background
> image? or stays where i want it?
>
> Thanks
>
> Mark
> -
I havnt tried it yet, but im just curious to get a head start
for when I do. I will have roughly 5 flash buttons and a movie clip
(with a rollover function for the buttons) all positioned around a
page... When I import them to dream weaver, will I be able to
position them how I want, or will I have to do it in flash as one
large movie so they all work together?
One other thing, non-flash related. In dreamweaver (if anyone
knows) will I be able to make objects even up on the page without
them shifting due to screen size/resolution. Not sure if I can lay
the entire thing out in a table or not. I lvoe working with the
layers except they move on the screen if its not the same
size.I think you only have two options. first is, like what you
said, you should do it in one big flash file and embed it in the
HTML in Dreamweaver. but the disadvantage is that you will find it
hard to place other elements together with your flash. But the
second option is, in order for your site to be flexible, you design
a table where you can individually place your buttons and movie
clips inside. Add a little modifications in the actionscript if
your buttons are supposed to communicate with the movie
clip. -
So first of all this is my first time here and I am very sorry if I forget anything or do anything wrong. I looked for this question and was not able to find it. I would appreciate any help that anyone can offer. Here is some of the information
I am on Windows Vista Business
Dell Optiplex Gx745
Intel Core 2
Adobe Web Premium CS3
Here is my problem:
My company is always sending our marketing pieces to an outside company and I was hoping to take on this and make my position in the company a little more solid. When the latest piece needed to be made I volunteered to design it and I thought the best way to do so was through Illustrator. I put a lot of work into designing it and the company loves it. It came out great but now I need to make it functional. It is suppose to be sent out as an email and have a link in the email to our website that will have a sign up form. I cannot seem to figure this out. I can make it into a PDF and then ad a link in that but when I make it into a HTML the link does not work. I have tried to but it into Dream Weaver but it only comes across as an image (jpg) and to add a button I cant put it on top of the image. Please help me figure out how to make my Illustrator file into a html with active links.Anthony,
A regular plain image (like a JPEG or GIF) can't actually have a clickable area, you can create clickable areas by placing the image into an html document and using either a hyper link on an image or an image map to make a link to the form.
There are several ways to get what you want. One possible solution is to export your design from illustrator using the Save for Web & Devices command. The two most common formats for web images are JPEG and GIF. The JPEG format works well for continuous tone images and the GIF format is superior for limited tone Then you can open Dreamweaver, Insert the image into a web page and use the image map tools to draw a rectangular hotspot around the area of the image you want to be clickable. When the hotspot is selected you can add the address you want it to link to to in the Property inspector at the bottom of the interface. -
Today I purchased a Dream Weaver CS 4 upgrade. I have Dream Weaver 8 which I bought from Adobe.com and I have Dream Weaver CS3 which I brought from Amazon.com.
The error message I get is setup cannot continue. There is no specific reason stated.
Both Dream Weaver 8 and Dream Weaver CS 3 runs fine.
Any ideas what could be wrong? Anyone?Run the CS4 Clean Utility from the support pages. Have it unregister all older Adobe tools/ current tools. This wil lremove them from the installer database, but the programs themselves remain intact. In addition, manually uninstall Adobe AIR and associate applications such as Adobe Media Player. After that, install DW CS4.
Mylenium -
Can Dream Weaver make this?
Hello im new in designing website, im intrested in learning. Just curios how this website is maid and can dream weaver make it
http://www.screenvader.com/root.html35 Free Adobe Flash Site Tutorials:
http://www.acomment.net/35-amazing-free-adobe-flash-tutorials-to-start-building-full-flash -websites/526
FWIW I wouldn't use Flash for my first web project. I think it's better to learn basic web skills first. Then when you're ready to take on more advanced level work, move to Flash action scripts or other client-side scripting methods. Everyone here had to crawl before they could walk. Start with the links below:
HTML & CSS Tutorials - http://w3schools.com/
Creating your first website in DW -
http://www.adobe.com/devnet/dreamweaver/articles/first_cs4_website_pt1.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com
http://w3schools.com/ -
How to use the Table Function defined in package in OWB?
Hi,
I defined a table function in a package. I am trying to use that in owb using Table function operator. But I came to know that, owb R1 supports only standalone table functions.
Is there any other way to use the table function defined in a package. As like we create synonyms for functions, is there any other way to do this.
I tryed to create synonyms, it is created. But it is showing compilation error. Finally I found that, we can't create synonyms for functions which are defined in packages.
Any one can explain it, how to resolve this problem.
Thank you,
Regards
Gowtham Sen.Hi Marcos,
Thank you for reply.
OWB R1 supports stand alone table functions. Here what I mean is, the table fucntion which is not inculded in any package is a stand alone table function.
for example say sample_tbl_fn is a table function. It is defined as a function.It is a stand alone function. We call this fucntion as "samp_tbl_fn()";
For exampe say sample_pkg is a package. say a function is defined in a package.
then we call that function as sample_pkg.functionname(); This is not a stand alone function.
I hope you understand it.
owb supports stand alone functions.
Here I would like to know, is there any other way to use the functions which are defined in package. While I am trying to use those functions (which are defined in package -- giving the name as packagename.functionname) it is throwing an error "Invalid object name."
Here I would like know, is there any other way to use the table functions which are defined in a package.
Thank you,
Regards,
Gowtham Sen. -
Table function on a collection in Dynamic SQL
Hello,
I am trying to create a refcursor by selecting from a collection using table function.
If I use the Select statement the query executes, but if I put the Select statement in a string
the collection variable does not get resolved. The resaon I am putiing it in a string is because the
WHERE clause will be passed a parameter. The code below is an anonymous block but will be changed to a
procedure once I get it to work.
I have tried many different ways but was unsuccessful.
Please see if anybody cann assist or what I am trying to achive is not possible, so provide an alternative.
The error I am getting is
ORA-00904: "V_ALARM_REC_TABLE": invalid identifier
ORA-06512: at line 50
Thanks.
Bimal
DECLARE
TYPE c_refcurtype IS REF CURSOR;
x c_refcurtype;
p_recordset c_refcurtype;
v_rec mc2_dev2.mc2_alarm_rec_type := mc2_dev2.mc2_alarm_rec_type(null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null);
v_alarm_rec_table mc2_dev2.mc2_alarm_rec_table := mc2_dev2.mc2_alarm_rec_table();
v_select varchar2(200) := 'select a.* from ';
v_table varchar2(200) := 'table(v_alarm_rec_table) a ';
v_where varchar2(200) := 'where a.alarm_rule_def_uid = 9';
v_query varchar2(32000);
BEGIN
MC2_ALARM.create_mc2_alarm(x, 1); --- ( X is a refcursor, which I will use to populate v_alarm_rec_table a (nested table collection)
LOOP
FETCH x INTO v_rec.record_cnt,
v_rec.rn,
v_rec.alarm_precision_order,
v_rec.alarm_rule_def_uid,
v_rec.alarm_type_def_uid,
v_rec.alarm_rule_scope_uid,
v_rec.trigger_tpl_master_uid,
v_rec.alarm_scope_def_uid,
v_rec.alarm_object_uid,
v_rec.error_type,
v_rec.all_error_codes,
v_rec.enabled,
v_rec.start_hour,
v_rec.end_hour,
v_rec.day_type,
v_rec.alarm_severity_def_uid,
v_rec.on_watch_duration,
v_rec.update_on_status_change,
v_rec.log_ind,
v_rec.email_to,
v_rec.email_from,
v_rec.send_email,
v_rec.stale_period;
EXIT WHEN x%NOTFOUND;
v_alarm_rec_table.extend;
v_alarm_rec_table(v_alarm_rec_table.last) := v_rec;
END LOOP;
CLOSE x;
v_query := v_select||v_table||v_where; -- ERROR OCCURS AT THIS LINE as it cannot resolve the TABLE name v_alarm_rec_table)
dbms_output.put_line('sql: '||v_query);
OPEN p_recordset FOR v_query;
LOOP
FETCH p_recordset INTO v_rec.record_cnt,
v_rec.rn,
v_rec.alarm_precision_order,
v_rec.alarm_rule_def_uid,
v_rec.alarm_type_def_uid,
v_rec.alarm_rule_scope_uid,
v_rec.trigger_tpl_master_uid,
v_rec.alarm_scope_def_uid,
v_rec.alarm_object_uid,
v_rec.error_type,
v_rec.all_error_codes,
v_rec.enabled,
v_rec.start_hour,
v_rec.end_hour,
v_rec.day_type,
v_rec.alarm_severity_def_uid,
v_rec.on_watch_duration,
v_rec.update_on_status_change,
v_rec.log_ind,
v_rec.email_to,
v_rec.email_from,
v_rec.send_email,
v_rec.stale_period;
EXIT WHEN p_recordset%NOTFOUND;
some dbms_output statements...
END LOOP;
END;
The error I am getting is
ORA-00904: "V_ALARM_REC_TABLE": invalid identifier
ORA-06512: at line 50Thanks Timur/Solomon,
mc2_dev2 is the schema name.
mc2_alarm_rec_table is a SQL type.
Here are the scripts:
CREATE OR REPLACE TYPE MC2_DEV2.mc2_alarm_rec_type IS OBJECT
( record_cnt NUMBER,
rn number,
alarm_precision_order NUMBER(6),
alarm_rule_def_uid NUMBER(6),
alarm_type_def_uid NUMBER(6),
alarm_rule_scope_uid NUMBER(6),
trigger_tpl_master_uid NUMBER(6),
alarm_scope_def_uid NUMBER(6),
alarm_object_uid NUMBER(6),
error_type VARCHAR2(1),
all_error_codes VARCHAR2(1),
enabled VARCHAR2(1),
start_hour NUMBER(2),
end_hour NUMBER(2),
day_type NUMBER(2),
alarm_severity_def_uid NUMBER(6),
on_watch_duration NUMBER(6),
update_on_status_change VARCHAR2(1),
log_ind VARCHAR2(1),
email_to VARCHAR2(128),
email_from VARCHAR2(128),
send_email VARCHAR2(1),
stale_period NUMBER(6)
CREATE OR REPLACE TYPE MC2_DEV2.MC2_ALARM_REC_TABLE IS TABLE OF MC2_DEV2.mc2_alarm_rec_type;
If I popoulate the cursor with the following code:
OPEN p_recordset FOR
select a.* from table (v_alarm_rec_table) a where a.alarm_rule_def_uid = 9;
there is no issue it works just fine.
But when when I use
OPEN p_recordset FOR v_query; ---- where v_query := v_select||v_table||v_where;
the variable v_alarm_rec_table does not get resolved.
Regards,
Bimal -
Performance issues with pipelined table functions
I am testing pipelined table functions to be able to re-use the <font face="courier">base_query</font> function. Contrary to my understanding, the <font face="courier">with_pipeline</font> procedure runs 6 time slower than the legacy <font face="courier">no_pipeline</font> procedure. Am I missing something? The <font face="courier">processor</font> function is from [url http://www.oracle-developer.net/display.php?id=429]improving performance with pipelined table functions .
Edit: The underlying query returns 500,000 rows in about 3 minutes. So there are are no performance issues with the query itself.
Many thanks in advance.
CREATE OR REPLACE PACKAGE pipeline_example
IS
TYPE resultset_typ IS REF CURSOR;
TYPE row_typ IS RECORD (colC VARCHAR2(200), colD VARCHAR2(200), colE VARCHAR2(200));
TYPE table_typ IS TABLE OF row_typ;
FUNCTION base_query (argA IN VARCHAR2, argB IN VARCHAR2)
RETURN resultset_typ;
c_default_limit CONSTANT PLS_INTEGER := 100;
FUNCTION processor (
p_source_data IN resultset_typ,
p_limit_size IN PLS_INTEGER DEFAULT c_default_limit)
RETURN table_typ
PIPELINED
PARALLEL_ENABLE(PARTITION p_source_data BY ANY);
PROCEDURE with_pipeline (argA IN VARCHAR2,
argB IN VARCHAR2,
o_resultset OUT resultset_typ);
PROCEDURE no_pipeline (argA IN VARCHAR2,
argB IN VARCHAR2,
o_resultset OUT resultset_typ);
END pipeline_example;
CREATE OR REPLACE PACKAGE BODY pipeline_example
IS
FUNCTION base_query (argA IN VARCHAR2, argB IN VARCHAR2)
RETURN resultset_typ
IS
o_resultset resultset_typ;
BEGIN
OPEN o_resultset FOR
SELECT colC, colD, colE
FROM some_table
WHERE colA = ArgA AND colB = argB;
RETURN o_resultset;
END base_query;
FUNCTION processor (
p_source_data IN resultset_typ,
p_limit_size IN PLS_INTEGER DEFAULT c_default_limit)
RETURN table_typ
PIPELINED
PARALLEL_ENABLE(PARTITION p_source_data BY ANY)
IS
aa_source_data table_typ;-- := table_typ ();
BEGIN
LOOP
FETCH p_source_data
BULK COLLECT INTO aa_source_data
LIMIT p_limit_size;
EXIT WHEN aa_source_data.COUNT = 0;
/* Process the batch of (p_limit_size) records... */
FOR i IN 1 .. aa_source_data.COUNT
LOOP
PIPE ROW (aa_source_data (i));
END LOOP;
END LOOP;
CLOSE p_source_data;
RETURN;
END processor;
PROCEDURE with_pipeline (argA IN VARCHAR2,
argB IN VARCHAR2,
o_resultset OUT resultset_typ)
IS
BEGIN
OPEN o_resultset FOR
SELECT /*+ PARALLEL(t, 5) */ colC,
SUM (CASE WHEN colD > colE AND colE != '0' THEN colD / ColE END)de,
SUM (CASE WHEN colE > colD AND colD != '0' THEN colE / ColD END)ed,
SUM (CASE WHEN colD = colE AND colD != '0' THEN '1' END) de_one,
SUM (CASE WHEN colD = '0' OR colE = '0' THEN '0' END) de_zero
FROM TABLE (processor (base_query (argA, argB),100)) t
GROUP BY colC
ORDER BY colC
END with_pipeline;
PROCEDURE no_pipeline (argA IN VARCHAR2,
argB IN VARCHAR2,
o_resultset OUT resultset_typ)
IS
BEGIN
OPEN o_resultset FOR
SELECT colC,
SUM (CASE WHEN colD > colE AND colE != '0' THEN colD / ColE END)de,
SUM (CASE WHEN colE > colD AND colD != '0' THEN colE / ColD END)ed,
SUM (CASE WHEN colD = colE AND colD != '0' THEN 1 END) de_one,
SUM (CASE WHEN colD = '0' OR colE = '0' THEN '0' END) de_zero
FROM (SELECT colC, colD, colE
FROM some_table
WHERE colA = ArgA AND colB = argB)
GROUP BY colC
ORDER BY colC;
END no_pipeline;
END pipeline_example;
ALTER PACKAGE pipeline_example COMPILE;Edited by: Earthlink on Nov 14, 2010 9:47 AM
Edited by: Earthlink on Nov 14, 2010 11:31 AM
Edited by: Earthlink on Nov 14, 2010 11:32 AM
Edited by: Earthlink on Nov 20, 2010 12:04 PM
Edited by: Earthlink on Nov 20, 2010 12:54 PMEarthlink wrote:
Contrary to my understanding, the <font face="courier">with_pipeline</font> procedure runs 6 time slower than the legacy <font face="courier">no_pipeline</font> procedure. Am I missing something? Well, we're missing a lot here.
Like:
- a database version
- how did you test
- what data do you have, how is it distributed, indexed
and so on.
If you want to find out what's going on then use a TRACE with wait events.
All nessecary steps are explained in these threads:
HOW TO: Post a SQL statement tuning request - template posting
http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
Another nice one is RUNSTATS:
http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551378329289980701 -
Interactive report on view based on pipelined table function.
Hi,
I want to build an Interactive Report on a view.
The view definition contains a select on a pipelined table function. I use context functionality to pass paramaters to the pipelined table function.
A plain select * from #my_view# in SqlPlus results in 121 different rows.
However, If I base my Interactive report on this view, I get 15 repeated rows (all the same).
Is it possible to use pipelined table functionality on an Interactive report? I can't seem to get it working.
If I use the following approach (http://rakeshjsr.blogspot.nl/2010/10/oracle-apex-interactive-report-based-on.html) I do get results, but I can't use this solution for a reason that's not relevant.Hello,
Is it possible to use pipelined table functionality on an Interactive report? I can't seem to get it working. I have used it in one instance and it works fine. However I was passing the values to pipe-lined function directly.
IR Query..
SELECT * FROM TABLE(fn_pipeline(:P1_ITEM_NAME))Call pipe-lined function from IR query directly (instead of using view)
Try sending values to Pipe-lined function directly. In-case if the problem is with setting and getting values from the context?
Regards,
Hari -
Drop default constraint on a table function
I need to drop some default constraints that appear to be tied to table functions (and not actual tables). This means when I try the ALTER TABLE DROP CONSTRAINT command it fails with the error, "unable to drop constraint because object is not
a table" or something similar.
My question is: how do I drop a constraint on a table function?I suggest you review the documentation for TVFs and how they are (and can be) used. The table returned by a TVF (and in this case I refer specifically to multistatement TVFs) are defined using a subset of the create table syntax. They can be
created with constraints of different types - not just defaults. Why? Because it suits the logic of the developer and (perhaps) because it assists the database engine or the logic that depends on the output of the function.
Below is one example that I used (written by Steve Kass) from a LONG time ago. Notice the primary key.
CREATE FUNCTION [dbo].[uf_sequence] (@N int)
RETURNS @T TABLE (
seq int not null primary key clustered
AS
** 04/21/05.sbm - Bug #306. Initial version.
** Code provided by Steve Kass - MS .programming newsgroup
BEGIN
DECLARE @place int
SET @place = 1
INSERT INTO @T (seq) VALUES (0)
WHILE @place <= @N/2 BEGIN
INSERT INTO @T (seq)
SELECT @place + Seq FROM @T
SET @place = @place + @place
END
INSERT INTO @T (seq)
SELECT @place + Seq FROM @T
WHERE Seq <= @N - @place
RETURN
END
go
For your particular case, the choice of a default constraint is likely due to the implementation of the logic in the function. Perhaps there are multiple insert statements and it was simpler/easier/more robust to use a default constraint rather than
repeatedly hard-code the value in each statement. By choosing a default constraint, the developer need only alter the constraint (once) if the value needs to be changed rather than finding and changing each statement that inserts or updates the table.
As you've have already discerned, you can simply ignore any constraints that are defined on the tables returned by a TVF. -
How to find out the Area Menu for a Report/ Table/Function Module
Hi,
Is there any procedure to find out the <b>"AREA MEANU"</b> for a Report/Table/Function Module...
Or is there any Transaction code / Report is available to find out all the report for a particular "AREA MENU".
Thank you for your quick response...
Regards,
Thiru
<b></b>Hi,
Check these below threads:
user log in & log out time SAO
How to find user log-out time ?
Regards,
Nitin -
Need some help with the Table Function Operator
I'm on OWB 10gR2 for Sun/Solaris 10 going against some 10gR2 DB's...
I've been searching up and down trying to figure out how to make OWB use a Table Function (TF) which will JOIN with another table; allowing a column of the joined table to be a parameter in to the TF. I can't seem to get it to work. I'm able to get this to work in regular SQL, though. Here's the setup:
-- Source Table:
DROP TABLE "ZZZ_ROOM_MASTER_EX";
CREATE TABLE "ZZZ_ROOM_MASTER_EX"
( "ID" NUMBER(8,0),
"ROOM_NUMBER" VARCHAR2(200),
"FEATURES" VARCHAR2(4000)
-- Example Data:
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (1,'Room 1',null);
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (2,'Room 2',null);
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (3,'Room 3','1,1;2,3;');
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (4,'Room 4','5,2;5,4;');
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (5,'Room 5',' ');
-- Destination Table:
DROP TABLE "ZZZ_ROOM_FEATURES_EX";
CREATE TABLE "ZZZ_ROOM_FEATURES_EX"
( "ROOM_NUMBER" VARCHAR2(200),
"FEATUREID" NUMBER(8,0),
"QUANTITY" NUMBER(8,0)
-- Types for output table:
CREATE OR REPLACE TYPE FK_Row_EX AS OBJECT
ID NUMBER(8,0),
QUANTITY NUMBER(8,0)
CREATE OR REPLACE TYPE FK_Table_EX AS TABLE OF FK_Row_EX;
-- Package Dec:
CREATE OR REPLACE
PACKAGE ZZZ_SANDBOX_EX IS
FUNCTION UNFK(inputString VARCHAR2) RETURN FK_Table_EX;
END ZZZ_SANDBOX_EX;
-- Package Body:
CREATE OR REPLACE
PACKAGE BODY ZZZ_SANDBOX_EX IS
FUNCTION UNFK(inputString VARCHAR2) RETURN FK_Table_EX
AS
RETURN_VALUE FK_Table_EX := FK_Table_EX();
i NUMBER(8,0) := 0;
BEGIN
-- TODO: Put some real code in here that will actually read the
-- input string, parse it out, and put data in to RETURN_VALUE
WHILE(i < 3) LOOP
RETURN_VALUE.EXTEND;
RETURN_VALUE(RETURN_VALUE.LAST) := FK_Row_EX(4, 5);
i := i + 1;
END LOOP;
RETURN RETURN_VALUE;
END UNFK;
END ZZZ_SANDBOX_EX;
I've got a source system built by lazy DBA's and app developers who decided to store foreign keys for many-to-many relationships as delimited structures in driving tables. I need to build a generic table function to parse this data and return it as an actual table. In my example code, I don't actually have the parsing part written yet (I need to see how many different formats the source system uses first) so I just threw in some stub code to generate a few rows of 4's and 5's to return.
I can get the data from my source table to my destination table using the following SQL statement:
-- from source table joined with table function
INSERT INTO ZZZ_ROOM_FEATURES_EX(
ROOM_NUMBER,
FEATUREID,
QUANTITY)
SELECT
ZZZ_ROOM_MASTER_EX.ROOM_NUMBER,
UNFK.ID,
UNFK.QUANTITY
FROM
ZZZ_ROOM_MASTER_EX,
TABLE(ZZZ_SANDBOX_EX.UNFK(ZZZ_ROOM_MASTER_EX.FEATURES)) UNFK
Now, the big question is--how do I do this from OWB? I've tried several different variations of my function and settings in OWB to see if I can build a single SELECT statement which joins a regular table with a table function--but none of them seem to work, I end up getting SQL generated that won't compile because it doesn't see the source table right:
INSERT
/*+ APPEND PARALLEL("ZZZ_ROOM_FEATURES_EX") */
INTO
"ZZZ_ROOM_FEATURES_EX"
("ROOM_NUMBER",
"FEATUREID",
"QUANTITY")
(SELECT
"ZZZ_ROOM_MASTER_EX"."ROOM_NUMBER" "ROOM_NUMBER",
"INGRP2"."ID" "ID_1",
"INGRP2"."QUANTITY" "QUANTITY"
FROM
(SELECT
"UNFK"."ID" "ID",
"UNFK"."QUANTITY" "QUANTITY"
FROM
TABLE ( "ZZZ_SANDBOX_EX"."UNFK2" ("ZZZ_ROOM_MASTER_EX"."FEATURES")) "UNFK") "INGRP2",
"ZZZ_ROOM_MASTER_EX" "ZZZ_ROOM_MASTER_EX"
As you can see, it's trying to create a sub-query in the FROM clause--causing it to just ask for "ZZZ_ROOM_MASTER_EX"."FEATURES" as an input--which isn't available because it's outside of the sub-query!
Is this some kind of bug with the code generator or am I doing something seriously wrong here? Any help will be greatly appreciated!Hello Everybody!
Thank you for all your response!
I had changes this work area into Internal table and changed the select query. PLease let me know if this causes any performance issues?
I had created a Z table with the following fields :
ZADS :
MANDT
VKORG
ABGRU.
I had written a select query as below :
I had removed the select single and insted of using the Structure it_rej, I had changed it into Internal table
select vkorg abgru from ZADS into it_rej.
Earlier :
IT_REJ is a Work area:
DATA : BEGIN OF IT_REJ,
VKORG TYPE VBAK-VKORG,
ABGRU TYPE VBAP-ABGRU,
END OF IT_REJ.
Now :
DATA : BEGIN OF IT_REJ occurs 0,
VKORG TYPE VBAK-VKORG,
ABGRU TYPE VBAP-ABGRU,
END OF IT_REJ.
I guess this will fix the issue correct?
PLease suggest!
Regards,
Developer. -
Problem with Table Function in ver. 8.1.7.0
Hello,
I have a Problem using a Table Function in Oracle version 8.1.7.0:
type TTest_Object is Object
MSG_TRACKID VARCHAR2(25)
type TTest_Table is Table of TTest_Object;
function Test_Function return TTest_Table is
Result TTest_Table;
TmpObj TTest_Object := TTest_Object( null );
begin
TmpObj.MSG_TRACKID := '00001';
Result := TTest_Table( TmpObj );
return(Result);
end Test_Function;
when i do:
declare
Type TTmpRecord is Record (MSG_TRACKID varchar2(25));
Type TC is Ref Cursor Return TTmpRecord;
C1 TC;
TmpObj VarChar2(25);
TmpTable TTest_Table;
begin
TmpTable := Test_Function;
open C1 for Select * FROM TABLE(CAST(TmpTable as TTest_Table));
loop
fetch C1 into TmpObj;
exit when C1%notfound;
DBMS_OUTPUT.PUT_LINE(TmpObj);
end loop;
close C1;
end;
it works fine!
but, when i do:
"Select * From TABLE(CAST(Test_Function as TTest_Table))"
i get a: "ORA-000904: Invalid Column Name"
if i do the Select in version 8.1.7.4 it works fine...
does anyone know a work around in version 8.1.7.0?export from a lower version to import in higher ver is ok.
Please see metalink doc 132904.1 for exp/imp compatiblty matrix. -
Not able to Access R/3 Tables, Function Modules through Crystal Reports
Hi Gurus,
I am working on Crystal Reports 2008 - V12.2.0, When I am trying to connect SAP R/3 system through the Data connectivity SAP Table,Cluster or FM,
I could see only the very few tables , and cannot see all Tables and not any Info sets or Function Modules,
But, I can access BW system, problem facing only with SAP R/3 system,
Suggest me on this,
Thanks
SivaHey here..,,
There is a limitation to show all Tables, Function Modules in Crystal reports for R/3. To see them,
In Options:
You will see Table_Name Like%: Text box, go there and give the starting or ending characters of FM's.
Eg: Z% or %Z
Then Click on Ok.
Now try to connect to R/3 again or Refresh the Connection, it will list out as you opted.
Hope it should help you.
Thank You!!
Maybe you are looking for
-
Unable to find the asset in FA which is shown in PA Module
Dear Members, We are using Projects Costing Module and also FA Module with other financial modules like GL,AP etc. We have created one project.When we are querying this project in PA_PROJECT_ASSETS_ALL table we can see there are 4 Asset Numbers assoc
-
This came up in the Mac Photoshop forum so I thought I'd ask the real photographers. I had been told that one reason a RAW file is smaller than an uncompressed TIFF is because the RAW files contain un-interpolated pixel data, i.e., each pixel locatio
-
Hi , How many action rules will be available in Global rueset ?? I am getting : Total no. of rows : 135486 in RAR Screen ??? Is it normal to have this many? Also, the query was taking so long... ( I know we can use filter, but even though the queri
-
Hello, I cannot for the life of me get Pixel Bender installed on my windows xp pc. I get an error that says; "pixel bender critical errors where found please see log file" I do not know how to solve this, I did have a trial of CS4 which had the same
-
New version Ver 8 crashes everytime I back page Most often in Ebay
New version 8 crashes every time I back page -especially on Ebay This happens on Widows XP Please advise Thanks John Biles