One urgent query on UWL
Is there any way to find out which XML file is used from the Universal Worklist Configuration Content for the Standard UWL iview? or all xml files are considered?
PM,
For the standard UWL there is a uwl.standard.xml available under System Amdin --> System Config --> UWL Administration.
Chintan
Similar Messages
-
How to use different filter in 3 sheets of one BI query?
I have one BI query. I want to have 3 queries in one excel file, but there will be different company code selected in those 3 queries. Once I refresh this excel file, then I can get 3 different results in the 3 different sheets of the excel file. Could anyone tell me how to make it?
Thanks,
Sudree.Hi,
this is possible as already suggested earlier here. Create three data providers based on the same query and ensure that the option "restore initial query view on refresh" is not set. Furthermore, if the query contains variables, uncheck the workbook property on the variables tab to display duplicate variables only once.
Now you can specify individual filter values for each query and save the workbook. On opening/refreshing the workbook the specified filter values should still be valid.
You can also watch BEx Analyzer doing this. open any query with one characteristic that does not have too much values. Take this characteristic out of the drilldown, right click it in the navigation pane and choose "Add Drilldown according to <name> in new worksheets". Now BEx Analyzer creates a copy of the data provider based on the same query and sets a filter value on this query.
Regards
Matthias -
I am getting dump error while running one report in one select query
Hi,
While running a report program, I am getting a dump error in one select query. So could you please correct the select query so that I can't face the dump error.
SELECT vbeln parvw kunnr INTO CORRESPONDING FIELDS OF TABLE l_t_vbpa
FROM vbpa
FOR ALL ENTRIES IN l_t_backorder_item
WHERE vbeln = l_t_backorder_item-vbeln AND
( ( parvw = c_we AND kunnr IN rng_shipto ) OR ( parvw = c_ag AND
kunnr IN rng_soldto ) ) .
<removed by moderator>
Best Regards,
BDP
Edited by: Thomas Zloch on Apr 30, 2010 12:31 PMHi Bansidhar,
It would be helpful if you could tell what type of dump it is.
If it is a timeout you should check whether l_t_backorder_item is empty - in this case ALL document numbers are selected. f you get the timeout with a populated table consider converting the l_t_backorder_item table into one ore more ranges tables - the select with ranges tables is way quicker than 'for all entries'. But take care the ranges table has not to many entries - the SAP SQL converter puts this into one huge SQL statement and this might become too big to be handled by the database (depends on the actual underlying database).
I would also consider splitting the SELECT into two (2nd one with 'appending into table') to make the code easier to understand It also helps the database system determining a strategy for the select.
Regards,
Gerd Rother -
For one Urgent Change while performing the one of the Approval before changing the status to 'To Be Tested'
We are getting below error.
The system does not recognize any changes using the CTS WBS BOM in the development system. The transaction is therefore incorrect or the status was reset by the system.
COuld anyone please help us to know, How it can be resolved?
We also have this below error.
System Response
If the PPF action is a condition check, the condition is initially considered as not met, and leads to another warning, an error message, or status reset, depending on the configuration.
If the PPF action is the execution of a task in the task list, and the exception is critical, there is another error message in the document.
Procedure
The condition cannot be met until the cause is removed. Analyze all messages in the transaction application log.
Procedure for System Administration
Analyze any other messages in the task list application log, and the entries for the object /TMWFLOW/CMSCV
Additional Information:
System cancel RFC destination SM_UK4CLNT005_TRUSTED, Call TR_READ_COMM:
No authorization to log on as a trusted system (Tr usted RC=0).
/TMWFLOW/TU_GET_REQUEST_REMOTE:E:/TMWFLOW/TRACK_N:107
For above error Table /TMWFLOW/REP_DATA_FLOWwas refreshed as well but still the same error.If you are in Test System, you can use function module AA_AFABER_DELETE to totally delete the depreciation area (tcode SE37, specify chart of depreciation and depreciation area), After that recreate your depreciation area and run AFBN. But before you do that, have you created a retirement transaction type that limits the posting on your new depreciation area? If not create one.
Hope this helps.
Thanks!
Jhero -
I have an urgent query . I have written a java code on microsoft platform that talks with SQL server 2000 hosted on windows200 machine in a network using JDBCODBC driver wothou using a Data source name.
But this same code when i try to run on mandrake linux throws an exception as
java.sql.SQLException: [unixODBC] [Driver Manager] Data source name not found,
and no default driver specified.MS provides a JDBC driver for MSSQL 2000, go to there site and download it.
-
How to Copy RPT of one BEX query to another Bex Query
Hi,
I have a Crystal Report-A1 based on one Bex Query ZABC_1. I also have another Bex Query with same output and source named ZABC_2.
Now i want the to copy A1 to A2 and have A2 referring to ZABC_2.
The only difference between the 2 queries is the selection option paramenters.
Please let me know any way forward on this.
Points will be awared for useful replies.Hi Rajesh J Salecha,
What I understood is like :
You have two queries and both gives same results but one of the query having a parameter.
You have one report which is using query1. Now you want that report to be copied as Report2 and use Query2 instead of Query1.
If the this is the issue, then you copy Report1 as Report2 and go in Database and change the Data source location to Query2.
Hope this will help you. If my understanding is wrong then give us the work flow.
Thanks,
Sastry -
Urgent query about copying array of objects to html item
I have an urgent query about how I can display an array of objects on a html form. The only suitable html item I can see for this is a drop down box. Ideally a combo box would be preferable but I cant find anything like this. Basically the display item needs to contain 3 columns of data and has to display a number of rows. Can anyone tell me how to copy the array of values into a drop down box?
Here is all the code from my jsp. It keeps returning null:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page import="java.util.*, java.lang.*" %>
<html:html locale="true">
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"/>
<link rel="stylesheet" type="text/css" name="timesheet" href="stylesheets/timesheet.css"></link>
<script type="text/javascript" language="javascript" src="javascript/sum.js"></script>
<title><bean:message key="eng.title"/></title>
<html:base/>
</head>
<body bgcolor="white">
<table border="0" width="100%">
<tr>
<td width="30%"><html:img page="/images/PwC_logo.gif"/></td>
<td width="40%" class="applicationTitleCell">
<div align="center">
<bean:message key="application.title"/>
</div>
</td>
<td width="30%"> </td>
</tr>
</table>
<center>
<html:form action="/selectEng" focus="engSearchNumber">
<table border="0" width="100%">
<tr>
<td width="30%"></td>
<td width="20%" align="center"> <b> <bean:message key="eng.prompt.engSearchNumber"/> </b> </td>
<td width="20%" align="center"> <b> <bean:message key="eng.prompt.clientSearchName"/> </b> </td>
<td width="40%"> </td>
</tr>
<tr>
<td width="30%"></td>
<td width="20%" align="center"> <html:text property="engSearchNumber" size="20" maxlength="9" onchange='<%= "SearchLength(this)" %>' onkeypress="return NumberOnly()" /> </td>
<td width="20%" align="center"> <html:text property="clientSearchName" size="20" maxlength="20" onchange='<%= "SearchLength(this)" %>'/> </td>
<td width="30%"> </td>
</tr>
</table>
<table border="0" width="100%">
<tr>
<td width="30%"></td>
<td width="40%" align="center"><html:image property="findButton" src="images/Find.gif" alt="Find"/></td>
<td width="30%"> </td>
</tr>
<jsp:useBean id="selectEngForm" scope="session" class="Time.SelectEngForm" />
<% if (selectEngForm.getEngSearchNumber() != null) { %>
<tr>
<td width="30%"></td>
<td width="40%" align="center"><select name="engListing" size="5">
<%= selectEngForm.getEngListing() %>
</select></td>
<td width="30%"> </td>
</tr>
<% } else if (selectEngForm.getClientSearchName()!=null){ %>
<tr>
<td width="30%"></td>
<td width="40%" align="center"><select name="engListing" size="5">
<%= selectEngForm.getEngListing()%>
</select></td>
<td width="30%"> </td>
</tr>
<% } %>
<%=request.getParameter("engListing")%>
</table>
<br><br>
<table border="0" width="100%">
<tr>
<td width="30%"></td>
<td width="11%" align="center"> <html:image property="addButton" src="images/Add.gif" alt="Add the selected engagement to the timesheet"/> </td>
<td width="11%" align="center"> <html:image property="cancelButton" src="images/Cancel.gif" alt="Cancel"/> </td>
<td width="30%"> </td>
</tr>
</table>
</html:form>
</center>
<br>
<center><html:link forward="timesheet"> <html:img src="images/Back.gif" border="0"/> </html:link></center>
</body>
</html:html> -
Joining two tables having no common fields using one select query
Hi Experts,
How to join two tables which are NOT having any field in common using only one select query?
Your help will be appreciated.
Thank you.Identify a third table (or more tables) with common fields with your two tables, or change your question either removing JOIN or removing NO COMMON FIELDS, else you wont get many responses and will be left alone in outer space, as suggested by Thomas.
If you acturally require what you written, better execute two select and merge the two internal tables merging every record from first table with every record of second table, til no more memory is available.
Regards,
Raymond -
SAP Business one Freight Query
Hi experts,
i have created a query in B1 query generator and saved .
The purpose of the query is to calculate some values based on the group of the BP and the item code too.
I used User-defined value but i get an error anytime i change my quantity.
But if i use only one side of the query without the else if statement query it works, but if i use with the else if i get the error attached in the image file.
Please review the query below and tell me what is causing this error.
Urgent help is needed.
Regards
Justice
IF (SELECT OCRD.GroupCode FROM OCRD WHERE OCRD.CardCode = $[$4.0.0]) = '102' AND (SELECT OITM.ItemCode FROM OITM WHERE OITM.ItemCode = $[$38.1.0]) = 'TP000003'
BEGIN
SELECT $[$38.11.Number] * -0.539840
END
ELSEIF (SELECT OCRD.GroupCode FROM OCRD WHERE OCRD.CardCode = $[$4.0.0]) = '102' AND (SELECT OITM.ItemCode FROM OITM WHERE OITM.ItemCode = $[$38.1.0]) = 'TP000005'
SELECT $[$38.11.Number] * -0.886961
ENDHi Justice...
Just apply your logic in this way
Select CASE when a.CardCode = '102' and ItemCode='TP000003' then $[$38.11.Number] * -0.539840
else $[$38.11.Number] * -0.886961 end from OCRD a
left outer join OITM b on a.CardCode=b.CardCode
Regards
Kennedy -
URGENT - Query to get employes with multiple cost center
Hello,
The sample data for my requirement is:
create table a
(year number(4),
month number(2),
empno number(5),
cost_center number(3)
insert into a values(2003, 10, 1034, 102);
insert into a values(2003, 10, 1034, 102);
insert into a values(2003, 10, 1034, 102);
insert into a values(2003, 10, 1034, 103);
insert into a values(2003, 10, 1034, 103);
insert into a values(2003, 10, 1039, 102);
insert into a values(2003, 10, 1039, 102);
insert into a values(2003, 10, 1070, 102);
insert into a values(2003, 10, 1070, 103);
commit;
In the above sample data, empno 1034 & 1070 has two different cost centers (102 & 103) whereas empno 1039 has one only cost center i.e. (102).
Now I want a query that returns empno, cost_center with employees having more than one cost center. Considering the above sample data, the query should return empno 1034 & 1070. Empno 1039 should not appear in the query output as it has only cost center.
The output should be something like...
Empno cost_center
1034 102
1034 103
1070 102
1070 103
I'll b grateful for an urgent reply.
HASAN.select distinct empno, cost_center
from a a1
where exists (select 1 from a a2
where a2.empno = a1.empno
having count(distinct cost_center) > 1)
/ -
How to use one af:query for multiple VOs
Hi all,
How can we use an af:query component to query on multiple VOs?
Think of a page with search area and a tabbed pannel with two tables based on different view objects.
Any ideas?
Thanks
Version
ADF Business Components 11.1.1.56.60
Java(TM) Platform 1.6.0_18
Oracle IDE 11.1.1.3.37.56.60
Edited by: Barbara Gelabert on 28-dic-2010 6:55Hi Santosh,
Not yet implemented, but I was thinking on overriding the query listener and creating a view critera on the second view object as a copy of the first one. That involves capturing operands, operators and values set and then applying the criteria and executing the query.
Anyway, in case you don't need complex operators in the search area but can add them as where clauses to the query statement, you can use search forms instead of query components as Shay Shmeltzer suggests in [url http://blogs.oracle.com/shay/2010/12/combining_multiple_queries_and.html?goback=.gde_1002457_news_308820955]his post.
Regards,
Barbara -
Can't fetch clob and long in one select/query
I created a nightmare table containing numerous binary data types to test an application I was working on, and believe I have found an undocumented bug in Oracle's JDBC drivers that is preventing me from loading a CLOB and a LONG in a single SQL select statement. I can load the CLOB successfully, but attempting to call ResultSet.get...() for the LONG column always results in
java.sql.SQLException: Stream has already been closed
even when processing the columns in the order of the SELECT statement.
I have demonstrated this behaviour with version 9.2.0.3 of Oracle's JDBC drivers, running against Oracle 9.2.0.2.0.
The following Java example contains SQL code to create and populate a table containing a collection of nasty binary columns, and then Java code that demonstrates the problem.
I would really appreciate any workarounds that allow me to pull this data out of a single query.
import java.sql.*;
This class was developed to verify that you can't have a CLOB and a LONG column in the
same SQL select statement, and extract both values. Calling get...() for the LONG column
always causes 'java.sql.SQLException: Stream has already been closed'.
CREATE TABLE BINARY_COLS_TEST
PK INTEGER PRIMARY KEY NOT NULL,
CLOB_COL CLOB,
BLOB_COL BLOB,
RAW_COL RAW(100),
LONG_COL LONG
INSERT INTO BINARY_COLS_TEST (
PK,
CLOB_COL,
BLOB_COL,
RAW_COL,
LONG_COL
) VALUES (
1,
'-- clob value --',
HEXTORAW('01020304050607'),
HEXTORAW('01020304050607'),
'-- long value --'
public class JdbcLongTest
public static void main(String argv[])
throws Exception
Driver driver = (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
DriverManager.registerDriver(driver);
Connection connection = DriverManager.getConnection(argv[0], argv[1], argv[2]);
Statement stmt = connection.createStatement();
ResultSet results = null;
try
String query = "SELECT pk, clob_col, blob_col, raw_col, long_col FROM binary_cols_test";
results = stmt.executeQuery(query);
while (results.next())
int pk = results.getInt(1);
System.out.println("Loaded int");
Clob clob = results.getClob(2);
// It doesn't work if you just close the ascii stream.
// clob.getAsciiStream().close();
String clobString = clob.getSubString(1, (int)clob.length());
System.out.println("Loaded CLOB");
// Streaming not strictly necessary for short values.
// Blob blob = results.getBlob(3);
byte blobData[] = results.getBytes(3);
System.out.println("Loaded BLOB");
byte rawData[] = results.getBytes(4);
System.out.println("Loaded RAW");
byte longData[] = results.getBytes(5);
System.out.println("Loaded LONG");
catch (SQLException e)
e.printStackTrace();
results.close();
stmt.close();
connection.close();
} // public class JdbcLongTestThe problem is that LONGs are not buffered but are read from the wire in the order defined. The problem is the same as
rs = stmt.executeQuery("select myLong, myNumber from tab");
while (rs.next()) {
int n = rs.getInt(2);
String s = rs.getString(1);
The above will fail for the same reason. When the statement is executed the LONG is not read immediately. It is buffered in the server waiting to be read. When getInt is called the driver reads the bytes of the LONG and throws them away so that it can get to the NUMBER and read it. Then when getString is called the LONG value is gone so you get an exception.
Similar problem here. When the query is executed the CLOB and BLOB locators are read from the wire, but the LONG is buffered in the server waiting to be read. When Clob.getString is called, it has to talk to the server to get the value of the CLOB, so it reads the LONG bytes from the wire and throws them away. That clears the connection so that it can ask the server for the CLOB bytes. When the code reads the LONG value, those bytes are gone so you get an exception.
This is a long standing restriction on using LONG and LONG RAW values and is a result of the network protocol. It is one of the reasons that Oracle deprecates LONGs and recommends using BLOBs and CLOBs instead.
Douglas -
How do you have more than one parameterized Query to display "All"?
hi,
I am using:
Jdeveloper 9.0.5.2
Oracle Database 9.2.0.1
Toplink
Struts
I have been able to create a parameterized query to display an html read only table.
I populated a dropdown list with values from the database
and the values I select will be the parameters to my read only table.
The drop down list is on the same page as the read only table.
I have all this working but I also need to hard code an option in the Drop down to "All"
to represent all values of this parameter.
I was able to trick the jsp page using two read only tables
and displaying the one with the parameterized query when a parameter other than "All" was chosen
and then display the other only when "All" was chosen.
This does not seem the best way to do it.
What if I had more than one parameter and I wanted to show "All"
the values of one and a certain values for another.
I would then need at least 4 read only tables.
How do I accomplish this in an easier way?
Thanks in advance.I am not exactly sure what you are asking... Are you having trouble with TopLink, or another part of your application?
Peter Krogh -
How to improve the performance of one program in one select query
Hi,
I am facing performance issue in one program. I have given some part of the code of the program.
it is taking much time below select query. How to improve the performance.
Quick response is highly appreciated.
Program code
DATA: BEGIN OF t_dels_tvpod OCCURS 100,
vbeln LIKE tvpod-vbeln,
posnr LIKE tvpod-posnr,
lfimg_diff LIKE tvpod-lfimg_diff,
calcu LIKE tvpod-calcu,
podmg LIKE tvpod-podmg,
uecha LIKE lips-uecha,
pstyv LIKE lips-pstyv,
xchar LIKE lips-xchar,
grund LIKE tvpod-grund,
END OF t_dels_tvpod,
DATA: l_tabix LIKE sy-tabix,
lt_dels_tvpod LIKE t_dels_tvpod OCCURS 10 WITH HEADER LINE,
ls_dels_tvpod LIKE t_dels_tvpod.
SELECT vbeln INTO TABLE lt_dels_tvpod FROM likp
FOR ALL ENTRIES IN t_dels_tvpod
WHERE vbeln = t_dels_tvpod-vbeln
AND erdat IN s_erdat
AND bldat IN s_bldat
AND podat IN s_podat
AND ernam IN s_ernam
AND kunnr IN s_kunnr
AND vkorg IN s_vkorg
AND vstel IN s_vstel
AND lfart NOT IN r_del_types_exclude.
Waiting for quick response.
Best regards,
BDPBansidhar,
1) You need to add a check to make sure that internal table t_dels_tvpod (used in the FOR ALL ENTRIES clause) is not blank. If it is blank skip the SELECt statement.
2) Check the performance with and without clause 'AND lfart NOT IN r_del_types_exclude'. Sometimes NOT causes the select statement to not use the index. Instead of 'lfart NOT IN r_del_types_exclude' use 'lfart IN r_del_types_exclude' and build r_del_types_exclude by using r_del_types_exclude-sign = 'E' instead of 'I'.
3) Make sure that the table used in the FOR ALL ENTRIES clause has unique delivery numbers.
Try doing something like this.
TYPES: BEGIN OF ty_del_types_exclude,
sign(1) TYPE c,
option(2) TYPE c,
low TYPE likp-lfart,
high TYPE likp-lfart,
END OF ty_del_types_exclude.
DATA: w_del_types_exclude TYPE ty_del_types_exclude,
t_del_types_exclude TYPE TABLE OF ty_del_types_exclude,
t_dels_tvpod_tmp LIKE TABLE OF t_dels_tvpod .
IF NOT t_dels_tvpod[] IS INITIAL.
* Assuming that I would like to exclude delivery types 'LP' and 'LPP'
CLEAR w_del_types_exclude.
REFRESH t_del_types_exclude.
w_del_types_exclude-sign = 'E'.
w_del_types_exclude-option = 'EQ'.
w_del_types_exclude-low = 'LP'.
APPEND w_del_types_exclude TO t_del_types_exclude.
w_del_types_exclude-low = 'LPP'.
APPEND w_del_types_exclude TO t_del_types_exclude.
t_dels_tvpod_tmp[] = t_dels_tvpod[].
SORT t_dels_tvpod_tmp BY vbeln.
DELETE ADJACENT DUPLICATES FROM t_dels_tvpod_tmp
COMPARING
vbeln.
SELECT vbeln
FROM likp
INTO TABLE lt_dels_tvpod
FOR ALL ENTRIES IN t_dels_tvpod_tmp
WHERE vbeln EQ t_dels_tvpod_tmp-vbeln
AND erdat IN s_erdat
AND bldat IN s_bldat
AND podat IN s_podat
AND ernam IN s_ernam
AND kunnr IN s_kunnr
AND vkorg IN s_vkorg
AND vstel IN s_vstel
AND lfart IN t_del_types_exclude.
ENDIF. -
Hi I need one urgent help from anyone
Hi,
I am looking some SAP HR ABAP objects its very urgent i need to give resume to one of the employer. The object may some what related to this requirement .Or send any HR ABAP Object its very urgent guys.....
Rewards will sure..........
(automate an interface between one of clients telecommunications providers and R/3, parsing incoming data in a UNIX format to create FI/CO postings and reports out of R/3.)
Thanks and Regards
RameshHi Rohit,
CUCM releasing the call because it's unable to find the called number received i.e. called number does not exist in dial-plan.
Check below points:-
1). Check the CSS on the SIP trunk in CUCM (may be called number is not accessible due to incorrect CSS).
2). Check the translation pattern and it's CSS.
3). If you are not using translation pattern then check for the translation profile in router config. In this case you can check and share your running-config and debug voice dial-peer or debug voice ccapi inout.
Regards,
Nishant Savalia
Maybe you are looking for
-
I am having trouble getting my macbook to connect to my tv. When I connect my mac to the tv via VGA I have no problem. It detects it right away. I just purchased a HDMI cable because I didn't want to have to use speakers when connect to my TV and it
-
Unable to Open RPD in online mode by using the Admin tool in OBIEE 11g.
Hi All, I Installed OBIEE 11g (11.1.1.5) in Linux Box. When I am trying to Open the RPD in online mode by using the Admin tool, I am facing the below error. Logon failed due to:[nqsError:43113] Message returned from obis [nQSError:13037] Cannot conne
-
Improving backup performance for Essbase / Planning
Hi all I am trying to improve out backup performance and limit downtime for our Planning applications. Currently we are running 11.1.1.3 and an instance of 11.1.2.1. We are doing your standard cold backups on the Essbase side (shut down, copy files)
-
Reference Variable syntax??
I have a large table that I want to filter on any field. I have the dataProvider array and the fieldname in a variable. Can anyone point me in the right direction on how to set up a dynamic filter, all I can find are static item.arrayLabel in a filt
-
Worst customer service for delivery of washing machine
We ordered a washing machine online on Sunday that was to be delivered today (Tuesday). when the delivery guys showed up they said they could not install our new washer because we didn't buy a new pedestal. THey would not put on our existing pedasta