APD error in number of records
Hi Friends,
When i execute a query using Bex for a particular variant i get the result with 5 records but when i execute the same query with the same variant using APD, it generates only one record in the file.
Can someone help me in identifying where the problem is?
Thanks,
Raja
Hi,
Why not try to check your data on each step of your APD? Try check this link:
http://help.sap.com/saphelp_nw70/helpdata/en/6d/40a2bb63ac744a80eb288830e01f7c/frameset.htm
Regards,
Raymond
Similar Messages
-
Error while Activating Inventory record in WM
Hi All,
I am getting an error while activating Inventory record using LI02N ,The Inventory record has been created using LICC Cycle Inventory at Quant Level.The error detrails are as below:
Message Text:
Function code cannot be selected
Technical Data
Message type__________ A (Cancel)
Message class_________ BL (Application Log)
Message number________ 001
Message variable 1____ Function code cannot be selected
Message variable 2____
Message variable 3____
Message variable 4____
Message Attributes
Level of detail_______
Problem class_________ 4 (Additional information)
Sort criterion________
Number________________
Thanks you all in Advance.
Regards,
NVKI am encountering a similar error whils tryng to create or display WM Physical Inventory documents.
Tx: LX16 - Error Message no. BL001: u201CWarehouse number WH1 does not exist (check your entry)u201D
Tx: LI01N and LI03N u2013 Error Message no. L4001: u201CWarehouse number WH1 does not exist (check your entry)u201D
Errors when trying to create or display PIs, but can run reports on u201CWH1u201D and configuration looks ok?
I cannot find anthing n SAP OSS for WM.
Any assistance would be appreciated. -
[SOLVED] FRM-40508:ORACLE error: unable to INSERT record
Hi all,
I have migrated this form from 4.5 to 10g (Version 10.1.2.0.2 ). This form inserts a record into the database table when all the fields in the form are filled and a button Save is presed.
At the time when I press the Save button, I get this error. FRM-40508:ORACLE error: unable to INSERT record
So I went on to see the "Display Error" from help and found to be the database error, inserting into a table.
The error message is ORA-00932: inconsistent datatypes: expected DATE got NUMBER
The form where I press Save button has 3 date fields and I checked the properties of them and they are Date only.
I also generated to object list report and tried to find some answer, but no use.
Please help me in debugging this form.
Edited by: Charan on Aug 18, 2011 4:05 PMI think you need to get a description of the table and compare all the "database" columns in the form with the ones in the database table to see that the types match. Somewhere there's a mismatch. Also check the block(s) "query data source columns" and see if there's any
columns in there that the type does not match the table. (check the sizes of things too while you're at it.) -
CLIENT_TEXT_IO - Hanging on "PUT" for large number of records
I have successfully used CLIENT_TEXT_IO but my users have run into an error where the Form hangs and spits out details such:
"oracle.forms.net.HTTPNStream.doFlush"
etc....
This happens when the number of records in the datablock is high (ex: 70,000 recs). So my question is: Is there a limit on how many lines you can write to a file?
I'm just creating a CSV file on the client's machine using CLIENT_TEXT_IO.PUT_LINE. It works fine on say a few thousand recs but after that it hangs.
I'm on Oracle Application Server 10g, Release 9.0.4 on Windows Server 2003, and forms compiled using Oracle Developer Suite 9.0.4.
Thanks,
GioHello,
When playing with huge data, it is better to generate the file on the A.S. then get it back to the client.
<p>Read this article</p>
Francois -
Process huge number of records in XI
Hello
I am having a simple scenario where I am sending details from SAP to legacy system on weekly basis. I am having SAP ABAP proxy as a sender and file as a receiver.
My problem is when the data is huge (around 600,000 records) the its giving RFC timeout error on SAP ECC side. I tried to sending limited number of records per submit to XI but it creates multiple files on receiving FTP server.
Instead of that can I use collect pattern of BPM to collect messages in BPM? Will it not be an overhead using BPM in this case as the data is tooo huge?
If someone has already tackeled this problem pl respond.
Thanks in advance.
Regards
RajeevHi Rajeev,
dont use BPM for solving that, BPM itself has still a lot performance problems.
If possible, split the 600.000 at R/3 side into several proxy requests. If required, use modus "add lines" of the file adapter to collect the messages again. You should think about to send the messages "Exacly Once In Order" to avoid processing more than one message at the same time.
Regards,
Udo -
Number of records being pulled from OLAP/ SQL in BPC 5.1
Hello BPC gurus,
We are experience performance issues with EVDRE.basically the report errors out and the error log states " Decompressing request failed". We are in BPC 5.1
We were trying to understand how many number of records the evdre is pulling from from OLAP / database so that we can look into some fine tuning opportunities of the EVDRE.
In the BI world we have RSRT where in which we can view the number of records from database, number of records transferred. Is there any such feature in BPC, where in which we can information on record counts.
We have turned on the error logs , but none of them give us an idea of the record count.
Appreciate your help in advance.
Thanks
saiHi Sorin,
Thank you very much for getting to me on my clarificaiton on the record count. As per your suggestion, we have already looked into this OSS note, and changed the entries in the table. After making these changes, the queries that normally execute in 1 min, now take 30 minutes to complete. Believe this was the observation also in some of the threads related to this issue.
You had mentioned that there might be an issue with the communication between application server and BPC Client. or SQE generating MDX query. Can you please give us some pointers on how to investigate this. Have turned on error logs evdataserver_debug.txt & EVDATASERVER_TRACE.txt on the file server, but i believe there is an OSS note 1311019, that talks about these logs not workign with SP9.
If you can guide us in the folllowing that would be helpful
1 how to bebug this issue that we are currently facing.
2. How does the concept of compressing / decompressing work in BPC.
Thanks
sai -
Error 'Maximum number of sessions reached' while posting an idoc
Hi,
i got one requirement that when ever user enters so many materials with different quantities and version id's and when he executes,it has to post the idocs using FM .but if the number of records increases,iam getting error that 'maximum number of internal sessions exceeded' how can i avoid this for successfful posting.To avoid this i called the FM in background .If i call the FM in background it is not at all posting even one idoc also.Can anybody please help on this .
Thanks & Regards
RoopaHi,
i got one requirement that when ever user enters so many materials with different quantities and version id's and when he executes,it has to post the idocs using FM .but if the number of records increases,iam getting error that 'maximum number of internal sessions exceeded' how can i avoid this for successfful posting.To avoid this i called the FM in background .If i call the FM in background it is not at all posting even one idoc also.Can anybody please help on this .
Thanks & Regards
Roopa -
How to restrict the number of Records into the Table?
Is there any way that I can restrict the number of records can be entered into the table?
For example I have created a table TAB1 with size category 0( zero).
User dont want to enter more than 100 values, How to restrict the number entries? Whether Basis can do it?
Regards,
PrathapHi Prathap,
You can write a code in table maintenance events to restrict the number of Records added into the Table to constant.
Solution:
Se11 -> enter table name (TAB1) -> F6 -> Utlities -> Table maint. generator -> Envirnment -> modification -> events -> write here the form routine name.
Double click on routine name. You will get into include section of the code. Write here code like:
IF current_rec_num > 100.
messgae error 'Entry restriceted to 100'
ENDIF.
Somewhat this way you can achieve your target.
Regards,
Sachin -
Number of records in each partition
Hi,
Can any one please tell me, how to display number of record in each partion in any table.
I wanted to use following in PL/SQL but it gives me error.
Declare
Cursor c1 is
select partition_name into part_name from all_tab_partition where table_name = 'table_name';
BEGIN
for rec in c1
Loop
select count(*) into temp_var from table_name partition(rec.part_name)
END LOOP;
END;
I guess I need dynamic SQL ..
Any thoughts on this ??
Thanks,
AvIt is always better to analyze the tables and get these details from num_rows as mentioned before but just in case you want the latest information from the table dynamically then use the following
Declare
Cursor c1 is
select table_name,partition_name from all_tab_partitions where table_name = 'SALESDETAILS';
v_sql varchar2(2000);
temp_var number:=0;
BEGIN
for rec in c1
Loop
execute immediate 'select count(*) from '||rec.table_name||' partition('||rec.partition_name||')' into temp_var;
dbms_output.put_line('The Partition '||rec.partition_name||' of table '||rec.table_name||' has '||temp_var||' rows');
END LOOP;
END; -
Count Number of Records in Oracle Database Table
Please help me to see if I "set" and "return" the number of records in my database table correctly (I am using the Oracle 9i):
public int getNumberOfRecipientBeans() throws AssertionException, DatabaseException
Connection conn = null;
PreparedStatement stmt = null;
String query = "SELECT count(*) FROM ContactEntry WHERE ContactTypeID = 6";
ResultSet rs = null;
try
conn = DBConnection.getDBConnection();
stmt = conn.prepareStatement( query );
rs = stmt.executeQuery();
// do I have to set anything here?
if ( !rs.next() )
throw new AssertionException("Assertion in servuce.getNumberOfRecipients");
// Am I returning the counts here?
return rs.getInt( 1 );
catch( SQLException sqle )
sqle.printStackTrace();
throw new DatabaseException( "Error executing SQL in service.getNumberOfRecipients." );
finally
if ( conn != null )
try
stmt.close();
stmt = null;
conn.close();
catch( Exception Ex )
System.out.println( "Problem occurs while closing " + Ex );
conn = null;public class MyE extends Exception {
public MyE() {
super(); // this line is not necessary. An empty method would suffice
public MyE(String msg) {
super(msg);
// Check the API for Exception or Throwable--I may have the args backward
public MyE(String msg, Throwable cause) {
super(msg, cause);
public MyE(Throwable cause) {
super(cause);
// Replace the log_warn() calls with appropriate logging calls for your context
public class Closer {
public static final void close(ResultSet closeMe) {
if (closeMe != null) {
try {
closeMe.close();
catch (Throwable th) { log_.warn("Closing " + closeMe + ": ", th); }
public static final void close(Statement closeMe) {
if (closeMe != null) {
try {
closeMe.close();
catch (Throwable th) { log_.warn("Closing " + closeMe + ": ", th); }
public static final void close(Connection closeMe) {
if (closeMe != null) {
try {
closeMe.close();
catch (Throwable th) { log_.warn("Closing " + closeMe + ": ", th); }
public static final void close(ResultSet rs, Statement stmt, Connection con) {
close(rs);
close(stmt);
close(con);
} -
Oracle Procedure returning more number of records
Hi,
I have created an Oracle Procedure which is supposed to fetch a record as per the input parameter passed.
The core query in the procedure is as below -
SELECT DISTINCT col1 FROM my_tab WHERE col2 = 'Input parameter'
Few of the input parms (col2) has more number of records (col1) and so the procedure gives an error like -
'ORA-01422: exact fetch returns more than requested number of rows'
Could you please let me know how can I modify the procedure so that it would return more number of records as the case may be?
Thank you!It still gives me the same error when it encounters more than one output.Yes, I'm sure it does.
But we can't tell you how to fix it because we don't know what you want.
What's the purpose of the procedure?
Is it to "spell check" the name of an intermediary? If so, you'll need to figure out what to do when you have more then one person with the same name.
You can add AND ROWNUM = 1. Or perhaps you can trap the too_many_rows exception.
Your procedure doesn't return anything (no out variables). Is that correct?
Or is the purpose of the procedure to return the ID of the matching name? -
Is a subquery in a BO report limited to a max number of records???
Here's my problem:
I recieved an excel sheet with 700 records of customers from a client who wants me to to create a report with specific data for these customers in my Business Objects universe (BO6.5 on SQL Server).
So I created a dataprovider with query 1, i.e. the requested data of customers. Then I created a second dataprovider, query 2, based on 'personal files', i.e. the excel sheet. In query 1 I added to the conditions that each customer should be in (sub)query 2 (CustomerId In list of the query result ('query2.CustomerId').
the syntax I have used for this seems OK.
However, I recieve the following error: "Too many selected values (LOV0001)". I know this error has to do with parameter MAX_INLIST_VALUES, which is limited by default to 99 and can be extended to 256 max. But I thought it refers to the max number of items in lists of values.
When I limit the number of records in the excel sheet to 99 the result is perfect (proof that I got the syntax right!). I can upgrade the parameter to 256, and can split the excel sheet into three, but that will not be useful when next time my client sends me 10.000 customer records.
Can I make reports in BO which use subqueries that result in more than 256 records at all? (hardly imaginable).
What is the best way to do this?
Thanks in advance!Hi Lucas,
Following is the information regarding the issue you are getting and might help you to resolve the issue.
ADAPT00519195- Too many selected values (LOV0001) - Select Query Result operand
For XIR2 Fixed Details-Rejected as this is by design
I have found that this is a limitation by design and when the values exceed 18000 we get this error in BO.
There is no fix for this issue, as itu2019s by design. The product always behaved in this manner.
Also an ER (ADAPT00754295) for this issue has already been raised.
Unfortunately, we cannot confirm if and when this Enhancement Request will be taken on by the developers.
A dedicated team reviews all ERs on a regular basis for technical and commercial feasibility and whether or not the functionality is consistent with our product direction. Unfortunately we cannot presently advise on a timeframe for the inclusion of any ER to our product suite.
The product group will then review the request and determine whether or not the functionality/feature will be included in a future release.
Currently I can only suggest that you check the release notes in the ReadMe documents of future service packs, as it will be listed there once the ER has been included
The only workaround which I can suggest for now is:
Workaround 1:
Test the issue by keep the value of MAX_Inlist_values parameter to 256 on designer level.
Workaround 2:
The best solution is to combine 'n' queries via a UNION. You should first highlight the first 99 or so entries from the LOV list box and then combine this query with a second one that selects the remaining LOV choices.
Using UNION between queries; which is the only possible workaround
Please do let me know if you have any queries related to the same.
Regards,
Sarbhjeet Kaur -
Hi Peers,
I am using call transaction method. After executing the program and data is uploaded, i want to display i) number of records processed ii) no., of error records iii) no., of success records on the same screen. So where do i capture this no., of records field. Any help is appreciated. Thank you.Hi CSR
data: lv_error type i,
lv_count type i,
lv_succ type i.
loop at itab.
code....
"increment error variable when ever you have a error...
lv_error = lv_error + 1.
endloop.
describe TABLE itab LINES lv_count.
lv_succ = lv_count - lv_error.
write:/ 'total number of records:' , lv_count.
write:/' Number of errors :',lv_error.
write:. ' procdes records: ' , lv_succ.
Award points if helpful -
Alerts not retrieving the correct number of records
Hi,
I have created alerts to run plans. These plans are getting records from DB and populating the ADC. The alerts are getting executed but are not retrieving the correct number of records.
I have created 5 alerts to run 5 plans all in the same time. The error at the "Data Flow service status" window is :
CACHED RESULT
REQUEST ID: {4EB6B955-96B3-4AF2-B836-6C9F417D47A6}
EXECPLAN ID: {11372B4D-9ACE-4CFB-831F-11028FF996D5}
EXECPLAN NAME: xxxx
FIX COUNT: 0
START TIME: 6/8/2006 12:00:01 PM
EXECUTION TIME: 0:00:00
Sink Records Blocks Disk Blocks Fix Count Hit Count Execution Status
0: 0 0 0 0 0
Complete - ERROR Error while processing the data for the step 'SQL Query'
This error is seen for 2-3 plans .......
But if i execute the plan manually from design studio there is no error.
So
1. Do i need to change anything in the config files to increase the MAx memory block?
2. Is there any way, the plans can be run one at a time i.e. configure alerts in such a way that if one plan finishes the other one starts automatically? Currently i have scheduled the plans to run at the same time using Alerts..
Please help...
ThanksHere is one 'culprit' you can verify. Open DesignStudio. You should "--not--" see any grids or icons on (near) the botton status row. If you see them - right click and delete them. These are plans with same_names put in 'locked' state. After you do this. close your design studio.
Note- if you ever open a plan in designstudio, always "save" it and close it (exit). Donot click on window [x] mark to close the appl.
After above verifrication -- restart EnterpriseLink and restart PlanMonitor, verify if everything runs fine.
--sanjeev -
MYSQL Error When Deleting multiple records
Folks,
I am finally converting my website from MS-Access to MySQL and until Monday I was having pretty good luck. However, I have come across a issue I cannot find any solution to and am wondering if one of you can assist.
When I try to delete a number of records using tgeh same commands that worked in Access, I get this error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
ODBC driver does not support the requested properties.
/New_Site/Trade/Trade_Signup_Edit_Update.asp, line 34
This is the code:
Set adoCon2 = Server.CreateObject("ADODB.Connection") adoCon2.Open "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=MySQLB1.webcontrolcenter.com;" &_ "DATABASE=pinotdays; UID=pinotdays; PASSWORD=********; OPTION=3" Set rsTrade_List = Server.CreateObject("ADODB.Recordset") strSQL = "SELECT * FROM Trade_List WHERE Entity_Number = " & request.form("ID") rsTrade_List.CursorType = 2 rsTrade_List.LockType = 3 rsTrade_List.Open strSQL, adoCon2 Set rsTrade_Delete = Server.CreateObject("ADODB.Recordset") StrSql = "DELETE * FROM Trade_List Where Parent_Entity_Number=" & request.form("ID") & " AND Entity_Number <> " & request.form("ID") rsTrade_Delete.CursorType = 2 rsTrade_Delete.LockType = 3 rsTrade_Delete.Open strSQL, adoCon2
The error occurs on the final line listed. Being new to MySQL, I thought I would change teh driver to 5.1 but that brought me nowhere. I used "SELECT" in the string and tried to do rsTrade_Delete.Delete and that did not work. I tried to delete a single record by selecting a ID=1 and that did not work.
So, is there a trick to deleting records in MySQL?
Thanks for your help....
Regards,
SteveStrSql = "DELETE * FROM Trade_List Where Parent_Entity_Number=" &
request.form("ID") & " AND Entity_Number <> " &
request.form("ID")
The DELETE statement for MySQL deletes entire rows. No need to specify fields (or all fields with the asterisk). In fact, that should probably result in a syntax error.
StrSql = "DELETE FROM Trade_List Where Parent_Entity_Number=" & request.form("ID") & " AND Entity_Number <> " & request.form("ID")
Mark A. Boyd
Keep-On-Learnin' :-)
Maybe you are looking for
-
EBS - Auto posting not working if text behind the document number
Hi, When the document number is at the end of the payment reference, there is no problem. However, when there is text behind the document number, the posting rule doesn't work anymore. The autoposting also fails when there is a seperator (lik
-
How do i add bullet points to a pdf
How do i add bullet points to a pdf?
-
I want to send my output of report as an email attachment
i am having internal table contains values. i want that output should be send as an email attachment to email id given in selection screen. help me how to pass that internal table to the parameters of SO_DOCUMENT_SEND_API1 function module should i ca
-
Concept of sparse and densely populated cubes
Hi BW Experts, Does SAP have a concept of sparse and densely populated cubes? Basically, are there any performance differences in a cube with little transactional data loaded and a cube with a lot of transactional data loaded? Thanks, Rohan
-
I rest iphone 1g but im not able to use it anymore
i rest my 1stg iphone to regift it but im unable to do anything with it can any onw help me i also lost the sim card i thought i wouldnt ever need it again pls help