Error in saving invoice
Hi
I wrote an add-on that save an invoice when the user click on the add button in the invoice form (133). My program add automatically some additional expenses to the document. If I save the invoice with a VATGRoup as CA the invoice is created, if I use the VATGRoup V2 I have this error "-2028 OACT No match record found". If I save the invoice without my add-on and I use VATGroup V2 the document is created.
Can you help me?
Thanks
Rita
Hi
If I use my add-on on another database it saves the invoice correctly.
vFattura.DocNum = .Items("8").Specific.String
If .Items("78").Specific.Checked = True Then
vFattura.HandWritten = tYES
Else
vFattura.HandWritten = tNO
End If
vFattura.DocCurrency = "EUR"
vFattura.DocObjectCode = oInvoices
vFattura.CardCode = Trim(.Items("4").Specific.String)
vFattura.CardName = .Items("54").Specific.String
vFattura.Address = .Items("6").Specific.String
vFattura.DocDate=.Items"10").Specific.String
vFattura.DocDueDate =.Items("12").Specific.String
vFattura.NumAtCard = .Items("123").Specific.String
vFattura.Comments = .Items("16").Specific.String
vFattura.JournalMemo = .Items("18").Specific.String
vFattura.TaxDate=.Items("46").Specific.String
dTotDoc =.Items("29").Specific.String
dIVA=.Items.("27").Specific.String
vFattura.PaymentGroupCode = .Items("47").Specific.Selected.Value
If .Items("3").Specific.Selected.Value = "I" Then
vFattura.DocType = dDocument_Items
Else
vFattura.DocType = dDocument_Service
End If
For i = 1 To matRighe.RowCount - 1
Set colRead = matRighe.Columns.Item("1")
Set txtRead = colRead.Cells.Item(i).Specific
If txtRead.String <> "" Then
vFattura.Lines.ItemCode = txtRead.String
Set colRead = matRighe.Columns.Item("3")
Set txtRead = colRead.Cells.Item(i).Specific
vFattura.Lines.ItemDescription = txtRead.String
Set colRead = matRighe.Columns.Item("11")
Set txtRead = colRead.Cells.Item(i).Specific
vFattura.Lines.Quantity = txtRead.String
Set colRead = matRighe.Columns.Item("17")
Set txtRead = colRead.Cells.Item(i).Specific
vFattura.Lines.Price=txtRead.String
vFattura.Lines.Price = Mid(txtRead.String, 5)
vfattura.lines.Vatgroup="V2"
vFattura.Lines.AccountCode = "310101"
If i < matRighe.RowCount - 1 Then
vFattura.Lines.Add
end If
Similar Messages
-
Error while saving invoice in VF01
Hi,
I am facing problem while saving invoice in VF01 for 1 company code, while no problem occurs when save for other company code.
Text 0040300000 ID 0002 language EN not found
Message no. TD600
Diagnosis
You want to read a text which does not exist in the data base (or update memory).
System Response
Reading could not be carried out.
Procedure
You need to create this text:
1. Initialization (module INIT_TEXT)
2. Save (module SAVE_TEXT)
403 is my company code
wat i m missing here
Regards,
AMitI hope below links may help you to close the thread.
Service master Long Text Deletion
Text Id F01 language EN not found message no TD600
Text id not found
Regards,
SaiRam -
Error while saving invoice in payables
hai all,
I am getting an error like APP-SQLAP-10000: SQLERRM occurred in Maintain_DBI_Summary AP_AI_TABLE_HANDLER_PKG.INSERT_ROW........
while saving an invoice in Payables. Can any one help me on this error.
regards,
satyaHi satya,
Send me the exact error message you got/
try with this
fact: Oracle Payables 11.5
fact: APXINWKB - Invoice Workbench
symptom: Unable to click into the Distributions button
symptom: APP-SQLAP-10000 ORA-0001: unique constraint (AP.AP_INVOICES_U1)
violated occured in AP_AI_TABLE_HANDLER_PKG.INSERT_ROW<-AP.INVOICES_PKG.
ISNERT_ROWS<-APXINWKB
with parameter (p_Rowid= ,p_invoice_id = 142061)
while performing the follwoing operation:
Insert into ap_invoices
change: NOTE ROLE:
The problem occurs during the insert into ap_invoices_all statement.
The error indicates that the problem is with the AP_INVOICES_U1 index.
This index looks at one column which is the invoice_id. The system will not
allow there to be more then one invoice_id.
cause: When clicking into the distributions button, the system is trying to
save the
invoice header. At this point, the system tries to assign an invoice_id to the
invoice. The invoice_id is being retrieved from the ap_invoice_s sequence.
If the next value in the sequence already exists in the AP_INVOICES_ALL table,
then the system will produce this error.
fix:
Run the following selects:
#1
select max(invoice_id)
from apps.ap_invoices_all;
#2
select ap.ap_invoices_s.nextval
from dual;
Update the nextval in the ap_invoices_s sequence to be greater then the max
invoice_id value in ap_invoices_all table.
plz let me know it works or not?
--Basava.S -
Error while saving invoices or clicking the invoices tab in R12
Hi All - We are getting an error in the Payables Invoice Entry screen in R12. We have 4 custom triggers enabled recently and from then we are getting the error ORA-04088: error during execution of trigger.
APPS.CUSTOM_AP_INV_AFT_TRG in AP_AI_TABLE_HANDLER_PKG.INSERT_ROW <- AP_INVOICES_PKG.INSERT_ROW<- APXINWKB
with parameters (p_rowid =, p_invoice_id = 31929)
while performing the following operation:
Insert into ap_invoices_all
Any kind of help is really appreciated.
Thanks,
AjayHello Ajaz,
BPM-70801 is a very generic error that can have multiple causes. Please provide the error log from servers log file. From what I understand, you are using a separate soa_server1, so watch out /your_domain/servers/soa_server1/logs/soa_server1.log
Regards
km -
Error by saving Invoice correction request
by trying to save my Invoice Corrction Request i got a message error as No Control entry for GTS call exists for Document Type RK
How can i solve this issue?
Thanks in advanceHi nidisish,
but want manual condition ZBA2 price to be applied and ZBA1 price reduced
one question on your statement, what is the condition class you are using for ZBA2 and ZBA1 ?
as these two refer to Price, there condition category should be B. If yes, then automatically when you add ZBA2 , condition type ZBA1 will be inactive ( latest one will be active)
try this and revert with screenshot if it is not working -
Error while saving Excise Invoice
Hi,
I am getting an error while saving an excise invoice. It is as follows :
BED : Debit = 1,400.00 Credit = 392.00 Diff =1,008.00
Message no. 8I312
please help....
Thanks & Regards,
S.RajeswariHi,
I am getting the following error while saving the Excise invoice.
Balance in transaction currency
Message no. F5702
Diagnosis
A balance has occurred in transaction currency 'INR' with the following
details:
Exchange rate '00', amount ' 28.00' and currency key 'INR'.
The data in the transaction currency were transferred from the calling
application.
System Response
Your data cannot be processed in FI.
Procedure
The error is probably in the calling application.
Thanks & Regards,
Ramya -
Error while saving the excise invoice
Hi All,
I am getting the following error while saving the excise invoice.
No account is specified in item 0000000001
Message no. F5670
Diagnosis
No account was specified for account type "S" in item "0000000001" of the FI/CO document.
System Response
The Financial Accounting program cannot process the document.
Procedure
A system error has probably occurred in the application you called up. Check the data transferred to item "0000000001" of the FI/CO document.
I have read all the posts with regards to the error before, however still after doing the required settings I am getting the error. Please let me know for the same.
Kind Regards
Atul KeshavDear All,
The issue stands resolved please find below the required settings which need to be done.
You need to maintain the following entries in J_1ITRNACC table
100 DLFC 01 CR PLAAED
100 DLFC 01 CR PLABED
100 DLFC 01 CR PLACESS
100 DLFC 01 CR PLASED
100 DLFC 01 CR PLAAT1
100 DLFC 01 CR RG23AAt1
100 DLFC 01 CR RG23AED
100 DLFC 01 CR RG23BED
100 DLFC 01 CR RG23SED
100 DLFC 01 DR MSUSP
Also the table J_1ITRNACC should include entries for GRPO, CAPE, DIEX, EWPO,
TR6C with subtransaction type 01.
We need to maintain GL Accounts accordingly in the table J_1IEXCACC.
If still the error persists then you need to apply the following notes.
1018071
978186
1032813
The SAP note 1032813 contains the correction for the program MJ1IINF01
you will have to apply this manually.
Kind Regards
Atul Keshav -
Error while triggering program through output type while saving invoice
Hi,
I have a scenario where in my Z program needs to be triggered when saving a invoice.
For that we have attached out Z program to output type which gets picked while saving invoice.
In the Z program we have written the entire code in Form Entry subroutine.
In the Z program we have called a FM "SD_SALESDOCUMENT_CREATE", to create a sales order.
After sales order is created we have used a Commit statement.
If I run the Z program individually, Salesorder gets created perfectly.
How ever as per scenario when trying to save the invoice, output type gets picked. But program doesn't get called.
and when I go to the saved the invoice I get the following error immediately:
"Error document - Update was terminated"
I have found that the problem is with COMMIT statement through transaction SM13.
Can anybody help me with this. I cannot save the sales order without COMMIT, so I have to use it.
Thanks in Advance,
Rohan.Hi Rohan,
I have worked on almost similar kind of requirement as you.
"Error document - Update was terminated" is because saving of invoice is done in u201CUpdate Tasku201D. Again in that work process, FM also calls for update task, which is not allowed and give short dump.
Here are two different approaches to cope up in this scenario.
1.Call FM in NEW TASK.
Calling Function module in new task will assign new work process and will use different update task.
Use:
CALL FUNCTION 'SD_SALESDOCUMENT_CREATE' STARTING NEW TASK 'task'
This will not give update termination error.
Call of FM in this way will work, but as this will be asynchronies call you will be not able to get status/message out of the FM call result.
If capturing return message is mandatory, use below approach
2, Process output type via Job
Set output type, dispatch time u201CSend with periodically scheduled jobu201D in u201CDefault valueu201D tab.
Run batch job for program u201CRSNAST00u201D with appropriate variant.
Please let me know if you need any further details.
Best Regards,
Nisarg -
Hi,
I am getting an error while saving an excise invoice. It is as follows :
AT1 : Debit = 1,400.00 Credit = 0.00 Diff =1,400.00
please check
Thanks & Regards,
UmeshHi,
This error occurs when there is no balance in RG23A register for SECess-AT1.
Kindly maintain the balances through T.Code:J1IH for additional excise for RG23A Secess and then create excise invoice.
If u r not aware coordinate with your FI consultant and ask him to maintain balances.
Regards,
Kiran -
Hi friends,
I am having following error while saving the excise invoice.
Please help me....
No account is specified in item 0000000001
Message no. F5670
Diagnosis
No account was specified for account type "S" in item "0000000001" of the FI/CO document.
System Response
The Financial Accounting program cannot process the document.
Procedure
A system error has probably occurred in the application you called up. Check the data transferred to item "0000000001" of the FI/CO document.
with regardsHi,
Maintain account determination for reconciliation posting (transaction OBYB). Specify the posting keys for general G/L account postings. Example:
Posting key 40: Debit posting
Posting key 50: Credit posting
check the business transaction and maintain require setting in OBYB
Thanks & Regards
phaneendra -
Brazil Notafiscal error at Display Invoice MIR6
Hi Guys
We have one problem with Brazil invoice
MIRA we are saving invoice ( We are entering NF type E1 in details tab)
Later on MIR6 post the invoice documnet
Once MIR4 dispaly invoice if you click notafiscal button
Error saying that notafiscal document not created
But If you are doing with MIRO it will dispaly Notafiscal documnet
Can any body help this
Edited by: SAP MM on Nov 27, 2009 11:53 AMHi,
if you do a "Where used" search of the message you will see that the message appears in
program LJ1BIF01
include LJ1BIF01
and the message is raised here:
CALL FUNCTION 'J_1B_NF_DOCUMENT_SELECT'
EXPORTING
ref_type = 'LI'
ref_key = nf_ref
IMPORTING
doc_number = nf_nmbr
EXCEPTIONS
document_not_found = 01.
CASE sy-subrc.
WHEN '01'. MESSAGE e211 WITH p_belnr.
ENDCASE.
within the above fm tables J_1BNFLIN and J_1BNFDOC are checked.
Have a look at the entries in these tables for your document.
Best regards. -
Brazil Notafiscal error at Display Invoice MIR4
Hi Guys
We have one problem with Brazil invoice
MIRA we are saving invoice ( We are entering NF type E1 in details tab)
Later on MIR6 post the invoice documnet
Once MIR4 dispaly invoice if you click notafiscal button
Error saying that notafiscal document not created
But If you are doing with MIRO it will dispaly Notafiscal documnet
Can any body help thishttps://service.sap.com/sap/support/notes/681289
-
APP-AR-11526 ERROR WHEN SAVING ADJUSTMENT IN AR RECEIPTS FORM
제품 : FIN_AR
작성날짜 : 2003-04-25
APP-AR-11526 ERROR WHEN SAVING ADJUSTMENT IN AR RECEIPTS FORM.
==============================================================
PURPOSE
Problem Description
Receipt화면에서 Adjustment를 하고 Save버튼을 누를때,
APP-AR-11526 arp_process_adjustment.insert adjustment exception ORA-20001
위와 같은 에러 발생.
Workaround
select taxable_amount
from RA_CUSTOMER_TRX_LINES_ALL
where customer_trx_id = 문제가되는 transaction id
and line_type='TAX';
NULL
Update RA_CUSTOMER_TRX_LINES_ALL
set taxable_amount = transaction의 원래 금액
where customer_trx_id = 문제가되는 transaction id
and line_type='TAX';
Solution Description
RA_CUSTOMER_TRX_LINES_ALL의 taxable_amount값이 NULL인 경우,
invoice 금액 adjustment시 오류가 발생한다.
Reference Documents
-------------------Pl see if MOS Doc 341469.1 (Adjustment Entry: APP-AR-96027: Tax accounting not defined for the tax code or tax location assigned to this invoice) can help.
HTH
Srini -
Hi All ,
I am getting the below error while saving a iBot.
Oracle BI Scheduler Error: [nQSError: 16001] ODBC error state: S1C00 code: 106 message: [Microsoft][ODBC Excel Driver]Optional feature not implemented . at stage of execute transaction command with data source: Procurement_Demo
I am using xls as a datasource to create Repository. I have created scheduler tables for iBot in the same datasource.
Can i not use XLS as a datasource for iBot?
If i can use , what is the solution of this problem.
Thanks in advance.
-- AshishHi Vivek,
Please close your SharePoint Designer application, clear/delete the cached files and folders under the following directories from your server installed SharePoint Designer, then check results again.
<user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
<user profile>\appdata\local\microsoft\websitecache\<sitename>
http://www.andreasthumfart.com/2013/08/sharepoint-designer-2013-server-side-activities-have-been-updated/
Thanks
We are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Hi,
i have created some reports which are working fine,
but now i am facing some errors while saving the files.
Also the reports does show only one record while there are many records in the database.
The error messages are as follows:
REP-1051; Unable to save document to file ' F:\Database\Reports\report1.rdf '.
REP-1070: Error while opening or saving a document.
Please help me to find out the exact problem.
Also tell me how can i show all the pages of Database records in a report( while one record on each page)As for the error while saving, you have only one possible thing to try. It it doesn't work, you're sunk.
Assuming the report was not being newly created, i.e. that it was opened from a file on your system, then rename that file to something else (Report_001_OLD.rdf, for example). Then try to save it - Reports will think it is a new file to be saved rather than an existing file to be updated.
Again, if that doesn't work, and if you do not have the auto-save option turned on, then you're sunk. You will have just lost all of the work you've put into that report.
As you'll discover, Reports is not the most robust application ever written.
Maybe you are looking for
-
Hi, We have a requirement where we want to push text containing html tags to a SmartForm and for this text to be output formatted in bold, italic (as it would on a html page) in the SmartForm. Does anyone know if this is possible? Thanks, Ian
-
WIll AirPlay drain my battery rapidly?
Hi, I just got a third generation Apple TV for Christmas, but I have one question: Will AirPlay drain my iPhone/iPad/Mac battery? Common sense tells me that streaming content from my device to my Apple TV will induce some battery drain, but will it v
-
I want to format my dates inside a jsp page, which are all in yyyy-mm-dd format currently, to look like mm/dd/yyyy. Is there a way to do it? the fmt tag only seems to do extremely simple formatting (aka full, medium, etc, not real formatting).
-
I accidentally hit a combination of keys and now all my desktop folders and files are aligned on the right side of the screen. If I try to move any of them they automatically bounce back. I've searched the preferences and the option bar without succe
-
Hi folks. Is it possible to validate a message using a XSD (in XI) using ABAP Classes / functions instead of JAVA (and BPM)? Like mandatory fields, field types, etc etc Thanks in advance. Best regards. Valter Oliveira.