SQL Interface - Error in Loading the data from SQL data source
Hello,
We have been using SQl data source for loading the dimensions and the data for so many years. Even using Essbase 11.1.1.0, it's been quite a while (more than one year). For the past few days,we are getting the below error when trying to load the data.
[Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Info(1021013)
ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]CURSOR IDENTIFIED IN FETCH OR CLOSE STATEMENT
IS NOT OPEN (DIAG INFO: ).]
[Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Info(1021014)
ODBC Layer Error: Native Error code [4294966795]
[Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Error(1021001)
Failed to Establish Connection With SQL Database Server. See log for more information
[Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Error(1003050)
Data Load Transaction Aborted With Error [7]
[Mon Jan 10 11:02:56 2011]Local/{App Name}///Info(1013214)
Clear Active on User [Olapadm] Instance [1]
Interestingly, after the job fails thru our batch scheduler environment, when I run the same script that's being used in the batch scheduler, the job completes successfully.
Also, this is first time, I saw this kind of error message.
Appreciate any help or any suggestions to find a resolution. Thanks,
Hii Priya,
The reasons may be the file is open, the format/flatfile structure is not correct, the mapping/transfer structure may not be correct, presence of invalid characters/data inconsistency in the file, etc.
Check if the flatfile in .CSV format.
You have to save it in .CSV format for the flatfile loading to work.
Also check the connection issues between source system and BW or sometimes may be due to inactive update rules.
Refer
error 1
Find out the actual reason and let us know.
Hope this helps.
Regards,
Raghu.
Similar Messages
-
Error while loading the Hierarchy from R/3 to BI.
Dear all ,
I am trying to load a hierarchy FROM R/3 to BI . When I am executing the Info package its showing an below Error.
Hierarchy object is u201CWBS elementu201D
The level of the node ID 01494179 does not suit the lev. of the higher lev. node
The level of the node ID 01494178 does not suit the lev. of the higher lev. node
The level of the node ID 01493822 does not suit the lev. of the higher lev. node
Could you please let me know what would be the reasonu2026u2026?
Regards,
RaghuHi
looks like there is some inconsistency in hierchy data you are tring to laod.
Check hierarchy in r3 if its ok, if yes try deleting complete hierarchy and reloading it.
You may also chose to adjust it manually
Regards
Sudeep -
Error when loading the Reports from the IC Manager
Dear CRM Gurus,
i am getting the below error message when trying to access the Reports from the IC_MANAGER role
'Error loading template 0TPLI_CSRV_T01_Q0001_V01'
and
Technical Information for Message:
(Error loading template 0TPLI_CSRV_T01_Q0001_V01
Notification Number BRAIN 276 )
i am completely stuck here
can anyone help
Thanks and Regards,
RajThe reports are coming from BI, so do you have a BI enviromment with the extractors from CRM pulling the data ........
-
Error happened during the migration from sql server 2000 to oracle 8.1.7
/*[SPCONV-ERR(18)]:CREATE TABLE TT_CHANP1 statement passed to ddl file*/
DELETE FROM TT_CHANP1;
error as above.
note:
chanp1 is a temporary table under sql 2000
syntax:
create table #chanp1 (chanpid varchar(50))
we try the codes:
CREATE TEMP TABLE chanp1
Error: PLS-00103: "CREATE"
begin declare end exception
exit for goto if loop mod null pragma raise return select update while
<an identifier><a double-quoted delimited-identifier>
<a bind variable><<close current delete fetch lock insert open
roll back save point set sql execute commit for all
<a single-quoted SQL string>
Line: 63
we try " CREATE GLOBAL TEMPORARY TABLE chanp1" again.
but error .it seems like you are trying to perform a DDL from within the PL/SQL code, which is not allowed directly.
You could use EXECUTE IMMEDIATE within your pl/sql code to perform a DDL statement. -
Nu such object error when load the user from application
Hi..everybody
I'm new comer at Sun ONEDirectory Server
I've a problem when try to get the user from my application
I use ..getAttribute("cn=username");
always appear No Such Object, whereas I've created that user
ThanksHi,
The best way would be to first run an ldapsearch command on the directory server to check whether the user is present and then try to check it with your application.
You can use something like:
#ldapsearch -D "cn=Directory Manager" -w <password> -b "cn=username,o=users, dc=example,dc=com" "objectclass=*"
Cheers, -
Getting Duplicate data Records error while loading the Master data.
Hi All,
We are getting Duplicate data Records error while loading the Profit centre Master data. Master data contains time dependent attributes.
the load is direct update. So i made it red and tried to reloaded from PSA even though it is throwing same error.
I checked in PSA. Showing red which records have same Profit centre.
Could any one give us any suggestions to resolve the issues please.
Thanks & Regards,
RajuHi Raju,
I assume there are no routines written in the update rules and also you ae directly loading the data from R/3 ( not from any ODS). If that is the case then it could be that, the data maintained in R/3 has overlapping time intervals (since time dependency of attributes is involved). Check your PSA if the same profit center has time intervals which over lap. In that case, you need to get this fixed in R/3. If there are no overlapping time intervals, you can simply increase the error tolerance limit in your info-package and repeat the load.
Hope this helps you.
Thanks & Regards,
Nithin Reddy. -
Error While loading a image from database
Purpose
Error While loading the Image from the database
ORA-06502: PL/SQL : numeric or value error:Character string buffer too small
ORA-06512: at "Sys.HTP" ,line 1480
Requirement:
I am developing the web pages using PSP(Pl/sql Serverpages) . I have a requirement to show a image in the webpage. I got the following procedures from the oracle website.
I have created the following table to store the images
create table DEMO
ID INTEGER not null,
THEBLOB BLOB
And I also uploaded the Images. Now I am try to get a image from the table using the following procedure .But I am getting the error message line 25( htp.prn( utl_raw.cast_to_varchar2( l_raw ) );) .at it throws the following error messages
ORA-06502: PL/SQL : numeric or value error:Character string buffer too small
ORA-06512: at "Sys.HTP" ,line 1480
Procedure that I used to get the image
create or replace package body image_get
as
procedure gif( p_id in demo.id%type )
is
l_lob blob;
l_amt number default 30;
l_off number default 1;
l_raw raw(4096);
begin
select theBlob into l_lob
from demo
where id = p_id;
-- make sure to change this for your type!
owa_util.mime_header( 'image/gif' );
begin
loop
dbms_lob.read( l_lob, l_amt, l_off, l_raw );
-- it is vital to use htp.PRN to avoid
-- spurious line feeds getting added to your
-- document
htp.prn( utl_raw.cast_to_varchar2( l_raw ) );
l_off := l_off+l_amt;
l_amt := 4096;
end loop;
exception
when no_data_found then
NULL;
end;
end;
end;
What I have to do to correct this problem. This demo procedure and table that I am downloaded from oracle. Some where I made a mistake. any help??
Thanks,
NatsHi Satish,
I have set the raw value as 3600 but still its gives the same error only. When I debug the procedure its throwing the error stack in
SYS.htp.prn procedure of the following line of code
if (rows_in < pack_after) then
while ((len - loc) >= HTBUF_LEN)
loop
rows_in := rows_in + 1;
htbuf(rows_in) := substr(cbuf, loc + 1, HTBUF_LEN);
loc := loc + HTBUF_LEN;
end loop;
if (loc < len)
then
rows_in := rows_in + 1;
htbuf(rows_in) := substr(cbuf, loc + 1);
end if;
return;
end if;
Its a system procedure. I don't no how to proceed .. I am really stucked on this....is their any other method to take picture from the database and displayed in the web page.....???? any idea..../suggesstion??
Thanks for your help!!!. -
Error while loading the data from PSA to Data Target
Hi to all,
I'm spacing some error while loading the data to data target.
Error : Record 1 :Value 'Kuldeep Puri Milan Joshi ' (hex. '004B0075006C0064006500650070002000500075007200690
Details:
Requests (messages): Everything OK
Extraction (messages): Everything OK
Transfer (IDocs and TRFC): Errors occurred
Request IDoc : Application document posted
Info IDoc 2 : Application document posted
Info IDoc 1 : Application document posted
Info IDoc 4 : Application document posted
Info IDoc 3 : Application document posted
Data Package 1 : arrived in BW ; Processing : Data records for package 1 selected in PSA - 1 er
Processing (data packet): Errors occurred
Update PSA ( 2462 Records posted ) : No errors
Transfer Rules ( 2462 -> 2462 Records ) : No errors
Update rules ( 2462 -> 2462 Records ) : No errors
Update ( 0 new / 0 changed ) : Errors occurred
Processing end : Errors occurred
I'm totally new to this issue. please help to solve this error.
Regards,
SaranHi,
I think you are facing an invalid character issue.
This issue can be resolved by correcting the error records in PSA and updating it into the target. For that the first step should be to identify if all the records are there in PSA. You can find out this from checking the Details tab in RSMO, Job log , PSA > sorting records based on status,etc. Once its confirmed force the request to red and delete the particular request from the target cube. Then go to PSA and edit the incorrect records (correcting or blanking out the invalid entries for particular field InfoObject for the incorrect record) and save it. Once all the incorrect records are edited go to RSA1>PSA find the particular request and update to target manually (right click on PSA request > Start update immediately).
I will add the step by step procedure to edit PSA data and update into target (request based).
In your case the error message says Error : Record 1 :Value 'Kuldeep Puri Milan Joshi '. You just need to conver this to Capital letter in PSA and reload.
Edit the field to KULDEEP PURI MILAN JOSHI in PSA and push it to target.
Identifying incorrect records.
System wont show all the incorrect records at the first time itself. You need to search the PSA table manually to find all the incorrect records.
1. First see RSMO > Details > Expand upate rules / processing tabs and you will find some of the error records.
2. Then you can go to PSA and filter using the status of records. Filter all the red requests. This may also wont show the entire incorrect records.
3. Then you can go to PSA and filter using the incorrect records based on the particular field.
4. If this also doesnt work out go to PSA and sort (not filter) the records based on the particular field with incorrect values and it will show all the records. Note down the record numbers and then edit them one by one.
If you want to confirm find the PSA table and search manually."
Also Run the report RS_ERRORLOG_EXAMPLE,By this report you can display all incorrected records of the data & you can also find whether the error occured in PSA or in TRANSFER RULES.
Steps to resolve this
1. Force the request to red in RSMO > Status tab.
2. Delete the request from target.
3. Come to RSMO > top right you can see PSA maintenace button > click and go to PSA .
4.Edit the record
5. Save PSA data.
6. Got to RSA15 > Search by request name > Right click > update the request from PSA to target.
Refer how to Modify PSA Data
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40890eda-1b99-2a10-2d8b-a18b9108fc38
This should solve your problem for now.
As a long term you can apply some user exit in source system side or change your update rules to ensure that this field is getting blanked out before getting loaded in cube or add that particular char to permitted character list in BW.
RSKC --> type ALL_CAPITAL --> F8 (Execute)
OR
Go to SE38 and execute the program RSKC_ALLOWED_CHAR_MAINTAIN and give ALL_CAPITAL or the char you want to add.
Check the table RSALLOWEDCHAR. It should contain ALL_CAPITAL or the char you have entered.
Refer
/people/sap.user72/blog/2006/07/23/invalid-characters-in-sap-bw-3x-myths-and-reality-part-2
/people/sap.user72/blog/2006/07/08/invalid-characters-in-sap-bw-3x-myths-and-reality-part-1
/people/aaron.wang3/blog/2007/09/03/steps-of-including-one-special-characters-into-permitted-ones-in-bi
http://help.sap.com/saphelp_nw04/helpdata/en/64/e90da7a60f11d2a97100a0c9449261/frameset.htm
For adding Other characters
OSS note #173241 Allowed characters in the BW System
Thanks,
JituK
Edited by: Jitu Krishna on Mar 22, 2008 1:52 PM -
Error when loading the data from PSA to ODS......
Hi BW guru's,
i am facing one problem while loading the data from PSA to ODS.so please help me in this regard.
Please give a step by step guidelines for me...
the error while loading the data from PSA to ODS is "There are no PSA tables for these selection criteria","An error occurred when reading PSA data".
thanks in advance,
ashok.hi ashok,
u can push data from psa to ods, for this goto the psa in rsa1>psa>goto that request>rightclick>select " schedule update Immediately ", then data will moved from psa to ods.
or
In ods > delete the failed request>goto the processing tab-->select 3rd option " psa and then subsequentially to data targets ", --> schedule the infopackage.
bye
sunil -
Error While Loading the Master Data from R3
Hi Gurus,
I am loading the masterdata from R3.I have enhanced the Datasource .In that datasource there is a field DATUB ( Valid To Date).For this field I have wriiten the User Exit at the R3 side.Now I am loading the data in BW.But I am not getting the values for DATUB field in the BW, though they are there at the R3 side.
I have done following to analyse the issue.
1.Have checked the datasource at the R3 from RSA3.Its populating the field DATUB correctly.
2.Have deleted the whole masterdata and tried to load again.But no success.
3.Have tried to load the data for the perticular Bill of Material(BOM).Then it get loaded correctly along with the value of DATUB.But when i tried loading the entire data i am not getting the field DATUB populated.
Please help me out.Its urgent.
Thanks.
ShalakaHello,
I finally got the solution to my problem.
If you append a field to generic datsource then you should check the tick in datasource for "field only". Or else you would not get the values handed over to BW.
Please check following link for more details about this "field only" setting for Generic datasources.
http://help.sap.com/saphelp_tm70/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
Regards,
Anuj -
Error while retrieving data from sql using jdbc adapter
hi all,
i m working on one scenario where i m sending data using HTTP and receiver is jdbc adapter which is retrieving me data from sql server.
i have checked the structure both for req and res.
i m getting this error
<SAP:Error>
<SAP:Category>Application</SAP:Category>
<SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_INF57285_DB_HR_RES_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
<SAP:Stack>During the application mapping com/sap/xi/tf/_INF57285_DB_HR_RES_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
</SAP:Error>
can somebody help me with this.
Thanks & Regards
Arunathnks bhavesh i think i made it that way
JDBC REQ
<ns:INF57285_DB_Request xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<Employee>
<EmpDetails action="SELECT">
<table>EmpDetails</table>
<access>
<Name />
<EmpId />
<Band />
<Salary />
</access>
<Key>
<EmpId>57285</EmpId>
</Key>
</EmpDetails>
</Employee>
</ns:INF57285_DB_Request>
JDBC RES
<ns:INF57285_DB_Request_response xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<Employee_response>
<row>
<Name>aruna</Name>
<EmpId>57285</EmpId>
<Band>A</Band>
<Salary>4675776</Salary>
</row>
</Employee_response>
</ns:INF57285_DB_Request_response>
my hr req is which i mapped with DB req
<ns:INF57285_HR_Req xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<REQUEST>
<EmpNo>57285</EmpNo>
</REQUEST>
</ns:INF57285_HR_Req>
my hr res is which i mapped with DB res
<ns:INF57285_HR_Res xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<response>
<row>
<Name>aruna</Name>
<Empld>57285</Empld>
<Salary>4675776</Salary>
</row>
</response>
</ns:INF57285_HR_Res>
and interestingly i am not getting any error in sxmb_moni
it's not showing any error
plz suggest me something wht to do ....
thnks & regards
Aruna -
Error while exporting data from sql server to excel
Hi,
I am trying to export data from sql server to excel.
The query that I used is s follows
INSERT INTO OPENROWSET( 'Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\Folder1\abc.xls','select * from [Sheet1$A1:IV65000]')
select
column1,column2.... from Table1
I get the following error message while doing so..
String or binary data would be truncated.
The statement has been terminated.
One of the column's holds data more than 225 characters.
What is the way to correct this, i want the whole data of the colum in the excel sheet.I haven't had great luck with the INSERT INTO OPENROWSET method. Can you try one of the many samples from one of these 3 links?
http://www.excel-sql-server.com/excel-sql-server-import-export-using-vba.htm#Excel%20Data%20Export%20to%20SQL%20Server%20Test%20Code
http://www.mssqltips.com/sqlservertip/1540/insert-update-or-delete-data-in-sql-server-from-excel/
https://www.simple-talk.com/sql/database-administration/getting-data-between-excel-and-sql-server-using-odbc--/
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Error while retrieving data from SQL
HI All,
I am getting the below error while tryting to retrieve the data from SQL. Its working fine in developement server. But in production getting the below error.
**Mon Oct 6 05:02:49 2008]esbux106/survey/survey/kpmbatch/Info(1021013)**
**ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login 'PD_OD**
**S'. Login fails.]**
**[Mon Oct 6 05:02:49 2008]esbux106/survey/survey/kpmbatch/Info(1021014)**
**ODBC Layer Error: Native Error code [4060]**
Iam using essbase 6.5 with Oracle as database. Please Advice.From the error message..
[DataDirectODBC SQL Server DriverSQL Server
Why is it trying to use a SQL Server Driver to open a Oracle Database? Do you have the ODBC connection on the prod box setup to use the correct driver? -
Error while reversing data from SQL Server to ODI
hi,
I was reversing data from SQL Server Java 1.6_022 in ODI Java 1.5, I was getting error Version Mismatch and I updated ODI Java version to 1.6_022.
And now, I am getting the below error while reversing the data from SQL Server database.
0 : 08001 : java.sql.SQLException: No suitable driver
Looking for the assistance on the same.
Thanks,
AbhayIf everything is fine the reversing should be fine. I would say check again if the Technology of the Model and the also the dataserver is created under the right Technology in topology too.
also if this doesn't help , Please tell us the steps you have carried so far . Also can you try selective reverse is it showing the tables. -
Error when loading the master data
Hi all,
Can anybody help me out. I am loading the master data from DB Connect source. When i am trying to load it it is giving the runtime error PERFORM_CONFLICT_TAB_TYPE. Can anybody tell me what could be the problem & necessery steps to take.
Thanks in advance.
Regards,
Shaik.Hi,
Please go through the following threads:
PERFORM_CONFLICT_TAB_TYPE shortdump during data loading into ODS
Perform_conflict_tab_type error
PERFORM_CONFLICT_TAB_TYPE error-Urgent!!
Next time you might want to just search the forum first... lots of surprises!
Hope this helps,
Cheers,
Gimmo
Maybe you are looking for
-
Utl_mail.send_attach_varchar2 issue
If I try to execute package below on 10.2.0.2 (on Solaris 10), then the attachment I receive in the email has two rows where first row is empty and the second row has a text 200708, aaaa, xxxx Any idea why? The attachment should have only one single
-
When I reboot my iMac I'll get hard disk selection instead of fast login and I am not using boot camp! Any help is greatly appriciated!
-
My iPad often freezes up or has a delay . Why?
My iPad often freezes up and also has often has a long delay on the touch screen Why ? And what can I do to fix this
-
Solution Manager project export / import
Hi, is there any possibility to export the project files from Solution Manager, change some data in an other program and then import them back to solution manager? This whole import/export process should work automatically. The entire thing is to avo
-
Oracle Standard one version problem
Dear all My company got a Oracle Standard one 10g version license. However, after I downloaded the Oracle from OTN. When I tried to install the Oracle, I only got 'Enterprise', 'Standard' and 'Personal' option from installation. Is that mean I select