Need sm helps on the procument contract
Hi guys,
Does anyone know where to define the business entity in the attribute group. The the patch: Contract Expert Administrator => Contracts => Contract Terms Library => Attribute Group.Also how to use attribute group in the contract.
Thanks and Regards,
Tiger
In R 12.1.3, they have added "Attribute group" tab in Contract Terms Library along with
Contract Templates
Clauses
Variables
Folders
Sections
Numbering Schemes
Attribute Group ---> new functionality ...
I am also trying to understand how this works. There is not too much documentation on how to use these features.
Yesh
Similar Messages
-
Need some help with the Select query.
Need some help with the Select query.
I had created a Z table with the following fields :
ZADS :
MANDT
VKORG
ABGRU.
I had written a select query as below :
select single vkorg abgru from ZADS into it_rej.
IT_REJ is a Work area:
DATA : BEGIN OF IT_REJ,
VKORG TYPE VBAK-VKORG,
ABGRU TYPE VBAP-ABGRU,
END OF IT_REJ.
This is causing performance issue. They are asking me to include the where condition for this select query.
What should be my select query here?
Please suggest....
Any suggestion will be apprecaiated!
Regards,
DeveloperHello 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. -
Need some help understanding the way materialized views are applied through
Hi, I need some help understanding the way materialized views are applied through adpatch.
In patch 1, we have a mv with build mode immediate. When applying it PTS hang due to pool performance of mv refresh.
So we provide patch 2, with that mv build mode deferred, hoping it'll go through. But patch 2 hang too on the same mv.
How does this work? Is that because mv already exists in the database with build immediate, patch 2 will force it to refresh first before changing build mode? How to get over this?
Thanks,
WeiHi Hussein,
Thank you for the response.
Application release is 11.5.10.
Patch 1 is MSC11510: 8639586 ASCP ENGINE RUP#38 PATCH FOR 11.5.10 BRANCH
Patch 2 is MSC11510: 9001833 APCC MSC_PHUB_CUSTOMERS_MV WORKER IS STUCK ON "DB FILE SEQUENTIAL READ" 12 HOURS
The MV is APPS.MSC_PHUB_CUSTOMERS_MV
This happens at customer environment but not reproducable in our internal environment, as our testing data is much smaller.
Taking closer look in the logs, I saw actually when applying both patch 1 and patch 2, MV doesn't exist in the database. So seems my previous assumption is wrong. Still, strange that patch 2 contains only one file which is the MV.xdf, it took 7 hours and finally got killed.
-- patch 1 log
Materialized View Name is MSC_PHUB_CUSTOMERS_MV
Materialized View does not exist in the target database
Executing create Statement
Create Statement is
CREATE MATERIALIZED VIEW "APPS"."MSC_PHUB_CUSTOMERS_MV"
ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 LOGGING
STORAGE(INITIAL 4096 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT)
TABLESPACE "APPS_TS_SUMMARY"
BUILD IMMEDIATE
USING INDEX
REFRESH FORCE ON DEMAND
WITH ROWID USING DEFAULT LOCAL ROLLBACK SEGMENT
DISABLE QUERY REWRITE
AS select distinct
from
dual
AD Worker error:
The above program failed. See the error messages listed
above, if any, or see the log and output files for the program.
Time when worker failed: Tue Feb 02 2010 10:01:46
Manager says to quit.
-- patch 2 log
Materialized View Name is MSC_PHUB_CUSTOMERS_MV
Materialized View does not exist in the target database
Executing create Statement
Create Statement is
CREATE MATERIALIZED VIEW "APPS"."MSC_PHUB_CUSTOMERS_MV"
ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 LOGGING
STORAGE(INITIAL 4096 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT)
TABLESPACE "APPS_TS_SUMMARY"
BUILD DEFERRED
USING INDEX
REFRESH COMPLETE ON DEMAND
WITH ROWID USING DEFAULT LOCAL ROLLBACK SEGMENT
DISABLE QUERY REWRITE
AS select distinct
from dual
Start time for statement above is Tue Feb 02 10:05:06 GMT 2010
Exception occured ORA-00028: your session has been killed
ORA-00028: your session has been killed
ORA-06512: at "APPS.AD_MV", line 116
ORA-06512: at "APPS.AD_MV", line 258
ORA-06512: at line 1
java.sql.SQLException: ORA-00028: your session has been killed
ORA-00028: your session has been killed
ORA-06512: at "APPS.AD_MV", line 116
ORA-06512: at "APPS.AD_MV", line 258
ORA-06512: at line 1
Exception occured :No more data to read from socket
AD Run Java Command is complete.
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
AD Java
Version 11.5.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
AD Worker error:
The above program failed. See the error messages listed
above, if any, or see the log and output files for the program.
Time when worker failed: Tue Feb 02 2010 19:51:27
Start time for statement above is Tue Feb 02 12:44:52 GMT 2010
End time for statement above is Tue Feb 02 19:51:29 GMT 2010
Thanks,
Wei -
HI ALL SINCE TWO DAYS I AM DOWNLOADING VIBER BUT I AM NOT HAVING MY ACCESS CODE AND EVERY TIME I DELETE THE APPLICATION AND DOWNLOADING IT AGAIN BUT ALWAYS THE SAME RESULT PLEASE I NEED YOUR HELP FOR THE ACCESS CODE.MY PHONE NUMBER IS 0022996969896.THANKS IN ADVANCE
try this website this should help you http://helpme.viber.com/index.php?/Knowledgebase/List/Index/1/iphone
-
HELP I need some help choosing the right laptop
Hello there. I am a student and I am looking to buy a Apple laptop. I have around 700GBP to spend, but I do not wish to spend all of that. As I do not use Macs that often I dont think I need the newer Macbooks or the Macbook Pros as I feel that it is a waste of power. My friend said the 12" Powerbook was the way to go. There are several different models out there and I was wondering if anyone could help me choose one. It will be used mostly for word processing and admin based work, but I would like to have enough power to be able to run some graphic based activities. I wont be using high level apps that much but it would be nice to know if the opportunity was there, then i I have sufficient power to be able to run them. My friend said an 867mhz G4 with upgraded hdd and ram would do the trick, but I have found out that the specs range all the way up to 1.5ghz. I like the look of the powerbook and I have heard they are more reliable than an ibook which is why I dont really want to choose one of those. Thanks for any help!
The biggest advantage of the 12PB is its portability, but you didn't include that in your specs.
The graphics are very good for the small screen. If you need more intense graphics you should consider a larger screen.
I use mine for mostly word processing and e-mail. I am also the IT guy in my small office and I manage networked PCs from my PB. I use an external monitor and screen spanning for extra work area. I thought long and hard before I bought my PB, as I had used PCs extensively all my life. The configuration that was recommended to you will work fine. -
I had the folks at the store port over all of my contacts from my old
ratty Andriod phone to my new shiny iPhone.
however all 200+ of my contacts sort of "shook" out,
meaning say John Smith, on my old phone,
had in my contacts the following:
John Smith
123 Main St. Anytown, Anystate USA
555-826-4879 home
555-799-4247 cell
[email protected]
johnsmith@facebook
all nice and neat on my andriod but when it ported over
all that information was just scattered all over my contacts sort of like:
john smith, smith john
john smith 123 main st. etc.
johhn smith home 555 etc.
john smith cell 555 etc.
john smith johnsmith@ etc.
etc.
so for all those 200+ contacts in my phone, I've got a zillion of them now...
so I'd like to get this all back in order before I and Siri explode.
I know nothing, and I know even less about outlook and the sort.
But I do know I am in Dire need of help with this... I figured that eveything else
involving iphones and apple in general was supposed to be cake but it seems
like this is the only thing that isn't cake at all... unless, I'm just a right idiot. (which is possible, hence spelling and grammatical issues).I believe I've tried to sync it with google, but it didn't seem to take
muchless take my calender. it seems to favor my facebook calender
more over my google calender, but Siri seems to be helping me re-write
it...but that's not the game here, it's the contacts. I've tried to export
the cvp (??) list and import it into my iTunes account. However, It only
doubled my issue because it didn't over write my existing contacts. -
Need some help with the colour profile please. Urgent! Thanks
Dear all, I need help with the colour profile of my photoshop CS6.
I've taken a photo with my Canon DSLR. When I opened the raw with ACDSee, the colour looks perfectly ok.
So I go ahead and open in photoshop. I did nothing to the photo. It still looks ok
Then I'm prompt the Embedded Profile Mismatch error. I go ahead and choose Discard the embedded profile option
And the colour started to get messed up.
And the output is a total diasater
Put the above photo side by side with the raw, the red has became crimson!!
So I tried the other option, Use the embedded profile
The whole picture turns yellowish in Photoshop's interface
And the output is just the same as the third option.
Could someone please guide me how to fix this? Thank you.I'm prompt the Embedded Profile Mismatch error. I go ahead and choose Discard the embedded profile option
always use the embedded profile when opening tagged images in Photoshop - at that point Photoshop will convert the source colors over to your monitor space correctly
if your colors are wrong at that point either your monitor profile is off, or your source colors are not what you think they are - if other apps are displaying correctly you most likely have either a defective monitor profile or source profile issues
windows calibrate link:
http://windows.microsoft.com/en-US/windows7/Calibrate-your-display
for Photoshop to work properly, i recall you want to have "use my settings for this device" checked in Color Management> Device tab
you may want to download the PDI reference image to check your monitor and print workflows
and complete five easy steps to profile enlightenment in Photoshop
with your settings, monitor profile and source profiles sorted out it should be pretty easy to pinpoint the problem... -
Need your help with the SaveAs function plz
Good day everyone,
I need your help yet again to figure out if what im trying to acomplish is even possible within Livecycle designer.
My issue is simple in nature, prevent the SaveAs "open window" to show up when they press the disk icon or use the saveAs option from the File menu if some of my fields are not fill-in.
To do so, i placed the code into the Pre-save area of my form and that code checks if certain fileds are filled-in are not.
If there not, i want to tell the user to fix this before the SaveAs occurs.
But right now, the problem is that the "SaveAs open" window shows up FIRST i have to tell where i will save the file and all that good stuff and THEN my code gets activated.
I was able to create my onw SaveAs button and it works well, the problem is that i want to also capture any save's that are executed around the form (the disk icon, the SaveAs in the FileMenu and the Ctrl+s)
Is there a way to do just that? right now i would be ok in just being able to tell Livecycle to cancel the SaveAs action if that was possible, but i cant find anyway of doing that neither
Your help is always appreciated
Thanx a lot.I am having same problem with a 2011 year tax PDF fill in form I JUST got from IRS website.
The actual form is the 2011 8829.
I am running Windows 7 64 bit, Adobe Reader X version 10.1.4.
After trying to open the doc (nothing displays) I go to properties, and it says ...
Title: 2011 Form 8829
Author: SE:W:CAR:MP
Created: 12/23/2008
PDF Producer: Adobe LiveCycle DSesigner ES 8.2.
PDF Version: 1.7 (Acrobat 8.x)
Tagged PDF: No
Fast Web View: No
Yikes ... was hospitalized last year ... now I have 9 days to file. -
I need some help on the mac mini...
Ok I am almost completely sold on the Mac Mini... I just need a little help on
the configureations. I want to know how big of a hard drive I should go with, and how much memory to get. I would mainly be using this Mac for my music collection (500 songs max) and a movie collection (20 movies). Any ideas? Thanks.What may be more cost effective is to get the smaller hard drive in the mini and get 2 external drives. It will 1) be much cheaper than getting a large internal HD for your comp 2) it will give you the opportunity to back up all your stuff, considering you should always have a backup 3) these external drives run at 7200rpm, whereas the drive in your mini runs at only 5400 rpm, thus meaning that you can access your files more quickly and your system will run faster. you can keep all your system stuff on the internal and if you get two external HD's, you can use one of them as the main drive to store your movies and such, and the second to back it all up. Bestbuy has 250GB firewire Western Digial Mybook external drives for $110 each, like
http://www.bestbuy.com/site/olspage.jsp?skuId=7643071&type=product&productCatego ryId=pcmcat107700050005&id=1134698030480
Also, I don't agree with the poster who said get as fast of a CPU as you can afford. The difference between the 1.66 and the 1.83 is negligible at best. The average user would never be able to tell the difference. The premium you are paying for is the upgrade from the combo drive to the superdrive. So, unless you plan on burning a bunch of DVD's, you don't really need the superdrive. AND if you plan on burning a lot of DVD's, you'd be better off with an external FW media drive anyways, because the superdrives are very finnicky.
Buying two of these drives costs you less than upgrading to a 160 GB internal HD in the mini. SO, my advice would be to get the lower end model, with 2GB of RAM. Buy two of the external HDD's that I linked, and if you need a DVD burner, buy one like this
http://www.newegg.com/Product/Product.aspx?Item=N82E16827136112
To compare, Option 1 would be the 1.83 Mini with 2 gigs of RAM and the 160GB hard drive for $1249
Option 2 would be the 1.66 Mini with 2 gigs of RAM and stock HD for $849 + $220 for two 250 GB external Firewire Hard drives + $65 for an external FW DVD burner = $1134
In my opinion, option 2 blows option 1 out of the water. Also, i always recommend 2GB of RAM, but 1GB will probably be sufficient if you need to save some money. -
can any one help me with correcting the code or can any one give me another code for using it in the login form.
this is my problem:-
i had make a login form using in oracle 9i form builder >>>in this form i have three text boxes one for intering user name and the second one for entering the password and the third text box is not visible and it is used for counting the tries.
In addition i have a three buttons , one is for login and the two others are not visible and they are a show main menu button and a exit button. For login button i had put a WHEN-BUTTON-PRESSED trigger in the login button and it must check if the user name and the password match what it is on the login table so it allow the user to see the show main menu button otherwise if the user name or the password are wrong and has been putted wrong for 3 times of trying then it will show the exit button.
and this is a picture of the login form in the design view.
http://www.al7loh.com/uploader/uploads/login.JPG
and this is the code for theWHEN-BUTTON-PRESSED trigger on the login button
declare
alertNum number;
dummy1 tbl_login.USER_NAME%type;
dummy2 tbl_login.PASS%type;
begin
select tbl_login.USER_NAME, tbl_login.PASS into dummy1, dummy2 from tbl_login where tbl_login.USER_NAME = :LOGIN.USER_NAME and
tbl_login.PASS = :LOGIN.PASS;
if :LOGIN.TRIES<3 then
if sql%found
then
set_item_property('LOGIN.SHOW_MENU', visible, property_true);
set_item_property('LOGIN.SHOW_MENU', enabled, property_true);
else
message ('Invalid password....try again');
:LOGIN.TRIES := :LOGIN.TRIES+1;
:LOGIN.USER_NAME := null;
:LOGIN.PASS := null;
end if;
else
message ('Exceeded Number of tries..press exit button');
set_item_property('LOGIN.EXIT', visible, property_true);
set_item_property('LOGIN.EXIT', enabled, property_true);
end if;
end;
can any one help me correcting the code of the WHEN-BUTTON-PRESSED trigger on the login form or can any one give me another code for using it in the login form.
i hope to get some help from the experts>>> ??!?!?!?!?!Something like this
declare
alertNum number;
dummy1 tbl_login.USER_NAME%type;
dummy2 tbl_login.PASS%type;
begin
Begin
select tbl_login.USER_NAME, tbl_login.PASS
into dummy1, dummy2
from tbl_login
where tbl_login.USER_NAME = :LOGIN.USER_NAME
and tbl_login.PASS = :LOGIN.PASS;
set_item_property('LOGIN.SHOW_MENU', visible, property_true);
set_item_property('LOGIN.SHOW_MENU', enabled, property_true);
Exception
When no_data_found Then
if :LOGIN.TRIES<3 then
message ('Invalid password....try again');
:LOGIN.TRIES := :LOGIN.TRIES+1;
:LOGIN.USER_NAME := null;
:LOGIN.PASS := null;
Go_Item( 'LOGIN.USER_NAME' ) ;
else
message ('Exceeded Number of tries..press exit button');
set_item_property('LOGIN.EXIT', visible, property_true);
set_item_property('LOGIN.EXIT', enabled, property_true);
end if;
end;
end;Francois -
Need ABAP help for the logic in C_T_DATA
Hi
I have a scenario where I need to write ABAP in CMOD for the c_t_data which appears as below:
St Dt(sobid) Enddt(sobid) Sobid ObjectID St Dt(ObjectID) Enddt(ObjectID)
21.08.09 27.08.09 34567 40001 23..09.09 29.09.09
21.08.09 27.08.09 34567 40002 24..09.09 29.09.09
21.08.09 27.08.09 34567 40003 25..09.09 29.09.09
21.08.09 27.08.09 34567 40004 26..09.09 29.09.09
21.08.09 27.08.09 34567 40005 27..09.09 29.09.09
I need to compare all the Start dates of the object ID for every Sobid with the start date of Sobid field and need to set the flag if any of the start dates of object id is different from the Sobid Start date.
Please advise what would be the best way to write the ABAP.
Thanks in advance.Hi,
first you can store these 2 dates into some internal table sat it_sobid and it_ObjectID.Now
sort it_sobid ascending.
loop at it_ObjectID.
Read date from it_sobid binary search index sy-index.
it_ObjectID-date = it_sobid-date.
flag = 'y'.
endloop.
you can write some logic like this. Its just a rough idea you can modify according to ur need.
Regards,
Ravi -
So the story goes, I for some reason thought it'd be smart to delete mackeeper, I guess not. Since I have done this, I now get survey pop ups, slow slow navigation of my mac and some of my itunes files have entirely vanished.... I put Mackeeper in the trash and deleted it along with the few things in there... before this started happening... I now apparently have to pay to have Mackeeper again? I thought Mac was great in the no virus department or am I an undercover genius and figured out how to properly mess up my Mac to the point that virus's have taken over? I also noticed I had a file convertor where I was able to watch my avi files through has disappeare, entirely no trace of the program.. Is this something I may be able to do or is the shop best off having it?
Maybe the uninstalling wasn't done correctly. Did you follow these instructions?
http://applehelpwriter.com/2011/09/21/how-to-uninstall-mackeeper-malware/
If you didn't, you may need to re-install the dreaded MacKeeper and then uninstall it again following the above. -
Need some help changing the Home icon name in Lion
OK, I want to change the home icon name in Lion, I've been following these instructions to enable root user, BUT
How to enable the root user
OS X Lion
From the Apple menu choose System Preferences....
From the View menu choose Users & Groups.
Click the lock and authenticate as an administrator account.
Click Login Options....
Click the "Edit..." or "Join..." button at the bottom right.
Click the "Open Directory Utility..." button.
Click the lock in the Directory Utility window.
Enter an administrator account name and password, then click OK.
Choose Enable Root User from the Edit menu.
Enter the root password you wish to use in both the Password and Verify fields, then click OK.
After I get to step 6, the director utility opens... the lock is already unlocked, I click it and it locks, click it again, enter my admin password... but there is no option to "Enable Root User" I only see a list of services "Active Directory", "LDAPv3" & "NIS". I'm lost, and I don't want to screw anything up here! Thanks for the help!
Dan OYou're looking in the wrong place. After you click the padlock, forget about that window and go to the menubar, top of your screen where it says
Directory Utility | File | Edit | Help
From the Edit menu choose 'enable root user'
Message was edited by: softwater -
Need some help with the best coding approach
Here is my scenario. I need to pull data from AFRU within a certain date range. Once I have this data i need to look at the confirmation number and counter. If the confirmation has more than one entry in the table i need to take the value of field ISOM1 associated with counter 2 and move it into the previous record's ISOM1 field. the reason is the value calculates the set up time form counter 1 to 2 but it is placed in counter 2.
I was thinking of a select from AFRU into an internal table for the date range. Then I would sort descending and keep looping until my confirmation changes. Not sure how to accomplish this however in code.Here is the code i put together. it doens't like my read or loop.
tables: afru.
DATA: Ty_afru TYPE standard TABLE OF afru with header line,
WA_AFRU TYPE TABLE OF afru with header line.
data: wa_diff_time like afru-ISM01,
wa_conf like afru-RUECK,
wa_counter like afru-rmzhl.
Select * from afru into table ty_afru
where ERSDA > '01/01/2005'.
sort ty_afru descending.
read table tY_afru
index 1.
move ty_afru-ISM02 TO WA_DIFF_TIME.
move ty_afru-rueck to wa_conf.
LOOP AT tY_afru.
wa_counter = ty_afru-RMZHL.
if rueck = ty_afru-rueck and
RMZHL = yy_afru-RMZHl.
ty_afru-ISM02 = 0.
elseif.
ty_afru-rueck = rueck and
ty_afru-RMZHL = RMZHL - 1.
ty_afru-ISM02 = WA_DIFF_TIME.
move ty_afru-rueck to wa_conf.
endif.
wa_counter = ty_afru-RMZHL - 1.
ENDLOOP.
endcase. -
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.
Maybe you are looking for
-
BACKGROUND I only have 60GB of space on my MacBook Air. Currently, three long-standing IMAP accounts are taking up over 7GB of it! I have seen several related discussions about this kind of problem, but they all seem to have been solved or glossed ov
-
How do I replace a file that I have a link to?
My site contains a link to a "printer-fiendly PDF", and it works fine, but now I need to update the file that it links to. And I don't want the old version of the file to exist anymore. Is there any way to delete that file from MobileMe? David
-
I'm using the Advanced Product Catalog APC (PIM Data Hub PDH) and have a question regarding the business event oracle.apps.ego.item.postAttributeChange Does anyone know if this event is raised after the commit of the entire record, or is the actual a
-
2 external monitors on new imac
Hi, I just bought a new imac a month ago. I was wondering if it is possible to use 2 external displays? I would like to put one left, and one on the right. So i'ld have the following setup: left: External TFT (DVI-VGA possible) center: imac display r
-
Guys, I am new to support environment here, i am getting a system generated error while doing the delivery. Error: "no contract could be found valid on XXXXXXX Plant XXXX Sloc 0000 Val type UT Mat.no. XXXXXXXXX Sales HT CA & MOT" I know that this is