Postiong key error - SD

At time of generating invoice (Tcode VF01) system gives the error that :
Posting keys for account determination for transaction ECS does not exist.
But it is posting basic excise duty for account key EXD.
We are using ECC 5.0 version.
the patch level is:
Basis/abap - 20
SAP_appl   - 16
The problem started after applying the following note:
0001033650 Budget 2007-08 (SECess) changes for J1IEX /MIGO.

Hi Abhishek,
Goto TCode OB40, and check the transaction key ECS and check the account assisnment there,
Define the Posting keys for it there only as:
Debit : 40
Credit : 50
Save and come out . then try again.
Hope this helps you.
Reward if found useful.
Regards,
Gaurav Raghav.

Similar Messages

  • Application Translation Not Working - Primary Key Error

    I had created an application translation to Spanish but it wasn't displaying my Spanish translation. I was going to try and redo it so I tried creating a new mapping and then seeding the translatable text. I got a primary key error "ORA-20001: Seed insert error: WWV_FLOW_TOPLEVEL_TABS.TAB_TEXT ORA-00001: unique constraint (FLOWS_030100.WWV_FLOW_TRANSLATABLE_TEXT_PK) violated".
    I went in and deleted what I had done through APEX for this app and tried to create a new application but still get the primary key error when I try to seed it. I gave it a new translated application ID but that doesn't seem to help. Anyone have this problem or no of the reason I'm having this issue?
    Thanks.

    Hi David,
    Thanks for reporting this. This was an interesting problem to solve.
    As it turns out, it was a logic error in Application Express (i.e., bug). When deleting a translation mapping, the associated strings in the translation repository would be deleted for that application, but if and only if you had actually published the application.
    I think this is why you could never get Spanish working properly - you had never actually published the application the first time. So I'll bet what you did is deleted the original mapping, then you recreated the mapping for the same language but with a different translated application ID. Since you had never published the application from the original translation mapping, and there were orphaned rows in the translation repository, you encountered a "collision" when you tried to seed the second time with the different translated application ID.
    Your action of deleting rows from WWV_FLOW_TRANSLATABLE_TEXT$ cleaned up these orphaned rows. As you stated, this isn't recommended to perform DML on the underlying APEX tables. A couple alternatives could have been:
    1) Before deleting the translated application mapping, actually publish the application and then delete the mapping.
    2) If you had deleted the mapping already, you could recreate the mapping for the same language and with the original translated application ID. Then, publish the application and then go back and delete the mapping.
    I realize all this sounds crazy. But it was only an issue because you had not actually published the application. Not your fault, though, as this is a bug in APEX.
    This bug will be fixed in Application Express 4.0. This way, you won't have to worry about if you published or didn't publish. The orphaned rows will be cleaned up when you delete a mapping.
    Thanks again for reporting this.
    Joel

  • I can not re-install/ update apple iTunes on my HP PC running Win7-64.  I get a registry key error when installing and am asked to make sure I have access.  IT is a home PC with one user and I have admin priveledges.

    When the updater notified me of an iTunes update, I selected the update option.  The update failed and killed the version I was running.  I have tried for a year to fix the problem without sucess.  I can't completely remove all Apple products.  I can not install any apple products especially iTunes which is the only one I am interested in.
    When I install iTunes now I get a registry key error similar to this:
    I am using a machine where I am the only user and am the Admin.   I have looked at the security settings on this key and see nothing wrond with it or the parent keys.  I tried removing all apple products but ran into similar problems.  At this time I still have Bonjour. Mobile Device Support, Software Update, and Application Support installed.

    These ones are tricky. But the following instructions are worth a try.
    First do a complete uninstall of iTunes and related components (but don't reinstall just yet), as per the following document:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    a. Launch regedit (Start >> Search Programs and Files >> type Regedit and open the regedit that comes up.)
    b. Access the following Location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData \S-1-5-18\Components
    c. Perform the following actions
    i. Right Click on Components Folder
    ii. Select Permissions
    iii. Select Full Control and Read Permissions options
    iv. Select Advanced Button
    v. Select Owner Tab
    vi. Select to Change Owner to the Administrators
    vii. Check the option “Replace owner on subcontainers and objects”
    viii. Select OK when prompted that it may not change all.
    ix. Select Apply
    x. Select Apply again
    xi. Exit the Registry Editor
    Now try reinstalling iTunes again. Does it go in properly this time?

  • Invalid API Key Error in Ecosign API

    I'm using the sample soap code(Developer kit) given by echosign api for testping, but it always show invalid api key error while i'm executing from terminal. Please give the solution as soon as possible, and i'm not able to get solution from google also.
    This is my API Key:
    Client Secret:
    6IaJHev8N48JbsZcM4Itggzt0pAHF0iS
    I tried with this comment in terminal:
    php demo.php https://secure.echosign.com/services/EchoSignDocumentService20?wsdl 6IaJHev8N48JbsZcM4Itggzt0pAHF0iS test
    This is demo.php file:
    <?php
    // get input
    array_shift($_SERVER['argv']);
    $Url = array_shift($_SERVER['argv']);
    $ApiKey = array_shift($_SERVER['argv']);
    $cmd = array_shift($_SERVER['argv']);
    $params = $_SERVER['argv'];
    if (!$cmd) print_usage();
    $S = new SOAPClient($Url);
    call_user_func("cmd_$cmd", $params);
    function cmd_test() {
        global $Url, $ApiKey, $S;
        print "Testing basic connectivity...\n";
        $r = $S->testPing(array('apiKey' => $ApiKey));
        print "Message from server: {$r->documentKey->message}\n";
        print "Testing file transfer...\n";
        $text = file_get_contents('../test.pdf');
        $r = $S->testEchoFile(array('apiKey' => $ApiKey, 'file' => base64_encode($text)))->outFile;
        if (base64_decode($r) === $text) {
            print "Woohoo! Everything seems to work.\n";
        else {
            die("ERROR: Some kind of problem with file transfer, it seems.\n");
    function cmd_send() {
        global $Url, $ApiKey, $S;
        list($filename, $recipient) = reset(func_get_args());
        $r = $S->sendDocument(array(
            'apiKey' => $ApiKey,
            'documentCreationInfo' => array(
                    'fileInfos' => array(
                        'FileInfo' => array(
                            'file'     => file_get_contents($filename),
                            'fileName' => $filename,
                    'message' => "This is neat.",
                    'name'    => "Test from SOAP-Lite: $filename",
                    'signatureFlow' => "SENDER_SIGNATURE_NOT_REQUIRED",
                    'signatureType' => "ESIGN",
                    'tos' => array( $recipient ),
        print "Document key is: {$r->documentKeys->DocumentKey->documentKey}\n";
    function cmd_info() {
        global $Url, $ApiKey, $S;
        list($doc_key) = reset(func_get_args());
        $r = $S->getDocumentInfo(array('apiKey' => $ApiKey, 'documentKey' => $doc_key))->documentInfo;
        print "Document is in status: {$r->status}\n";
        print "Document History: ";
        foreach($r->events->DocumentHistoryEvent as $_) {
            $keytext =
              $_->documentVersionKey
              ? " (versionKey: {$_->documentVersionKey})"
            print "{$_->description} on {$_->date}$keytext\n";
        print "Latest versionKey: {$r->latestDocumentKey}\n";
    function cmd_latest() {
        global $Url, $ApiKey, $S;
        list ($doc_key, $filename) = reset(func_get_args());
        $r = $S->getLatestDocument(array('apiKey' => $ApiKey, 'documentKey' => $doc_key))->pdf;
        //$r = base64_decode($r);
        file_put_contents($filename, $r);
    function print_usage() {
        die(<<<__USAGE__
    Usage:
      demo.php <URL> <API key> <function> [parameters]
    where the function is one of:
      test
      send <filename> <recipient_email>
      info <documentKey>
      latest <documentKey> <filename>
    test will run basic tests to make sure you can communicate with the web service
    send will create a new agreement in the EchoSign system, and returns a documentKey
    info returns the current status and all the history events for a given documentKey
    latest saves the latest version of the document as a PDF with the given filename
    __USAGE__
    --------------------------  End of file ---------------------------------------------------------------

    This is my API Key:
    Client Secret:
    6IaJHev8N48JbsZcM4Itggzt0pAHF0iS
    Client secret is not the same as an api key!
    in addition to the above, integration key or access codes can be had by going to personal preferences>access code and clicking the plus sign.

  • Getting "incorrect sync key" errors during iPhone setup

    First, i tried to "add a device" in the desktop Sunc window.
    Entered the simple key that my phone generated, and got a positive confirmation on the desktop.
    However, the phone showed a "incorrect sync key" error message, and no connection was made.
    Then, i tried it the other way around - through the phone app.
    I entered the sync key, connected, and got the "incorrect sync key" error as well. I tried this twice, just to make sure i didn't have a typo anywhere.
    Lastly, i generated a NEW sync key in Firefox. I then tried connecting BOTH WAYS all over again, always with the same "incorrect sync key" error appearing on the phone.
    It works neither way! Very frustrating...

    Resolved itself. I guess they were doing extensive maintenance over at Mozilla ... now it just went through as it should, and my iPhone is added to the list of devices.
    If you are experiencing similar problems, you can file a bug report - and read the latest status updates on maintenance - here: https://services.mozilla.com/status/

  • Wrong sync key error

    i keep getting wrong sync key error after i click finish on "Setup Complete." i have tried resetting the sync key. nothing works.

    Sync was an Add-on before the release of FF4 after which it was integrated into the current release, so it may behave differently.
    You could maybe consider updating to the current version which is v4.0.1
    To do that, click Help | About Firefox | Check For Updates and then "Apply Update".
    P.S. I'm off on vacation for a month from today so I won't be able to respond again until mid-July. But I'm sure one of the other guys will be able to takeover if the problem persists.

  • Sort key error

    I am getting sort key error when I run the below error. what is the problem with this query
    select a.table_name child_table,
    a.constraint_name child_constraint,
    max(decode(a.position, 1, a.column_name,NULL)) ||
    max(decode(a.position, 2,', '||a.column_name,NULL)) ||
    max(decode(a.position, 3,', '||a.column_name,NULL)) ||
    max(decode(a.position, 4,', '||a.column_name,NULL)) ||
    max(decode(a.position, 5,', '||a.column_name,NULL)) ||
    max(decode(a.position, 6,', '||a.column_name,NULL)) ||
    max(decode(a.position, 7,', '||a.column_name,NULL)) ||
    max(decode(a.position, 8,', '||a.column_name,NULL)) ||
    max(decode(a.position, 9,', '||a.column_name,NULL)) ||
    max(decode(a.position,10,', '||a.column_name,NULL)) ||
    max(decode(a.position,11,', '||a.column_name,NULL)) ||
    max(decode(a.position,12,', '||a.column_name,NULL)) ||
    max(decode(a.position,13,', '||a.column_name,NULL)) ||
    max(decode(a.position,14,', '||a.column_name,NULL)) ||
    max(decode(a.position,15,', '||a.column_name,NULL)) ||
    max(decode(a.position,16,', '||a.column_name,NULL)) child_columns,
    c.table_name as parent_table,
    b.R_CONSTRAINT_NAME parent_constraint,
    max(decode(d.position, 1, d.column_name,NULL)) ||
    max(decode(d.position, 2,', '||d.column_name,NULL)) ||
    max(decode(d.position, 3,', '||d.column_name,NULL)) ||
    max(decode(d.position, 4,', '||d.column_name,NULL)) ||
    max(decode(d.position, 5,', '||d.column_name,NULL)) ||
    max(decode(d.position, 6,', '||d.column_name,NULL)) ||
    max(decode(d.position, 7,', '||d.column_name,NULL)) ||
    max(decode(d.position, 8,', '||d.column_name,NULL)) ||
    max(decode(d.position, 9,', '||d.column_name,NULL)) ||
    max(decode(d.position,10,', '||d.column_name,NULL)) ||
    max(decode(d.position,11,', '||d.column_name,NULL)) ||
    max(decode(d.position,12,', '||d.column_name,NULL)) ||
    max(decode(d.position,13,', '||d.column_name,NULL)) ||
    max(decode(d.position,14,', '||d.column_name,NULL)) ||
    max(decode(d.position,15,', '||d.column_name,NULL)) ||
    max(decode(d.position,16,', '||d.column_name,NULL)) parent_columns
    from USER_cons_columns a, USER_constraints b , USER_constraints c, USER_cons_columns d
    where a.constraint_name = b.constraint_name
    and b.constraint_type = 'R'
    and a.owner = b.owner
    and a.owner = 'SCOTT'
    and b.r_owner = c.owner
    and b.R_CONSTRAINT_NAME = c.constraint_name
    and c.constraint_name = d.constraint_name
    and c.owner = d.owner
    group by a.table_name, a.constraint_name,c.table_name,b.R_CONSTRAINT_NAME
    order by child_table;
    ERROR at line 37:
    ORA-01467: sort key too long

    make a short query and union to solve
    select a.table_name child_table,
    a.constraint_name child_constraint,
    max(decode(a.position, 1, a.column_name,NULL)) ||
    max(decode(a.position, 2,', '||a.column_name,NULL)) ||
    max(decode(a.position, 3,', '||a.column_name,NULL)) ||
    max(decode(a.position, 4,', '||a.column_name,NULL)) ||
    max(decode(a.position, 5,', '||a.column_name,NULL)) ||
    max(decode(a.position, 6,', '||a.column_name,NULL)) ||
    max(decode(a.position, 7,', '||a.column_name,NULL)) ||
    max(decode(a.position, 8,', '||a.column_name,NULL)) ||
    max(decode(a.position, 9,', '||a.column_name,NULL)) ||
    max(decode(a.position,10,', '||a.column_name,NULL)) ||
    max(decode(a.position,11,', '||a.column_name,NULL)) ||
    max(decode(a.position,12,', '||a.column_name,NULL)) ||
    max(decode(a.position,13,', '||a.column_name,NULL)) ||
    max(decode(a.position,14,', '||a.column_name,NULL)) ||
    max(decode(a.position,15,', '||a.column_name,NULL)) ||
    max(decode(a.position,16,', '||a.column_name,NULL)) child_columns
    from USER_cons_columns a, USER_constraints b , USER_constraints c, USER_cons_columns d
    where a.constraint_name = b.constraint_name
    and b.constraint_type = 'R'
    and a.owner = b.owner
    and a.owner = 'SCOTT'
    and b.r_owner = c.owner
    and b.R_CONSTRAINT_NAME = c.constraint_name
    and c.constraint_name = d.constraint_name
    and c.owner = d.owner
    group by a.table_name, a.constraint_name,c.table_name,b.R_CONSTRAINT_NAME
    order by child_table

  • Country-State-City hierarchy is driving me crazy ( duplicate attribute key errors)

    hi guys:
      I've a dimDesitination dimension and inside this dim , I have 4 attributes, dimDest_ID, country, state and city,
    my goal is pretty simple, create a hierarchy country-state-city .
    I've made sure there are no NULLs in each column, also state and city attribute, I've created composite key 
    for example, for state attribute , the key column is (country , state)
    for city attribute, the key column is (country, state , city)
    when the source dim table contains small number of data, every is fine and process full did succeed.
    However, when the raw dim table gets bigger( more data comes in), the process full starts to give me error msg
    says duplicate attribute key errors....   this is painful as I did check the raw table but no duplicate key found ever
    any comments?
    thanks
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Hi Cat_ca,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • French character is causing duplicate attribute key errors, why and how to overcome?

    hi there:
      I have a retailerproductname called  'Meilleurs vœux' , this character 'œ' is causing headache  as  it's causing the classic duplicate attribute key errors.  When I replaced it with 'e', error goes away... 
    The thing is that I do not want to correct  datawarehouse everyday for this type of work... plus there might be other non-english characters that may pop up depends on what consumers  bought. 
    Is there anyway other than manual intervention? 
    thanks
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    yes, try use nvarchar instead of varchar.
    Using varchar Spree-Neiße <> Spree-Neisse. Using nvarchar Spree-Neiße = Spree-Neisse.
    And one more specifying quiestion about your data source. Imagine you have two retailproductname, such as
    Spree-Neiße and Spree-Neisse. In your case is it the same product and you should leave only one record? 

  • Classic duplicate key error when processing dimensions

     I have a dimension attribute that has a list of values below
    atlanta
    atlanta
    Atlanta
    Atlanta
    Atlanta
    ATLANTA
    it has caused the duplicate key errors. I've checked the colloation property of AS server and it's set to Latin1_general with case-sensitive UNCHECKED.... I wonder why I still get this type of errors? 
    thanks
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    You would need to use a case-sensitive collation for these not to be considered duplicates and even then, on closer inspection, I still see duplicates in your data.  There are only three distinct case-sensitive values out of the six examples you've
    provided: atlanta, Atlanta, and ATLANTA.
    Jason

  • Reconciliation key error in ETHIM

    Hi Experts,
    In transaction ETHIM (ECC 6.0 ISU) I am getting a reconcilation key error stating "Reconciliation keys already exist for shortened reconciliation key". If we delete the recon key from the field in ETHIM and then execute the program, the application log then gives the message "Key selection not defined for application R company code Aggr.:Conversion of Ext Transactions to N(R
    Any suggestions on what might be the problem?

    Hi!
    Try to create a rec key manually and use it in ETHIM.
    Regards,
    Daniel Toba

  • Duplicate key errors table T7KR5CT occured during SHADOW_IMPORT_INC

    Hi,
    We are getting the following error during EHP4 upgrade :- 
    Checks after phase MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_INC were negative!
    Last error code set: Unresolved requests in buffer SRD
    Check logfiles 'SHDALLIMP.ELG' and '/EHPI/EHPI/abap/log/SAPehpi.ECO'
    A trouble ticket and an archive with all relevant log files have been
    generated.
    Trouble ticket: "/EHPI/EHPI/abap/log/SAPehpi_troubleticket.log"
    Log archive: "/EHPI/EHPI/abap/log/SAPehpi_troubleticket_logs.sar"
    01)  *  Repeat phase MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_INC to continue at the point it stopped
    02)  -  Initialize phase MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_INC to restart it from the beginning
    03)  -  Exit this program
    Choose action: Repeat phase MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_INC to continue at the point it stopped
    Log file shows the following information :-
      LIST OF ERRORS AND RETURN CODES  *******
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SHADOW IMPORT ERRORS and RETURN CODE in SAPK-70105INPIBASIS.SRD
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2EETW000 import portion 000000 - 000022 not imported because the child processes died for unknown reason
    2EETW000 import portion 000023 - 000026 not imported because the child processes died for unknown reason
    2EETW000 import portion 000027 - 000185 not imported because the child processes died for unknown reason
    2EETW000 import portion 000186 - 000191 not imported because the child processes died for unknown reason
    2EETW000 import portion 000192 - 000218 not imported because the child processes died for unknown reason
    2EETW000 import portion 000219 - 999999 not imported because the child processes died for unknown reason
    1 ETP111 exit code           : "4"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SHADOW IMPORT ERRORS and RETURN CODE in SAPKE60416.SRD
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2EETW000 child process 745784 terminated -> setting rc=12 for this import portion
    2EETW000 sap_dext called with msgnr "4":
    2EETW000 -
    db call info -
    2EETW000 function:   db_docu
    2EETW000 fcode:      CI_WRITE_LINE
    2EETW000 len (char): 68
    2EETW000 key:        NAHRPAYDEST601                                                EE0012
    2EETW000 ok fetches: 0
    2EETW000 retcode:    4
    1 ETP111 exit code           : "0"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SHADOW IMPORT ERRORS and RETURN CODE in SAPKE60425.SRD
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2EETW000 12 duplicate key errors during insert into table T7KR5CT occured
    2EETW000 12 duplicate key errors during insert into table T7KR5CT occured
    1 ETP111 exit code           : "8"
    /EHPI/EHPI/abap/exenew/R3trans finished (0000).
    /EHPI/EHPI/abap/exenew/R3trans finished (0000).
    /EHPI/EHPI/abap/exenew/R3trans finished (0004).
    2EETW000 12 duplicate key errors during insert into table T7KR5CT occured
    /EHPI/EHPI/abap/exenew/R3trans finished (0000).
    /EHPI/EHPI/abap/exenew/R3trans finished (0004).
    2EETW000 12 duplicate key errors during insert into table T7KR5CT occured
    /EHPI/EHPI/abap/exenew/R3trans finished (0008).
    ERROR: stopping on error 8 during SHADOW IMPORT
    Warning: Parameter INTERRUPT is no longer used.
    Warning: unknown parameter MAX_SEMAPHORE_WAIT in parameter file (line 9).
    Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
    Warning: Parameter WITH_TACOB is no longer used.
    Warning: Parameter IMPDP_BY_EVENT is no longer used.
    Warning: Parameter INTERRUPT is no longer used.
    Warning: unknown parameter MAX_SEMAPHORE_WAIT in parameter file (line 9).
    Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
    Warning: Parameter WITH_TACOB is no longer used.
    Warning: Parameter IMPDP_BY_EVENT is no longer used.
    stopping on error 8 during SHADOW IMPORT
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 8
    SWARNS: Highest tp internal severe warning was: 0151
    tp finished with return code: 151
    meaning:
      Some warning regarding buffer entries
    Process with ID 807096 terminated with status 151
    We tried to replace the R3trans with a latest version of R3trans and repeat the SHADOW_IMPORT_INC phase but still the same error is reported.
    Can you please help us on this ?
    Thanks in adavnce.
    Regards,
    SS

    Hello,
    I got the same problem in RPH EHP5 Upgrade Phase SHADOW_IMPORT_INC with table TWUF_CHECK~. After reading some notes (1074030, ...) I decided to restart the phase without any modifications and it worked and I'm  happy!
    Jörg
    ./R3trans -v
    This is ./R3trans version 6.22 (release 720 - 02.05.11 - 15:56:00).
    ALOG702:
    SAPK-603DTINEAGLTRAD SID.ALL K 0012 20110901110222 EAGLTRADUSER sidadm       hostname 2011090109242911d001
    SAPK-603DTINEAGLTRAD SID.ALL K 0004 20110901114000 EAGLTRADUSER sidadm       hostname 20110901113956128006
    SHDALLIMP.ELG:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SHADOW IMPORT ERRORS and RETURN CODE in SAPK-603DTINEAGLTRAD.DE8
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2EETW000 1 duplicate key error during insert into table TWUF_EVENT~ occured
    2EETW000 sap_dext called with msgnr "16":
    2EETW000 -
    db call info -
    2EETW000 function:   db_setget
    2EETW000 fcode:      RT_GET (0)
    2EETW000 tabname:    TWUF_CHECK~
    2EETW000 len (char): 65
    2EETW000 key:        CL_WB2_ANLYTLTRDGVWINVCIDQR   INPUT                         00002
    2EETW000 ok fetches: 0
    2EETW000 last entry:
    2EETW000 retcode:    16
    1 ETP111 exit code           : "12"

  • 1 duplicate key error during insert into table

    Dear Guru's
    While upgrading the SAP_HR patch, I am facing this issue
    Current level is SAPKE60455
    Trying to apply patch - SAPKE60456
    This is seen in the import log
    Start import R3TRVDATV_512W_O ...
    client 000:   1
    client 001:   1
    client 070:   1
    client 080:   1
    client 100:   1
    client 320:   1
    1 duplicate key error during insert into table T512T occured
    End import R3TRVDATV_512W_O (with warnings)
    Please help, thank in advance
    R3trans is at version 6.19
    Regards,
    Omkar

    Hello,
    Issue was resolved after upgrading the R3trans
    Regards,
    Omkar

  • Oracle Primary key error on a sequence number generator

    I have a table called table 1 and I am trying to insert a few values in this table and i am constantly getting bogged down by a primary key error. Strange thing is this primary key called "ID" on the table is a sytem generated sequence value number. The error is
    "ORA-00001: unique constraint (Schema1.LICN_PK) violated"
    Any idea?
    I will post the structure of the table below and my SQL statement as well.
    Table structure:
    CREATE TABLE schema1.table1
    ID NUMBER(12),
    LITM_ID NUMBER(12),
    PROG_PROGRAM_CD VARCHAR2(2 BYTE),
    SCHED_NBR VARCHAR2(3 BYTE),
    SCHD_VERSION_YR NUMBER(4),
    SCHD_VERSION_NBR NUMBER(3),
    LITM_LINE_ITEM_NBR VARCHAR2(3 BYTE),
    SLIN_LINE_ITEM_ID NUMBER(12),
    COND_CD VARCHAR2(15 BYTE),
    COND_TYPE VARCHAR2(1 BYTE) DEFAULT 'O',
    COND_TEXT VARCHAR2(240 BYTE),
    DERIVE_COMPRSN_IND VARCHAR2(1 BYTE),
    DISPLAY_SEQ_NBR NUMBER(5),
    SEVRTY_CD VARCHAR2(1 BYTE),
    OVRRDBL_IND VARCHAR2(1 BYTE),
    NEVER_OVRRDBL_IND VARCHAR2(1 BYTE),
    CREATED_BY VARCHAR2(8 BYTE),
    CREATED_TMST DATE,
    MODIFIED_BY VARCHAR2(8 BYTE),
    MODIFIED_TMST DATE
    CREATE UNIQUE INDEX schema1.LICN_PK ON schema1.table1
    (ID)
    NOLOGGING
    TABLESPACE INDEX_STAT1
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 128K
    NEXT 128K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE UNIQUE INDEX schema1.LICN_UK ON schema1.table1
    (LITM_ID, COND_CD)
    NOLOGGING
    TABLESPACE INDEX_STAT1
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 128K
    NEXT 128K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    Table structure ends
    ****************Insert statement*************
    insert into table1
    (id,
    litm_id,
    prog_program_cd,
    sched_nbr,
    schd_version_yr,
    schd_version_nbr,
    litm_line_item_nbr,
    slin_line_item_id,
    cond_cd,
    cond_type,
    cond_text,
    derive_comprsn_ind,
    display_seq_nbr,
    sevrty_cd,
    ovrrdbl_ind,
    never_ovrrdbl_ind,
    created_by,
    created_tmst,
    modified_by,
    modified_tmst)
    values
    (LITM_ID_SQ.nextval,
    5678,
    '28',
    000,
    2005,
    1,
    '007',
    28,
    '0008',
    'E',
    'No advance',
    'N',
    80,
    'M',
    'N',
    'Y',
    USER,
    SYSDATE,
    USER,
    SYSDATE);
    *************End***********************
    Any idea why the error is coming up and any way to resolve it. I checked the max sequence number value and kept running it for a while and then tried to run my insert statement but no luck yet.
    Please help!!!

    Hi,
    Are you tring to do the same insert more than once?
    The sequence for ID will be generated and there will be no problem with that.
    But what about UNIQUE INDEX schema1.LICN_UK ON schema1.table1(LITM_ID, COND_CD)?
    you are trying to insert the same values again into those columns... and there is a unique index.
    Test your insert by dropping the unique index LICN_UK
    DROP INDEX schema1.LICN_UK;Now it will work. But if you need the uniqueness, you need to insert different values for those columns each time you insert.
    G.

  • Updating from 7.6 to 8.2 for new Nano; keep getting "key" errors

    Got my daughter a Nano. Says we have to have 8.0 or better for it to work. We have 7.6. Tried installing thru Apple Update but it kept getting an error after the download saying "invalid signature" and removed the download. Saw a topic that said to download 8 directly from the web and install. Have done that but now get numerous "could not write value to key" errors and finally a "could not open key" error that rolled back the entire install. Any suggestions?

    Are you installing from the admin account you originally used to install iTunes? If not switching to that might help.
    But when you get problems with access to registry keys you can fix the registry permission problem with the following link:
    http://blogs.msdn.com/astebner/archive/2006/09/04/739820.aspx
    It looks a bit daunting, but many people have used it successfully. It does take a long time to run so be patient with it.
    One point I notice it says you can get your user name fro documents & settings, mostly this is true, but not always. You can get it from the task manager or in control panel>>User accounts

Maybe you are looking for

  • XLLT mapping program

    Hi, I have to send an Idoc from SAP to a 3rd party using webservices. The request message( for web service) has 5 inputs.Idoc has to as a first input rest of the inputs are hard coded values.     Now I want the Idoc in the form of a string on the tar

  • Can't select value in af:selectBooleanCheckbox

    I have a query where i bring a column from this part of my query: DECODE((SELECT GR.GESDOPCCOD FROM GESDROL GR WHERE GR.GESDOPCCOD=GO.GESDOPCCOD AND(:PV_CODROL IS NOT NULL AND GR.GESDROLCOD=:PV_CODROL)),NULL,'NoRegistrado','Registrado')REGISTRADO I d

  • Payment Proposals list, needs to be sorted by alphabetically

    Every report needs to be sorted differently, but Payment Proposals list, needs to be sorted by alphabetically  listing pls provide solution

  • Unable to Execute Report ....

    Hi ... I have created a report using Report Painter .... in PCA 8A, by copying 8A22-002 ... after creating Reprt Group ZCPK .... and trying to execute the report tht I have created Z0PL, I receive a message "Report Contains no data   Check the select

  • Connect to sql from visual studio

    in my sql server 2008r2 I made a new database with some tables, and I want to use it in visual studio, so in the server explorer window - I clicked on "connect to database" and I can't find my new DB in the "select DB name" drop down. how can I find