Joining two queries with Visual Composer
Hallo,
I was working with visual composer to join two queries with the distinct operator. But on my table view, when i linked it with the distinct operator, i get only the key element customer (customer, customer_ext_key, customer_key). These are the queries that i want join:
Query 1:
Customer
Net Sales
Query 2:
Customer
Billed Quantity
What i want to see is the following result:
Customer
Net Sales
Billed Quantity
Can anybody help me with this problem?
Greeting,
Murat.
Hallo,
I was working with visual composer to join two queries with the distinct operator. But on my table view, when i linked it with the distinct operator, i get only the key element customer (customer, customer_ext_key, customer_key). These are the queries that i want join:
Query 1:
Customer
Net Sales
Query 2:
Customer
Billed Quantity
What i want to see is the following result:
Customer
Net Sales
Billed Quantity
Can anybody help me with this problem?
Greeting,
Murat.
Similar Messages
-
Problem in mapping sap bw server with Visual composer
I tried to create a module.. but the sap bw server is not mapping with visual composer. is any need to have special authorization for that.. if any please mention the authorization and role to be given to get mapping of bw server with visual composer.
please look into this issue..
Regards,
Mohankumar.GHi,
Have u done user mapping?
Refer the following link
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/cec42a45cb0a85e10000000a1553f6/content.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/43/cec42a45cb0a85e10000000a1553f6/content.htm</a>
<a href="/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer">/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer</a>
Regards,
Hemalatha -
I'm tryinng to join two queries that I made in sqlplus:
the first one is:
select dname,sum(hours) as proj_hrs
from IBL.works_on w ,IBL.project p,IBL.department d
where w.pno=p.pnumber
and p.dnum=d.dnumber
group by dname;
that output:
DNAME PROJ_HRS
Administration 115
Headquarters 25
Research 155
the second one is:
select dname,sum(hours) as emp_hrs
from IBL.works_on w,IBL.employee e,IBL.department d
where e.dno=d.dnumber
and w.essn=e.ssn
group by dname;
that output
DNAME EMP_HRS
Administration 115
Headquarters
Research 180
I'm trying to join both of them to get:
DNAME PROJ_HRS EMP_HRS
Administration 115 115
Headquarters 25
Research 155 180
Can anybody help me pleaseIf I understood you correctly, have you tried this? I did not try this, just think that it will work.
select a.dname, a.proj_hrs, b.emp_hrs from
select dname,sum(hours) as proj_hrs
from IBL.works_on w ,IBL.project p,IBL.department d
where w.pno=p.pnumber
and p.dnum=d.dnumber
group by dname
) a,
select dname,sum(hours) as emp_hrs
from IBL.works_on w,IBL.employee e,IBL.department d
where e.dno=d.dnumber
and w.essn=e.ssn
group by dname
) b
where a.dname = b.dname
You can use the NVL function to print out something special for the null values. -
Update master data in BW with Visual Composer
Hi guys.
I have an attribute of an info object that I need to give the users access to update.
I would like to do it with visual composer.
I would like the user to see all rows in a table kind of view and the user will update only the rows that need to be changed and than he/she will click on a button that will update the master data table in BW.
I believe that I'll need to use a BAPI or a RFC for that? Does anyone know any good predefined ones for that?
Thanks
ShlomiThat's not really true. In VC you have access to all remote enabled functions. We have created specific functions to update attributes.
We are using it to allow our users to update their own master data instead of bugging the BI team.
Here is an example of our code.
Before I paste this in, you need to know a couple things.
1. You can only update one record at a time (with my code)
2. You have to pass back in the entire record, even if you are only changing one attribute of many.
3. It automatically does the attribute change run, so you do not need to to it.
This is a simple infoobject with a few attributes.
First we created a Get function (which collects the data and shows it to the user.
Then we gave them a edit button on the table that goes to a pop up.
The user selects the record to change, then hits the edit button.
When the popup comes up the data is shown in a form, with a save and cancel button, fields that you do not wish users to see or change, hide them, but they all most be present on the form.
The when the user hits save, it send it to the below function. The name of the infoobject is ZCAT_SUB.
FUNCTION zcat_update_subparty2.
""Local Interface:
*" IMPORTING
*" VALUE(I_T_ZSUBPARTY) LIKE /BIC/PZCAT_SUB
*" STRUCTURE /BIC/PZCAT_SUB
*" EXPORTING
*" VALUE(E_RESULT) TYPE STRING
TYPE-POOLS: rs, rsarc, rsarr, sbiwa, rssm.
DATA:
l_t_zsubparty LIKE /bic/pzcat_sub OCCURS 10,
l_s_minfo TYPE rssm_s_minfo,
l_t_idocstate TYPE rsarr_t_idocstate,
l_subrc LIKE sy-subrc.
APPEND i_t_zsubparty TO l_t_zsubparty.
CALL METHOD cl_rsdmd_update_master_data=>update_attributes_static
EXPORTING
i_iobjnm = 'ZCAT_SUB'
i_t_data = l_t_zsubparty
i_s_minfo = l_s_minfo
i_monitoring = rs_c_false
IMPORTING
e_subrc = l_subrc
CHANGING
c_t_idocstate = l_t_idocstate.
IF sy-subrc <> 0.
e_result = 'Error happened'.
ELSE.
e_result = 'Process Completed'.
DATA:
l_t_msg TYPE rs_t_msg,
l_r_activate_master_data TYPE REF TO cl_rsdmd_activate_master_data.
CREATE OBJECT l_r_activate_master_data
EXPORTING
i_iobjnm = 'ZCAT_SUB'
i_p_q_have_to_exist = rs_c_true
EXCEPTIONS
iobj_not_found = 1
iobj_not_active = 2
generate_program_error = 3
p_q_do_not_exist = 4
p_q_txt_do_not_exist = 5
OTHERS = 6.
IF sy-subrc = 0.
l_r_activate_master_data->activate( IMPORTING e_subrc = l_subrc
CHANGING c_t_msg = l_t_msg ).
ENDIF.
ENDIF.
ENDFUNCTION. -
How to get started with Visual Composer?
Hi all,
I'm interested on learning VC. Where do I start?
1. What do i need to download for me to have VC?
2. Please direct me to some links for VC installation Guides.
3. What is VC for?
4. I'm currently on Basis, will it help me if i learn VC?
Thank you.
Points guaranteed to all helpful answers.
Regards,
Jeff Q.
Edited by: Shai Kfir on Jan 20, 2008 2:47 AMVisual Composer 7.1 is installed as part of SAP NetWeaver for Composition Environment. You can download and install a trial version from here: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50c58b14-da6d-2a10-ca94-a3c0937828d6
After installing, you can try a basic tutorial that will lead you step-by-step through building an application with Visual Composer: http://help.sap.com/saphelp_nwce10/helpdata/en/45/055d394c09048ae10000000a155369/frameset.htm
Nicole -
Error while making iview with visual composer
I am trying to make an iview usign visual composer.
In the document that i have for making the iview , it says that when you have the bapi list you need to drag and drop the bapi to the empty iview pane . When i do so it gives me the following error ...
"Portal request failed
(com/sap/mdi/ObjectFactory)"
What do i do ?
Would appreciate a prompt help!
thanks again for making me move ahead
I had a conversation with a parson on the forum named Venkat . I am posting the same for other people in the forum to understand what exactly is my problem and how much have we explored .
Regards
Deepak Singh
Hi Venkat ,
I tried to do so research on the problem and it is being talked about in a thread on the forum . They ask to refer to the sap note 765461 to resolve the mdi reference . In the note they ask you to refer the installation guide of the installed version of EP . I have EP 6.0 SP2 . The installation guide says the following ...
7.1.2 Adding References
To enable some of the features in the portal environment, add references to reference file.
To add a reference:
1. With a text editor, open the file:
Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
number>\cluster\state\services\file\work\managers\reference.txt
Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
cluster/state/services/file/work/managers/reference.txt
2. Look for the line:
reference service:eisconnector library:jco
3. After the line mentioned in previous step, add the following in a new line:
reference service:eisconnector library:com.sap.mdi
4. Save your changes and close the file.
5. Delete the file:
Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
number>\cluster\state\services\file\work\managers.bin
Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
cluster/state/services/file/work/managers.bin
6. Restart the SAP J2EE Engine. See Starting the SAP J2EE Engine [Page 60].
7. Restart the SAP J2EE Engine again.
I did the same ....but now my server is not starting . By chance i didn't keep a bakup of the file which they asked me to delete .
Now what do i do ?
I think i am stuck up badly here .
EVERYBODY IN THE FORUM PLEASE HELP
I am not sure how a thing that is mentioned in the installation guide cannot work !
Regards
Deepak Singh
Deepak,
It is not that bad. By deleting you are recreating that managers.bin file during startup based on the reference.txt and library.txt (recollecting from my memory). This could also happen if there is a typo or some special characters in the reference.txt
I don't know what J2EE patch you are at, but after PL22 you can actually add the reference using the "add reference" command from the administrator console.
could you please send the error you are getting? To revert back the simplest thing is removing the line you have added and restart.
Hope this helps.
-Venkat Malempati
Note: Please reward points if your problem is solved or useful.
Venkat ,
I am using J2EE engine 6.20 SP2 .I tried to get the server started by the following two methods
1) I removed my entry in the reference.txt file and then start the engine by running go.bat from the required path .
2) I got the original file managers.bin which i deleted and then placed in the required path and restarted the server
Both the options didn't work .
I am not getting any error when i restart the server. When i run the batch file go.bat it starts the console and shows me the various managers loading . After it shows the Clustermanager loading , it stops and gets stuck .
Not sure what should i do now .Is reinstallation the only solution ?
Is there a solution from the administrator console ?
Regards
Deepak Singh
Deepak,
No you don't need to re-install. Try the following.
1. First start the state controller by runing go.bat in the following directory.
/usr/sap/xxx/j2ee/cluster/state/go.bat
You get the message waiting for cluster manager.
2. start the server in a different window
/usr/sap/xxx/j2ee/cluster/server/go.bat
You get the message waiting for cluster manager
3. Start the dispatcher
/usr/sap/xxx/j2ee/cluster/dispatcher/go.bat
Please let me the know the error messages.
You can chat with me between 10:00 - 11:00 PM US EST.
Regards
-Venkat MalempatiPeople ,
I tried to do what venkat suggested . Infact I had mailed him the snapshot of the screen when i start the state controller as he suggested . For other people in the forum this is what is happening . When i start the state controller it displays an error and then the window closes immediately . I have managed the screen shots somehow and in those i could find two messeges in the begining and the end which could be useful for debugging the problem ...they are
1) [DBMS]: ID3004:DB file header do not match exception .
com.inqmy.services.dbms.server.interfaces.DatabaseException: Error while opening database ...
2) ID000544: Error statrting service dbms. DBMS service not started properly due to: Errro while opening database
[Framework -> criticalShutdown] Service dbms startup error !
After the state controller window closes i run the server in a different window and i get a message waiting for the cluster manager as suggested . Now i start the dispatcher and i get the same messege there as well ie waiting for the cluster manager .
What is to be done now . Is this information sufficient to suggest me something ? Please let me know if you require any other information .
Regards
Deepak singh -
How to connect two iviews in Visual Composer 2004s?
Hi,
I am trying a sample application (Bank Details) in Visual Composer(Netweaver 2004s) but getting a warning as "Event EVT1 is declared but cannot be raised". Actually I want to show the GetList values in the first iview & GetDetil values in the second iview. I have done everything for the two iviews, but not able to connect the two iviews.I tried to drag from Signal Out of the first iview to Signal In of the second iview, but not able to connect them.
Hope someone can suggest a solution.
Regards
ShemimHi
Sorry for the mistake.
Please refer this:-
Re: How can I transfer data form one data store to another iview /dats store
Re: Popup communicating with multiple iviews (layers)
Regards
Navneet
null
Message was edited by:
Navneet Giria -
Joining two queries causes big performance hit
There are two queries: one with a sub query and one without
although they both return the same data, one uses a full table scan of the indexed 'trade_index' table
and thus is much slower
any Ideas why it does this?:
SQL> select count(*) from trade_index ti, counterparty_xref cx
2 where ti.CPY_SID = cx.CPY_SID and ti.TRADE_OR_ARCHIVE = 'A'
3 and cx.XREF_VALUE in (select ml.VALUE from v_mis_lists ml where ml.LIST_NAME = 'Deutsche Bank DB')
4 and cx.XREF_TYPE = 'Client RXM'
5 and ti.START_DATE < to_date('01/01/2004','DD/MM/YYYY')
6 and (ti.END_DATE >= to_date('01/01/2003','DD/MM/YYYY') or ti.END_DATE = '01-Jan-1900') ;
COUNT(*)
6195
Elapsed: 00:00:15.08
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=2572 Card=1 Bytes=57)
1 0 SORT (AGGREGATE)
2 1 HASH JOIN (Cost=2572 Card=26581 Bytes=1515117)
3 2 HASH JOIN (Cost=460 Card=5619 Bytes=219141)
4 3 VIEW OF 'VW_NSO_1' (Cost=8 Card=16 Bytes=272)
5 4 SORT (UNIQUE) (Cost=8 Card=16 Bytes=960)
6 5 HASH JOIN (Cost=4 Card=16 Bytes=960)
7 6 TABLE ACCESS (BY INDEX ROWID) OF 'MIS_LISTS' (Cost=1 Card=2 Bytes=60)
8 7 INDEX (RANGE SCAN) OF 'MISL_NAT_UK' (UNIQUE) (Cost=2 Card=2)
9 6 TABLE ACCESS (FULL) OF 'MIS_LIST_VALUES' (Cost=2 Card=817 Bytes=24510)
10 3 TABLE ACCESS (FULL) OF 'COUNTERPARTY_XREF' (Cost=451 Card=35116 Bytes=772552)
11 2 TABLE ACCESS (FULL) OF 'TRADE_INDEX' (Cost=2056 Card=286928 Bytes=5164704)
SQL> select ml.VALUE from v_mis_lists ml where ml.LIST_NAME = 'Deutsche Bank DB';
VALUE
B49540
B60010
Elapsed: 00:00:00.00
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE
1 0 NESTED LOOPS
2 1 TABLE ACCESS (BY INDEX ROWID) OF 'MIS_LISTS'
3 2 INDEX (RANGE SCAN) OF 'MISL_NAT_UK' (UNIQUE)
4 1 INDEX (RANGE SCAN) OF 'MISLV_PK' (UNIQUE)
SQL> select count(*) from trade_index ti, counterparty_xref cx
2 where ti.CPY_SID = cx.CPY_SID and ti.TRADE_OR_ARCHIVE = 'A'
3 and cx.XREF_VALUE in ('B49540','B60010')
4 and cx.XREF_TYPE = 'Client RXM'
5 and ti.START_DATE < to_date('01/01/2004','DD/MM/YYYY')
6 and (ti.END_DATE >= to_date('01/01/2003','DD/MM/YYYY') or ti.END_DATE = '01-Jan-1900') ;
COUNT(*)
6195
Elapsed: 00:00:02.06
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=532 Card=1 Bytes=40)
1 0 SORT (AGGREGATE)
2 1 NESTED LOOPS (Cost=532 Card=41 Bytes=1640)
3 2 TABLE ACCESS (FULL) OF 'COUNTERPARTY_XREF' (Cost=451 Card=1 Bytes=22)
4 2 TABLE ACCESS (BY INDEX ROWID) OF 'TRADE_INDEX' (Cost=81 Card=286928 Bytes=5164704)
5 4 INDEX (RANGE SCAN) OF 'CPY_SID_IDX' (NON-UNIQUE) (Cost=2 Card=286928)
What I dont understand is that:
cx.XREF_VALUE in (select ml.VALUE from v_mis_lists ml where ml.LIST_NAME = 'Deutsche Bank DB')
and
cx.XREF_VALUE in ('B49540','B60010')
are essentially the same thing
(ie the subquery returns the values I have used)
but the optimizer uses a totally different (slower) method to execute the rest of the former query?
Many thanks
IanHi,
Here is with join and not using the view: still have full table scan of large table trade_index
SQL> select count(*) from mis_lists ml, mis_list_values mlv, counterparty_xref cx, trade_index ti
2 where ti.CPY_SID = cx.CPY_SID and ti.TRADE_OR_ARCHIVE = 'A'
3 and cx.XREF_VALUE = mlv.VALUE
4 and mlv.MISL_SID = ml.MISL_SID
5 and ml.LIST_NAME = 'Deutsche Bank DB'
6 and cx.XREF_TYPE = 'Client RXM'
7 and ti.START_DATE < to_date('01/01/2004','DD/MM/YYYY')
8 and (ti.END_DATE >= to_date('01/01/2003','DD/MM/YYYY') or ti.END_DATE = '01-Jan-1900') ;
COUNT(*)
6195
Elapsed: 00:00:12.08
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=2602 Card=1 Bytes=10
0)
1 0 SORT (AGGREGATE)
2 1 HASH JOIN (Cost=2602 Card=26581 Bytes=2658100)
3 2 HASH JOIN (Cost=456 Card=5619 Bytes=460758)
4 3 HASH JOIN (Cost=4 Card=16 Bytes=960)
5 4 TABLE ACCESS (BY INDEX ROWID) OF 'MIS_LISTS' (Cost1 Card=2 Bytes=60)
6 5 INDEX (RANGE SCAN) OF 'MISL_NAT_UK' (UNIQUE) (Cost=2 Card=2)
7 4 TABLE ACCESS (FULL) OF 'MIS_LIST_VALUES' (Cost=2 Card=817 Bytes=24510)
8 3 TABLE ACCESS (FULL) OF 'COUNTERPARTY_XREF' (Cost=451Card=35116 Bytes=772552)
9 2 TABLE ACCESS (FULL) OF 'TRADE_INDEX' (Cost=2056 Card=286928 Bytes=5164704)
Statistics
0 recursive calls
47 db block gets
16519 consistent gets
4981 physical reads
0 redo size
205 bytes sent via SQL*Net to client
622 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
Thanks for you help,
Ian -
Join two list with condition using caml query in SharePoint 2013 with client object model
Hi,
Want to join two list to get all fields from both list.
Am new to sharepoint and sharepoint 2013. Am working in sharepoint 2013 online apps. Am using context.executeQueryasync to load list and get items from list. Am able to get items from single list with caml query, but not able to get both list field values
with joins. I did lot of surfing..but not..
Below is my code..
ListName1 : "AssignedTasks"
ListName2 : "Tasks"
var assignedQueryTest = "<View><Joins><Join Type='INNER' ListAlias='Tasks'><Eq><FieldRef Name='TaskId' RefType='Id'/><FieldRef List='Tasks' Name='ID' /></Eq></Join></Joins>"
+ "<ViewFields><FieldRef Name='TitleValue' /><FieldRef Name='ActionItemsValue' /></ViewFields>"
+ "<ProjectedFields>"
+ "<Field Name='TitleValue' Type='Lookup' List='Tasks' ShowField='Title' /><Field Name='ActionItemsValue' Type='Lookup' List='Tasks' ShowField='ActionItems' />"
+ "</ProjectedFields>"
+ "</View>";
var web = context.get_web();
var list = web.get_lists().getByTitle("AssingedTasks");
var myQuery = new SP.CamlQuery();
myQuery.set_viewXml(assignedQueryTest);
var myItems = list.getItems(myQuery, "Include(TitleValue,ActionItemsValue)");
context.load(myItems);
context.executeQueryAsync(function () { if(myItems.get_count()>0){....}
}, errorCallback);
Here am able to get "AssignedTasks" list field values but not able to get "Tasks" list field values.
Can you please help me to resolve the issue. Or new idea for join. I have add the condition also in the query.
If anybody have good sample, please provide.
Thanks,
Pariventhan
Pariventhan.SHi Pariventhan,
I don't know about join but I have a workaround of this problem.
Declare one variable (itemcollection) globally. Load all the items "AssignedTasks" using context.load.
In the success method call another CAML query using <IN> tag of the ID of the items from the second list (Assuming you have look-up column of the ID of the first list to the second list).
If this is not clear to you then please let me know. If possible then I can provide code sample.
Thanks,
Aniruddha -
Hi All,
I want to learn <b>Visual Composer</b>. Plz send some documents to me to learn the Visual Composer from the Basic.And also send some real time scenarios(by the people, who are working on Visual Composer).
Plz help me.
Thanks in Advance,
Munu...Hi Munu,
Welcome to Visual Composer world. Please go through the following links to get started in VC....
Following links will help you understand what VC is:
What is Visual Composer ?
visual composer
Visual Composer: Finding the Documentation
<a href="/people/judy.kestecher/blog/2006/07/11/visual-composer-finding-the-documentation:///people/judy.kestecher/blog/2006/07/11/visual-composer-finding-the-documentation
Visual Composer Learning Map:
<a href="https://www.sdn.sap.com/irj/sdn/visualcomposer?rid=/webcontent/uuid/0ac86a27-0e01-0010-99b4-e1d7de29ee5d">https [original link is broken]://www.sdn.sap.com/irj/sdn/visualcomposer?rid=/webcontent/uuid/0ac86a27-0e01-0010-99b4-e1d7de29ee5d</a> [original link is broken]
Docs for starting development in VC:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/c2ba85545e3116e10000000a1553f7/frameset.htm">Modeling Applications with SAP NetWeaver Visual Composer</a>
<a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f7457a7fbe">SAP NetWeaver Visual Composer Modeler's Guide</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/ef826a370a1bcae10000000a11466f/frameset.htm">SAP NetWeaver Visual Composer Reference Guide - help.sap.com</a>
<a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9326072e-0c01-0010-bc97-f72e93338101">SAP NetWeaver Visual Composer Reference Guide</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/01/4b7e40417c6d1de10000000a1550b0/frameset.htm">SAP NetWeaver Visual Composer: User Guide</a>
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/16244247-0a01-0010-3294-d81c21e7e86e">SAP NetWeaver Visual Composer - How to Guides</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f6/1ad642dfa9f340e10000000a1550b0/frameset.htm">Visual Composer - How to . . .</a>
Bye
Ankur
Do reward points for helpful as well as solved answers!! -
Select every lines of a tabe in one time, with Visual Composer
Hi experts,
I am using Visual Composer, but I meet some issues. Does any one know how to select every lines of a tables in a same time? do I need a buitton for this?
thank you for your reply
regards,
Pierrehi Jhansi,
thank you very much for your response.
nevertheless, this is not what I wanted to do (perhaps I should explain better).
In fact, what I want is is to do as if I clicked on every single line of my table, but in one time (without cliking on them one by one...)
I do not want to short them with color, I reall want to select every one of them, but in one time.
thanks a lot
regards,
pierre -
Joining two tables with different DB
Hi
We have 2 sources DB2 and Oracle.
In DB2 we have two tables which stores.
Tbl1
Case_no Information1 Information2 Information3
11112 sddf asd null null
11113 asd asd null null
Tbl2
Inf Info1 Code Info3
Xedy Asdf 111 afder
Mad Tag 123 top
The above tables are complex join with this condition
Tbl1.case_no=Tbl1.case_no.
Oracle tbl
Code Code_desc
111 Very good
123 bad
My requirement is to join the tbl2 with Oracle tbl. Based on the codes in DB2 table I should display the Code_desc in my reports. Like this
Case_no Code Code_desc
11112 111 Very good
11113 123 bad
But I am getting the Cartesian result.
Case_no Code Code_desc
11112 111 Very good
11112 123 bad
11113 111 Very good
11113 123 bad
Please help to resolve.
Regards
MDSelect Oracletbl and tbl2, right click on them open physical diagram, selected objects. In the physical diagram page Create a join between Oracletbl and tbl2 with the condition code=code.
In business model create a complex join between these two. Now reload metadata/restart services check output.
Let me know if this does not work you. -
Save model with visual composer
hello,
when i save the model with visal composer framework, it save the model but only the model. i mean that pages, Iviews, objects, ... are not saved with the model.
i don't have any erro message that could help !
anyone can help ?
best regards,
Olivier.yes i can deploy all the object in the portal !
everything work fine except the save option into visual composer !
yes that's what i mean ... ;O)
is there such preview version of VC downloadable ???
best regards,
Olivier. -
Error message with visual composer 7.2
Hello,
I'm starting to use the new visual composer with CE 7.2.
When I deploy my model, I have this message : "exception on the server while running the build process : See the log for details. !XMSG_GENERAL_ERROR!"
Could you please help me to solve this problem ?
Best regards
NicolasHello
thank you for your help.
the message are :
[][VC-GenFwk] Error model generation : CAUSE 0
java.lang.ArrayIndexOutOfBoundsException: 0...
[][VC-GenFwk] Error model generation : CAUSE 0
java.lang.ArrayIndexOutOfBoundsException: 0...
Best regards
Nicola -
Want to Join two tables with cursors
Can anyone tell me how to join two tables only by cursors.
Not with:
1.Joining condition
2.Procedure etc.
Only cursors with passing parameters.
SowmyaThis is my assignment. I want to get the matching records from both tables. I have pk, fk for both tables for deptno.Can I pass parameter for this.
dept table:
deptno deptname
10 sales
20 Erp
30 hr
40 marketing
emp table:
Empno deptno Name
1 10 lee
2 20 hans
3 10 peter
4 30 james
5 30 king
Output should be:
deptno empname empno deptname
10 lee 1 sales
10 peter 3 erp
30 james 4 hr
30 king 5 marketing
Maybe you are looking for
-
Can you get your money back from canceling a pre-order?
I recently pre-ordered an album that I no longer want. I canceled the pre-order but my current balance on my account hasn't changed. I spent $17 on the album, and want to know if there is any way that I can get that back. Thanks, Logan
-
File Adapter with Network Drive
Hi all, I am trying to read a file from Z:\ that is actually pointing to a network drive of another machine. However i am getting the error Configured source directory 'Z:\xxx' does not exist. I am running Windows Server on both machine. I have map t
-
Calling transaction OAOH in webdynpro abap
Hi, I am trying to call the transaction OAOH for uploading a document for archival. But the popup for document upload works only in SAP GUI. Can anyone help?
-
SAXParserException in parsing of
Hi, I have a peculiar problem that I couldn't find any straight way approach yet. I have an XML that contains a tag like this:- <?xml version="1.0" encoding="ISO-8859-1"?> <copyright> The copyright symbol to use is by giving © escape sequence. </copy
-
When in LR 5 I click Edit in PSE 11 nothing happens. Why?
When in LR5 Iclick Edit in PSE 11 nothing happens. Why?