Insert coding error

hi ,
anybody tell why error this coming.
                           ''Comma without preceding colon (after INSERT ?)''.          
INSERT INTO KNA1(KUNNR,ANRED,NAME1,PFACH,STRAS,PSTLZ,ORT01,
                 TELF1,TELFX) VALUES(
                        CUSTOMER_T-KUNNR,
                       CUSTOMER_T-ANRED,
                    CUSTOMER_T-NAME1,
                    CUSTOMER_T-PFACH,
                    CUSTOMER_T-STRAS,
                   CUSTOMER_T-PSTLZ,
                    CUSTOMER_T-ORT01,
                    CUSTOMER_T-TELF1,
                    CUSTOMER_T-TELFX.
    ENDIF.

Hi,
as I know, it's not possible to insert a few fields. You need to go over an internal table like this:
DATA: itab TYPE HASHED TABLE OF KNA1
WITH UNIQUE KEY carrid connid,
wa LIKE LINE OF itab.
wa-carrid = 'UA'. wa-connid = '0011'. wa-cityfrom = ...
INSERT wa INTO TABLE itab.
wa-carrid = 'LH'. wa-connid = '1245'. wa-cityfrom = ...
INSERT wa INTO TABLE itab.
wa-carrid = 'AA'. wa-connid = '4574'. wa-cityfrom = ...
INSERT wa INTO TABLE itab.
INSERT KNA1 FROM TABLE itab
Regards
Nicole

Similar Messages

  • Cannot insert object error using Power View in Excel 2013

    I created a short table in Excel 2013, positioned the cursor in the table and clicked Inset/Power View Report. I get a status window saying Excel is opening a Power View sheet but then I get a Power View error: Cannot Insert Object. I am able to insert new
    tabs in the workbook. When I try the insert again, I just get the Power View error. I looked at other threads with similar issues and did the following:
    Made the Formula bar visible - no change
    Tried to repair Office 2013 but that option is not available when I right click on the program in the Control Panel
    De-installed Silverlight - Tried to insert Power View Report. A Power View tab was created with the Power View picture and Power View ribbon. Got the message to install Silverlight and Reload. Installed Silverlight hit Reload and the Power View tab didn't
    change. Hit Power View Report and got the Cannot Insert Object error message again.
    Any help is appreciated.

    Hi,
    Did you use PowerView first time? I notice you had found a similar thread and tested the solutions.
    PowerView is an add-in in Excel2013, We must make sure that you check some option in the trust center and Add-in center.
    http://blogs.office.com/b/microsoft-excel/archive/2012/10/04/intro-to-power-view-for-excel-2013.aspx
    Location1: Excel Options>Add-in>Solver Add-in enable
    Location2: Excel Options> Trust Center> Add-in
    Then you said that you couldn’t repair the Excel 2013, please refer to the following link:
    http://office.microsoft.com/en-gb/outlook-help/repair-office-programs-HA010357402.aspx
    At last, we may test it in clean boot, please refer to the following link:
    http://support.microsoft.com/kb/929135
    Regards,
    George Zhao
    TechNet Community Support

  • Issue with trigger, multi-table insert and error logging

    I find that if I try to perform a multi-table insert with error logging on a table that has a trigger, then some constraint violations result in an exception being raised as well as logged:
    <pre>
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> create table t1 (id integer primary key);
    Table created.
    SQL> create table t2 (id integer primary key, t1_id integer,
    2           constraint t2_t1_fk foreign key (t1_id) references t1);
    Table created.
    SQL> exec dbms_errlog.create_error_log ('T2');
    PL/SQL procedure successfully completed.
    SQL> insert all
    2 into t2 (id, t1_id)
    3 values (x, y)
    4 log errors into err$_t2 reject limit unlimited
    5 select 1 x, 2 y from dual;
    0 rows created.
    SQL> create or replace trigger t2_trg
    2 before insert or update on t2
    3 for each row
    4 begin
    5 null;
    6 end;
    7 /
    Trigger created.
    SQL> insert all
    2 into t2 (id, t1_id)
    3 values (x, y)
    4 log errors into err$_t2 reject limit unlimited
    5 select 1 x, 2 y from dual;
    insert all
    ERROR at line 1:
    ORA-02291: integrity constraint (EOR.T2_T1_FK) violated - parent key not found
    </code>
    This doesn't appear to be a documented restriction. Does anyone know if it is a bug?

    Tony Andrews wrote:
    This doesn't appear to be a documented restriction. Does anyone know if it is a bug?Check The Execution Model for Triggers and Integrity Constraint Checking.
    SY.

  • No data inserted in error table

    hi,
    I developed an ODI interface that inserts data from one table into other table , (both tables are in the same schema of oracle database.)
    But on sending faulty data ,
    I can’t find any records in error table (E$_ , SNP_CHK_TBL)
    I tried these knowledge modules Combination
    CKM SQL - IKM Oracle Incremental Update
    CKM Oracle –IKM SQL Control Append
    Data is inserted in Flow table … but PK Errors records are not inserted in error table.
    query of PK Errors in Operator:
    insert into ODI.E_EMP2
         ROW_ID,
         ERR_TYPE,
         ERR_MESS,
         ORIGIN,
         CHECK_DATE,
         CONS_NAME,
         CONS_TYPE,
         ENO,
         ENAME
    select     distinct
         TRG.rowid,
         'F',
         'The primary key EMP2_PK is not unique.',
         '(7010)ERROR_CHK.EMP1_TO_EMP2',
         sysdate,
         'EMP2_PK',
         'PK',     
         TRG.ENO,
         TRG.ENAME
    from     ODI.I_EMP2 TRG,
         ODI.I_EMP2 TRG2
    where     TRG2.ENO = TRG.ENO and
         TRG2.rowid <> TRG.rowid
    Do I need to modify CKM and IKM.... ?
    Please help....

    Hi, joping to help.
    try using IKM SQL CONTROL APPEND.
    on Control tab in the second tab you have to see the list of the check. Are they set to "yes"?
    if not go to Model and add the costrants
    Regards
    DecaXD

  • How do I find a coding error easily and quickly on a page?

    A page does not look like my other ones, so I assume there is a coding error.
    How do I find it easily?

    See these -
    https://support.mozilla.org/en-US/kb/where-go-developer-support
    https://developer.mozilla.org/en-US/docs/Tools

  • Metadata Load - Invalid tree insertion point error

    Does any one know what this error means when you get it trying to load a metadata file? Invalid tree insertion point error
    Renaming members...
    Scenario
    Entity
    Account
    Custom1
    Custom2
    Custom3
    Custom4
    Currency
    [ConsolMethods]
    No consolidation method section
    Currencies...
    Currencies OK
    Entities...
    Error: Invalid tree insertion point
    Error: Invalid tree insertion point
    Load ended at: 12:39:40
    Elapsed time: 00:00:18

    Hi all,
    I have a question,
    Have you tried to rearrange the hierarchies and move a lower generation parent higher in dimension?
    So, for example:
    Current tree:
    Parent 1
         Parent2
              Base
    New tree:
    Parent2
         Parent1
              Base
    Regards,
    Thanos

  • Content Coding Error in Firefox/Internet Explorer cannot display webpage

    I can log into Beehive without any issues. I used to be able to go to Workspaces > All My Workspaces and see all the workspaces I had access to. From this list, I could get to any of these workspaces. Now when I go to the same navigation, I get in 'Content Coding Error' in Firefox 9 and 'Internet Explorer cannot display webpage' in Internet Explorer 7.
    If I find an email that invited me to a specific workspace, I can access that workspace only. I cannot find a way to access all workspaces I have access to within Beehive.
    Please let me know what other information I need to provide for assistance.
    Thanks!

    Hi,
    https://beehiveonline.oracle.com/index.html is a public page with no obvious protection so anyone should be able to see it without any difficulty. If this is the page causing the issue then it suggests a local browser issue.
    If you are getting this after logging into https://beehiveonline.oracle.com/teamcollab then it means your account is not provisioned correctly. Contact us out of the forum with your details and we can check out if we have a provisioning issue. I would need your email address and any group you have been invited to be a member of - send it to [email protected]
    Phil

  • Insert PK errors

    Hi,
    I am new to ODI. I got 'insert PK errors' while executing my validate scenario. This scenario is to do the validation for interface table ZCA_IMP_SALES_ACCOUNTS which has primary key 'INTERFACE_ROW_ID'. The targe code is
    update FUSION.ZCA_IMP_SALES_ACCOUNTS TRG
    set TRG.object_status = 'COLLECTION_ERROR',
    TRG.collection_status = 'ZCA_IMP_SALES_ACCOUNTS_PK'
    where (TRG.INTERFACE_ROW_ID) = (
    select (TRG2.INTERFACE_ROW_ID)
    from FUSION.ZCA_IMP_SALES_ACCOUNTS TRG2
    where TRG2.rowid <> TRG.rowid )
    and TRG.request_id = <@=#IC_CN_IMPORT.N_REQUEST_ID@>
    The error message is
    java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("update ODI_WORK.ZCA_IMP_SALES_ACCOUNTS TRG set TRG.object_status = . . . '' Token Parsing Error: Lexical error at line 2, column 12. Encountered: "I" (73), after : "#": <at unknown location>
    BSF info: insert PK errors at line: 0 column: columnNo
         at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:635)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.codeInterpretation(SnpSessTaskSql.java:410)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1716)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2698)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java:71)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2417)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:740)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2059)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$1.doAction(StartSessRequestProcessor.java:263)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:226)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:191)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:181)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:708)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:129)
         at oracle.odi.runtime.agent.processor.task.AgentTask.executeInAuthentication(AgentTask.java:104)
         at oracle.odi.runtime.agent.support.BuiltInAgentTaskExecutor$1.run(BuiltInAgentTaskExecutor.java:26)
         at java.lang.Thread.run(Thread.java:619)
    I am not sure how to debug this error. Can someone please help me out?
    Thanks,
    DonMay

    Hi,
    Trying to help....
    Which KM you are using ?
    In which step its failing ?
    What is your Primary Key ? and can you please tell the source and target column mappings and conditions.
    Are you missing some thing in this condition ?
    select (TRG2.INTERFACE_ROW_ID) from FUSION.ZCA_IMP_SALES_ACCOUNTS TRG2
    where TRG2.rowid TRG.rowid )
    I mean equal condition in where clause (where TRG2.rowid = TRG.rowid )
    Regards,
    Rathish A M
    Edited by: Rathish on Dec 4, 2009 1:13 PM

  • KEYBOARD NOT WORKING LEOPARD UPDATE POSSIBLE CODING ERROR??

    having read through all threads concerning this issue of internal MBP keyboards not working after installing leopard, and comparing to my own experience, it seems that everyone started having this problem soon after they must have downloaded the 1st software update to leopard.
    my MBP's keyboard currently does not work. How am I typing you ask?
    With the new apple USB aluminum keyboard. My boyfriend has it for his mac mini.
    Because all these keyboard problems are new and happening to everyone now, we have to assume this is related to the leopard update. They JUST released the aluminum keyboard around the same time they released leopard, so they probably had bugs with the usb aluminum keyboard and had to make some kind of change in the code with how leopard relates with keyboard input. so, it's most likely a coding error and we are at the mercy of apple for a freaking software update ASAP. Don't erase and install - because that will just take you back before the update, and then after you update your software again, it will happen again and your keyboard will crash. I updated my software yesterday and almost immediately started having this issue. my MBP is a week old and i had no issues before this with the keyboard until the update.
    The best thing we can do at this point is FLOOD APPLE WITH PHONE CALLS. We paid upwards of $3000 for a computer - holding down a key and messing with text edit is NOT acceptable.
    These are NOT solutions. Every time your keyboard stops working, and holds you up from doing your work, CALL THEM.
    That's what we think is happening...maybe something more severe is happening and we're wrong. but, hopefully, this is all it is and they will FIX IT as soon as possible because it's really annoying.

    Is anyone else running vmware or parallels?
    I had both installed at different times and realized that for whatever reason the kernel extensions for both were installed on my machine. I downloaded both from their respective website and ran the full uninstall.
    As of this moment my (then-persistent) keyboard issues are gone. I am not positive this was the solution as I just might not have had the problem yet (as they tended to be very sporadic), but it might be a good test if anyone else is using either of those software suites.
    If you open a terminal window and type kextstat, you will be shown a full report of kernel extensions that exist on your machine. Towards the bottom of the list parallels and/or vmware will be listed if they are installed.
    Hope this helps. Though I am still wondering if Leopard is the problem.

  • Billing form coding error...

    Ppl; Just upgraded (if you could call it that!!) the new itunes and it is requesting that I reconfirm my CC details for billing...Great, but it will not allow me to enter the CVV security code (the box is highlighted in red but will not allow data to be entered). Seems like a coding error as the box is there and all other data can be entered but just not this.
    PS Users beware, this new update wiped a great majority of my library (all titles remained however the path to most files became corrupt and music just dissapeared!!)

    ok thanks, I've got it working but It redirects me to Fatcow everytime someone fils out the form.
    I want it to redirect it to my thanks.html page, where do i put the code for this? i believe it doesn't have to be in a specific order end as long as it is in the form code somewhere it will pick it up.
    the line i need to add is......<input type="hidden" name="thankyou_url" value="www.webaddress.com/thanks.html">
    Would I be ok in putting the code in under the following?
    <form method= "post" action="http://www.fatcow.com/scripts/formemail.bml">
           <input type="hidden" name="my_email" value="    [email protected]">
           <input type="hidden" name="subject" value="Website Question">
    I've tried it but it doesn't work, Im sure there is something basic that Im doing wrong.

  • CRM 2007 - Insert an error message

    After to check the consistency of field STRUCT.PROBABILITY I need insert an error message in screen (web client). I created the Enhancement Point in to method GET_PROBABILITY in attribute STRUCT.PROBABILITY.
    How to insert this error message?
    Thanks,
    Daniel

    Hello Daniel,
    I would do this kind of validation in the controller of the view and not the context node by overwriting method DO_FINISH_INPUT. There you would do your check and then add the message by using a message service. Check the methods of the message service for the method which suits you.
      lr_mservice = me->view_manager->get_message_service( ).
            CALL METHOD lr_mservice->add_bapi_messages
              EXPORTING
                it_bapi_messages  = lt_msg
                iv_show_only_once = abap_true.
    Best Regards,
    Yevgen

  • Hi, I'm moving my site from MobileMe to Filezilla and there is apparently a coding error on iWeb that means when I try to get onto my site there's no access online and it says there are too many redirects. Anyone have any idea what this might be?

    Hi, I'm moving my site from MobileMe to Filezilla and there is apparently a coding error on iWeb that means when I try to get onto my site there's no access online and it says there are too many redirects. Anyone have any idea what this might be?

    Well, firstly Filezilla is not a hosting company but an ftp client that helps you upload your site to your new server. You need to purchase a new hosting account first though.
    If you have iWeb 09 then you can publish directly to your new host and you select the publish to ftp option and not MobileMe - MobileMe won't be here after tomorrow.
    You can also publish to a local folder if want to and use Filezilla to upload your site to your server.
    You don't need re-directs as MobileMe won't be here so you need to cancel and delete your domain name from your MobileMe account and then cancel any domain name forwarding that you have at your domain name registrar - that is what the redirects are about.
    Firstly ensure that you have your new hostings account - Filezilla is not a host, rather an ftp client that you use to upload your site.

  • INSERT AGAIN ERROR

    HI,
    I TRY TO INSERT DATA IN DATA BASE TABLE
    BELOW ERROR SHOWN ANYBODT HELP ME.
    ''The work area "CUSTOMER_T" is not long enough . ''.          
    CODING:
    INSERT INTO KNA1 VALUES CUSTOMER_T.
    KNA1-KUNNR = CUSTOMER_T-KUNNR,
                         KNA1-ANRED = CUSTOMER_T-ANRED,
                        KNA1-NAME1 = CUSTOMER_T-NAME1,
                       KAN1-PFACH = CUSTOMER_T-PFACH,
                        KAN1-STRAS = CUSTOMER_T-STRAS,
                       KAN1-PSTLZ = CUSTOMER_T-PSTLZ,
                        KAN1-ORT01 = CUSTOMER_T-ORT01,
                        KAN1-TELF1 = CUSTOMER_T-TELF1,
                        KAN1-TELFX = CUSTOMER_T-TELFX.

    you have to declate customer_t like kna1.
    it will work!!!
    Bye!

  • Enhance BW Extractor - Transactional data ABAP CODING ERROR

    i need to enhance CRM extractor with additional field.
    This is transactional data so i used Exit_rs_001
    Here is the extractor result -
    Guid...date...........objectid...item guid
    1122......1.1.10....901..........8811
    1122......2.1.10....901..........8812
    1123......1.1.10....902..........8813
    1123......2.1.10....902..........8814
    now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
    itemguid...referencekey...product
    8811............01.................110011
    8812............02.................110012
    8813............03.................110013
    now i want to extract data--
    Guid...date...........objectid...item guid...product
    1122......1.1.10....901..........8811.........110011
    1122......2.1.10....901..........8812.........110012
    1123......1.1.10....902..........8813.........110013
    so i appended the extractor...with field zproduct
    FOLLOWING Code doesnot work:::
    DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
    CASE I_DATASOURCE.
    FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
    CASE i_datasource.
    WHEN 'ziw_orderma_i.'. " Upper case
    LOOP AT c_t_data ASSIGNING <PRO_01>.
    SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
    FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
    WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
    ENDSELECT. " not whole primary key
    ENDLOOP.
    ENDCASE.

    actually
    coding doesnt give any error
    but in output in rsa3 i dont see any data
    it worked fine wit the same code for master data datasource in exit...2
    now same code different parameters doesnt work in exit..1 for transactional data.

  • Show a insert trigger error message on a compiled form

    Good Morning
    Is there any way to get a oracle complied form to display a message
    from a trigger insert event.
    My problem is that we have proprietry oracle froms application (with compiled
    forms and no source code. I need to raise some sort of warning message
    from the form when certain condition occurs.
    I have tried using some code like below in the trigger
    but the dbms_output.put_line does not output anything
    nor the EXCEPTION
    DECLARE MY_ERROR exception;
    begin
    DBMS_OUTPUT.ENABLE;
    dbms_output.put_line('outputting this message');
    raise MY_ERROR;
    EXCEPTION
    WHEN others THEN Raise;
    END;
    thanks
    David Hills

    You don't need to get at the source code of the form. The example you gave will stop the execution of any process and you said it should happen for an insert event. So a Raise_Application_Error in a database trigger would be sufficient.
    Hopefully the vendor has put code in their on-error triggers which will cut the message out of a user-defined exception and display it as an alert (this is so much a better method than returning numbers to indicate success or type of failure). If not then the message will be rather ugly but it will at least get the job done.
    James.

Maybe you are looking for

  • Samsung 2015 Smart TV

    Has anybody seen Spotify in the new Samsung TV'sPasi

  • Error message; cannot install update due to other Firefox versions installed. How do I checkfor other versions ?

    Cannot install Firefox 7.0 update. Getting message that update cannot be completed. Check for other versions already installed. How do I look for other versions ?

  • TM LaCie XHD fails again

    Have 500GB LaCie d2 HD QUADRA from 2007 as my TM backup XHD. 3-2009 failure to mount & had to replace Power supply under warranty. Now same problem.  I read online many people have problems with LaCie power supply failing repeatedly. Thinking of gett

  • Help I am a muppet

    Hi I am looking for some help setting up my work E mail account on my curve 9300,  totally new to BB and no idea where to start,  I do know that my company do not have a BES so what to do.  Wizard only allows me to use a BES no other way.  My company

  • Mpeg2 issues new thread

    woodwizer, the mov export is here ( final test export  ) http://rodneybauer.com/whiteboard3.htm right click and use 'save link as" option...and you can save the file the web upload ( youtube which is not so great quality wise...but thats youtube ) is