How to create a Maintenance view in order to update 4 tables
Hello,
I want to update 4 tables having the same key. MANDANT + SIRET (fiscal french ID).
I try to create a maintenace view, i need to update the 4 tables using a single screen.
When i use the relationship the system display a message "Relationships with unsuitable cardinality"
The first table contain only the ID, the 3 others contains some informations (adress, name, and others)
Thanks for your help
Christophe
Hello,
you could check, if your other three tables have a correct foreign key definition on the field SIRET.
Tranaction SE11 -> pstion on the field and press the foreign key button.
Check Table has to be your first table; cardinality has to be 1 :1 or 1 to N.
Regards Wolfgang
Similar Messages
-
How to create a relational view base on an xmltype table which included sev
Hi,
I am using oracle 11.2.0.1.0.
how to create a relational view base on an xmltype table which content several different .xml files?
Thanks.
for examle:
SQL> SELECT OBJECT_VALUE FROM document;
Edited by: Cow on Jan 6, 2011 7:57 PMFor example I already have these three xml files inserted into the document xmltype table.
These xml files have same schemas. I have attached below.
I want to show all elements/attribute values in xml files to relational view.
Is this possible to create one big relational view to show everything
or I have to create three separate relation views then use UNION to put together? Thanks a lot. Cow
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type="text/xsl"?>
<document xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd">
<id root="5ca4e3cb-7298-4948-8cc2-58e71ad32694"/>
</component>
</document>
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type="text/xsl"?>
<document xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd">
</component>
</document>
Edited by: Cow on Jan 4, 2011 9:51 AM -
How to convert maintenance view 'v_t001k_assign' to inner join tables
Dear friends,
I found I could not select the fields of view 'v_t001k_assign' using SQL, and I found there are some tables joined together as below:
T001 MANDT = T001K MANDT
T001 BUKRS = T001K BUKRS
T001K MANDT = TASSIGN_MM_T001W MANDT
T001K BWKEY = TASSIGN_MM_T001W BWKEY
T001W MANDT = TASSIGN_MM_T001W MANDT
T001W WERKS = TASSIGN_MM_T001W WERKS
T001W_EXT MANDT = TASSIGN_MM_T001W MANDT
T001W_EXT WERKS = TASSIGN_MM_T001W WERKS_EXT
So how to convert this maintenance view 'v_t001k_assign' to inner join tables for SQL selection?
Thanks a lot!
Edited by: Qiwei Yin on May 27, 2009 10:35 AMHi,
You should use the 'Search help exit' to select the data for yourself from the database. Go into the search help maintenance screen and press F1 on field 'search help exit'; follow the links. There is actually a pretty good documentation.
Regards, Gerd Rother -
How to create a materialized view on a subqueried view
Hi,
I have a view with subquery. This view is accessed by users frequently. I want to improve its performance by materialiezed view technology. Unfortunately, my view includes a subquery. does anyone have an idea how to create a materialiezed view on a subqueried view?
CopperOracle 9.2.0.4
SQL,
select
action,
id,
id0,
bl_ticker,
report_type,
published_date,
version,
decode(rating,'SBUY','Strong Buy',initcap(rating)) rating,
nvl(fairvalue,(select fairvalue from ard_published_v2_log where id=(select max(id) from ard_published_v2_log where bl_ticker=a.bl_ticker and id<a.id and fairvalue is not null))) fairvalue,
pricing_date,
price,
update_date,
nid
from
select * from ard_published_v2_log
union select * from nemo_published_history_corr where (action is null or action<>'D')
minus select * from ard_published_v2_log where action='D'
minus select * from ard_published_v2_log where id in (select id0 from ard_published_v2_log where id0 is not null)
minus select * from ard_published_v2_log where id in (select id0 from nemo_published_history_corr where action='D')
minus select * from ard_published_v2_log where id in (select id0_new from nemo_fillup_id0 where apply=1)
minus select * from ard_published_v2_log where id>0 and rating='N/A' and price is null-- and nid is null
) a
order by id desc -
How to attach two maintenance views to one transaction codes
Hi
I have created two master Ztables and also created two maintenance views in SM30 for them.
Now my req is i have to attach these two maintenace views to one TCODE only Not two transaction codes.
How i can do that.
Pls give me some inputs.
Regs
Manas Ranjan Panda.Hi,
Goto SE54..Click on the edit cluster view..Enter a cluster view name...Then press the create button..IN the resulting screen you can add multiple maintenance views..
Check this documentation for creating cluster views..
http://help.sap.com/saphelp_46c/helpdata/EN/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
Once you create the cluster view..
Then you can a parameter transaction in SE93 with the transaction as SM34 and give the cluster view name ...
THanks,
Naren -
Creating a Maintenance View Table on SE11
Hi, Experts. I want to create a Maintenance View Table on SE11 (View option on SE11 and then selecting Maintenance view from the View Type List). Is there anyone who have a document that will be able to help me create this table or pointers that will help me.
Thanks for your help.
Regardshi,
steps are
Goto SE 11.
Choose the radio button of Views, give the view name and create.
Enter the short description and table names for which u want to create view.
Select the 2nd table-name field and click on relationship button.
Then goto view fields tab.
Select the table name and the fields u want to display.
Save and activate.
please see this
steps to create a view -
How to create a query view in sap bw?
can any one please tell me how to create a query view in sap bw 3.5?
Hi,
you can do this by using Bex analyzer and WAD ..
gop through this link ..
http://help.sap.com/saphelp_nw70/helpdata/en/0e/1339427f82b26be10000000a155106/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
hope this helps you ..
Reagrds,
shikha -
How to create a tree view in adobe configurator
Hi
How to create a tree view in adobe configurator
ThanksPlease, can you explain what you mean exactly?
-
How to create a triangle view with a select query?
I need help to build a select query that will create a triangle view.
Below is the table I have to query
*{color:#ff0000}INITIAL TABLE{color}*
*{color:#008000}AMOUNT | TRANSACTION_DATE | OPEN_DATE | TYPE{color}*
5 | 30-JAN-09 | 10-JAN-09 | A
10 | 12-JAN - 09 | 30-NOV-08 | A
20 | 30 - DEC - 08 | 15-OCT-08 | A
10 | 30 - DEC - 08 | 8 - OCT - 08 | A
*{color:#ff0000}THE FINAL TABLE I HAVE TO CREATE:{color}*
DEV_PERIOD - TO_CHAR(TRUNC(TRANSACTION_DATE,'Q'),'YYYY-Q') AS DEV_PERIOD
OPEN PERIOD - TO_CHAR(TRUNC(OPEN_DATE,'Q'),'YYYY-Q') AS OPEN_PERIOD
{color:#008000}*SUM of AMOUNT | DEV_PERIOD | OPEN_PERIOD | TYPE*{color}
5 | 2009 - 1 | 2009 - 1 | A
40 | 2009 - 1 | 2008 - 4 | A
30 | 2008 - 4 | 2008 - 4 | A
{color:#ff0000}*This is another view of the table (The triangle view)*{color}
| Dev_Period 2008- 1 | 2008 - 2| 2008 -3 | 2008 - 4 | 2009 -1 |
Open_Period |
2008 - 1..................... 0.......... 0............ 0........... 0.......... 0
2008 - 2 ..................................0............ 0........... 0.......... 0
2008 - 3................................................. 0........... 0.......... 0
2008 - 4 ..............................................................30......... 40
2009 - 1 .............................................................................5
Any ideas will be appreaciated.
Thank you!I think the first thing you need to do is look up "pivot query" in this newsgroup. And how complicated your query gets to be will depend on your database version (11 natively supports pivot queries). You have a variable number of columns in your result set (depending on how many quarters you have in your data.
I think once you get the columns sorted out, working out the numbers to put in each column will be relatively easy.
Jon -
How to create a help view for a customized error message
Hi all,
Can you guide me how to create a help view for a customized error message, we need to put some suggestions in it so that user can can resolve this issue with this guide. ( the short text is too short to describe all situations via TC:SE91)
Thanks very much!
Bruce, WenHi Bruce,
Could you brief your concerns again.
Why don't you maintain long text in message class for long description.
Regards,
Ranjith N -
Hi there,
I was wondering whether anybody could tell me how to create a WMI filter in order to apply to machines that have Skype already installed with deploying a newer version of Skype.
Your help would be much appreciated.
Many thanks,
TimbuctooHi,
To create a WMI filter
1.In the Group Policy Management Console (GPMC) console tree, right-click
WMI Filters in the forest and domain in which you want to create a WMI filter.
2.Click
New .
3.In the
New WMI Filter dialog box, type a name for the new WMI Filter in the
Name box, and type a description of the filter in the Description box.
4.Click
Add .
5.In the
WMI Query dialog box, either leave the default namespace (root\CIMv2) or enter another namespace by doing one of the following:
◦ In the
Namespace box, type the name of the namespace that you want to use for the WMI query.
◦ Click
Browse , select a namespace from the list, and then click
OK .
6.Type a WMI query in the
Query box, and then click OK .
7.To add more queries, repeat Steps 4 through 6 to add each query.
8.After adding all queries, click
Save .
In the Query box, type the following WMI query:
Select * from Win32_Product where Name LIKE “%Skype%”
Best Regards,
Erin -
How to create a public view for sharepoint list A and deploy this view to specific user personal view? Is that possible OOTB?
Views cannot be exported or moved. Can you elaborate your requirement?
--Cheers -
How to create Billing Plan in sales order using Function module /BAPI
hi,
How to create Billing Plan in sales order using Function module /BAPI
i hv check few FM such
BILLING_SCHEDULE_READ
BILLING_SCHEDULE_GET_NUMBER
BILLING_SCHEDULE_SAVE
But unable to create billing plan for a sales order.....any other method to create???Hi,
Use this link.
Create sales order with billing plan via LSMW and BAPI BUS2032
BAPI or Function to update Billing Plan in Sales Order Items
Hope this will help you.
Regards,
Vijay -
How to creat deadlock for the purchase order in SAP Workflow
How to creat deadlock for the purchase order in SAP Workflow
Hi Ben,
Are you using FM "CONVERT_DATE_TO_EXTERNAL" before passing delivery date? If not, use FM like this, before passing the date to BAPI_PO_CREATE1 and it might work
DATA: vf_doc_date(10),
internal_date TYPE d.
vf_doc_date = sy-datum. "Document date.
internal_date = vf_doc_date.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = internal_date
IMPORTING
date_external = vf_doc_date
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
Regards,
Vivek -
i need to know how to create an image viewer would appreciate
help thanksyou can use loadMovie() to load a jpg image into flash (and
if you're using flash 8 you can load other image formats into
flash) and use it to create an image viewer.
Maybe you are looking for
-
New Ipod Touch will not connect or sync
I recently got a replacement Ipod Touch. I connected it to my computer and can see it in the My Computer window, however Itunes cannot connect or sync to it. It's not there. I have another Ipod Touch, it connects but will not Itunes does not recog
-
Reverse back to Tiger 10.4.x
What's the best way to downgrade from Leopard back to 10.4.x? Since upgrading to Leopard I can no longer print. Others have encountered similar problems (check the printing forums). Anyway I was think of going back to 10.4 until HP or Apple can put t
-
Why Isn't xmlindex being used in slow query on binary xml table eval?
I am running a slow simple query on Oracle database server 11.2.0.1 that is not using an xmlindex. Instead, a full table scan against the eval binary xml table occurs. Here is the query: select -- /*+ NO_XMLINDEX_REWRITE no_parallel(eval)*/ def
-
Error in outbound processing:ALE/IDOC
Dear all, I am getting an error in outbound processing as follows(I have extended the BD12 IDOC for customer master). The issue is that there is no hierarchie of segments in IDOC transaction we05.(Thogh the hierarchie can be observed in WE30) EDI: Sy
-
Oracle Database v10.2.0.2.0 Server: Linux hostname 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 10:11:19 EST 2007 i686 i686 i386 GNU/Linux Logged into EM, will like to Monitor in Memory Access Mode Performance monitoring in Memory Access Mode is currently d