Error SAPSQL_ARRAY_INSERT_DUPREC executing infopackages
Hi,
When we execute any infopackage with source system R3 the following runtime error is generated:
Category ABAP Programming Error
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
ABAP Program SAPLEDI1
Short text
The ABAP/4 Open SQL array insert results in duplicate database records.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in
procedure "F09_IDOC_INSERT_WITH_NUMBER" "(FORM)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL array insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.
(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)
The line code with the error in this FORM is:
>>> INSERT EDID4 FROM TABLE LIST_CONTAINER_CREATE.
We have simulated correctly all datasources in the source system using t-code RSA3, then we think that the problem is BW and not in the source system.
Also we removed the PSA and executed the infopackage again, but the same error is showed.
Please, could you help us?
Thanks in advance,
Regards,
Edited by: dbenitez on Feb 29, 2012 8:58 AM
Hi Kiran,
I have checked your links but the problem has not been solved. I think that the problem could be the IDOCs because the line code with error is (program SAPLEDI1):
>>> INSERT EDID4 FROM TABLE LIST_CONTAINER_CREATE.
The table EDID4 contents all IDOCs of the system (this table is very big (>150.000.000 records))
could be a memory space problem? but the messate error is by Duplicated records... I don't know...
please, could anyone help me?
Thanks!
Regards,
Similar Messages
-
Error while executing infopackage of 2lis_03_bx
Hi,
I am using a multiprovider which gets data from 3 cubes OIC_C03 ,ORT_C37 and my customized ZRT_C37.
When i am executing infopackage 2LIS_03_BX(Stock Initialization) which updates data into three specified cubes , its giving me below specified error
"Cannot select cube OIC_C03 for full data from DataSource 2LIS_03_BX"
I have tried with both updates 1. Full update
2. Generate Initial Status
I have also deleted and fill setup tables for inventory.
If i remove 0IC_C03 from datatargets den i am getting error for other cubes
"Cannot select cube ORT_C37 for full data from DataSource 2LIS_03_BX"
With regards,
MontzI am assuming that you are using BW 3.x
The error suggest your Cube has not bee properly connected to datasource. check that all intermediate things like update rule, infousource etc (between datasource and the cube) are in place and activated. Also check that cube is activated. -
DB connect Datasource is giving error when executing infopackage from SQL
Hi,
I have created DB connect data source for SQL data base. Whenever I will try to execute the Infopackage , it is giving below error and when I checked status of job in data source, it stays in yellow.
SQL error "99" with message: "[Microsoft][SQL Server Native Client 10.0]Numeric
Message no. RSDS_ACCESS023
Any suggestion in this.... Thanks.
Regards
Deepa.Yes, I resolved it.
Please ask your admin guys do following steps - it will resolve the issue:
3. Possible problem areas
a) Datetime data type in source system tables
The Datetime DB data type and similar (timestamp, smalldatetime) are not used in SAP installations. This type of data cannot be transferred consistently into the BW system without additional activities.
Solution:
You must create a view in the source system to transform the data. Since a field of the type DateTime actually represents two SAP Basis types (DATES, TIMES), you must split it into a maximum of two fields, as appropriate:
create view <VIEWNAME> as
select
VD_1_D = convert(varchar(4), datepart(yyyy, d_1))
+ case len(convert(varchar(2), datepart(mm, d_1)))
when 1 then '0' + convert(varchar(1), datepart(mm, d_1))
else convert(varchar(2), datepart(mm, d_1))
end
+ case len(convert(varchar(2), datepart(dd, d_1)))
when 1 then '0' + convert(varchar(1), datepart(dd, d_1))
else convert(varchar(2), datepart(dd, d_1))
end,
VT_1_T = case len(convert(varchar(2), datepart(hh, t_1)))
when 1 then /* Hour Part of TIMES */
case convert(varchar(2), datepart(hh, t_1))
when '0' then '24' /* Map 00 to 24 ( TIMES ) */
else '0' + convert(varchar(1), datepart(hh, t_1))
end
else convert(varchar(2), datepart(hh, t_1))
end
+ case len(convert(varchar(2), datepart(mi, t_1)))
when 1 then '0' + convert(varchar(1), datepart(mi, t_1))
else convert(varchar(2), datepart(mi, t_1))
end
+ case len(convert(varchar(2), datepart(ss, t_1)))
when 1 then '0' + convert(varchar(1), datepart(ss, t_1))
else convert(varchar(2), datepart(ss, t_1))
end
from <TABLENAME>
The t_1 Basis field in the table is converted into a DATES field VT_1_D and a TIMES field VT_1_T. During the generation of the VT_1_T field, the value for 00:00 hours is also converted to 24:00 hours. This conversion may be omitted if not required.
b) Float data type in source system tables
In accordance with the IEEE standard regulations, MS SQL Server supports a value range of 1x10E-307 to +go- 1x10E+308. This also applies to the corresponding ABAP data type. However, the BW database in question may restrict this. Depending on the system, a restriction to 1x10E-25 is possible.
c) Nvarchar data type in source system tables
The length information displayed is twice as big as the number of characters you specified when you created the column.
d) Writing names in the source system
Since the R/3 kernel used in BW can only process table and column names written in upper case, on the source system, you must create DB views that convert the original names in accordance with this rule.
e) Code page and sort sequence of the source system
R/3 kernel-based systems such as BW basically assume that the database being used was created using code page cp850 and with the sort sequence 'bin2'.
The configuration of the source system may differ. If the sort sequence is different, operations for string search (like) and area search (between, >, <) on character fields may return different results.
Solution: There is currently no solution.
If you use multibyte code pages in the source system to save data with character sets of more than 256 characters (Kanji, Hiragana, Korean, Chinese and so on), the characters may be corrupted as a result.
Solution: There is currently no solution.
f) Authorizations and visible objects
BW DB Connect uses a remote server as a source system to extract data. The data already exists in that remote system. To use BW DB Connect, you will create a new login and new views which the SAP BW system will use when connecting.
You must remember only the DB objects (tables and views), which directly belong to the new database login are visible.
You cannot use a login that belongs to the Sysadmin server role, (for example 'sa').
To create the new login and views:
1. Create a new login and map it to a user in the database with membership in db_ddladmin
2. Grant the new user (SELECT at least) access to the original data tables.
3. Login as this new login and create the views in the database/schema of that user, referring to the original (source) data tables.
4. Specify this new login in the data extraction and this login/user will read from his own views in his own schema.
5. Optionally you can switch the new user's role to db_datareader which is sufficient for reading data. Further changes to the remote system e.g. new views or changed views will require the db_ddladmin role again. -
COnversion Error while executing Infopackage
Hi,
I am trying to load data in a cube thur INfopackage. When I try to preview the data it gives me following error:-
Conversion_EXIT_PERIV6_INPUT1.
ANy suggestions to get rid of it?
RegardsThe prob is with the data format of 0CALDAY or any such time char i believe.
For 0CALDAY, the flat file data shud be of the format 'YYYYMMDD' i believe.
Check n let me know.
Regards,
R.Ravi -
Error while creating INFOPACKAGE to load transaction data
Hi,
I am getting the following error while creating infopackage:
"Error in Conversion exit CONVERSION_EXIT_CUNIT_INPUT"
I am getting this error when I click on the Start button under the schedule tab in the screen Administrator Workbench: Modelling.
I clicked on Monitor icon to view the diagnosis. The diagnosis is mentioned below:
the screen is Performance Assistant Window and the diagnosis message appears in italics.
<i>Message No RSAR137
DIAGNOSIS
An error occurred in record 1 during execution of conversion exit CONVERSION_EXIT_CUNIT_INPUT for field UNIT.
Procedure
Check that the record where error occurred has the correct format and correct it accordingly. </i>
Please note that I have succesfully created update rules as I didn't get any error.
Also I would like some one to explain me clearly the differences between transfer rules and update rules with a clear explanation please.
Please help me.
Thank you.
Tristan.Hello Tristan,
I was used to get the same kind of problems before.
I got the problem with the data source type-Flat File (.csv)
One solution that I have done:
1) checked the particular record in which the error message refer to
2) tested the particular unit from the transaction se37
Function Module = CONVERSION_EXIT_CUNIT_INPUT
Press F8 in order to execute
This would be help a bit
3) corrected data from the flat file
another alternative solution was by:
handling the data using routine in the transfer rules
For my case, before executing the InfoPackage, data from flat file could be previewed. At this point, I could check which records caused the problems.
I'm not sure about your case whether data came from which type of data source.
That's all I could share for now.
-WJ- -
Time Our Error while executing a BW reports.
Hello BW experts ,
We are getting the 'Time Our Error while executing some BW reports.'
Could anyone help us to solve the above issue.
regards,
Amol.Hi,
previous answer is necessary, always check the shortdumps ... it can tell you alot about your problem
(ST22)..
what also could help is the following ... go to the infopackage, go to <u>scheduler</u> in the upper taskbar and there you can also set the time out parameters ..
But first, get your problem solved by the things you can read in the shortdump analysis report
also clever, is doing an extract test before you start loading ... rsa3
hope this helps ...
best regards,
Davy -
Attribute Change Run" process cannot precede process "Execute InfoPackage
hi all,
i have changed process chain, after changing the chain i have click the check button and activated. then iam getting this error
A type "Attribute Change Run" process cannot precede process "Execute InfoPackage" var. ZPAK_C0BVLUDKPEPXGXFMHQ67RFI9L in the chain.
please help me out
thanks advance
sudheer.Hi,
Your process chain shud have the following sequence:
Start Process> Loading of master data> AND process (if u have multiple master loads)-->Attribute Change Run
And all the linkages between the processes shud only be "SUCCESSFUL". Create new variants for all processes you enter in your process chain.
Check you chain before you activate. If it gives you exlamatory sign, the also u can go ahead with activation as it is giving u just the warnings.....
Hope it'll help u.......
Preet -
Process Execute infopackage ,variant 0salesorg _text has status cancelled(i
Hi All,
i am loading thr master data.but load was failed.failed request is showing " process Execute infopackage ,variant 0salesorg _text has status cancelled(instances).why this error is comimg frequentely.i want know the reson.how can i solve this issue.please help me.
Thanks,
chanduThe job would have ben manually cancelled by the user.
It can also be some shortdump,check ST22
Else could be due to communication failures.
Connection problem.
To check for the connection,Goto RSA1-> source system,
select ur source and right click and check. -
Process Execute InfoPackage, variant 2LIS_12_VCHDR Delta Upload 2 has statu
Hi All,
i am loading trx data.but load was failed.failed request is showing " Process Execute InfoPackage, variant 2LIS_12_VCHDR Delta Upload 2 has status Ended with errors (instance REQU_4B9BAQK7NIXFRH9RKD0VF5LWP). why this error is comimg frequentely.i want to know the reason and how can i solve this issue? please help me.
Thanks,
TuranHi Turan,
Can you send the details error from DETAILS tab ?see all the process levels like Requsets,Extraction,Transfer& processing .
Regards
Pcrao. -
Hi All ,
I got an error while executing a DTP. Short Dump analysis points this error. : DBIF_REPO_SQL_ERROR.
Please provide in your valuable inputs to resolve this error.
Thank & Regards,
Rohit GargThis error comes majorly when you have a deadlock in your code. Check ST22 if you have any short dump corresponding to it and see the source code where it is getting stuck.
If you find this dump explaining table space issue, then contact Basis, they will be able to help you with table space problem.
Edited by: Deepmala Agarwal on Aug 18, 2009 7:40 AM -
Error in executing a process for compilation for jsp
We have an iView which has jsp pages in it. We deployed the par & try toaccess the iview & we get an exception. The issue is that the iview has a jsp page. At the run time, this jsp is converted into a .java file
without problem. But EP engine is having issues compiling this java fileinto .class file.
On the other hand this same iview works just fine on our windows installation. Only Solaris EP install is having problems. The version onwindows as well as on Solaris is EP6 SP9.
Here is the exact version on the solaris EP:
sap.com/SAP-JEECOR 6.40 SP9 (1000.6.40.9.0.20041119045253) 20041122132733
sap.com/SAP-JEE 6.40 SP9 (1000.6.40.9.0.20041119045409) 20041122132741
When I copy the .class file from windows to unix machine, the iView works fine. Here is the exception I am getting:
>>> JSPCompiler >>> error
[email protected]a188b
[EXCEPTION]
com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException:
Error in executing a process for compilation
at
com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.launchCompilerProcess(J2eeCompiler_6_30.java:574)
at
com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compileExternal(J2eeCompiler_6_30.java:370)
at
com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compile(J2eeCompiler_6_30.java:672)
at
com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2143)
at
com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:76)
at
com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:122)
at
com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:279)
at
com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:129)
at
com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
at
com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at
com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
at
com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at
com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
at
com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
at
com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
at
com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at
com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at
com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at
com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at
com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at
com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at
com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at
com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at
com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at
com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at
com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at
com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
at
com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at
com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at
com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
I am having the same issue with another iview which has jsp page in it.
The web dynpro iview works fine.Hi, seems like there's some typo in your jsp. Check the .java file listed with a java editor (like eclipse or devstudio.). Maybe you'll find the typo this way faster.
Most often, a multiline page import hampers jsp compilation,
e.g.
<%@page import="java.util.List,
java.util.Map"%>
needs to be
<%@page import="java.util.List,java.util.Map"%>
Regards,
Armin -
Error in executing a process for compilation
Hi:
Our portal version is 6.0.2.28.0 (SAPJ2EE PL29)
we have the following problem:
1.- the developer upload a component in portal, but when he tries to run it, the following error appears:
Mar 28, 2005 4:22:06 PM # Client_Thread_8 Fatal >>> JSPCompiler >>> ERROR in Compiling :JSPFileInfo :4782283
JSP File : /usr/sap/J2EE_DP3/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/PRUEBA
_PCCLibragestMostrarPlantillas/pagelet/MostrarPlantillas.jsp
Class Name: sapportalsjspMostrarPlantillas
Java File : /usr/sap/J2EE_DP3/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/PRUEB
A_PCCLibragestMostrarPlantillas/work/pagelet/_sapportalsjsp_MostrarPlantillas.java
Package Name : pagelet
Class File : /usr/sap/J2EE_DP3/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/PRUE
BA_PCCLibragestMostrarPlantillas/work/pagelet/_sapportalsjsp_MostrarPlantillas.class
Is out dated : false
com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in executing a process for compilation
2.- If I stop/start SAPJ2EE the component, which was uploaded before,can be run without problem, but if you upload it again,when you try to run it again, the compilation error appears
Any suggestion???
ThanksHi:
the problem was not resolved deleting/uploading the components, the problem was resolved increasing the memory in the host and tuning the JVM memory parameters.
In our host the memory was reduced and this was the origin of the problem
Thanks -
Hi,
deployin my model i get the following error-message.
"Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
Thanks for your help!
TobiasHi Tobias,
You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
Hope this helps
Cheers,
Scott -
error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable.
I am creating many site collections reading records from sharepoint list using powershell in sharepoint online tenant (office 365).
Few site collections are created and then getting above error so this error record will be skipped then few succeeding record processed then again getting error.
pattern is like:
success
success
success
success
Error
success
success
success
success
success
success
error
successHi,
As it is an online environment, to troubleshoot this issue in an easier way, I suggest you contact Office 365 Support to see if there is any useful information in
the log files in the server side:
https://support.office.com/en-us/article/Contact-Office-365-for-business-support-32a17ca7-6fa0-4870-8a8d-e25ba4ccfd4b?ui=en-US&rs=en-US&ad=US
Best regards
Patrick Liang
TechNet Community Support -
Error while executing the script adgetlnxver.sh
Error while executing the script adgetlnxver.sh on apps&db tier during upgrade from 11.5.9 to 11.5.10.2
-bash: [: -lt: unary operator expected
[aptinst@dba5 TINST_dba5]$ sh adapcctl.sh restart
adapcctl.sh version 115.55
/u01/app/tinst/tinstappl/ad/11.5.0/bin/adgetlnxver.sh: line 123: [: -lt: unary operator expected
Apache Web Server Listener :httpd ( pid 8645 ) is running.
Restarting the Apache Web Server Dedicated HTTP Listener..
Apache Web Server Listener (PLSQL) :httpd ( pid 8673 ) is running.
Restarting the Apache Web Server Dedicated PLSQL Listener..
adapcctl.sh: exiting with status 0
In adgetlnxver.sh: line 123 says
if [ ${setflag}x = "x" -a $os = "RH" ]; then
redhatver=`grep -oP "Enterprise Linux [a-z A-Z 0-9]* release [0-9]+" /etc/redhat-release | sed 's/Enterprise Linux [a-z A-Z 0-9]* release //g'`
if [ $redhatver -lt 5 ]; then
LD_ASSUME_KERNEL="2.4.19"
export LD_ASSUME_KERNEL
fi
fi
Thanks,
VamsiHi Vamsi.
The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
Can you read this note and apply solution? The note refers a patch, but the problem is the same.
After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
BR Rafael Ceolim
Maybe you are looking for
-
When ever i try logging into FaceTime or iMessage on my Macpro i get The server encountered an error processing registration. Please try again later. what could be the problem..N.B I'm located in trinidad in the caribbean message
-
I was upgrading to the new itunes, and it wouldnt open my itunes anymore! i double clicked and it still wouldnt open. this has been happening since saturday, and i realy need help!
-
SuperDrive GA32N won't draw disks
Not sure what happened, but suddenly my Mini won't feed any disks. I have tried to reset PRAM, and cold booting (removing/inserting power cables). Still won't accept any disks. Any suggestions as to what I can do to fix this? I am running Lion 10.7
-
Everytime I put it on my lap or on the desk,it turns off by itself
what is going on?I can't change its location,because it shuts down when it touches anything.It is only 8 months old,never fell,never left home.I take good care of it
-
How to Convert years into days.
Hi, I had secenario to convert a years in to days. Number of years should be more than one. Leap year need to be considered in this calculation. Can any one suggest this?