FI-SL error SAPSQL_ARRAY_INSERT_DUPREC during direct posting to the SL.
I am working on FI- Special Ledger and currently encountering an error:
I am trying to post journals to the special purpose ledger using a local file where I am encountering the following error:
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in
procedure "INS_XXXXXA" "(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.
XXXXXA is the custom database table name.
The form mentioned is a item table for one the special ledger which has been custom defined.
I have debugged the code and found out the following:
1. There are two records which needs to be updated to the items table of the ledger.
2. When I checked the items table the key value (which needs to be updated) doesn't exist currently.
3. I saw some resolution on the number range definition which i tried to apply but not fruitful.
Although the new records which needs to be inserted to the database table is not there I am getting the error SAPSQL_ARRAY_INSERT_DUPREC.
Please let me know of any suggestion to resolve the issue.
I might have not correctly implemented the solution for the number range.
Your valuable suggestions will be awarded accordingly.
Also let me know if anymore clarity is required.
Kind Regards,
himansu roy
Hello everyone,
Got the issue and resolution.
The problem was in the custom code the ledger update was happening twice so the duplicate entries were giving dump during the COMMIT.
Regards,
Himansu Roy
Similar Messages
-
Runtime error SAPSQL_ARRAY_INSERT_DUPREC during migo
Hi Friends,
When I try doing MIGO with reference to a PO and save the document it gives me runtime error SAPSQL_ARRAY_INSERT_DUPREC.
I have check the buffer, and the no. range everything is perfect, but still i am getting this error.
Can anyone please give me the possible solution for this. Is there any SAP note that I need to apply.
Regards,
Wasim.Hello Wasim,
The common cause of this termination is the material document
number range as per note 31793 - SAPSQL_ARRAY_INSERT_DUPREC.
So please check if the current numbers are synchronized with the
database tables:
OMBT trx x MKPF table
OMH6 trx x EKKO table
If it has the same number range the sort dump should not be raised
anymore.
The main root causes are:
-> when you are transporting number ranges from one client to another;
-> when you face a shut down in your system and you have defined a
buffer application server tolerance in transaction SNRO;
-> when you are doing the posting by using BAPI's and for some reason
the BAPI failed.
I hope it helps you.
Best Regards,
Fábio Almeida
MM Consultant -
You cannot make direct posting to the g/l account
Hi
While creating the std po I am getting the message you cannot make direct posting to the g/l account 165000
I am working on chart of accounts INT
I have not checked the check box for automatic posting
error mesage that I am getting
No direct postings can be made to G/L acct. 165000 in CoCode BP01
Message no. ME038
Diagnosis
The G/L account you entered is a control account. Transactions cannot be posted direct to a control account.
Procedure
Check your input.
Inform the individual or section responsible for G/L accounts in the relevant company code.
Thanks
Prabind Kumar SinghHi
Goto Transaction code FS00, enter the G/L account 160000.
enter the company code BP01.
Click on display, if the system says account does not exist, click on create with refernce or template
In the popu enter the G/L account 160000 & compnay code 0001.
Please ensure this account is flagged as Balance sheet account, Recon. account for acct type - K Vendors.
now do the postings.
Thanks & Regards
Kishore -
Storage bin does not exist error when during transfer posting in MB1B
Hello All,
I am getting the error message " Storage bin [WH no, Storage type] does not exist Check your entry" during transfer posting in MB1B from one storage location to another for ex 0007 to 0001. But i can able to do transfer posting from 0001 to 0007 without any error.
Please provide your solutions/suggestions
Thanks
BennyBenny Sampath wrote:
Here is the error message "Storage bin 56A 870 does not exist (check your entry)"
>
> Thanks
> Benny
I can only see 2 values instead of the expected 3.
what is 56A ? is it bin, warehouse or storage type?
what is 870 ? is it bin, warehouse or storage type?
one variable that is need to have a hit in table LAGP is missing, hence you get this error.
you have to find out why this variable is missing.
But there is a wide area to look. Hence you should first answer the questions, as this would limit the options where to look. -
Hi,
I am trying to create rdlc file programmatically. Using Memory Table as dataset. Here is my code
' For each field in the resultset, add the name to an array listDim m_fields AsArrayList
m_fields = NewArrayList()
Dim i AsIntegerFor i = 0 To tbdataset.Tables(0).Columns.Count - 1
m_fields.Add(tbdataset.Tables(0).Columns(i).ColumnName.ToString)
Next i
'Create Report 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' Open a new RDL file stream for writingDim stream AsFileStream
stream = File.OpenWrite("D:\MyTestReport2.rdlc")
Dim writer AsNewXmlTextWriter(stream, Encoding.UTF8)
' Causes child elements to be indented
writer.Formatting = Formatting.Indented
' Report element
writer.WriteProcessingInstruction("xml", "version=""1.0"" encoding=""utf-8""")
writer.WriteStartElement("Report")
writer.WriteAttributeString("xmlns", Nothing, "http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition")
writer.WriteAttributeString("xmlns:rd", "http://schemas.microsoft.com/SQLServer/reporting/reportdesigner")
writer.WriteStartElement("ReportSections")
writer.WriteStartElement("ReportSection")
writer.WriteElementString("Width", "11in")
writer.WriteStartElement("Body")
writer.WriteElementString("Height", "5in")
writer.WriteStartElement("ReportItems")
writer.WriteStartElement("Tablix")
writer.WriteAttributeString("Name", Nothing, "Tablix1")
writer.WriteElementString("Top", ".5in")
writer.WriteElementString("Left", ".5in")
writer.WriteElementString("Height", ".5in")
writer.WriteElementString("Width", (m_fields.Count * 1.5).ToString() + "in")
writer.WriteStartElement("TablixBody")
' Tablix Columns
writer.WriteStartElement("TablixColumns")
ForEach fieldName In m_fields
writer.WriteStartElement("TablixColumn")
writer.WriteElementString("Width", "1.5in")
writer.WriteEndElement() ' TableColumnNext fieldName
writer.WriteEndElement() ' TablixColumns' Header Row
writer.WriteStartElement("TablixRows")
writer.WriteStartElement("TablixRow")
writer.WriteElementString("Height", ".25in")
writer.WriteStartElement("TablixCells")
ForEach fieldName In m_fields
writer.WriteStartElement("TablixCell")
writer.WriteStartElement("CellContents")
writer.WriteStartElement("Textbox")
writer.WriteAttributeString("Name", Nothing, "Header" + fieldName)
' writer.WriteAttributeString("CanGrow", True)' writer.WriteAttributeString("Keeptogether", True)
writer.WriteStartElement("Paragraphs")
writer.WriteStartElement("Paragraph")
writer.WriteStartElement("TextRuns")
writer.WriteStartElement("TextRun")
writer.WriteElementString("Value", fieldName)
writer.WriteStartElement("Style")
writer.WriteElementString("TextDecoration", "Underline")
writer.WriteElementString("PaddingTop", "0in")
writer.WriteElementString("PaddingLeft", "0in")
writer.WriteElementString("LineHeight", ".5in")
''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
writer.WriteEndElement() ' Style
writer.WriteEndElement() ' TextRun
writer.WriteEndElement() ' TextRuns
writer.WriteEndElement() ' Paragraph
writer.WriteEndElement() ' Paragraphs
writer.WriteEndElement() ' TexBox
writer.WriteEndElement() ' CellContents
writer.WriteEndElement() ' TablixCellNext
writer.WriteEndElement() ' TablixCells
writer.WriteEndElement() ' TablixRow'writer.WriteEndElement() ' TablixRows Do not close Rows tag here colse it after details'End of Headers'Details Rows'writer.WriteStartElement("TablixRows") Since Rows tag in header is not closed not need to open fresh tag
writer.WriteStartElement("TablixRow")
writer.WriteElementString("Height", ".25in")
writer.WriteStartElement("TablixCells")
ForEach fieldName In m_fields
writer.WriteStartElement("TablixCell")
writer.WriteStartElement("CellContents")
writer.WriteStartElement("Textbox")
writer.WriteAttributeString("Name", Nothing, fieldName)
' writer.WriteAttributeString("CanGrow", True)' writer.WriteAttributeString("Keeptogether", True)
writer.WriteStartElement("Paragraphs")
writer.WriteStartElement("Paragraph")
writer.WriteStartElement("TextRuns")
writer.WriteStartElement("TextRun")
'writer.WriteElementString("Value", fieldName)
writer.WriteElementString("Value", "=Fields!" + fieldName + ".Value")
writer.WriteStartElement("Style")
writer.WriteElementString("TextDecoration", "Underline")
writer.WriteElementString("PaddingTop", "0in")
writer.WriteElementString("PaddingLeft", "0in")
writer.WriteElementString("LineHeight", ".5in")
''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
writer.WriteEndElement() ' Style
writer.WriteEndElement() ' TextRun
writer.WriteEndElement() ' TextRuns
writer.WriteEndElement() ' Paragraph
writer.WriteEndElement() ' Paragraphs
writer.WriteEndElement() ' TexBox
writer.WriteEndElement() ' CellContents
writer.WriteEndElement() ' TablixCellNext
writer.WriteEndElement() ' TablixCells
writer.WriteEndElement() ' TablixRow
writer.WriteEndElement() ' TablixRows'End of Details Rows
writer.WriteEndElement() ' TablixBody
writer.WriteStartElement("TablixRowHierarchy")
writer.WriteStartElement("TablixMembers")
writer.WriteStartElement("TablixMember")
' Group
writer.WriteElementString("KeepWithGroup", "After")
writer.WriteEndElement() ' TablixMember' Detail Group
writer.WriteStartElement("TablixMember")
writer.WriteStartElement("Group")
writer.WriteAttributeString("Name", Nothing, "Details")
writer.WriteEndElement() ' Group
writer.WriteEndElement() ' TablixMember
writer.WriteEndElement() ' TablixMembers
writer.WriteEndElement() ' TablixRowHierarchy
writer.WriteStartElement("TablixColumnHierarchy")
writer.WriteStartElement("TablixMembers")
'writer.WriteStartElement("TablixMember")ForEach fieldName In m_fields
writer.WriteStartElement("TablixMember")
writer.WriteEndElement() ' TablixMemberNext' writer.WriteEndElement() ' TablixMember
writer.WriteEndElement() ' TablixMembers
writer.WriteEndElement() ' TablixColumnHierarchy
writer.WriteElementString("DataSetName", "tbdataset")
writer.WriteEndElement() ' Tablix
writer.WriteEndElement() ' ReportItems
writer.WriteEndElement() ' Body
writer.WriteStartElement("Page")
' Page Header Element
writer.WriteStartElement("PageHeader")
writer.WriteElementString("Height", "1.40cm")
writer.WriteStartElement("ReportItems")
writer.WriteStartElement("Textbox")
writer.WriteAttributeString("Name", Nothing, "Textbox1")
writer.WriteStartElement("Paragraphs")
writer.WriteStartElement("Paragraph")
writer.WriteStartElement("TextRuns")
writer.WriteStartElement("TextRun")
writer.WriteElementString("Value", Nothing, "ABC CHS.")
writer.WriteEndElement() ' TextRun
writer.WriteEndElement() ' TextRuns
writer.WriteEndElement() ' Paragraph
writer.WriteEndElement() ' Paragraphs
writer.WriteEndElement() ' TextBox
writer.WriteEndElement() ' ReportItems
writer.WriteEndElement() ' PageHeader
writer.WriteEndElement() ' Page
writer.WriteEndElement() ' ReportSection
writer.WriteEndElement() ' ReportSections' DataSources
writer.WriteStartElement("DataSources")
writer.WriteStartElement("DataSource")
writer.WriteAttributeString("Name", Nothing, "tbdata")
writer.WriteStartElement("DataSourceReference")
writer.WriteEndElement() ' DataSourceReference
writer.WriteEndElement() ' DataSource
writer.WriteEndElement() ' DataSources'DataSet
writer.WriteStartElement("DataSets")
writer.WriteStartElement("DataSet")
writer.WriteAttributeString("Name", Nothing, "tbdataset")
writer.WriteStartElement("Query")
writer.WriteElementString("DataSourceName", Nothing, "tbdata")
'writer.WriteElementString("CommandText", Nothing, "/* Local Query */")
writer.WriteElementString("CommandText", Nothing, "TableDirect")
writer.WriteEndElement() ' Query'Fields
writer.WriteStartElement("Fields")
ForEach fieldName In m_fields
writer.WriteStartElement("Field")
writer.WriteAttributeString("Name", Nothing, fieldName)
writer.WriteElementString("DataField", fieldName)
writer.WriteElementString("rd:TypeName", fieldName.GetType.ToString)
writer.WriteEndElement() ' FieldNext
writer.WriteEndElement() ' Fields' rd datasetinfo
writer.WriteEndElement() ' DataSet
writer.WriteEndElement() ' DataSets
writer.WriteEndElement() ' Report' Flush the writer and close the stream
writer.Flush()
stream.Close()
'Convert to StreamDim myByteArray AsByte() = System.Text.Encoding.UTF8.GetBytes("D:\MyTestReport2.rdlc")
Dim ms AsNewMemoryStream(myByteArray)
'Supply Stream to ReportViewer
ReportViewer1.LocalReport.LoadReportDefinition(ms)
ReportViewer1.LocalReport.Refresh()When I open rdlc in designer I get following error"Data at the root level is invalid."When I run the aspx I get following error
An error occurred during local report processing.
The definition of the report '' is invalid.
The definition of this report is not valid or supported by this version of Reporting Services.
The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas.
Details: Data at the root level is invalid. Line 1, position 1.
Can anybody guide me?Hi Wendy Fu,
Thanks for your feed back. I could see Microsoft.ReportViewer.ProcessingObjectModel.dll to add as reference to my project. Actually I can open generated rdlc in designer, at run time I get error. I could not make out where is the exact mistake out of three
options flashed.
The definition of this report is not valid or supported by this version of Reporting Services.
The report definition may have been created with a later version of Reporting Services
or contain content that is not well-formed or not valid based on Reporting Services schemas
Details: Data at the root level is invalid
My web config has following references
<add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
<add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
May be I have to change these versions to 9 or 10.
First I will try adding Microsoft.ReportViewer.ProcessingObjectModel.dll .
Once thanks for your reply.
Races -
Error occurred during storage enumeration. The provider`s cache is empty.
Hello all,
I`m currently experimenting with Server 2012 and I faced an issue, while trying to play around with Storage Pools. My Server manager fails on refreshing disk volumes with the above mentioned error. More specifically:
Error occurred during storage enumeration.
Error occurred during enumeration of physical disk and storage pool associations: The provider's cache is empty. [Request = MSFT_SMDiskDriveToPool]
Error occurred during storage enumeration.
Error occurred during enumeration of physical disk: The provider's cache is empty. [Request = MSFT_SMDiskDrive]
There are 6 more errors with the same content, but for different things: Storage pools, Storage Pool capabilities; storage subsystem and pool associations;etc...
Also I see the same error in powershell:
PS C:\Users\Administrator> Get-PhysicalDisk
FriendlyName CanPool OperationalStatus HealthStatus Usage
Size
PhysicalDisk2 False OK Healthy Auto-Select
2 GB
PhysicalDisk3 False OK Healthy Auto-Select
2 GB
PhysicalDisk4 False OK Healthy Auto-Select
1 GB
PhysicalDisk5 False OK Healthy Auto-Select
1 GB
PhysicalDisk0 False OK Healthy Auto-Select
931.51 GB
PhysicalDisk1 False OK Healthy Auto-Select
931.51 GB
Get-PhysicalDisk : The provider's cache is empty. [Request = MSFT_SMDiskDrive]
At line:1 char:1
+ Get-PhysicalDisk
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (MSFT_SMDiskDrive:ROOT/Microsoft/...FT_PhysicalDisk) [Get-PhysicalDisk], C
imException
+ FullyQualifiedErrorId : 40003,Get-PhysicalDisk
I run Update-StorageProviderCache:
PS C:\Windows\system32> Update-StorageProviderCache -DiscoveryLevel Level3 -PassThru
Type Name
Manufacturer
SMP Storage Spaces Management Provider Microsoft
Corporation
with no luck.
What could be the problem. Could somebody also explain me what this cache is used for?
Thanks in advance.
BR,
Svilenin what you pasted you didnt run powershell as admin with "Get-PhysicalDisk" while with "Update-StorageProviderCache
-DiscoveryLevel Level3 -PassThru" you did run it as admin
Run powershell as admin and please see if that makes a difference for you.
MCITP:SA:EA:EMA2010:VA2008R2 -
Hi
We are trying to do an Security groups import using LCM, but getting the following errors and the accessing permissions are not updating.
Errors occured during syncrhonization: [com.hyperion.planning.HspRuntimeException: Cannot delete the following users: [username]., com.hyperion.planning.HspRuntimeException: Cannot delete the following users: [username].
These users have left the organisation. We've tried removing them manually from the SQL repository, but still the error persists. Can anybody help?
Cheersuser964802 wrote:
Hi
We are trying to do an Security groups import using LCM, but getting the following errors and the accessing permissions are not updating.
Errors occured during syncrhonization: [com.hyperion.planning.HspRuntimeException: Cannot delete the following users: [username]., com.hyperion.planning.HspRuntimeException: Cannot delete the following users: [username].
These users have left the organisation. We've tried removing them manually from the SQL repository, but still the error persists. Can anybody help?
CheersWhen you say you manually tried to remove the user from the repository what did you do.
Cheers
John
http://john-goodwin.blogspot.com/ -
Error message during GRN posting
Hi all,
I am having the following problem. I try checking the period and the period is okHi Mallinath,
Actually the issue is we have create a PR and PO in Year 2011. These item were partially delivered in 2011 and some has been delivered in year 2014. Therefore this will be considered as an Open PO.
Hence when we received the assets in year 2014, we create GRN and the following error occured.
Could you please help me.. -
Error REEXFI243 during periodic posting
Hello everyone,
I am trying to perform periodic posting for commercial lease-out contract and I get the following message:
Cannot generate tax statement item for tax code V0
Message no. REEXFI243
Will appreciate for any suggestions. Thanks.Solved the issue by customization of allowed taxes categories in account, to which posting should be made.
-
My iCal will not allow me to add any new entries. I get an error message that says I encountered a critical error while saving to data base and directs me to te console whatever this is??? This just started after the first of the year?
My iCal worked fine on my MacBook Pro so I ran Chronosync between my MacBook Pro laptop and iMac, the problem seems to have disappeared. Both computers have a working iCal now and I have my fingers crossed that they will stay so!!!
-
Direct posting of the invoice on the contract
Hi,
Is it possible to park vendor invoice directly on the purchasing contract?
Is it possible to make a GR on contract?
Thanks in advance
SasoHi
Both are not possible, you cannot perform GR or IR on a contract
you need tyo create a relase Purchase order referncing the Contract & perform GR & IR -
If I try to repurchase the audio book, it tells me that I have already purchased it and asks if I want to pay again? How can I get this book back?
Audiobooks are currently a one-time only download from the store, so you will need to try contacting iTunes support and see if they grant you a re-download : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
An iPad is designed to only be synced to one computer at a time, if you want to change the computer that it is synced to then this page might help : https://discussions.apple.com/docs/DOC-3141 -
Update termination during Periodic Posting in RE-FX
Hi,
I am getting a update termination error -SAPSQL_ARRAY_INSERT_DUPREC during periodic posting for Lease Out Contract. Tcode - RERAPP
We use deferred tax. This functionality is used to transfer service tax
credit from interimn account to final account as applicable in India.
As suggested in the note 913805 by SAP we deleted the BTE's in application Key FI-TAX
Inspite of that we get the same update error.
Also we observed that after deleting the BTE's our service tax credit
functionality is also not working.
Further I have observed the following:
I am getting error only while posting contracts with service tax.
Tax Code L1 Account Key OS1 & OS2 & OS3
Please help me in finding a soultion to this.
Thanks & Regards
SanjayHi,
The transfer step will transfer controlling assignments from the contract to the rental objects. This is useful if you want to run the controlling reports in order to see a P&L statement for a Building for example.
Regards, -
No Direct posting possible to G/L Account - ERROR
Hi all,
here i create one new company code and business area and done all procedure related with it. but now when i create sales order this time i done delivery but when i post this order this time system give me a error like "NO DIRECT POSTING IS POSSIBLE TO G/L ACCOUNT". So now how can i configure Account for this posting.
Please kindly tell me the procedure for correct this error.
Thanks in Advance,
KeyurPosting to the GL via an SD document is not a direct posting, so I do not believe that the checkbox in FS00 is the cause of the issue.
Keyur, you posted that SAP "give me a error like "NO DIRECT POSTING IS POSSIBLE TO G/L ACCOUNT" ".
You say an error "like", please confirm the exact wording of the error message which you are getting as I suspect that the error you are getting is not the error message which you have reported.
Thanks
James -
Error during PDF post processing in HtmlToPDF
Hi,
I am using Web services interface to convert Html document to PDF. Works fine for simple html documents stored locally. However when using a remote html document (for example the one in the quickstart--http://www.adobe.com--I am getting an exception:
ALC-PDG-16003-16003-000: com.adobe.livecycle.generatedpdf.client.ConversionException: ALC-PDG-016-003-An unknown/unexpected error occurred during PDF post-processing.
I get the same error when trying this conversion from the Administration Console. I am using JBoss/turnkey. I do not have Adobe Acrobat running on the server computer.
Thanks,
JesseHello Ramya,
I am not finished checking but I did make some progress. Testing from html file located on the server machine, I use the url for file. For example if the file is named foo.html and it is located in directory c:\adata then the file url is
file:///c:/adata/foo.html
That works for me using adminui, and from calling the web service.
The example in the quickstart ( converting the default page at
http://www.adobe.com ) does not work for me just yet. Still get the post pdf processing error.
If not doing so already, check the server log to see if any additional debug information is provided.
Regards,
Jesse
Maybe you are looking for
-
Hi Folks, I wanted to send a message to 2 receivers from 1 sender using BPM. People on SDN advice that I have to use 3 receiver determinations for it. I just can't understand why to use 2 receiver determinations where as I have only 2 receivers.
-
I want to print a powerpoint on my MacBook Air but its not allowing me please help?
I want to print a powerpoint on my MacBook Air but its telling me that a printer error has occured. It then tells me that I need to print again or go to the printer settings. Can someone please help. I dont know where the printer settings are. Can so
-
PC cannot read my E51 2Gb Sandisk microSD memory c...
The Sd works just fine in my Nokia E51 but transfering (large) files to the phone is terribly slow so I tried to copy the files using the microSD adapter and my mmc reader as I was sure this was going to faster but for some strange reason the microSD
-
I use earthlink, printing webmail comes out as gibberish
I called earthlink and they tell me to click on Firefox properties. Where do I find the printing properties? Thanks
-
HELP error FRM-40039: Cannot attach library common while opening form
Hi I want to help me with the NEXT issue is urgent. I'm working with forms 10g and using a linux server. To compile objects, forms, reports and menus use the Putty. Well the issue is that when a form hanging linux server I get the error message sgte: