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,
satya

Hi 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

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,
    AMit

    I 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 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,
    Ajay

    Hello 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 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.Rajeswari

    Hi,
    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 Keshav

    Dear 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

  • Error while posting invoice AT1 : Debit = 1,400.00 Credit = 0.00 Diff =1,40

    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,
    Umesh

    Hi,
    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

  • Error While saving a iBot

    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.
    -- Ashish

    Hi 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.

  • Error while Saving the report

    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.

  • Error while saving the Sales Order

    Hi experts,
        i am getting a runtime error while saving a sales order stating: SAPSQL_EMPTY_TABNAME. It says the field T681-KOTAB could be empty. I would give in more inputs. Someone plz help.
    Thanks.

    I would expect that KOTN521 would be a Database table defined in the ABAP Dictionary that relates to the condition implemented in 521 for the usage specified in that record.
    You should be able to go into the info system, SE84, and search under ABAP Dictionary / Database Tables to see what KOTN521 is.
    Also, since the only Keys to T681 are KVEWE and KOTABNR, and there are two KOTABNR entries with a value of 521, then there must be two different usages (KVEWE) associated with that table.
    If you see what they are, you can check to see what the usages represent.   Based on a lookup, it appears that a usage of N is for Free Goods, A is for Pricing etc.   In our system, we only have A entries.
    What are the usages for the 521 entries?  Do they relate to Free Goods/Pricing???
    Does the table KOTN521 exist in the ABAP Dictionary?
    Answering these questions may get you closer to the answer.
    Can you compare the values in these entries to what you have in different SIDs?
    Is this problem happening in Production, or is it still in a development or Quality Assurance client?
    If it is still in development or Q, then it may be that a recent customization change was made.
    Compare the entries across your systems, if possible.
    Good luck
    Brian

  • Error while saving FYV : Gaps in financial year variant periods

    Hello Experts,
    We are getting an error while saving  a new FYV as:
    Gaps in financial year variant periods XY
    Message no. FGV556
    Diagnosis
    The period specification has gaps. The periods must be sequentially numbered without any gaps.
    System Response
    Only a correctly defined period assignment can be saved.
    Procedure
    Define the periods with consecutive numbers.
    Details: The new FYV has 52/53 weeks as posting periods depending on calendar year.
    For example, we are trying to define Fisc 2009 as follows. (Fiscal year 2009 = Nov 01 2008 to Oct 31 2009).
    Month-Day-Period-Yearshift
    11     ---     7     ---     1     ---     +1
    11     ---     14     ---     2     ---     +1
    11     ---     21     ---     3     ---     +1
    11     ---     28     ---     4     ---     +1
    12     ---     5     ---     5     ---     +1
    12     ---     12     ---     6     ---     +1
    12     ---     19     ---     7     ---     +1
    12     ---     26     ---     8     ---     +1
    12     ---     31     ---     9     ---     +1
    1     ---     3     ---     9     ---     0
    1     ---     10     ---     10     ---     0
    1     ---     17     ---     11     ---     0
    1     ---     24     ---     12     ---     0
    1     ---     31     ---     13     ---     0
    2     ---     7     ---     14     ---     0
    2     ---     14     ---     15     ---     0
    2     ---     21     ---     16     ---     0
    2     ---     28     ---     17     ---     0
    3     ---     7     ---     18     ---     0
    3     ---     14     ---     19     ---     0
    3     ---     21     ---     20     ---     0
    3     ---     28     ---     21     ---     0
    4     ---     4     ---     22     ---     0
    4     ---     11     ---     23     ---     0
    4     ---     18     ---     24     ---     0
    4     ---     25     ---     25     ---     0
    4     ---     2     ---     26     ---     0
    5     ---     9     ---     27     ---     0
    5     ---     16     ---     28     ---     0
    5     ---     23     ---     29     ---     0
    5     ---     30     ---     30     ---     0
    6     ---     6     ---     31     ---     0
    6     ---     13     ---     32     ---     0
    6     ---     20     ---     33     ---     0
    6     ---     27     ---     34     ---     0
    7     ---     4     ---     35     ---     0
    7     ---     11     ---     36     ---     0
    7     ---     18     ---     37     ---     0
    7     ---     25     ---     38     ---     0
    8     ---     1     ---     39     ---     0
    8     ---     8     ---     40     ---     0
    8     ---     15     ---     41     ---     0
    8     ---     22     ---     42     ---     0
    8     ---     29     ---     43     ---     0
    9     ---     5     ---     44     ---     0
    9     ---     12     ---     45     ---     0
    9     ---     19     ---     46     ---     0
    9     ---     26     ---     47     ---     0
    10     ---     3     ---     48     ---     0
    10     ---     10     ---     49     ---     0
    10     ---     17     ---     50     ---     0
    10     ---     24     ---     51     ---     0
    10     ---     31     ---     52     ---     0
    The above entries cover all the dates in calendar year 2009, that is, Jan 2009 to Oct 2009  is covered by periods 10 to 52 and Nov 01 2009 to Dec 31 2009 is covered by period 1 to 9 of the following fiscal year 2010.
    Inspite of making sure that all the days of 2009 are covered by periods 1 to 52. We are still unable to save the FYV.
    Please help!
    Susan

    Hello, I am getting this error while saving the FSV. My FSV is based on Weeks. Below is what I am inputting for this. Other details are Calender Year -  2017, No. of posting periods - 53, checked year dependent. Also, I have FSV for previous years also where weeks are 52 but configured as 53. So, hope that this is not creating this issue. Solicit your early response.
    Month
    Day
    Period
    Year Shift
    1
    7
    1
    0
    1
    14
    2
    0
    1
    21
    3
    0
    1
    28
    4
    0
    2
    4
    5
    0
    2
    11
    6
    0
    2
    18
    7
    0
    2
    25
    8
    0
    3
    4
    9
    0
    3
    11
    10
    0
    3
    18
    11
    0
    3
    25
    12
    0
    4
    1
    13
    0
    4
    8
    14
    0
    4
    15
    15
    0
    4
    22
    16
    0
    4
    29
    17
    0
    5
    6
    18
    0
    5
    13
    19
    0
    5
    20
    20
    0
    5
    27
    21
    0
    6
    3
    22
    0
    6
    10
    23
    0
    6
    17
    24
    0
    6
    24
    25
    0
    7
    1
    26
    0
    7
    8
    27
    0
    7
    15
    28
    0
    7
    22
    29
    0
    7
    29
    30
    0
    8
    5
    31
    0
    8
    12
    32
    0
    8
    19
    33
    0
    8
    26
    34
    0
    9
    2
    35
    0
    9
    9
    36
    0
    9
    16
    37
    0
    9
    23
    38
    0
    9
    30
    39
    0
    10
    7
    40
    0
    10
    14
    41
    0
    10
    21
    42
    0
    10
    28
    43
    0
    11
    4
    44
    0
    11
    11
    45
    0
    11
    18
    46
    0
    11
    25
    47
    0
    12
    2
    48
    0
    12
    9
    49
    0
    12
    16
    50
    0
    12
    23
    51
    0
    12
    30
    52
    0
    12
    31
    1
    +1
    Thanks
    Deepankar

  • Error while saving project in cProjects

    Hello,
    I am getting following error while saving a project in cProjects-
    Access via 'NULL' object reference not possible.
    Details of the error are given below-
    Can somebody please help me resolve this error?
    Thanks and regards,
    Milind Dumbre
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
          caught in    procedure "FINALIZE_OBJECT_BEFORE_SAVE" "(METHOD)", 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:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component (variable: "LR_CALC").
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.

    Hi Milind,
    You may check the settings by navigating to the following path
    IMG --> Collaboration Projects --> Connection to external systems --> Accounting Integration
    -->  Define Object Links for Accounting Integration.
    Check if the RFC destination has been correctly maintained. You may check the correctness of the RFC settings via SM59.
    Let me know if  this helps.
    Regards,
    Vivek Pandey

  • Error While Saving Mapping For A Dimension

    I am getting The Error While Saving The mapping For a Dimension
    Any Clue?
    An error occurred creating DimensionMapGroup BROKERS.MAPGROUP1.DIMENSIONMAPGROUP : ***Error Occured in
    DELETE_MAPPING_GROUP: Analytic workspace object __XML_STARTUP_CALCMMBRS does
    not exist.
    Thanks
    Raghu

    Check the OSS note 550760 regarding the issue.

  • RunTime Error while saving a Sales Order

    Hi All,
    When i am saving a Sales Order, the system is throwing a Runtime Error.
    The ABAP Code in the Runtime Error screen as follows.
              select * from (t681-kotab) appending table <cond_tab>
                     up to 1 rows
                     where kappl  = se_kappl
                     and   kschl  = se_kschl
                     and   datbi >= se_date
                     and   datab <= se_date
                     and   (coding_tab).
    Till these days, there was no such error while saving a Sales Order.
    How to resolve this issue?
    Regards
    Pavan

    Hi,
    The below piece of code is trying to get the contents of the table mentioned in T681-KOTAB.
    select * from (t681-kotab) appending table <cond_tab>
    up to 1 rows
    where kappl = se_kappl
    and kschl = se_kschl
    and datbi >= se_date
    and datab <= se_date
    and (coding_tab).
    The reason could be is someone has screwed up the entries in T681 table. Check that out.
    Try to put a break point on this SELECT query and see what the value of T681-KOTAB holds before the SELECT query. Check whether such a table entry exists in DB.
    Let me know if you are still stuck up.
    If you can send me the ST22 dump of the run time error, i might be able to help you more  on this.
    Hope this helps.
    Thanks,
    Balaji

  • Error while saving date value in Java dictionary

    Hello Everybody,
    I got following error while saving date value in one of the fields of the Java table.
    Internal error occured in submit request: Error in method updateRequestContact : The object of type java.sql.Date with the value '2005-12-04 08:00:00.0' assigned to host variable 9 is not normalized. It must not contain time components in the time zone running the virtual machine.
    I can't find why it is taking time value in the date object.
    This value is coming from the RFC as a date value, and I am saving this value in Java dictionary table.
    Same code for this was working fine earlier. But, now suddenly it gives error like this.
    Even if I provide date on the screen from webdynpro application, this date value can't save in the Java dictionary and gives same error.
    What should be the problem behind this?
    Regards,
    Bhavik

    Hi Satyajit,
    I am getting date value from the screen of the webdynpro application from date picker control and passing this value in Java dictionary.
    More Information:
    I have dat value in the Date object: <b>target_date</b>
    But Now I have made new Date object as following:
    Date target_Date1 = new Date(target_date.getYear(),target_date.getMonth(),target_date.getDate());
    Then I am passing this object to Java dictionary. Still it gives same error.
    Then I have changed code as following:
              int l_year;
              int l_month;
              int l_days;
              l_year = target_Date.getYear();
              l_month = target_Date.getMonth();
              l_days = target_Date.getDate();
         Date target_Date1 = new Date(l_year,l_month,l_days);
    Now it works for me.
    But I guess this is not the perment solution. It looks very strange. I have used so many date objects at various palces. So, this solution is not the final for me.
    I want to findout the main cause of it.
    One more thing: This code was working for a mornth or two. But, now suddenly it is giving this error.
    Please help me if anybody knows.
    Regards,
    Bhavik

