SAP_CONVERT_TO_CSV_FORMAT for more than 2 lakh records
Hi All,
I am trying to uploadingfile to application server in .csv format.
Using this FM SAP_CONVERT_TO_CSV_FORMAT,converting the itab values to .csv format.Then using open data set i am uploading the file to application server.
This logic works fine ,if number of records in internal table is very less.
if size is more i am getting a dump error 'No more storage space available for extending an internal table'.
Please suggest how to increase the size of this internal table.Please share the code .
type-pools:truxs
data:t_conv_data type truxs_t_text_data.
Regards,
Niranjan
Moderator message: very common problem, please search for available information.
Edited by: Thomas Zloch on Feb 24, 2011 1:04 PM
Thanks for all your replies.
Keshu,
The drawback of using 'ALSM_EXCEL_TO_INTERNAL_TABLE' in more than one stroke is the amount of looping tht needs to be done in order to get data into the my internal table. And my prog is not going to be run in background, so timeout problem is there.
Sekhar,
I cannot loop on TEXT_CONVERT_XLS_TO_SAP as this excel is a single file and there is no end row logic in that.
Karthik,
I think the new excel file .xlsx format is having the flexibility to put more than 65536 rows.
Similar Messages
-
Master_detail for more than one record at a time
Hi,
How can i display master_detail records for more than one records at a time, for example, i have two tables A and B , A has username and role and B has username and profile. here i wanted to display 10 users at a time on my 6i form with username, role and profile.
i have created a master-detail relation ship with these tables when i'm executing F8 on blcok A , it displays 10 records on BlockA but, only one at a time on block B, how can i display all corresponding records on block B at a time.
Thanks for your help.BcjThanks Roberts, that was realy informative due to some doubts i would like to confirm my requirements , i have two blocks A and B and each master record has only one detail record. but i wanted to display at least 10 master_detail relationships(records) on the form at a time, i would like to know is it possible to do without creating any table or view for example,
data in table A,
username role
AAA R1
BBB R2
CCC R3
data in table B,
username profile
AAA P1
BBB P2
CCC P3
i wanted to display it on form like below,
username role profile
AAA R1 P1
BBB R2 P2
CCC R3 P3
Also would like to know that how can i select data from dba_users, any restriction is there on forms 6i, i can select it on sqlplus.
Thanks Again, Bcj -
Reports not getting generated for more than 100 records
Hi,
On 8.1.1.1 with BI Publisher 10.1.3.4.1, some of the Reports are not running when it has more than 100 records and throwing error.
Below are the some of the specific errors captured in XMLP log
EAITransport EAITransportDebug 4 00000df64e7130a4:0 2011-09-15 18:25:54 *** HTTP response Headers from Data Send request:
HTTP/1.1 500 Internal Server Error
Date: Thu, 15 Sep 2011 12:55:17 GMT
Server: Oracle Containers for J2EE
Connection: close
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
ObjMgrLog Error 1 00000df64e7130a4:0 2011-09-15 18:25:54 (soapbinding.cpp (564)) SBL-EAI-04304: Unknown part ':oracle.apps.xdo.webservice.exception.OperationFailedException' for operation 'uploadReportDataChunk' exists in SOAP message.
ObjMgrBusServiceLog Error 1 00000df64e7130a4:0 2011-09-15 18:25:54 (outdisp.cpp (209)) SBL-EAI-04308: Operation 'uploadReportDataChunk' of Web service 'http://xmlns.oracle.com/oxp/service/PublicReportService.PublicReportServiceService' at port 'PublicReportService' failed with the following explanation: "oracle.apps.xdo.webservice.exception.OperationFailedException: java.io.FileNotFoundException
Please let me know what would be the reason for this issue?
Thanks in advance for your help.
ThanksAre you using 'PublicReportService'? Check the integration for Siebel Reports 8.1.1.1 and BI Publisher 10.1.3.4.1 the port 'PublicReportService_v11' is specified. Did you import this WSDL as directed?
i.e., export from BI Publisher http://<host>:<port>/xmlpserver/services/PublicReportService_v11?wsdl
Not certain this is the cause but I have not got the same issue.
Edited by: user1634268 on 27-Sep-2011 10:38 - did not read the original error correctly first time -
LSMW not creating session for more than 1000 records
Hi all
I am doing LSMW for equipment creation (IE01) using recording
all are correct if i upload I have 2400 records to be uploaded,in the last step
it showing "BDC_Insert,Transcation is invalid"
If i upload for less then 1000 records like 950, its succefully creating
sessions.
PLease its very urgent, let me know
Thanks in advanceHi Chandra,
In filed mapping step END_OF_RECORD change the value of field g_cnt_transactions_group to value more than 5000. I think this value is less than 1000 for your case.
at_first_transfer_record.
if g_cnt_transactions_group = 5000.
g_cnt_transactions_group = 0.
transfer_record.
endif.
If you are not able to see the END_OF_RECORD in field mapping do the following steps:
Extras menu-> Layout check all check boxes it will appear.
Regards,
Rajesh Sanapala. -
Multiple columns for more than one record?
Crystal Reports Xi
I have a list of addresses, etc. with attached route numbers. If an address has 2 different route numbers, it will appear as two records. Is there a way that I can list the address once, and have the route numbers just grow to more columns?
Example - Change this...
ADDRESS ROUTE
100 Main St. 1234
100 Main St. 1235
To This...
100 Main St. 1234 1235
Note: An address may have one route number attached, or several route numbers attached.
I tried playing around with the multiple columns, etc, but it kept on having everything in the section become multiple columns, etc. Any help is appreciated.multiple columns only work in detail section.
place your address without the route in the 1st details
then insert a 2nd details and place the route in the details then select multiple columns for that details section.
then underlay the first detail section and it should line up. -
Monitor any record to stay in queue for more than 5 minutes under AQ ADMIN schema
Hi All,
We need to prepare script which monitor/notify us the record which stays in queue for more than 5 minutes under AQADMIN queue tables. Can someone throw light on this?
Regards,
MDHi Asif,
We need script to monitor if we have "waiting" status in msg_state column of the below table is waiting for more than 5 minutes.
SQL> desc AQ$TBL;
Name Null? Type
QUEUE VARCHAR2(30)
MSG_ID NOT NULL RAW(16)
CORR_ID VARCHAR2(128)
MSG_PRIORITY NUMBER
MSG_STATE VARCHAR2(16)
DELAY DATE
DELAY_TIMESTAMP TIMESTAMP(6)
EXPIRATION NUMBER
ENQ_TIME DATE
ENQ_TIMESTAMP TIMESTAMP(6)
ENQ_USER_ID VARCHAR2(30)
ENQ_TXN_ID VARCHAR2(30)
DEQ_TIME DATE
DEQ_TIMESTAMP TIMESTAMP(9)
DEQ_USER_ID VARCHAR2(30)
DEQ_TXN_ID VARCHAR2(30)
RETRY_COUNT NUMBER
EXCEPTION_QUEUE_OWNER VARCHAR2(30)
EXCEPTION_QUEUE VARCHAR2(30)
USER_DATA TEST1
PROPAGATED_MSGID RAW(16)
SENDER_NAME VARCHAR2(30)
SENDER_ADDRESS VARCHAR2(1024)
SENDER_PROTOCOL NUMBER
ORIGINAL_MSGID RAW(16)
ORIGINAL_QUEUE_NAME VARCHAR2(30)
ORIGINAL_QUEUE_OWNER VARCHAR2(30)
EXPIRATION_REASON VARCHAR2(31)
CONSUMER_NAME VARCHAR2(30)
ADDRESS VARCHAR2(1024)
PROTOCOL NUMBER
Regards,
MD -
How to show more than one record at a form-like style report?
Hi All,
I developed a form-like style report
I want it to show more than one record at once (At the same page)
I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
but when I close the property palete and open it agian the value is returned to 1 !!!
how to show more than one record at the same page?????
Thank uHi,
there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
Regards
Rainer -
How can I display more than one record with result set meta data?
Hi,
My code:
ArrayList<String> resultList = new ArrayList<String>();
rs=ps.executeQuery();
ResultSetMetaData rsmd = rs.getMetaData();
while(rs.next()){
for(int k=1;k<=rsmd.getColumnCount();k++){
resultList.add(rs.getString(k));
ps.close();
}catch(Exception e){
e.printStackTrace();
return resultList;
public String test(ArrayList result)throws Exception{
String data=
"<tr>"+
"<td class=normalFont>"+result.get(0)+"</td>"+
"<td class=normalFont>"+result.get(1)+"</td>"+
"</tr>";
return data;
} All the things are wroking but the problem is that ArrayList is displaying just one record whereas I have more than 20 records to display. I tried with loop like: i<result.size(); and result.get(i) then its throwing exception
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 I stuck here for the last more than 2 days. Please help me
Best regardsRaakh wrote:
Still waiting .....I would have answered much earlier, but when I saw this little bit of impatience, I decided to delay answering for a while.
ArrayList<String> list = new ArrayList<String>();
list.add("abc");
list.add("def");
list.add("ghi");
System.out.println(list.get(0));
abc
System.out.println(list.get(1));
def
System.out.printnln(list);
[abc, def, ghi]That list has 3 items. Each one is a String.
But here is what you appear to be doing:
select * from person
+-----+-------------+-------------+--------+
| id | first name | last name | height |
+-----+-------------+-------------+--------+
| 1 | Joe | Smith | 180 |
+-----+-------------+-------------+--------+
| 2 | Mary | Jones | 144 |
+-----+-------------+-------------+--------+
for each row in ResultSet {
for each column in ResultSet {
list.add(that element);
// which becomes
list.add(1);
list.add("Joe");
list.add("Smith");
list.add(180);
list.add(2);
list.add("Mary");
list.add("Jones");
list.add(144);
System.out.println(list.get(0));
1
System.out.println(list.get(1));
Joe
System.out.printlN(list);
[1, Joe, Smith, 180, 2, Mary, Jones, 144]That list has 8 items. Some of them are Strings and some of them are Integers. I would assume that, for this sample case, you would want a list with 2 items, both of which are Person objects. However, it really isn't clear from your posts what you are trying to do or what difficulty you're having, so I'm just guessing. -
Help me to search on calendar for more than one year
I desparately need to be able to search on calendar for more than one year., which was taken away on the new operating system. I have kept personal memories of my husband on there in the notes sections on days when we did things. ( I have also kept all kinds of personal notes, like doctor records or conversations, in the notes of events/dates.) it is a huge loss for me not to be able to search my calendar for more than one year. Is there any way I can do this?
Jens,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
How to save more than 2 records at a time in tabular form?
I have a table name SAMPLE_TABLE, which has SNO,NAME items and one sequence name is SEQ_SAMPLE.
i have one form based on SAMPLE_TABLE. my form is in tabular format, which has 5 records.
in the layout wizard only NAME is displayed. SNO doesnot displayed.
in the layout wizard, there is one push button named as SAVE.
the code of SAVE button(When_Button_Pressed) is
insert into sample_table values(seq_sample.nextval,:sample_table.name);
clear_record;
commit;
my problem is :
when ever i want to save one record at a time there is no problem.
if i want to save more than 2 records at a time then sequence number is alloted for last record. other records have no sequence numbers.
for example i want to insert 2 names as XYZ,PQR then
the table look like this:
sno name
1 PQR
XYZ
if SNO is primary key then it doesnot work because of null value.
can any one solve my problem?
Thanks
MeegadaIs the block a database block or a control block,
1. if database block, assign the primary key on a
trigger like new record instance for each record
enteredour's is a control block, ididnt get your point clearly
could you make it clear how to assign a primary key on a trigger
our criteria is we are having two block as lov_values and lov_name
lov_values:
lov_values_id (sequence generated)
lov_id will be same for the all the values for a particular lov_name
lov_values will be which we enter in the form which will be the only visuble colums on the form
lov_name block:
lov_name
lov_id(sequence generated)
could you help me with the code
thanks
prasad -
How to concat columns from more than one record?
I have a function that takes an Oracle long and returns it as a varchar so that I can use it in the Microsoft world. My problem is that the SELECT returns more than one row (which is valid) and I need the Long fields to be concatenated into the one varchar returned. Currently I get an error saying more than one record is returned. This is my function:
CREATE or replace function m4owner.Get_Request_Text
(av_REQUEST_ID varchar2, av_REQUEST_LINE number, av_TEXT_LINE_CODE varchar2)
RETURN varchar2
IS
long_var LONG;
BEGIN
SELECT TEXT INTO long_var
FROM M4OWNER.REQUEST_TEXT
WHERE REQUEST_ID = av_REQUEST_ID
AND REQUEST_LINE = av_REQUEST_LINE
AND TEXT_LINE_CODE = av_TEXT_LINE_CODE;
return long_var;
END;CREATE or replace function m4owner.Get_Request_Text (av_REQUEST_ID varchar2,
av_REQUEST_LINE number,
av_TEXT_LINE_CODE varchar2) RETURN varchar2 IS
long_var LONG;
BEGIN
for t1 in (SELECT TEXT FROM M4OWNER.REQUEST_TEXT
WHERE REQUEST_ID = av_REQUEST_ID
AND REQUEST_LINE = av_REQUEST_LINE
AND TEXT_LINE_CODE = av_TEXT_LINE_CODE) loop
long_var := long_var || t1.text;
end loop
return long_var;
END; note: untested -
RFC to XI File - can NEVER EVER get more than one record in Output file.
Hi guys
This might be related to my other post on File conversion but whatever I do I just can't seem to get more than one record in the output file
the payload from R3==> XI seems fine
for example
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
<CUSTOMERID>1000001</CUSTOMERID>
<COMPANY>One-time ship-to</COMPANY>
<SHORT_NAME>ONE-TIME</SHORT_NAME>
<STREET />
<STREET2 />
<STREET3 />
<STREET4 />
...... more data
</item>
then next customer master data and so on
- <item>
<CUSTOMERID>1000005</CUSTOMERID>
<COMPANY>ddfask</COMPANY>
<SHORT_NAME>;LK;L</SHORT_NAME>
<STREET />
<STREET2 />
<STREET3 />
<STREET4/>
etc etc until
<HKUNNR>60000</HKUNNR>
<SALES_REGION />
</item>
</IP_CUSTOMER_HEADER>
</rfc:Z_XI_005_RFC>
All I get on the Output target file
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_customer_header xmlns:ns1="http://avenue.com/xi/test">
<CustomerId>1000001</CustomerId>
<company>One-time ship-to</company>
<shortname>ONE-TIME</shortname>
.... more data
</ns1:MT_customer_header>
the <item> and subsequent records all seem to have vanished.
I must be doing something PARTICULARLY stupid as nobody else ever seems to have this problem -- I've tried almost every possible combination but still to no avail
The function module is passing a table to XI in the correct structure and the payload seems to be fine so what on earth is broken here !!!,.
Cheers
JimboThanks everybody -- it's working now
RFC call was passing data correctly
function z_xi_005_rfc.
""Local interface:
*" TABLES
*" IP_CUSTOMER_HEADER STRUCTURE ZAP_CUSTOMER_INFO_2
endfunction.
in debug mode table data was fine -- in this instance 3 records were being passed.
3 errors in mapping etc fixed (with help from SDN - thanks)
1) missing the ITEM level in the Data type (hence mapping)
2) needed 0:unbounded in the occurrence
3) also mapping Item====>Item was missing (sub fields were ok)
Points awarded
final file output ok output now ok (with 3 fields only for testing)
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_customer_header xmlns:ns1="http://avenue.com/xi/test">
- <item>
<Customerid>1000001</Customerid>
<company>One-time ship-to</company>
<shortname>ONE-TIME</shortname>
</item>
- <item>
<Customerid>1000005</Customerid>
<company>ddfask</company>
<shortname>;LK;L</shortname>
</item>
- <item>
<Customerid>1000010</Customerid>
<company>One Time Customer Test</company>
<shortname>SADFIWQEFG</shortname>
</item>
</ns1:MT_customer_header>
Now only the final problem to make file content conversion work.
Once again thanks --sometimes what seem trivial or simple problems take AGES to fix until someone else gives you a clue --that's why boards like SDN are great value.
Cheers
Jimbo -
Not able to display more than 65k records in Bex report.
Hi Experts,
I have requirement for the Bex report to display more than 65k records..
Please help me on this.. i am feed up of get proper update for this..
Its urgent.. pls help on thisHi,
The Excel 2007 have a limit of 1,048,576 rows, unfortunately SAP cannot export more than 65.536 rows that is an exiting limitation exporting to Excel files.
The note 700206 explains the MAX Size Limit for XXL Export, and it's
not possible to increase this limit. XXL Export is generic export
utility to export the list object from SAP to Excel and it cannot
work differently for different Excel releases.
I would emphasizes the purpose of BEx Analyzer: it is not a tool for the
mass extraction of data, but it is a viewer/navigator tool for data.
For huge exports like the one mentioned SAP offers Open Hub as a 3rd
party tool. You can have more details in the url below:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.
docs/library/icc/BW-OHS%20Open%20Hub%20Service%2c%20Third-party%20
Integration.pdf
Thanks,
Venkat -
More than 1 records in one cell
Hi all,
I once came across someone's apex site whereby they've a form and one column contains more than one record.
for e.g.
customer1 ordered prducts abc, xyz, def, etc
customer2 ordered one product xyz
The form:
Name |Address |Product
| |def
| |---------------------
Cust1 |34289 |xyz
| |---------------------
| |abc
cust2 |43418 |xyz
-------------------------------------instead of
Name |Address |Product
Cust1 |34289 |xyz
Cust1 |34289 |def
Cust1 |34289 |abc
cust2 |43418 |xyz
-------------------------------------If anyone have come across this, pls guide me.
Kind regards
Mel
Edited by: daygocks on Jun 4, 2009 5:26 PMok, now its clear what exactly you need. In apex term it is called as Break Formatting for columns. Create a normal report
SELECT Name,Address ,product
FROM TABLE_TNow go to the Report attribute and make sure that the NAME and ADDRESS columns are the first and second column in the report. You can change the order of the column by using the up down arrow key on the right. Scroll down to the section "Break Formatting" and select "First and Second Columns" under the Breaks. In the "Identify how you would like your breaks to be displayed" select Default break Formating.
e.g. http://apex.oracle.com/pls/otn/f?p=50942:22
Thats all, you should be all set.
Thanks,
Manish -
More than 1 record by line in reports
Hello everybody.
Can anybody tell me How I can display more than 1 record in same line of a report?
Thanks in advanced.
Regards everybody.Selzeus,
Is this what you are searching for:
http://daust.blogspot.com/2007/03/apex-nested-reports.html
Denes Kubicek
Maybe you are looking for
-
Re: Samsung Galaxy S6 pre-order and demo unit?
Do you know when the 128gb units will be available for pre-order?
-
Which topics are required for CRM consultants from BW consultants
hi experts, In which scenario BW consultants will hepfull to the CRM consultants, It means what type information they will require from BW consultants. In BW which topics are usefull for CRM consultants. thanks & regards venkat
-
EDGE is available but not working, requiring reboot
I have a 1st gen iPhone with firmware 2.0. A problem I have noticed with the new firmware is that sometimes I'll lose internet connectivity -- apps like Weather will simply time out -- and to restore it, I'll have to shut down the iPhone and reboot.
-
Photoshop says my photo is 55.8M but on the desktop it's only 12.3 megabytes. I don't understand the discrepancy.
-
Hi every one, GarageBand does not open any file. From starting screen if a double clic on any of my previous song i get an error message impossible to open you file .. Even if i can create it a few minutes before .. as soon as i record it .. i am una