Getting error msg while inserting a record

HI
Am getting error msg while am inserting a new record. Am unable to view the data that i inserted in to database. If any one can help in sorting of the problem plz help. I used the following code in Application Module(AM) and Controller(CO)
processRequest()
-- am.invokeMethod("insertmethod");
processFormRequest()
-- if(pageContext.getParameter("Create")!=null)
-- am.invokeMethod("savemethod");
In AM Code
public void insertmethod()
EOVOImpl vo=getEOVO1();
if(!vo.isPreparedForExecution())
{    vo.executeQuery(); }
Row ro=vo.createRow();
vo.insertRow(ro);
ro.setNewRowState(Row.STATUS_INITIALIZED);
public void savemethod()
{   OADBTransaction oa=getOADBTransaction();
oa.commit(); }
Error
Attribute SummaryFlag in kiInsertAM.kiInsertEOVO1 is required

Hi,
Either on the form you don't have SummaryFlag field or you forgot to map VO attribute i.e. SummaryFlag to that field.
If you don't have SummaryFlag field on form then you need to set it programatically before committing record.
Please check and let us know.
Regards,
Mukesh Uchaniya

Similar Messages

  • Getting error msg while posting entry in GL using F-02

    Hi gurus,
    While i am posting entry in GL using F-02 getting error message as "no controlling area has been assigned to company code"
    can any help me out at the stage i dint want to configure co settings is there any way to pass the entries
    Thanks & regards
    Nandini

    Hi Nandini,
    Have you defined a GL account as a cost element? I think you have multiple company codes which are using same chart of accounts and this company code is also using the same chart of accounts. And also you have configured single controlling area for all company codes. Even though you have not assigned this company code to controlling area. The cost elements will create at controlling area level.
    Due to this system is throwing error message.
    Please check and let us know if you have other issue.
    Regards,
    Mukthar

  • Getting error msg while launching indesign

    I'm trying to develop a new plugin for InDesign. But for now I'm taking a look at some samples that comes with the SDK. The fact is that I can't get these plugins to work on InDesign(SnippetRunner for example).
    I compile then, get a build successful message and move it to the plugin's InDesign directory, as well as it's resource directory. They dnt load correctly (cause I getting error  message  during start up).
    I am using mac10.7.2 and Xcode 4.2.

    Hi,
    Either on the form you don't have SummaryFlag field or you forgot to map VO attribute i.e. SummaryFlag to that field.
    If you don't have SummaryFlag field on form then you need to set it programatically before committing record.
    Please check and let us know.
    Regards,
    Mukesh Uchaniya

  • Getting error msg while using SFP tcode to use intaractive ADOBE forms

    Hi All,
    I wanna make use of Adobe intractive forms in one application. when i use transaction SFP and click on the layout tab i get following error message.
    Could not start Layout Designer (see long text)
    Message no. FPUIFB086
    Diagnosis
    The forms design tool for developing the form layout could not be started; either it is not installed or there are errors in the installation.
    Procedure
    Make sure that you have the forms design tool installed on your desktop (the tool is part of the SAPGUI installation).
    Also read SAP Note 801524.
    I looked for the same issue on SDN and someone resolved it after installing 'SAP JAVA Stack'. I raised an AHD for the same but CCD guyz say that there is nothing like that.
    Can anyone suggest solution for this if you have faced same issue.
    Thanks!

    Check the port numbers 8888 is allowed by default to Oracle WebCenter Spaces
    http://docs.oracle.com/cd/E14571_01/core.1111/e10105/portnums.htm#ASADM432
    don't know exaclty how you can change the port, maybe in config files
    see this thread :
    {message:id=4446974}
    Regards
    Jean-Yves
    Edited by: JeanYves Bernier on 15 déc. 2012 00:20

  • Problem while inserting a record to infotype 416

    Iam facing a problem while inserting a record to the infotype 416 for a personnel no using the FM 'HR_INFOTYPE_OPERATION'.I have created a FM to insert a record to the infotype 416.In that FM iam using the FM 'HR_INFOTYPE_OPERATION' to create a record for infotype 416.while executing  my FM the FM 'HR_INFOTYPE_OPERATION' is returning the return value 0.But when i check in PA30 for the infotype 416,there is no record created for that personnel no.Also in the table PA0416 the record is not get created.SO what might be the problem.can anyone please provide me help on this.
    I have attached the code of my FM for ur reference.
    FUNCTION Y_ESS_FL_ENCASH.
    DATA: G_COMPENSATION_AMOUNT LIKE PA0416-AMONT,
          G_RETURN TYPE BAPIRETURN1.
    DATA T_PA0416 LIKE P0416 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'HR_READ_INFOTYPE'
        EXPORTING
           TCLAS                 = 'A'
           PERNR                 = '00000014'
           INFTY                 = '0416'
         BEGDA                 = sy-datum
         ENDDA                 =  sy-datum
           BYPASS_BUFFER         = 'X'
         LEGACY_MODE           = ' '
    IMPORTING
         SUBRC                 =
          TABLES
            INFTY_TAB             = T_PA0416
    EXCEPTIONS
      INFTY_NOT_FOUND       = 1
      OTHERS                = 2
        LOOP AT T_PA0416
        WHERE SUBTY = '1002'.
        ENDLOOP.
        IF SY-SUBRC <> 0.
          CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
            EXPORTING
               NUMBER = '00000014'
            IMPORTING
               RETURN = G_RETURN.
          IF SY-SUBRC <> 0.
             MESSAGE I016(RP) WITH ' RECORD IS ALREADY LOCKED'.
          ENDIF.
          T_PA0416-PERNR = '00000014'.
          T_PA0416-SUBTY = '1002'.
          T_PA0416-INFTY = '0416'.
          T_PA0416-OBJPS = ''.
          T_PA0416-SPRPS = ''.
          T_PA0416-SEQNR = ''.
          T_PA0416-AEDTM = SY-DATUM.
          T_PA0416-UNAME = SY-UNAME.
          T_PA0416-ENDDA = SY-DATUM.
          T_PA0416-BEGDA = SY-DATUM.
          T_PA0416-NUMBR = '10'.
          T_PA0416-WGTYP = '1530'.
          T_PA0416-AMONT = '15000'.
          T_PA0416-WAERS = 'INR'.
          T_PA0416-QUONR = '1'.
          APPEND T_PA0416.
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              INFTY                  = '0416'
              NUMBER                 = '00000014'
              SUBTYPE                = '1002'
      OBJECTID               =
      LOCKINDICATOR          =
             VALIDITYEND            = '31129999'
             VALIDITYBEGIN          = SY-DATUM
            RECORDNUMBER           = ''
              RECORD                 = T_PA0416
              OPERATION              = 'INS'
              TCLAS                  = 'A'
      DIALOG_MODE            = '0'
            NOCOMMIT               = 'X'
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
            IMPORTING
              RETURN                 = G_RETURN.
      KEY                    =
          IF G_RETURN+0(1) EQ 'E'.
                  MESSAGE I086(ZHR) WITH 'Record is not inserted in IT416'.
          ELSE.
              COMMIT WORK.
          ENDIF.
          CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
            EXPORTING
              NUMBER = '00000014'
            IMPORTING
              RETURN = G_RETURN.
        ENDIF.
    ENDFUNCTION.

    Hi Murthy
    With a first glance, I think you have given a wrong parameter value to "validityend". It should be '99991231' not '31129999' .
    If your problem still persists, try inserting the data online from PA30. If your input causes no errors, then please state what the return parameter contains.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Error msg while downloading or visiting iTune store: "network connection was lost". Any idea about the problem?

    I am getting for the last days a constant error msg while downloading or visiting iTune store: "network connection was lost" (sometimes also ways it was "reset" instead). But, the network is working (I can make othe rdownloads and visit to other internet sites). Any idea about the problem?

    Mac server or Windows server? Have you checked her permissions/access vs another user not having the issue?

  • ITunes no longer works on my Windows VISTA system.  Get error msg saying C runtime library incorrectly... Error 7, Windows error 1114..

    iTunes no longer works on my Windows VISTA system.  Get error msg saying an application is attempting to access C runtime library incorrectly... Error 7, Windows error 1114.  Same msg, or one that says unable to install, when trying to update or reinstall iTunes.  iTunes worked well up until about a month ago when this error msg starting appearing.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • I am getting error (-1) while updating my iPhone 4 to iOS 5.1. The phone has gone into a recovery mode. Restore fails every time at "restoring the firmware" stage. Striped bar remains for a long time, then shows "error (-1)" and the restore fails. Help!

    I am getting error (-1) while updating my iPhone 4 to iOS 5.1. The phone has gone into a recovery mode. Restore fails every time at "restoring the firmware" stage. Striped bar remains for a long time, then shows "error (-1)" and the restore fails. I have been doing it for last 12 hours. Help!

    Thanks for your reply Michalo. I am in India and here Apple care does not work on Sundays. I have been without my phone for the entire day. Perhaps tomorrow will bring some respite. There is not solution to "error (-1)" on any forum it seems. I found one forum which suggested use of Tiny Umbrella. Any idea about that?

  • I am getting error message while attempting to upgrade the software to iOS 6.1.3

    Hi,
    Need help on this, i am getting error message while attempting to upgrade the software to iOS 6.1.3

    The Current iOS for the iPhone 4s is iOS 7
    How to update your iPhone, iPad, or iPod touch

  • I am getting error 205 while trying to install Creative Cloud. I already had chated with support, Uninstalled CC and tried to install it again. From the Adobe site, the page keeps loading eternally, from the previous installer, it gives me error 205. What

    I am getting error 205 while trying to install Creative Cloud. I already had chated with support, Uninstalled CC and tried to install it again. From the Adobe site, the page keeps loading eternally, from the previous installer, it gives me error 205. What to do? Give up on CC?
    This is not the first time I get it, and it seems a recurring problem.

    Milliet are you on a managed network?  If not then please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html for information on how to resolve error 205.

  • Bought new Mac Retina; how do I get CS 5 on it; bought external hard drive but get error msg 15?

    Bought new Mac Retina; how do I get CS 5 on it; bought external hard drive but get error msg 15?

    Hi there,
    I was able to format the Toshiba hard drive on my old Mac and copy the Adobe Suite onto it. I followed instructions to format the hard drive to the Retina Mac through Disk Utility, but I still can see the external drive on the new Mac.
    Any suggestions…?
    Susan Babin

  • Not able to install Adobe Flash Builder in windows xp 32 bit OS. Getting error msg 64 bit required.

    Hi All,
    Not able to install Adobe Flash Builder 4.7 in windows xp 32 bit OS. Getting error msg 64 bit required.
    Pls help me for installation.
    thanks in advance.

    You don't have service pack 3 most likely. Refer to the tech specs:
    http://www.adobe.com/products/flash-builder/tech-specs.html
    Mylenium

  • Having problems opening a pdf file with reader 10/11 get error msg cannot open close reader and try again any ideas

    having problems opening a pdf file with reader 10/11 get error msg cannot open close reader and try again any ideas

    Hi George ,
    Is it happening with all the PDF' or any specific one?
    Could you please share the error message so that we can replicate at our end ?
    Try repairing reader  once and see if that fixes the issue.
    Launch Reader>Navigate to Help>Repair Adobe Reader Installation
    Regards
    Sukrit Dhingra

  • HT1349 when i try to open itunes on my pc i get error msg msvcr80.dll followed by error 7 (win error 126)

    when i try to open itunes on my pc i get error msg msvcr80.dll followed by error 7 (windows error 126)

    This has been a very popular question the past 24 hours...best solution so far is that of tt2: https://discussions.apple.com/thread/5819124

  • I keep getting error msg 1015 when I tried to restore my iphone

    I keep getting error msg 1015 when I try to restore my iphone, What can I do fix this issue

    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.

Maybe you are looking for