Maybe you are looking for

  • Error writing metadata to any file except jpegs

    Hi all, A coworker and I have been assigned the job of keywording all the photos in our database. We aren't photographers and are only messing with the keyword metadata on the photos. But we've been having a consistent problem with Bridge CS4. When I

  • Can't install the newest version of iTunes

    Hi. I am trying to download the newest version of iTunes, its going about 3/4 of the way through the process then an error message is coming up saying "The feature you are trying to use is on a network that is unavailable. Click ok to try again or en

  • Transfering metedate from TIFF to RAW

    I have gone through loads of my TIFF files and added metadate/file info - mainly keywords and IPTC details. I now realise I should have added this information directly to my RAW files (.CR2 files), and then converted them to TIFFs with this info incl

  • Built in Record Behaviors & Added Blank Lines

    Mac OS 10.4.7 // DW 8.0.2 ASP VBScript Bug Encountered: When using the built-in Insert Record the code view inserts MANY thousands of blank code lines between each ASP line of code. It can go from only a dozen to thousands of blank lines of code. How

  • Ovi Suite 2.2.0.245 broke Outlook 2010 sync, stuck...

    241 worked pretty well, but with 245 I cannot sync with Outlook 2010 at all. The preparation phase will not complete:   "Preparing to sync notes..."   "Preparing to sync calendar and tasks..." It also cannot be aborted. When setting up sync, the sele