How can i display the error count
Hi I'm using jdev11g
How can i display the count of errors in validation error message pop up instead of displaying the entire list.
Searching the forum would help
Re: How to customize Error?
Similar Messages
-
How can i disply the error in my forms which occurs from plsql package
Dear all
i am using 10g forms.
i have a package and in the pkg i am reading data from flat file using UTL_FILE and comparing with what user input in the form .
If that does not match then it is raising errors . but how can i display those errors in my forms .
Let say in my PKG The error is "Account no does not match " . this error message i wnat to show in my Forms .
For the error i have created one block :error.err_dtl.
I want to show here in :error.err_dtl.Hello,
Several solutions:
You can write a procedure or a function in that package that returns a Boolean and/or an error message.
You can also, in your package, raise the RAISE_APPLICATION_ERROR(), then trap this error in the Forms calling code, via the DBMS_ERROR_CODE and DBMS_ERROR_TEXT variables.
Francois -
How can I display the vendor associated with result of my running total sum
I have a report that lists vendors with their most vecent order dates. I need to set up a rotation so that the vendor with the latest order date is next to be selected. I used the running total summary to pick the latest date. How can I display the vendor associated with result of my running total summary?
If your "latest" order date means the "oldest" order date, why don't you try this:
Go to Report tab -> Record Sort Expert -> Choose your order date in ascending order
This will make your oldest order your first record shown.
You can then create a running total count for each record.
Lastly, in your section expert under conditional suppress X+2 formula, write this:
{#CountRecords}>1
The result will only show the oldest record in your report.
I hope that helps,
Zack H. -
How can i display the Number instead of E
Hello Everyone ;
I am getting confused. How can i display the Number but the Exponential value is coming as E.
SQL> select sum(amount_sold) from sales;
SUM(AMOUNT_SOLD)
1.1287E+11
Table details ..
SQL> desc sales
Name Null? Type
AMOUNT_SOLD NUMBER
i want to change 1.1287E+11 to "numeric"
DB : 10.2.0.4
os : rhel 5.1Just a minor correction on an obvious math/responding too fast error: 1.1287E+11 is a 12 digit number. You move the decimal 11 positions to the right which would add 7 zeroes to the value.
MPOWEL01> l
1 select length(to_char(1.1287E+11)), to_char(1.1287E+11,'999,999,999,999'), 1.1287E+11 "TEST"
2* from sys.dual
MPOWEL01> col TEST format 999999999999
MPOWEL01> /
LENGTH(TO_CHAR(1.1287E+11)) TO_CHAR(1.1287E+ TEST
12 112,870,000,000 112870000000the problem was that the OP failed to alias the sum result to the formatted column rather than the lenght of the data.
HTH -- Mark D Powell -- -
How can I display the rows into columns.
How can I display the rows into columns. I mean
Create table STYLE_M
(Master varchar2(10), child varchar2(10));
Insert itno style_m
('MASTER1','CHILD1');
Insert itno style_m
('MASTER2','CHILD1');
Insert itno style_m
('MASTER2','CHILD2');
Insert itno style_m
('MASTER3','CHILD1');
Insert itno style_m
('MASTER3','CHILD2');
Insert itno style_m
('MASTER3','CHILD3');
Note : The Master may have any number of childs.
I want to display like this..
Master child1, child2, child3, .......(dynamic)
MASTER1 CHILD1
MASTER2 CHILD1 CHILD2
MASTER3 CHILD1 CHILD2 CHILD3
Sorry for disturbing you. Please hlp me out if you have any slution.
Thanks alot.
Ram DontineniHere's a straight SQL "non-dynamic" approach.
This would be used if you knew the amount of children.
SELECT
master,
MAX(DECODE(r, 1, child, NULL)) || ' ' || MAX(DECODE(r, 2, child, NULL)) || ' ' || MAX(DECODE(r, 3, child, NULL)) children
FROM
SELECT
master,
child,
ROW_NUMBER() OVER(PARTITION BY master ORDER BY child) r
FROM
style_m
GROUP BY
master
MASTER CHILDREN
MASTER1 CHILD1
MASTER2 CHILD1 CHILD2
MASTER3 CHILD1 CHILD2 CHILD3 Since you said that the number of children can vary, I incorporated the same logic into a dynamic query.
SET AUTOPRINT ON
VAR x REFCURSOR
DECLARE
v_sql VARCHAR2(1000) := 'SELECT master, ';
v_group_by VARCHAR2(200) := 'FROM (SELECT master, child, ROW_NUMBER() OVER(PARTITION BY master ORDER BY child) r FROM style_m) GROUP BY master';
v_count PLS_INTEGER;
BEGIN
SELECT
MAX(COUNT(*))
INTO v_count
FROM
style_m
GROUP BY
master;
FOR i IN 1..v_count
LOOP
v_sql := v_sql || 'MAX(DECODE(r, ' || i || ', child, NULL))' || ' || '' '' || ';
END LOOP;
v_sql := RTRIM(v_sql, ' || '' '' ||') ||' children ' || v_group_by;
OPEN :x FOR v_sql;
END;
PL/SQL procedure successfully completed.
MASTER CHILDREN
MASTER1 CHILD1
MASTER2 CHILD1 CHILD2
MASTER3 CHILD1 CHILD2 CHILD3I'll point your other thread to this one. -
How can I display the data in table in separate column?
I have a vi reading data one by one in the same column.
How can I display the data with separate column?
like this:
data 1 | read | read
data 2 | read | read
data 3 | read | read
(would you mind if I will ask for an example
because it is much easier for me to work
with an example)
THANK YOU.If you're reading your data in as a 1D array, this is as simple as using the Reshape Array to make a 2D array. I've attached an example in LabVIEW 6.1 format. The example rearranges a single column of data fill several columns horizontally, but you can easily modify this code to fill the columns downward instead.
Attachments:
Data_Column_Example.vi 18 KB -
I can successfully view and control a VI remotly. However, the remote VI dinamically loads another VI, this VI loaded dinamically is a VI that allows open others VIs, I want to see the files that contains the server machine, in the client machine, but the front panel of the dinamic VI appears only on the server and not on the client, How can I display the fron panel with the files of the server machine of the dinamically loaded VI on the client computer?
Attachments:
micliente.llb 183 KB
miservidor.llb 186 KB
rdsubvis.llb 214 KBI down loaded your files but could use some instructions on what needs run.
It seems that you are so close yet so far. You need to get the data on the server machine over to the client. I generally do this by doing a call by reference (on the client machine) of a VI that is served by the server. THe VI that executes on the server should pass the data you want to diplay via one of its output terminals. You can simply wire from this terminal (back on the client again) to an indicator of your choosing.
Now theorectically, I do not think that there is anything that prevents use from getting the control refnum of the actual indicator (on the server) of the indicator that has the data, and read its "Value" using a property node. I have never tried this idea but it seems t
hat all of the parts are there. You will need to know the name of the VI that holds the data as well as the indicator's name. You will also have to serve all VI's. This is not a good idea.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
How can I display the range for LastFullMonth in the header of a report
How can I display the month for LastFullMonth in the header of a report run in the past so that a report that ran sept 1 2009 selecting data for LastFullMonth (august 2009) displays sept 2009 in the header even if there is no data selected by the report?
Good,
Sometimes I answer these questions and completly miss it....
( lack of understanding on my part ) -
How can I display the HTML page from servlet which is called by an applet
How can I display the HTML page from servlet which is called by an
applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
I am calling my struts action class from the applet. I want to show the response in the same browser.
Code samples will be appreciated.hi
I got one way for this .
call a javascript in showDocument() to submit the form -
public class Userdefined extends Exception {
Userdefined(String sparam){
System.out.println(sparam);
Userdefined(){
private static int acno[]={100,105};
private static double bal[]={100.00,200.00};
public static void main(String args[]) {
try{
for(int i=0;i<2;i++)
System.out.println("ACCCCNO------>"+acno[i]+"BAl------>"+bal);
if(bal[i]<150.00)
Userdefined udexp=new Userdefined("bal less");
throw udexp;
catch(Userdefined e){
System.out.println("--->"+e);
How can i display the message "less amt" using my parmeterized constructor.VinayTK wrote:
How can i display the message "less amt" using my parmeterized constructor.Erm ... what? You can't --- at least not with the stuff you've got there.
A properly formed question, with some idea of what you're trying to accomplish would be a huuuuge help.
Winston
BTW: Congratulations. At my age, 'first's in computing are rare; but it's definitely the first time I've seen an Exception class with a main() method.
Edited by: YoungWinston on Sep 1, 2009 9:46 AM -
How can we display the list of Report Names in Dashboard Prompt?
How can we display the list of Report Names in Dashboard Prompt?
Hi,
No its not possible to display list of reports in dashboard prompts.
Can do this using SQl results in prompt(we write query checking out report names manualy),but its not easy thing if you are having many report names to be displayed.
Assign points and close your threads if answered.
Refer : http://forums.oracle.com/forums/ann.jspa?annID=939
Regards,
Srikanth -
How can we create the error log in a ABAP program
Hi all,
How can we create the error log in a ABAP program
Thanks,
srinivas.Hi,
Refer to FM's in the Function Group SBAL. For a change most of the FM's have been well documented. Also have a look at the DEMO pgms. Se38---->SBALDEMO & F4.
Regards
Raju Chitale -
How can i display the days of the month in my report, please help
dear all
my table name is day_close_table
it contains these columns:
product_code number,
the_date date,
sale_qty number,
buy_qty number
price number
i need to make report like the fiollowing
product : 10144 from: 1-jan-2006 to :10-jan-2006
days | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Sale | 50| 10| 20| 15|10|5 | 6 | 11|12|6 |
buy |10 | 20 | 10| 0 | 0 | 0 | 10| 1 | 1| 1|
i created two query and i decieded to join them
the first one is to display days in horizon direction
my query is:
SELECT TO_CHAR(THE_DATE,'DD-MONTH')D,
FROM HS_DAY_CLOSE;
my question is how can i display the records in horizone direction
please helpi solved this problem using this query
SELECT STOCK_CODE, COUNTRY_ID,
SUM(DECODE(to_char(the_date,'dd') ,'01', buy_qty)) "1",
SUM(DECODE(to_char(the_date,'dd') , '02', buy_qty)) "2",
SUM(DECODE(to_char(the_date,'dd') , '03', buy_qty)) "3",
SUM(DECODE(to_char(the_date,'dd') , '04', buy_qty)) "4",
SUM(DECODE(to_char(the_date,'dd') , '05', buy_qty)) "5",
SUM(DECODE(to_char(the_date,'dd') , '06', buy_qty)) "6",
SUM(DECODE(to_char(the_date,'dd') , '07', buy_qty)) "7",
SUM(DECODE(to_char(the_date,'dd') , '08', buy_qty)) "8",
SUM(DECODE(to_char(the_date,'dd') , '09', buy_qty)) "9",
SUM(DECODE(to_char(the_date,'dd') , '10', buy_qty)) "10",
SUM(DECODE(to_char(the_date,'dd') , '11', buy_qty)) "11",
SUM(DECODE(to_char(the_date,'dd') , '12', buy_qty)) "12",
SUM(DECODE(to_char(the_date,'dd') , '13', buy_qty)) "13",
SUM(DECODE(to_char(the_date,'dd') , '14', buy_qty)) "14",
SUM(DECODE(to_char(the_date,'dd') , '15', buy_qty)) "15",
SUM(DECODE(to_char(the_date,'dd') , '16', buy_qty)) "16",
SUM(DECODE(to_char(the_date,'dd') , '17', buy_qty)) "17",
SUM(DECODE(to_char(the_date,'dd') , '18', buy_qty)) "18",
SUM(DECODE(to_char(the_date,'dd') , '19', buy_qty)) "19",
SUM(DECODE(to_char(the_date,'dd') , '20', buy_qty)) "20",
SUM(DECODE(to_char(the_date,'dd') , '21', buy_qty)) "21",
SUM(DECODE(to_char(the_date,'dd') , '22', buy_qty)) "22",
SUM(DECODE(to_char(the_date,'dd') , '23', buy_qty)) "23",
SUM(DECODE(to_char(the_date,'dd') , '24', buy_qty)) "24",
SUM(DECODE(to_char(the_date,'dd') , '25', buy_qty)) "25",
SUM(DECODE(to_char(the_date,'dd') , '26', buy_qty)) "26",
SUM(DECODE(to_char(the_date,'dd') , '27', buy_qty)) "27",
SUM(DECODE(to_char(the_date,'dd') , '28', buy_qty)) "28",
SUM(DECODE(to_char(the_date,'dd') , '29', buy_qty)) "29",
SUM(DECODE(to_char(the_date,'dd') , '30', buy_qty)) "30",
SUM(DECODE(to_char(the_date,'dd') , '31', buy_qty)) "31"
FROM HS_DAY_CLOSE
GROUP BY STOCK_CODE,COUNTRY_ID -
How can we view the error message numbers in the web ui?
Dear all,
How can we view the error message numbers in the web ui? It gives the error but no number. It is possible to debug in web UI so how can we accomplish this?
Thanks,
FKHi Fakhan,
You can absolutely do that.
Check the class: CL_BSP_MESSAGES
Also if you want to find out the exact Message Class and Message Number, go to table T100, type text in field TEXT, you will get Message Class and Message number in fields ARBGB and MSGNR respectively.
I hope this helps.
THanks
Vishal -
How can i display the login details in the Web Ui
Hi All,
How can i display the information regarding the person who logged into the Web Ui and where can i find the seetings regardin this.Please provide your valuable suggestions
Regrads,
Lakshman.Plook at this link https://wiki.sdn.sap.com/wiki/display/CRM/WelcomeUserMessageinWeb+UI and you will solve your problem.
have a nice day.
Maybe you are looking for
-
How to read the return values of the API call
Hi Friends, I am trying to access an image on DocumentMall and I am passing the following URL to login to DocumentMall in my ABAP program. https://beta-dmapi.documentmall.com/dmapi/login.do?account=NOBLEBETA&appid=39xxxxxxn&username=admin&password=pa
-
Dual Boot Win 8.1 & Ubuntu 14.04
Hi, I would like to create a dual boot. I have a rather new ThinkPad Yoga. Here are my questions: 1. I was told I should make a recovery image or something when I bought it. How do I do that and what is it? is it just a plane Image or is it "Create
-
Pro's and Con's for use of E-sourcing or SRM or E-Procurement in ECC 6.0
Hi Experts, Does anybody of you have a document which describes the main pro and contra's of choosing SRM as a solution or E-sourcing or E-Procurement in ECC 6.0. Kind Regards, Tom
-
Hi All, I am building a form and would like to create a pop down menu on the left (and ideally with the options being colour boxes boxes but this does not seem possible), and then have three text separated text lines on the right of the pop down menu
-
Component Live Preview problem
Hi every one, I have a problem with my component live preview. When i drag and drop a component in the stage the first time and resize it by the component panel inspector, the live preview is not updated in the IDE. But soon as i put an another insta