Map Lookup Fields of a Table with Portal Iview
Hello,
I am creating a MDM Results Set Iview on Portal which is referencing an MDM Table with some fields. One of these fields initself is a Second Table with 3 more fields. I am able to map the Second Table as a Column for Display in the iView as it is there as an Available Column.
But I want to map just one of the individual field in the Second Table to a Column of iView for Display so that it does not display the other 2 fields of the Second Table. How can I achieve the same in the iview ?
Any help would be highly appreciated.
Thanks.
HI,
These elements you are talking about can be Tuples or Qualified tables.
Please follow these SAP Notes 1325508 (MDM 7.1SP02) and 1364188 (MDM7.1SP03).
And working with Tuples here:
http://help.sap.com/saphelp_mdm71/helpdata/en/49/db9b2a175c58c1e10000000a421937/frameset.htm
Thanks,
Ravi
Similar Messages
-
Problem inserting a gif into a blob field in a table with sqldev / forms6i
Problem solved - For those that might be interested, the errors don't make much sense - the problem was with the gif. Seems that these 28 gifs plus the new scans were saved from the scanner with
GIF - LZW, Transparent color: 255
Converting them to Black and white allowed them to be loaded.
If anyone understands why, I'd like to know
glenn
I was previously having a problem deleting a row with a blob and it was suggested that I create the table using rowdependencies - which I did as follows.
CREATE TABLE "MDD"."MDD_FIGURE2"
( "FG_FIGURENAME" VARCHAR2(18 BYTE),
"FG_FIGURE" BLOB,
CONSTRAINT "FG_FIGURENAME_NN" CHECK ("FG_FIGURENAME" IS NOT NULL) ENABLE
) ROWDEPENDENCIES;
Then I copied my data from my previous table with the following - and everything came across
INSERT INTO MDD_FIGURE2 (fg_figurename, fg_figure)
SELECT FIG_FIGNAME, FIG_FIGURE FROM MDD_FIGURE;
mdd_figure2 was then renamed to mdd_figure
The table, Mdd_Figure, already contains some 2000+ .gifs that were successfully loaded with Forms 6i (yes, I know it is old, but I am stuck with having to use it). All the .gifs I am loading are from scans and all are less than 64k. However, 28 .gifs would not load. When I insert the .gif into the field and committed the form, the status message tells me a record was written but when I check it, the blob is empty.
So, when I try to insert one of these problem .gifs in SqlDeveloper, I open the new mdd_figure table, select the blob field, open the edit dialog, set it to figure, select the .gif that I want to load and then save it. The blob field changes from NULL to BLOB, but it is empty. When I try to commit, I get the following error from SqlDev.
UPDATE "MDD"."MDD_FIGURE" SET WHERE ROWID = 'AAAOeWAAEAAABAlAAz' AND ORA_ROWSCN = '358136842'
One error saving changes to table "MDD"."MDD_FIGURE":
Row 14: ORA-01410: invalid ROWID
I use rollback to restore the record to it's previous state.
If I load one of the successfully loaded .gifs into the same field, it loads perfectly as follows.
UPDATE "MDD"."MDD_FIGURE" SET WHERE ROWID = 'AAAOeWAAEAAABAoAAp' AND ORA_ROWSCN = '358136522'
Commit Successful
It appears the 28 gifs have a problem. I've re-scanned them, with the same results. They are just small scanned line map images from our earlier publications. They view properly in several different graphics programs and I can't find anything wrong with them.
I notice that the ROWID's are different while the ORA_ROWSCN's are the same - but what is the significance of that?
Any suggestions as to what is happening and what I can do about it?
Thanks for any help you can give me.
glenn
(Database is 10R2 and sqldev is the most recent one)
Edited by: gconley on Sep 25, 2008 9:51 PMsolved it myself - problem was with the gif
-
I am trying to map the fields in R3 system with the infoobjects in BW.
I am mapping the fields with in R3 with the infoobjects in BW.
Can any please let me know the relavent mapping infoobjects and the procedure to find for the following fields.
Description Type Length
Purchase Order VARCHAR2 10
PO Line Number NUMBER 10
Line Item Description VARCHAR2 60
Order Quantity
Unit of Measure VARCHAR2 3
Performance Start Date DATE 7
Performance End Date DATE 7
Order Date DATE 7
PO Line Extended Amount NUMBER 14
PO Line Total Amount NUMBER 14
Project VARCHAR2 30
Account ID VARCHAR2 15
Cost Amount NUMBER 14
Prime Contract ID VARCHAR2 20
Requisition ID VARCHAR2 10
Vendor ID VARCHAR2 12
Vendor Name VARCHAR2 25
Entry Date/Time DATE 7
Address Descriptive Code VARCHAR2 10
Address Line 1 VARCHAR2 40
City Name VARCHAR2 25
Mail State VARCHAR2 15
Postal Code VARCHAR2 10
Country Code VARCHAR2 8
Phone Number VARCHAR2 25
Fax Number ID VARCHAR2 25
Other Phone Number ID VARCHAR2 25Hi,
You can find the fields and related infoobject for the datasource as follows
Step1
log on to the BW system
Step2
Go to SE11 ---> give the table name as RSOSFIELDMAP and execute
Step3
give the data source name for OLTPSOURCE field and execute
Step4
you will find the mapping between fields and relevent infoobjects
Hope this helps
Santosh -
Insert Value(s) in Lookup Flat Multi-valued Table with Java API
I've been looking in MDM Java API Library Reference Guide, MDM SP4 API JavaDoc, and SDN Forums for information on how to Insert/Update different values in a field in the Main Table of a given repository that belongs to a Lookup Flat Multi-valued Table using the Java API with no success.
I also haven't been successful in adding this values in the same way that I'll add a single value, using the MDM Java API, in a single-value Lookup Table (a2iFields.Add(new A2iField(FIELD_CODE,FIELD_VALUE)) for each value I want to add, like for example:
a2iFields.Add(new A2iField("Country","USA")
a2iFields.Add(new A2iField("Country","Mexico")
a2iFields.Add(new A2iField("Country","Germany")
Can anybody point me to the correct documentation that I need to read to fulfill this task? Or, even better, if someone can post a piece of code, I'll be more thankful.
Thanks for your help.HI,
little code example, where you add existing lookup values based on there record id:
int USA = 1;
int GERMANY = 2;
A2iValueArray countryArray = new A2iValueArray();
countryArray.Add(new Value(USA));
countryArray.Add(new Value(GERMANY));
A2iFields record = new A2iFields();
record.Add(new A2iField("Country", new Value(countryArray)));
Please reward points if helpful.
Regards,
Robert -
Problem with update of BLOB field in a table with compound primary key
Hi,
I've been developing an application in Application Express 3.1.2.00.02 that includes processing of BLOB data in one of the tables (ZPRAVA). Unfortunately, I've come across a strange behaviour when I tried to update value in a BLOB field for an existing record via a DML form process. Insert of a new record including the BLOB value is OK (the binary file uploads upon submiting the form without any problems). I haven't changed the DML process in any way. The form update process used to work perfectly before I'd included the BLOB field. Since than, I keep on getting this error when trying to update the BLOB field:
ORA-20505: Error in DML: p_rowid=3, p_alt_rowid=ID, p_rowid2=CZ000001, p_alt_rowid2=PR_ID. ORA-01008: not all variables bound
Unable to process row of table ZPRAVA.
OK
Some time ago, I've already created another application where I used similar form that operated on a BLOB field without problems. The only, but maybe very important, difference between both the cases is that the first sucessfull one is based on a table with a standard one-column primary key whereas the second (problematic one) uses a table with compound (composite) two-column PK (two varchar2 fields: ID, PR_ID).
In both cases, I've followed this tutorial: [http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm]).
Can anybody confirm my suspicion that Automatic Row Processing (DML) can be used for updating BLOB fields within tables with only single-column primary keys?
Thanks in advance.
ZdenekIs there a chance that the bug will be included in the next patch?No, this fix will be in the next full version, 3.2.
Scott -
Trigger to update field on a table with the sum of fields on another table
My experience creating triggers and pl/sql in general can best be described in oracle terms as null. I've been practicing by creating tables and applications on my personal home server to help me with some of my work related tasks. Right now I'm trying to create a trigger that will, after insert, update, delete on the assignment_time_track table update the time_spent field on the assignments table with the sum of the time_spent fields on the assignment_time_track table. Hopefully that run on sentence there is clear to people other than myself. I've attempted to script this on my own using the trigger creation tool for Oracle Database Express Edition but I get the following error:
Trigger create was not successful for the following reason:
ORA-06552: PL/SQL: Compilation unit analysis terminated ORA-06553: PLS-320: the declaration of the type of this expression is incomplete or malformed
Here is my attempt at creating the trigger on my own.
create or replace trigger "ASSIGNMENT_TIME_TRACK_T1"
AFTER
insert or update or delete on "ASSIGNMENT_TIME_TRACK"
for each row
begin
update assignments
set time_spent = (select sum(time_spent)
from assignment_time_track
where assignment_time_track.name = assignments.name);
end;
If what I've posted isn't clear or more detail is needed, let me know and I'll respond with a complete description of both tables and my goals for each table. Thanks in advance for any help. I will also gladly accept links to tutorials or lessons that explain how to do this sort of thing.
Edited by: bobonthenet on Mar 9, 2009 2:01 PMHi,
If the assignments table has only one row per assignment, why is the primary key the combination of name and time_spent? If you have two two assignments called "Lab Report", isn't it possible that you would spend the same amount of time on each of them? I suggest using a sequence to assign an arbitrary id number to each assignment, and use that as the primary key.
What does each row in assuignment_time_track represent? It sounds like it is a chunk of time spent on one assignment (that is, you want to know that you spent 90 minutes on Tudesday morning working on some assignment, and that you spent another 30 minutes on Tuesday afternoon working on the same assignment). If so, then there should be a foreign key constraint in assignment_time_track referencing the primary key of assignemnt, and not the other way around.
Alex is right; you can get the total time spent on each project in a query or view; there is no need to replicate that data.
If you're new to Oracle and SQL, you should invest your time in getting more experience with the basics: everyday things like queries (using joins and GROUP BY) and views, and not spend much time on things that aren't used that much, like triggers.
If you really did have to copy the data, then you could have a trigger on assignemnt_time_track that kept the total in assignment up to date, like this:
UPDATE assignment
SET total_time_spent = total_time_spent
+ NVL (:NEW.time_spent, 0)
- NVL (:OLD.time_spent, 0);I suggest you name the column in assignment something different than the column in assignment_time_track, to reduce the risk of confusion. Also, since they represent different things, the same name can't be the most descripttive for each of them.
In case you're wondering about the use of NVL, above: It allows the same statement to take care of the situation when you INSERT, UPDATE or DELETE a row in assignment_time_track. That is, if you UPDATE a row in assignment_time_track, and change the time_spent from 60 to 90, then you want to add the new time (90) and subtract the old time (60) fro the total_time_spent in assignment: that is, total_time_spent would increase by 30. If you INSERT a new row into assignment_time_track with time_spent=30, you just need to add the new time_spent (30): there is nothing to subtract. But rather than write an IF statement and a second UPDATE for that situation, you can just rely on hte fact that all :OLD values are NULL iwhen INSERTing, and treat that NULL as a 0. Likewise, when DELETing, all :NEW values are NULL.. -
LookUp to the same table with multiple conditions
Hi,
I nead to do a lookup to the same table in the flow but with diffrent quieres, each query contains it's own 'where'.
Can I do it somehow in one look up or do I have to use a few ?
select a from table where a=1
select b from table where c=3
ThanksHi,
Using multiple lookups will be a cleaner approach. If you are using multiple lookups on the same table consider using Cache transform. Refer the below link for details on Cache transform
Lookup and Cache Transforms in SQL Server Integration Services
Alternatively if you want to go ahead with single look up , you may have to modify the SQL statement in the Lookup accordingly to return the proper value. In you case it may be
select a,b from table where a=1 or c=3
Note : Consider the above as a pseudo code. This needs to be tested and applied based on your requirement.
Best Regards Sorna -
Please Help. How to access to an input field in a table with javascript
Hi
i�m trying to access to the content of an input field that is in an table with a javascript function in this way
function Valida_Tabla()
var centro = document.getElementById("form1:idcentro").value;
alert("Centro es ["+centro+"]")
var des = document.getElementById("form1:table1:0:textField2").value;
alert("des ["+des+"]")
The fisrt alert is ok and displays the value of a field that is in a table.
The second alert is not displayed.
Is the syntax wrong?
what i�m doing wrong
Please helpThe best bet is to look at the source of the generated HTML and then use the exactly generated ID in the HTML source. When I looked at the HTML source I see the ID of a textfied inside a table as
form1:table1:tableRowGroup1:0:tableColumn1:textField1
- Winston
http://blogs.sun.com/roller/page/winston?catname=Creator -
Select amount field of a table with decimal place of 3rd value grater than 0.
Select all the reord in a table with amount decimal place of 3rd value grater than 0.
Can you show the sample data + desired result?
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Mapping - replicating field KDKG1 of table KNA1 to CRM
hie guys,
We need to have the field KDKG1 of table KNA1 replicating to CRM automatically. Can anyone help understand what needs to be done?
thanks and regards,
dinesh.Hi I have the same problem.
Have you solved your?
Any tip?
Thank you
Pierluigi -
How to select and field from an table with similar value
Hi Gurus,
I got an requirement where i need to capture some values from an table whose value start with "vmr*"
could anyone tell me the syntax to be used with this?
My table contains valies like "lrt", "vmr'" nut i need only values starting with "vmr"*
RaviHi,
In where clause, you can write,
where field like 'vmr%'.
Hope this helps.
Reward if helpful.
Regards,
Sipra -
Auto Populate Field in One Table with Primary Key from another table.
Greetings all,
I have created two tables. One for Root Cause which will be the based description information of an analysis. Each Root cause can have many corrective actions.
My Table structure is as follows:
RCCA TABLE:
=====================================
Column Name Data Type Nullable
RCCAID NUMBER No
DESCRIPTION VARCHAR2(4000) Yes
SUMMARY VARCHAR2(4000) Yes
OWNER VARCHAR2(4000) Yes
DATEOFINCIDENT DATE Yes
STATUS VARCHAR2(4000) Yes
CORRECTIVE ACTION TABLE
=====================================
Column Name Data Type Nullable
CAID NUMBER No
RCCAID NUMBER No
CANUMBER NUMBER Yes
CACTION VARCHAR2(4000) Yes
DATEDUE DATE Yes
COMMENTS VARCHAR2(4000) Yes
So I have a form that creates the RCCA and then I have another form that I want to feed off of the first form. My thought was that when the RCCA was created, it would open a report of the RCCA and then in another region of the page I would add corrective action form. What I am looking to do is when I press the Create Corrective Action, it will automatically populate the RCCAID in the Corrective Action Table so that it is associated directly to the RCCA. I don't want to have to have someone know what the RCCAID is from teh RCA table because they are autogenerated.
There may be a better way to do this and since I am new to APEX and to Oracle Databases, I am just going with what my logic tells me. Any assistance or thoughts would be appreciated.
Assuming there would be some type of trigger?
I will have to be able to view each RCCA and CA in a report that customers will see.
Thanks in Advance
WallyHi Debasis,
Have a look on this
Quick note on IDENTITY column in SAP HANA
Regards,
Krishna Tangudu -
Lookup field to connect the CRM tables With 2LIS_11_VAITM
Dear Gurus,
Greetings for the day...!!!
In CRM system I have two tables
1.CRMD_ORDERADM_H
*Object Id* is the field
and the next table is
2.SCAPPTSEG
Fields in tht table are TST_FROM
TST_TO
I have to link this two tables with datasource 2LIS_11_VAITM
I have tried to connect with a lookup field from the tables to the datasource,but I didnt find a common field.
Even I tried to connect the datasource thru some other table but I couldnt
Pls help me out in this...!!!
Points will be awarded
Regards
LuckyThis is standard behavior. Custom fields do not trigger delta.
You can try several options -
- If it is a standard SAP field coming from one of those VB* tables, try to name your custom field the same (SAP gives a warning, but you can ignore it). SAP sends the complete structures (eg VBAK, VBAP) for delta recording, and if this field is part of these structures, it may trigger the delta.
If that is not applicable, consider extending the LIS comm structure underlying this extractor and use an LIS exit to populate this field. This field will then be available in LBWE to transfer to extract structure and will trigger the delta. The appropriate exit is mentioned in Roberto Negro's weblog on extractors here on SDN (am not on system so cant give you the LIS exit name).
If that is also out of question, try what is described <a href="http://www.ko-india.com/content/weblogs/weblog_custom_fields_1.pdf">here</a>. -
Problem with Qualified lookup field
Hi all
I have one qualified lookup field in main table of the repository. when i created the iview for ItemDetails then i selected all the fields of the main table which includes the qualified look up field . but when i see the preview then i am not able to see the field of qualified lookup field in the preview. it is not displaying but i selected the same field.
please help me out on Can we enter the data in the qualified table field which is part of main table in the repository while creating the record??
but i am able to edit the qualified lookup field which is part of main table. but the only problem while creating the record it is not displaying me the qualified lookup field. please help on this........
Thanks
Regards
SunilHi Sunil,
It will not allow you to add the qualified lookup value in the main table record directly.
As the qualified lookup field in the mai table links the main table record with the qualified table fileds.
You will only be able to view the non-qualifier field values in the main table but the qualifier value for that particular record will be visible in the qualifier table only.
So as to populate the lookup qualifier you need to create the main rec then you can establish the link and populate the qualified table fields.
Hope it helps
Kindly reward points if found useful
Thanks
Simona -
Lookup field in external data-object????
Hi All.
Is it possible to create lookup field in data object with external data-source?Hi ,
yes you can create.look ups for any Data Objects.
Regards
Siva Sankar
Maybe you are looking for
-
Installation Problem with iTunes 9
I used Software Update to first download and save iTunes 9 (not automatically installed). The download left a Folder on my desktop which contained an iTunes Dist pkg alias and a Folder with other packages in it including the package to which the alia
-
My iPod touch doesn't show up in iTunes but my iPhone does help
-
After updating to IOS 6.1 my 3G no longer connects to anything,
it says i still have 3G signal but it doesn't let me use anything. I've tried the various on/off senarios and they don't work either, anyone had this problem or know how to fix it?
-
Is there any way to may my ipad more secure?
I'm having to change my password at least once a week. I keep getting emails saying my password has been reset am I'm not doing it. I'm them locked out of apple. I have to log on via another computer to reset my password and answer security questions
-
Export from LR to PS and back, losing history?
Hey there! I'm sure there's an easy to find answer to this somewhere but I searched and couldn't find it so here I am... My workflow right now consists of working of my pictures in LR first and then, for the last touches, exporting them in Photoshop.