Saving the data on Add Row

Hi All,
I am creating a tabular form with ADD ROW button. And also we have a Mutli Row update process. We are using a trigger on the table
Now the issue is that when we click ADD ROW button then at that time this Multi Row Update process also get fires and it gives a error something like "Cannot update. error in trigger". To avoid this we puts a condition "When expression 1 item is not null" and there is no item in Expression 1.
It works fine and adds a new row. But when we are adding some values and once again clicking Add Row button then it simply adds a new row without saving the previous values.
Please help me.
Thanks
Aryan

Ok. It could be that the form was not enabled for Reader users to be able to save the Data. That is a special function that has to be done using Adobe Acrobat.
The good news is, you don't need for it to be enabled if you are using the newest version of Adobe Reader so, either have the creator of the form enable it using Acrobat or download Reader XI.

Similar Messages

  • How to validate plan data before saving the data

    I have a total row in my planning layout which is a summation of plan data in 2 other rows. While saving the data, I should check whether the total is 200 and if not the data should not be saved. How can I achieve this! Any help would be appreciated.
    Regards,
    Tipo.

    Hi,
    I'm also facing the same problem in my development...I tried above all the ways,but we cannot stop saving the wrong data.In this case you have to write the java script for save button, before saving the data if it is correct then go for the next step to save other wise throw an error message or without save the data .
    You need to write the JAVA script for save button,in this code you need to read the data form the layout and check the total value, i am not sure if layout is dynamic how we can achieve this???.
    My development also stopped for this issue,In my case i  have two layouts ,one is for actual and another one is for Planing layout(Function - Distribution equally),using the fox code i succeed to read and throw an error message for incorrect data but i can not stop to saving for incorrect total data.
    Once you solved this problem please post the message in SDN.This type of requirements is very tough and we need to share to our friends.
    Thanks.

  • Not saving the data in two tables

    Hello,
    its my production problem, i have an update form where you can update the records and these
    records will sit in the temp tables until the final approval from the supervisor.
    In this update form i have two table where i am saving the data one is dup_emp to save the
    officer data and another is the dup_address to save the officer where he worked data.
    in this form address form is pop up screen where you can update and gets back to the original
    form where you can see all the other fields. my problem is if a user hit the cancel button on
    address form example the user doesnt want to update any information on that screen so user
    cancel that screen, and comes to the other screen where the user makes the changes to the
    appropriate fields and hits the SAVE button. in this case its saving only to the dup_emp table
    data not the address data from the address form to dup_address table for the same record.
    if the user cancels in both the screens cancel button it should delete the record from both the
    tables but cancel in form and saves in another form it should save the record in both the
    tables.
    here is my code from both cancel buttons from both the forms.
    this is code is from address form cancel button.
    delete from dup_address
    where address_id=:address_id
    and parent_table_name='emp';
    commit;
    CLEAR_BLOCK;
    go_block('DUP_EMP');
    This code is from dup form of the cancel button
    declare
    temp_address_id varchar2 (12);
    begin
    delete from dup_emp
    where secondemp_id =:dup_emp.secondemp_id;
    delete from dup_address
    where parent_t_id=:global.secondemp
    and parent_table_name='emp';
    commit;
    clear_block;
    go_block('secondaryemp');
    END;

    Hi,
    As Aravind mentioned, it's nothing related to workflow. You have to find a BADI in tcode PA30 that could be used after the infotype is updated. So, you can use FM SAVE_TEXT.
    Regards,

  • Sharepoint Custom calendar – Hover over the date to add a new item is not working – Sharepoint 2010

    Hi,
    In my Sharepoint visual web part i am using default sharepoint calendar view. But Mouse hover over the date to add a new item is not working. Please see this image below i need the same add new item functionality. 
    

    Hi Sudhanthira,
    Couple of simmilar queries i can see from Madhu posted.
    Please follow this thread:-
    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/b62f9b7e-2ce1-4efd-905c-9cc5471ad216
    To be or Not to Be..The question is this only......

  • Alternative way to fetch the data into single row.

    we have a query
    SELECT COLUMN_NAME FROM USER_TAB_COLUMNS WHERE TABLE_NAME='XXX';
    This query will return the data in multiple rows.
    May know the alternative way to retrieve all the multiple rows in **single row with each row as a seperate column**.

    Why specifically an array - and do you want the SQL projection as an array, or collect the SQL projection into an array?
    E.g.
    SQL> create or replace type TStrings is table of varchar2(4000);
      2  /
    Type created.
    SQL> --// SQL projection casted into an array
    SQL> select
      2          cast(
      3                  MultiSet(
      4                          select column_name from all_tab_columns where table_name = 'KU$_DATAPUMP_MASTER_11_2' and owner = 'SYS'
      5                  )
      6                  as TStrings
      7          )                       as COLUMN_ARRAY
      8  from       dual
      9  /
    COLUMN_ARRAY
    TSTRINGS('REMOTE_LINK', 'VERSION', 'JOB_VERSION', 'DB_VERSION', 'TIMEZONE', 'STATE', 'PHASE', 'GUID', 'START_TIME', 'BLOCK_SIZE', 'METADATA_BUFFER_SIZE', 'DATA_BUFFER_SIZE', 'DEGREE', 'PLATFORM', 'ABO
    RT_STEP', 'INSTANCE', 'CLUSTER_OK', 'SERVICE_NAME', 'OBJECT_INT_OID', 'PROCESS_ORDER', 'DUPLICATE', 'DUMP_FILEID', 'DUMP_POSITION', 'DUMP_LENGTH', 'DUMP_ORIG_LENGTH', 'DUMP_ALLOCATION', 'COMPLETED_ROW
    S', 'ERROR_COUNT', 'ELAPSED_TIME', 'OBJECT_TYPE_PATH', 'OBJECT_PATH_SEQNO', 'OBJECT_TYPE', 'IN_PROGRESS', 'OBJECT_NAME', 'OBJECT_LONG_NAME', 'OBJECT_SCHEMA', 'ORIGINAL_OBJECT_SCHEMA', 'ORIGINAL_OBJECT
    _NAME', 'PARTITION_NAME', 'SUBPARTITION_NAME', 'DATAOBJ_NUM', 'FLAGS', 'PROPERTY', 'TRIGFLAG', 'CREATION_LEVEL', 'COMPLETION_TIME', 'OBJECT_TABLESPACE', 'SIZE_ESTIMATE', 'OBJECT_ROW', 'PROCESSING_STAT
    E', 'PROCESSING_STATUS', 'BASE_PROCESS_ORDER', 'BASE_OBJECT_TYPE', 'BASE_OBJECT_NAME', 'BASE_OBJECT_SCHEMA', 'ANCESTOR_PROCESS_ORDER', 'DOMAIN_PROCESS_ORDER', 'PARALLELIZATION', 'UNLOAD_METHOD', 'LOAD
    _METHOD', 'GRANULES', 'SCN', 'GRANTOR', 'XML_CLOB', 'PARENT_PROCESS_ORDER', 'NAME', 'VALUE_T', 'VALUE_N', 'IS_DEFAULT', 'FILE_TYPE', 'USER_DIRECTORY', 'USER_FILE_NAME', 'FILE_NAME', 'EXTEND_SIZE', 'FI
    LE_MAX_SIZE', 'PROCESS_NAME', 'LAST_UPDATE', 'WORK_ITEM', 'OBJECT_NUMBER', 'COMPLETED_BYTES', 'TOTAL_BYTES', 'METADATA_IO', 'DATA_IO', 'CUMULATIVE_TIME', 'PACKET_NUMBER', 'INSTANCE_ID', 'OLD_VALUE', '
    SEED', 'LAST_FILE', 'USER_NAME', 'OPERATION', 'JOB_MODE', 'QUEUE_TABNUM', 'CONTROL_QUEUE', 'STATUS_QUEUE')
    SQL> --// collecting the SQL projection as an array
    SQL> declare
      2          colArray        TStrings;
      3  begin
      4          select
      5                  column_name bulk collect into colArray
      6          from    all_tab_columns
      7          where   table_name = 'KU$_DATAPUMP_MASTER_11_2'
      8          and     owner = 'SYS';
      9 
    10          --// process array
    11  end;
    12  /
    PL/SQL procedure successfully completed.
    SQL>

  • Saving the data through subscreens

    Hi,
    I have created a dialog program in which there is a tabstrip with 3 tabs in it.On the main screen I have the school name.In the first subscreen of the tabstrip there is school details,in the second tab there is teacher deails and in the third tab there is students detail.I am writing the code in the PAI module of the main screen for saving the data.
    when 'SAVE'.
         ztable-school_name= it_school-school.
         and so on.
    But when I am pressing the save button on the main screen the data is not getting saved.Do I need to write the code in the PAI module of the subscreens.Please suggest some solution.

    hi shashi,
    since u r displaying values in all the three tabs, the functionality of save should be given in PAI of main screen. If u do it in PAI of subscreens, it will not be triggered as u r not inputing any there..
    Rgds.,
    subash

  • How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    Darrell,
    Thanks for this response. After I posted mine, I saw that the resetForm JavaScript method is documented as being supported starting with version 10.5: http://www.adobe.com/devnet-docs/acrobatetk/tools/Mobile/js.html
    But I haven't been able to get it to work. Can you clarify if support was indeed added and if it works for you?

  • Table Maintenance Events - "Event 02 After Saving the Data in the Database"

    Hi,
    Can we identify the record marked for deletion in the "Event 02 After Saving the Data in the Database" ?
    Thanks & Regards,
    Esha Raj

    Look at online documentation :
    - [Event 02: After Saving the Data in the Database|https://help.sap.com/saphelp_nw04/helpdata/en/77/06b11859f511d2a6070000e82deaaa/frameset.htm]
    . - [Internal Table TOTAL|https://help.sap.com/saphelp_nw04/helpdata/en/77/06b11859f511d2a6070000e82deaaa/frameset.htm]
    . . - [Field Symbols <ACTION> and <ACTION_TEXT>|https://help.sap.com/saphelp_nw04/helpdata/en/77/06b11859f511d2a6070000e82deaaa/frameset.htm]
    . . . - [Constants for Field Symbols <ACTION>, <ACTION_TEXT>, <XACT> and <XACT_TEXT>|https://help.sap.com/saphelp_nw04/helpdata/en/77/06b11859f511d2a6070000e82deaaa/frameset.htm]
    Regards,
    Raymond

  • Clearing the FORM after SAVING the data

    Question 1:
    I've got a form that is built based on a table. When I enter the data and click on the save button, the FORM doesn't clear for me to enter the data for the next record. Where and how can I set up a process so that the form clears after the data is saved?
    Quesstion 2:
    I've got a form that is built based on a table. The table has 10 fields where one of the fields is a FK. I want all 10 fields to be on the form. I want the FK to be a select list where the display value is a description and a return value is an ID. I have picked the correct fields for display value and return value. However, when the data is saved, the return value is not stored in the table field. The field is bank. Any idea why this is happening?

    Hi,
    The simplest way to clear the items for a page is to add the page number in to a Branch that is triggered by your Create/Save button - check your branches to see which one is linked to this button and enter the page number in the Clear Cache setting. If you created the form using a wizard, you should, however, already have a "reset page" page process that does this for you - if you haven't got this, then either update the branch or create a new "Session State" process that clears the cache.
    For your second question, the data will be saved provided the page item is correctly linked to the table's field and you have "Process Row of tablename" set up correctly. If you have a "Process Row..." process, check the required settings in the "Source: Automatic Row Processing (DML)" section as these identify the table and its Primary Key. If you don't have one, you can create a new "Data Manipulation" page process to do this. In the page item, check that you have "Source Used" set to "Always, replacing any existing value in session state", "Source Type" set to "Database Column" and "Source Value or Expression" set to the table field's name.
    One thing to check as well is, if you already have a "reset page" process, make sure it is after all other processes - change the sequence number if necessary.
    Andy

  • "Save As" is saving the date years back.. not current date..??

    I just upgraded to Elements 10 and I've found this problem...
    When I create a scrapbook page and and go to save it as "Save As" for both my PSD & JPG files, it is saving the file date that my background layer was added to my Elements Organizer, no the actual date that I created the page.
    Example:  I created a page last night, I named "JFK.jpg".  When I got to Explorer to upload to Shutterfly and look for the file with details, it shows: JFK.jpg  1709kb    JPEG Fomat    03/28/2008 7:24AM
    I always sort by date to find my most recent pages and this is driving me crazy!!  Please help!  Any Suggestions???

    Two possibilities.
    First create a formula that will give you the date as a text cell.
    If you dates are in the B column then you could add
    =TEXT(B1;"YYYY-MM-DD")
    in the C column. This will then export correctly for you.
    This way means moving columns around of course.
    Second - the format of the data is controlled by your global language settings.
    Tools > Options > Language Settings > Language
    Use the Local Settings drop down to select a local that gives your the format you need. It is a thought any way.

  • In VA02 transaction which exit is triggering when saving the data

    hi all sap gurus,
    In VA02 transaction which exit is triggering when saving the data

    Hi Reddy,
    The <b>user exit</b> and badi tried for this transactions are
    V60F0001                SD Billing plan (customer enhancement) diff. to billing plan
    V46H0001     SD Customer functions for resource-related billing
    V45W0001     SD Service Management: Forward Contract Data to Item
    V45S0004     Effectivity type in sales order
    V45S0003     MRP-relevance for incomplete configuration
    V45S0001     Update sales document from configuration
    V45P0001     SD customer function for cross-company code sales
    V45L0001     SD component supplier processing (customer enhancements)
    V45E0002     Data transfer in procurement elements (PRreq., assembly)
    V45E0001     Update the purchase order from the sales order
    V45A0004     Copy packing proposal
    V45A0003     Collector for customer function modulpool MV45A
    V45A0002     Predefine sold-to party in sales document
    V45A0001     Determine alternative materials for product selection
    SDTRM001     Reschedule schedule lines without a new ATP check
    <b>Business Add-in</b>     
    BADI_SD_SCH_GETWAGFZ     Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001     SD Customer functions for resource-related billing
    <b>Reward pts if found usefull :)</b>
    Regards
    Sathish

  • Two rows as one display the data in one row

    Hello All,
    I would like to have data of two rows put in one as:
    Lets say the data is like this:
    SELECT * FROM TEST;
          COL1       COL2       COL3 C
           1.5          3          1 M
                        2          1 C
           2.5                     2 C
                      3.5          2 M
                      4.5          3 M How do i get the output as :
           COL1       COL2       COL3 COL4 COL5
           1.5          3          1 M      2
           2.5                     2 C      3.5
                      4.5          3 M If there are two rows with same value in Col3, then col5(a new dummy column in select stmt) the second row's col2 should be disaplyed in Row 1.
    Can we do it in a Select Statement ?
    Regds,
    Amkotz

    A try :
    SQL> select * from Amkotz;
          COL1           COL2          COL3 C                                             
           1,5              3             1 M                                             
                            2             1 C                                             
           2,5                            2 C                                             
                          3,5             2 M                                             
                          4,5             3 M                                             
    SQL> select a.col1,
      2         a.col2,
      3         a.col3,
      4         a.col4,
      5         max(decode(a.rowid,b.rowid,null,b.col2)) keep (dense_rank last order by a.col1,a.col2) as col5
      6  from   (select Amkotz.*, row_number() over (partition by col3 order by col1,col2) rn from Amkotz) a, Amkotz b
      7  where  a.rn=1
      8  and    a.col3=b.col3
      9  group by a.col1,
    10         a.col2,
    11         a.col3,
    12         a.col4;
         COL1       COL2     COL3 C COL5      
          1,5          3        1 M 2         
          2,5                   2 C 3,5       
                     4,5        3 M            Nicolas.

  • Saving the data in a jtextarea

    I have a mancala game that records which players turn it is, how many moves have been made, and which cup was selected. I am able to successfully save the game, but can't figure out how to save the data in the JTextArea. Please help me figure out how I might solve this.
    class TogizKumalakPanel extends JPanel
        private JTextArea actionRecordArea = new JTextArea(6, 23);
        private JScrollPane actionScrollPane;
        private BoardV8 playBoard;
        private int playTurn;
        private int moveCount = 1;
        public TogizKumalakPanel()
            super();
         playTurn = 1;
            playBoard = new BoardV8();
         addMouseListener(new MouseHandler());
            addMouseMotionListener(new MouseMotionHandler());
            actionRecordArea.setEditable(false);
            actionScrollPane = new JScrollPane(actionRecordArea,
                    JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
                    JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
            add(actionScrollPane, "South");
        public void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D) g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
         playBoard.drawBoard(g2);
        public BoardV8 getPlayerCup()
            return playBoard;
        public void setPlayerCup(BoardV8 cupIn)
            playBoard = cupIn;
        public int getPlayerTurn()
            return playTurn;
        public void setPlayerTurn(int cupIn)
             playTurn = cupIn;
        public JScrollPane getActionScrollPane()
            return actionScrollPane;
        public void setActionScrollPane(JScrollPane actionScrollPane)
            this.actionScrollPane = actionScrollPane;
    private class SaveListener implements ActionListener
            public void actionPerformed(ActionEvent event)
                String fileName;
                myChooser.setCurrentDirectory(new File("."));
                myChooser.showSaveDialog(TogizKumalakFrame.this);
                fileName = myChooser.getSelectedFile().getPath();
                try
                    ObjectOutputStream outputStream = new ObjectOutputStream(new FileOutputStream(fileName));
                    outputStream.writeObject(myPanel.getPlayerCup());
                    outputStream.writeInt(myPanel.getPlayerTurn());
                    outputStream.writeObject(myPanel.getActionScrollPane());
                catch(IOException e)
                    System.out.println("Problem making or writing to an output stream.");
              System.out.println(e);
        private class LoadListener implements ActionListener
            public void actionPerformed(ActionEvent event)
                String fileName;
                myChooser.setCurrentDirectory(new File("."));
                myChooser.showOpenDialog(TogizKumalakFrame.this);
                fileName = myChooser.getSelectedFile().getPath();
                try
                    Container contentPane = getContentPane();
              contentPane.remove(myPanel);
                    myPanel = new TogizKumalakPanel();
                    contentPane.add(myPanel, "Center");
              ObjectInputStream inputStream = new ObjectInputStream(new FileInputStream(fileName));
                    myPanel.setPlayerCup((BoardV8)inputStream.readObject());
                    myPanel.setPlayerTurn((int)inputStream.readInt());
                    myPanel.setActionScrollPane((JScrollPane)inputStream.readObject());
                    setVisible(true);
                catch(IOException e)
                    System.out.println("Problem making an input stream.");
                catch(ClassNotFoundException e)
                    System.out.println("Class not found problem when reading objects.");
        }

    I haven't read ur entire code but to save the data in a jtextarea, use get text to get the text and then write to a file.

  • Saving the data from an interactive adobe form

    Hi Gurus,
    I want to know how to upload the data from an interactive form (i.e the data sent by a person via email or URL.It is in XML format)  into the SAP database.
    Thanks,
    Raj

    Hi Vaibhav,
          I have designed an the interactive form which works both online and offline.In offline scenario when i am uploading the form the data form fields which has cardinality 1:1 are being fetched but how wil i fetch the data for the node of cardinality 0:n. i have used the code :
    node = document->find_from_name( name = 'attr' ).
    attr = node->get_value( ).
    attr is the attribute name of some node named node_info.
    When i use this code it fetched only the first line of the table i.e only the first value.
    How will i fetch the values for rest of the rows.Can u please guide me on this
    will reward points for sure.
    Thanks and Regards,
    srividya.

  • Saving the data from two info path forms in to a single list in share point 2010

    Hi ,
    I have two  info path forms are in share point page FM 1 and FM 2.
    In FM 1 I am getting data from lists by using drop down and casket drop down  and FM 2 i need to enter manually after entering
    i want to save both forms information(FM 1 & FM 2 ) in to a single list of  share point 2010
     If any knows the solution please reply me  
    Thanking You,
    Arun Darly

    Hi,
    Based on your description, my understanding is that you want to save the data from two info path forms in to a single list in share point 2010.
    We can't save the data from two info path forms in to a single list, but we can
    save the data from two info path forms in to a single library.
    Open the  FM 1 and FM 2 in Infopath(you have save it Locally once).
    Publish the FM 1 and FM 2 as content types named FM 1 and FM 2.
    Add the content types FM 1 and FM 2 into a document library, Then you can save the data
    from two info path forms in to a single library.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

Maybe you are looking for

  • How to find a certain usage of a specific value inside an SSIS package

    Hi, In T-SQL, there are many tools to search for instances of a specific value in all the objects such as tables and SPs. The only way I can think of in SSIS, is to search for a value in the XML of the DTSX, but it is not that user friendly. Are ther

  • OBIEE 11g Active Directory Presentation Service Error retrieving user

    Hi Team, It was a great help from all of you on our OBIEE learnings. I recently configured Microsoft AD on Weblogic rather than RPD. But felt like I am in a desert of helplessness due to the complicated and lengthy documents and settings :( Still whe

  • Grey screen with prohibitory sign appears after update to Yosemite

    Help? I've tried resetting the NVRAM / PRAM... Does not work Any other options?

  • SAP logon failed

    Hi Friends, I have installed SAP 4.7c version in my laptop long back after long time i tried to logon but could not. tried 3 times , now SAP got locked unable to logon. can you suggest me how to logon. looking for your quick reply. Thanks, Purnima.

  • Using Muse for professional designing?

    hi everyone i'm new to the web design world, and i've came across Muse just this week while browsing for web design apps. Seems like its a good place to start. My question is, would it be really 'ok' if someone made website professionally with the he