Problem with database control returning multiple rows as Array using Oracle
Has anybody using Oracle gotten a Database control that
returns multiple rows to work returning an array?
The only way I can seem to return multiple rows is by returning
a RowSet. Returning an array gives me a NullPointerException
(when called within a pageFlow). When calling a database control
that returns an array from a web service I get a
"java.sql.SQLException: ResultSet has no more data." error.
The samples using the pointbase database seem to work, but when I
converted the CustomerDBClient web service to use Oracle, it starts
failing on calling the database control that returns an array
with: "java.sql.SQLException: ResultSet has no more data."
Has anybody gotten this to work using Oracle?
I'm also having some problem returning an Iterator. It seems
to work when called from a web service, but returns nothing
if called from a page flow.
I'm using Oracle 8.1.7 and WebLogic 8.1.
Eric
Do you need a particular service pack installed to return an array of custom object?
I am getting a ResultSet contained no data error when trying.
Thanks,
-Thomas
"Robin Karlin" <[email protected]> wrote:
>
Eddie O'Neil <[email protected]> wrote:
All--
Unfortunately, returning an Iterator to a JPF (or JSP) from a
database control is broken in WLW 8.1, though it will work inside of
a
JWS or JCS.
There shouldn't be a problem with returning an array of objects out
of Oracle to the JPF, and if you need an Iterator specifically, youcan
wrap the array in an Iterator implementation.
Sorry for the inconvenience.
Eddie
Lenny wrote:
I have gotten it to work on Oracle using Array:)
However, I haven't gotten it to work on Oracle using Iterator:( Itis so
simple, but doesn't work:(
"Eric Dokken" <[email protected]> wrote in message
news:[email protected]...
Has anybody using Oracle gotten a Database control that
returns multiple rows to work returning an array?
The only way I can seem to return multiple rows is by returning
a RowSet. Returning an array gives me a NullPointerException
(when called within a pageFlow). When calling a database control
that returns an array from a web service I get a
"java.sql.SQLException: ResultSet has no more data." error.
The samples using the pointbase database seem to work, but when I
converted the CustomerDBClient web service to use Oracle, it starts
failing on calling the database control that returns an array
with: "java.sql.SQLException: ResultSet has no more data."
Has anybody gotten this to work using Oracle?
I'm also having some problem returning an Iterator. It seems
to work when called from a web service, but returns nothing
if called from a page flow.
I'm using Oracle 8.1.7 and WebLogic 8.1.
Eric
I get the same error that Eric reported when trying to return an Array
of objects.
It is really frustrating because I can't use much of the built-in control
logic
that WLW provides. All I did was create a data pool for Oracle and a
datasource.
I modified the sample app in C:\bea81\weblogic81\samples\workshop\SamplesApp\WebApp\callJavaControl
to point to that datasource and I get the error that Eric reports above.
Can
anyone help me out????
Thanks,
Robin
Similar Messages
-
TimesTen SQL with group by returning multiple rows
I have a Active-Standby TimesTen nodes.
Using group by with or without having clause:
Whenever I do a group by query on table1 table with or without having clause, SQL returns multiple rows. This looks very strange to me. Each time it gives different count
Command> select count(*) from table1 group by pname having pname='pool';
< 390400 >
1 row found.
Command> select count(*) from table1 group by pname having pname='pool';
< 390608 >
< 32639 >
2 rows found.
Command> select count(*) from table1 group by pname having pname='pool';
< 2394 >
< 351057 >
2 rows found.
Command> select count(*) from table1 group by pname having pname='pool';
< 305732 >
1 row found.
Command> select count(*) from table1 group by pname having pname='pool';
< 420783 >
1 row found.
Command> select count(*),pool_name from root.rms_address_pools group by pool_name order by pool_name;
< *435473, pool* >
< *32313, pool* >
< 453, smvG3 >
< *28980, pool* >
< 3786, smvG4 >
< *26025, pool* >
< 236120, smvG6 >
< 131455, smcG3 >
< *65150, pool* >
< 23, snt1G1 >
< 510, snt2G1 >
< 510, snt2G2 >
Using where clause:
Command> select count(*) from table1 where pname='pool';
< *442354* >
1 row found.
Command> select count(*) from table1 where pname='pool';
< 442354 >
1 row found.
Table description:
Command> desc table1;
Table table1:
Columns:
*IP_ADDRESS BIGINT NOT NULL
PNAME CHAR (32) NOT NULL
SITEID TINYINT NOT NULL
1 table found.
ttVersion:
bash-3.00# ./ttVersion
TimesTen Release *7.0.3.1.0 (64 bit Solaris)* (tt70:17001) 2007-10-30T22:17:07Z
Instance admin: root
Instance home directory: /TimesTen/tt70
Daemon home directory: /var/TimesTen/tt70
bash-3.00#
Could any one suggest what is wrong with my SQL? or is it a bug with TimesTen?
Many thanks in advance.
Br,
BrijHi Gena,
When i execute the query with where clause, it gives me the output with more than one pool:
Command> select pname, count (*) from table1 where pname='pool' group by pname ;
< smcG3 , 18836 >
< pool , 423527 >
2 rows found.
Command> select pname, count (*) from table1 where pname='pool' group by pname ;
< intG302 , 17202 >
< pool , 425159 >
2 rows found.
While if give use the having clause it gives me multiple rows for one pool only ( sometimes) :
select pname, count (*) from table1 group by pname having pname='pool';
< pool , 32686 >
< pool , 420445 >
2 rows found.
select pname, count (*) from table1 group by pname having pname='pool';
< pool , 393574 >
< pool , 5838 >
< pool , 110943 >
3 rows found.
Command> select pname, count (*) from table1 group by pname having pname='pool';
< pool , 414590 >
< pool , 8395 >
2 rows found.
Please suggest what can be done in this case, need i open a case with Oracle for this.
Regards, Brij -
Hi @all
OS Windows Server 2008 (Standard)
DB 11.1.0.7.0
I try to configure DB Control manually with
D:\ORACLE\product\11.1.0\db_1\BIN>emca -config dbcontrol db -repos create
result is
15.09.2009 13:19:14 oracle.sysman.emcp.EMConfig perform
INFO: Dieser Vorgang wird in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_1
3_15_52.log protokolliert.
15.09.2009 13:19:15 oracle.sysman.emcp.util.FileUtil backupFile
WARNUNG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\config\emd.properties konnte
nicht gesichert werden
15.09.2009 13:19:15 oracle.sysman.emcp.util.FileUtil backupFile
WARNUNG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties.emca
konnte nicht gesichert werden
15.09.2009 13:19:15 oracle.sysman.emcp.util.FileUtil backupFile
WARNUNG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\emd\targets.xml konnte nicht
gesichert werden
15.09.2009 13:19:15 oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Database Control wird gestoppt (dies kann etwas lõnger dauern) ...
15.09.2009 13:19:15 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Das EM-Repository wird erstellt (dies kann etwas lõnger dauern)...
15.09.2009 13:24:22 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository erfolgreich erstellt
15.09.2009 13:24:23 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepositor
y
INFO: Konfigurationsdaten werden in das EM-Repository hochgeladen (dies kann etw
as lõnger dauern) ...
15.09.2009 13:25:02 oracle.sysman.emcp.EMReposConfig invoke
INFO: Konfigurationsdaten wurden erfolgreich hochgeladen
15.09.2009 13:25:02 oracle.sysman.emcp.EMConfig perform
SCHWERWIEGEND: Fehler beim Aktualisieren von D:\ORACLE\product\11.1.0\db_1\sysma
n\config\emoms.properties
Weitere Einzelheiten finden Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\S
AXMBS\emca_2009_09_15_13_15_52.log.
Die Konfiguration konnte nicht abgeschlossen werden. Weitere Einzelheiten finden
Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_13_15
_52.log.
snippet of the log
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
Caused by: java.io.FileNotFoundException: D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties (Zugriff verweigert)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:257)
... 11 more
15.09.2009 13:25:02 oracle.sysman.emcp.EMDBCConfig updateEmomsProps
KONFIG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties.emca wird in D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties kopiert
15.09.2009 13:25:02 oracle.sysman.emcp.EMConfig perform
SCHWERWIEGEND: Fehler beim Aktualisieren von D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties
Weitere Einzelheiten finden Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_13_15_52.log.
15.09.2009 13:25:02 oracle.sysman.emcp.EMConfig perform
KONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Fehler beim Aktualisieren von D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties
at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:405)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:167)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:137)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:223)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:535)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1215)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
the problem is Caused by: java.io.FileNotFoundException: D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties (access denied)
and when i try to deconfig this following occured
15.09.2009 13:30:28 oracle.sysman.emcp.EMConfig perform
INFO: Dieser Vorgang wird in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_1
3_29_13.log protokolliert.
15.09.2009 13:30:28 oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Database Control wird gestoppt (dies kann etwas lõnger dauern) ...
15.09.2009 13:30:28 oracle.sysman.emcp.EMConfig perform
SCHWERWIEGEND: Can't find file D:\ORACLE\product\11.1.0\db_1\host\sysman\config\emoms.properties
Weitere Einzelheiten finden Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\S
AXMBS\emca_2009_09_15_13_29_13.log.
Die Konfiguration konnte nicht abgeschlossen werden. Weitere Einzelheiten finden
Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_13_29
_13.log.
Can't find file D:\ORACLE\product\11.1.0\db_1\host_db\sysman\config\emoms.properties
With Windows Server 2003 I haven't any problems with the configuration of database control over cmd.
Any Ideas?Please run the following command
cmd>net start OracleDBConsolexxx(Assume sid name=xxx
cmd>set oracle_sid=xxx
cmd>emca (You will get all related keyword of emca)
Firstly you have to check that if you have created your database through DBCA then you have to drop old repository or recreate repository:
To drop (remove) the configuration files and repository for Database Console, run:
cmd>emca -deconfig dbcontrol db -repos drop
To recreate (remove & create) the configuration files and repository for Database Console, run:
cmd>emca -config dbcontrol db -repos recreate
(Please mark it helpful/Answered if you get solution)
Regards,
Suman -
Pl/sql block returning multiple rows
Hi,
I've created a plsql block which obtains an id from a name and then uses this id in another sql statement. The select statement to get the id works fine and the correct id is placed into the variable awardID.
when i try to use this variable in another select statement it returns multiple rows. but when i just use the id in the select statement it works fine.
select AwardID into awardID
from award_objtabA
where Name = awardName;
this returns the correct id '5999'
select Points into award_points
from award_objtabA
where AwardID = awardID;
this returns multiple rows
select Points into award_points
from award_objtabA
where AwardID = 5999;
this works fine
can anybody help with this confusing error?
Cheersselect AwardID
into awardID <= the same column
from award_objtabA
where Name = awardName;
this returns the correct id '5999'
select Points
into award_points
from award_objtabA
where AwardID = awardID; <= the same column
this returns multiple rows
to solve use different name not exactly the same as that of the column name
select AwardID
into vAwardID
from award_objtabA
where Name = awardName;
select Points
into award_points
from award_objtabA
where AwardID = vAwardID;as Alex and Kamal have suggested use different name for your variable. -
Custom database functoid to return multiple rows from database
Hi,
I have created a custom database fucntoid to execute a stored procedure which returns just single row from the database.But I could not manage to return multiple rows from the database.
Does anyone know how to return multiple rows from DB and create a node with that many occurrences in the target schema?
Thanks
JBIf you want to do this in messaging-only way without orchestration, then only option let to you is using .NET in BizTalk:
We had similar requirement with one of our clients, where they didn’t want to use orchestration (though we emphasised on less impact orch would have compared to manageability),
they still wanted to have pure-messaging only.
We extended the custom XslTransform component that ships with BizTalk SDK (<BizTalk installation directory>\SDK\Samples\Pipelines\XslTransformComponent)).
Created a custom disassembler pipeline component, used the XslTransform component from SDK to execute the map’s XSLT. Here we created a map with every links except the database ones. After executing the map, access the database, execute the store procedure
which returns more than one row/dataset, enrich the XSLT transformed message with the dataset from your database in disassembler.
Since .NET gives you the flexibility of access the dataset with more than one row, you can enrich the message in custom pipeline code.
Other option is code the message transformation completely in .NET code in custom disassembler by passing the received message to method/code which would code the map/enrichment.
While enriching you can execute the store procedure which returns more than one row/dataset, enrich the message further with the dataset from db.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
The simplest way for plsql procedure to return multiple rows
Hi,
What is the simplest way for plsql procedure to return multiple rows (records). There are many combination of ways to do it but I am looking for a solution that is appropriate for plsql beginners. Many solutions use cursors, cursor variables, collections and more that kind of things that are complex on the face of it. Is it somehow possible to achieve the same with less effort?
Sample query would be: SELECT * FROM EMPLOYEES;
I want to use returned rows in APEX to compose APEX SQL(in that context plsql) report.
It is enough to use just SELECT * FROM EMPLOYEES query in APEX but I want to use plsql procedure for that.
Thank you!Hi,
It depends :-).
With +...that is appropriate for plsql beginners...+ in mind... it still depends!
The list of techniques (ref cursors, cursor variables, collections, arrays, using explict SQL) you have referenced in your post can be made to work. but...
+Is it somehow possible to achieve the same with less effort?+ Less effort : That needs to be defined (measured). Especially in the context of pl/sql beginners (who is a beginner?) .
What is the level of "programming experience" ?
What is the level of understanding of "Relational Result set" as processible in Oracle?
If you are looking for
Process_the_set_of rows_in APEX () kind of capabilitywhich "abstracts/hides" relation database from developers when working on relation database, it may not be the best approach (at least strategically). Because I believe it already is abstracted enough.
I find REF CUROSOR most effective for such use, when the "begginer" has basic understanding of processing SQL result set .
So in a nut shell, the techniques (that you already are familiar with) are the tools available. I am not aware of any alternative tools (in pure Oracle) that will simplify / hide basics from develpers.
vr,
Sudhakar B. -
Is there a way in Oracle to return multiple rows as a single string?
Hi gurus,
I just got help from your guys fixing my dynamic sql problem. What I am doing in that function is to return a single string from multiple rows and I use it in the select statement. It works fine once the problem was solved. But is there any way in Oracle to do this in the select statement only? I have a table that stores incidents (incident_id is the PK) and another table that stores the people that are involved in an incident.
Incident_table
(incident_id number PK);
Incident_people_table
(incident_id number PK/FK,
person_id number PK);
Now in a report, I need to return the multiple rows of the Incident_People_table as a single string separated by a comma, for example, 'Ben, John, Mark'. I asked the SQL Server DBA about this and he told me he can do that in SQL Server by using a variable in the sql statement and SQL Server will auomatically iterate the rows and concatenate the result (I have not seen his actual work). Is there a similar way in Oracle? I have seen some examples here for some similar requests using the sys_connect_by_path, but I wonder if it is feasible in a report sql that is already rather complex. Or should I just stick to my simpler funcion?
Thanks.
BenHi,
May be, this example will help you.
SQL> CREATE TABLE Incident_Table(
2 incident_id number
3 );
Table created.
SQL> CREATE TABLE Person_Table(
2 person_id number,
3 person_name VARCHAR2(200)
4 );
Table created.
SQL> CREATE TABLE Incident_People_Table(
2 incident_id number,
3 person_id number
4 );
Table created.
SQL> SELECT * FROM Incident_Table;
INCIDENT_ID
1
2
SQL> SELECT * FROM Person_Table;
PERSON_ID PERSON_NAME
1 John
2 Mark
3 Ben
4 Sam
SQL> SELECT * FROM Incident_People_Table;
INCIDENT_ID PERSON_ID
1 1
1 2
1 3
2 1
2 2
2 4
6 rows selected.
SQL> SELECT IT.*,
2 (
3 WITH People_Order AS (
4 SELECT IPT.incident_id, person_id, PT.person_name,
5 ROW_NUMBER() OVER (PARTITION BY IPT.incident_id ORDER BY PT.person_name) AS Order_Num,
6 COUNT(*) OVER (PARTITION BY IPT.incident_id) AS incident_people_cnt
7 FROM Incident_People_Table IPT
8 JOIN Person_Table PT USING(person_id)
9 )
10 SELECT SUBSTR(SYS_CONNECT_BY_PATH(PO.person_name, ', '), 3) AS incident_people_list
11 FROM (SELECT * FROM People_Order PO WHERE PO.incident_id = IT.incident_id) PO
12 WHERE PO.incident_people_cnt = LEVEL
13 START WITH PO.Order_Num = 1
14 CONNECT BY PRIOR PO.Order_Num = PO.Order_Num - 1
15 ) AS incident_people_list
16 FROM Incident_Table IT
17 ;
INCIDENT_ID INCIDENT_PEOPLE_LIST
1 Ben, John, Mark
2 John, Mark, SamRegards,
Dima -
Problem with database connectivity
Hi guys,
I'm having a problem with database connectivity . I'm using the mySQL database & org.gjt.mm.mysql driver.
I've kept the org folder under the directory where the Database.java program is residing .
My program is as follows:
import java.sql.*;
public class Database
Connection con;
public void connect()
System.out.println("In connect.");
public Connection connectDB(String username,String password,String database)
try
Class.forName("org.gjt.mm.mysql.jdbc.Driver");
String url="jdbc:mysql:"+database;
con=DriverManager.getConnection(url,username,password);
catch(SQLException e)
System.out.println("SQL Exception caught:"+e);
catch(Exception e)
System.out.println("Exception e caught:"+e);
return con;
public static void main(String args[])
try
Connection c;
Database db=new Database();
c=db.connectDB("root","","//192.168.0.2/squid");
System.out.println("Connection created.");
c.close();
catch(Exception e)
System.out.println("Exception caught:"+e);
It gets compiled but gives the following error when run.
Exception e caught:java.lang.ClassNotFoundException: org.gjt.mm.mysql.jdbc.Driver
Connection created.
Exception caught:java.lang.NullPointerException
I don't know why the class is not found.Pl . help me rectify my mistake.Is there any other path to be set?
Thanks.You need to run it with the JDBC driver in the classpath
java -classpath .;[mySqlJdbcDriver.jar] Database -
URGENT ! JDEV 10.1.2 Problem with data control generated from session bean
I got a problem with data control generated from session bean which return a collection of data transfer object.
The dto's seem to be correct. The session bean load correctly the data into and the object's are plenty of data. Using the console to display the dto content is ok.
When generating a data control from this session bean and associate the dto included in the collection only the first object level and one-to-one dto object are correctly setted in the data control. Object that represent collection into the dto (one-to-many foreign key) are setted as collection with an iterator but the structure of the object is not setted. I don't know how to associate this second level of collection with the dto bean class to obtain the attributes definition.
I created a case with hr schema like the hrApp demo application in the tutorial with departments and employees table. I got the same problem.
Is it a bug ?
It exists a workaround to force the data control to understand the collection data structure ?
Help is welcome ! this is urgent !!!we found the problem by assigning the child dto bean class to the node representing the iterator in the xml file corresponding to the master dto.
-
PL-SQL Returning multiple rows
hi all
i am using an oracle 8i database.My front end application is a JSP code which calls an oracle procedure.How do i pass a pl-sql table or an equivalent to a jave code since the procedure has to return multiple rows.i have been told that the jdbc driver version
(1.0) which we are using does not support this.
should i go about it differently and use temporary tables?..please help
thanks
LAhi all
i am using an oracle 8i database.My front end application is a JSP code which calls an oracle procedure.How do i pass a pl-sql table or an equivalent to a jave code since the procedure has to return multiple rows.i have been told that the jdbc driver version
(1.0) which we are using does not support this.
should i go about it differently and use temporary tables?..please help
thanks
LA -
How to create a function that returns multiple rows in table
Dear all,
I want to create a funtion that returns multiple rows from the table (ex: gl_balances). I done following:
-- Create type (successfull)
Create or replace type tp_gl_balance as Object
PERIOD_NAME VARCHAR2(15),
CURRENCY_CODE VARCHAR2(15),
PERIOD_TYPE VARCHAR2(15),
PERIOD_YEAR NUMBER(15),
BEGIN_BALANCE_DR NUMBER,
BEGIN_BALANCE_CR NUMBER
-- successfull
create type tp_tbl_gl_balance as table of tp_gl_balance;
but i create a function for return some rows from gl_balances, i can't compile it
create or replace function f_gl_balance(p_period varchar2) return tp_tbl_gl_balance pipelined
as
begin
return
(select gb.period_name, gb.currency_code, gb.period_type, gb.period_year, gb.begin_balance_dr, gb.begin_balance_cr
from gl_balances gb
where gb.period_name = p_period);
end;
I also try
create or replace function f_gl_balance(p_period varchar2) return tp_tbl_gl_balance pipelined
as
begin
select gb.period_name, gb.currency_code, gb.period_type, gb.period_year, gb.begin_balance_dr, gb.begin_balance_cr
from gl_balances gb
where gb.period_name = p_period;
return;
end;
Please help me solve this function.
thanks and best reguardhi,
Use TABLE FUNCTIONS,
[http://www.oracle-base.com/articles/9i/PipelinedTableFunctions9i.php]
Regards,
Danish -
Problem with database schema objects in the entity object wizard
Hi All,
When creating a new entity object, I am facing a problem with database schema objects in the entity object wizard, database schema objects (check boxes for tables,synonyms...) are disabled. Actually I am using a synonym but I am not able to select the synonym check box.
Can any of you folks tell me how to enable the database schema objects (check boxes for tables,synonyms...).
Thanks in Advance.
Raja.MMake sure your using rite version of jdeveloper..
Make sure your using apps schema and check whether your able perform DML operations in the schema vis sql developer.
--Prasanna -
Problem with Table control lines
Hi Friends,
This is the problem with table control lines:
I have screen with table control and I would like change the table control lines dynamicaly.
Exp:
In my PBO the Internal table which I am using to loop the TC is havig 7 records and its displayed with 7 records, now I have added one more record into my ITAB and now ITAB is having 8 records, when I am looping this ITAB with TC its taking the TC lines 7 only.
here is the code:
Initial values in gt_scr400 = 8
Initial values in tc_scr400 = 8
Now added one more recor into gt_scr400 , now gt_scr400 = 9.
LOOP AT gt_scr400
INTO wa_scr400
WITH CONTROL tc_scr400
CURSOR tc_scr400-current_line.
ENDLOOP.
I have used this logic :
DESCRIBE TABLE gt_scr400 LINES g_rec_300 .
tc_scr300-lines = g_rec_300.
but its not modifying the lines in my table control.
How to change the TC lines based on ITAB total records.
Thanks,
Sridharthere is a field in TableViewName-xxx
don't remember the exact field name for (total no of records)
you can check it in debug. when you add records in Internal table, u need to modify this field which is set at the first time when table control is populated. -
Configurations with database control
I want to do configurations with database control but when i give servername like
http://pluto:1178
i am getting error that page cannot be displayed
$ more portlist.ini
iSQL*Plus HTTP port number =5570
Enterprise Manager Console HTTP Port (test) = 1178
Enterprise Manager Agent Port (test) = 3978Thanks its working but its not showing the options like
Home
Performance Administration Maintenance
only startup and recovery options are there
Please let me know how to enable b] Performance Administration Maintenance -
Who else has a problem with parental controls enabled not being able to run Firefox on the Mac? (Any solutions?) (BTW. Chrome doesn't work either)
Although FF4 is so nice I'm almost ready to ditch iGoogle!
Please fix what appears to be an RSS/iGoogle issue with FF4...
Gmail is fine, but titles dont show in most RSS feed gadgets and no stories, strangely, apart from this one:
http://www.google.com.au/ig/directory?hl=en&url=www.google.com/ig/modules/builtin_news_technology.xml
Which if you enter the last part of the url reports that
"<Content type="html">
This is a builtin module, so the UserPrefs and Content are ignored."
Any ideas?
Maybe you are looking for
-
I want to run an open order report with no goods receipt
I'm looking to run an open order report with no confirmations(i.e.the order must have no status like LA,Z4,Z5,Z6)and no goods receipt. ME80FN is still giving me orders that have no confirmations but closed. I tried using a logical database but no luc
-
How do I save My Videos imported to Iphoto?
I'm doing something terribly wrong. I imported photos and videos from my camera to Iphoto. I exported them to store on external drive. When I try to use the old one now, they are just thumbnails, that have no time on them. I need help in basic fi
-
LR2: can't see the images I've edited in Photoshop
I'm working on a Mac Pro desktop. I'm in the LR2 develop module. I right-click on an image to "edit in CS3". No problem, the image opens up in CS3. I work on the image, then save and close the image. Here's the problem: After saving and closing the i
-
How can I delete an album i purchased from itunes from my iPhone 5
All I want to do is delete an album I brought 18months ago thru iTunes . I brought it originally on my iPad 2 Now it's on my iPhone 5 I want it gone ... and there's no delete button on my phone Yet there is on the iPad It's doing my head in Someone p
-
Multiple SSH listening ports on Catalyst switches
Hi community, On Cisco Routers you have the option to configure multiple SSH ports (instead of the default tcp 22) in combination with rotary groups. Then, attach these rotary groups to specific VTY lines.This works just fine. But, it seems on Cisco