Dropdown value clears after saving the form?

I have a pdf form with a couple dropdown lists. If someone selects a value and then saves and reopens the file, the dropdown value is empty.
In other forms I also use dropdown and those do not have this issue. but I cannot find what is wrong with this one. Any suggestions?
I have a custom keystroke script:
if( event.willCommit )
   if(event.value == "")
//if nothing is chosen in "Contract eigenaar" then Dropdown2 will be cleared
     this.getField("Dropdown2").clearItems();
   else
    test(event.value);
And a script:
//Values
myDropdown1Values = ["Maak uw keuze", "Fast Flex B.V.", "QNH Sourcing B.V.", "QNH Consulting Midden B.V.","QNH Consulting Zuid B.V.","QNH Consulting Noord B.V."],
myDropdown7Values = ["Maak uw keuze", "Eigen medewerker", "ZZP-er", "via Leverancier","PDV-er"],
myDropdown8Values = ["","QNH Consulting Midden", "QNH Consulting Zuid", "QNH Consulting Noord", "Young Colfield"],
//Populate
this.getField("Contract eigenaar").setItems(myDropdown1Values);
this.getField("Dropdown7").setItems(myDropdown7Values);
this.getField("Dropdown16").setItems(myDropdown8Values);
// Define what has to be shown in Dropdown2 when value is selected
var DeptData = { "Maak uw keuze": [""],
                 "Fast Flex B.V.": ["","Fast Flex","Klant"],
                 "QNH Sourcing B.V.": ["","QNH Sourcing","Klant"],
                 "QNH Consulting Midden B.V.": ["","Detachering","Project"],
                 "QNH Consulting Zuid B.V.": ["","Detachering","Project"],
                 "QNH Consulting Noord B.V.": ["","Detachering","Project"]
var DeptData2 = { "Maak uw keuze":{ Uitleg1: ""},
                 "QNH Consulting Midden B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Consulting Midden en de eindklant. QNH consulting Midden zorgt voor het contract met de eindklant en voor het contract tussen QNH Consulting Midden en Fast Flex . Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Fast Flex fungeert hier als broker. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien er afwijkende afspraken opgenomen moeten worden in het contract kunnen deze hieronder in het formulier apart worden aangegeven."},
                 "QNH Consulting Zuid B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Consulting Zuid en de eindklant. QNH consulting Zuid zorgt voor het contract met de eindklant en voor het contract tussen QNH Consulting Zuid en Fast Flex . Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Fast Flex fungeert hier als broker. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien er afwijkende afspraken opgenomen moeten worden in het contract kunnen deze hieronder in het formulier apart worden aangegeven."},
                 "QNH Consulting Noord B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Consulting Noord en de eindklant. QNH consulting Noord zorgt voor het contract met de eindklant en voor het contract tussen QNH Consulting Noord en Fast Flex . Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Fast Flex fungeert hier als broker. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien er afwijkende afspraken opgenomen moeten worden in het contract kunnen deze hieronder in het formulier apart worden aangegeven."},
                 "QNH Sourcing B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Sourcing en de eindklant. Het inkoopcontract wordt opgesteld door QNH Sourcing met de leverancier of ZZP-er. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van QNH Sourcing. Indien het een nieuwe klant betreft ontvangt QNH Sourcing graag een kopie van het klant contract zodat de inkoopvoorwaarden hierop aangepast kunnen worden. Tevens dient er een kredietcheck te worden uitgevoerd en klantgegevens te worden opgevraagd. Hiertoe ontvang je van ons een formulier klantgegevens."},
                 "Fast Flex B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen Fast Flex en de eindklant. Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien het een nieuwe klant betreft ontvangt Fast Flex graag een kopie van het klant contract zodat de inkoopvoorwaarden hierop aangepast kunnen worden. Tevens dient er een kredietcheck te worden uitgevoerd en klantgegevens te worden opgevraagd. Hiertoe ontvang je van ons een formulier klantgegevens."}};
//Value Dropdown2
function test(cDeptName)
  this.getField("Dropdown2").setItems(DeptData[cDeptName]);
  this.getField("Text1").value = DeptData2[cDeptName].Uitleg1;

Hi
actually my earlier post was incorrect
i have edited my post
Actually
i want to update only those records that the user has modified
eg
col1 col2 status
1 ABC good
2 PQR good
3 xyz good
4 lmn excellent
5 abcz excellent
is the table before the user modifies
the user goes and modifies multiple records as following
col1 col2 status
1 aaa good
2 PQR good
3 xxx good
4 sss excellent
5 abcz excellent
and the user saves the form
now i want the following output
col1 col2 status
1 aaa new
2 PQR good
3 xxx new
4 sss new
5 abcz excellent
only the modified record's status should be updated
sorry for the earlier lapse

Similar Messages

  • Adobe Form is not opening after saved the form locally

    Hi Experts,
    I have implemented the adobe form using webdynpro java using ACF. The scenario is initially the form is loading with input fieIds and dropdown boxes after that the form data has to be submitted into backend.
    I have encountered the problem that if i save the submitted form into locally and trying to open the form its not opening.
    The server and other details are:
    NetWeaver     - 7.00(2004s) SPS3
    Adobe reader - 9.0
    ADS vesion    - 7.01
    Please let me know if you have any idea.
    Thanks!
    Narasimha

    1). If i will convert the forms from ACF to ZCI capability. Suppose if I want to fall back from ZCI to ACF forms then what is the solution for that?
    Well you won't need to go back to ACF as such but if you want to then may be you can keep take backup of all forms.
    2).After conversion of the forms to ZCI capability then what are the necessary steps i need to follow like abode form ui elements can be changed to webdynpro native ui elements type like that.
    The Report generally mentions all the items in yellow/red for things to work on but yes if you have used ACF Controls you just need to update it by Native controls. From Web Dynpro form properties change the displayType property to native as well.

  • Updating status of multiple records after saving the form

    Hi all
    I have a tabular form
    It has a column status (new,good ,very good ,excellent are the list options)
    The user goes and modifies a number of records on the detail block and saves the records
    what i want to do is that when the user clicks the save button after updating any number of records
    the status field should be updated with the value (new)
    the status field of those records should be updated with the new value which the user has modified not all the records
    Please let me know how to go about it
    thanks
    Edited by: bindok mulga on May 11, 2009 3:48 PM
    Edited by: bindok mulga on May 11, 2009 3:50 PM

    Hi
    actually my earlier post was incorrect
    i have edited my post
    Actually
    i want to update only those records that the user has modified
    eg
    col1 col2 status
    1 ABC good
    2 PQR good
    3 xyz good
    4 lmn excellent
    5 abcz excellent
    is the table before the user modifies
    the user goes and modifies multiple records as following
    col1 col2 status
    1 aaa good
    2 PQR good
    3 xxx good
    4 sss excellent
    5 abcz excellent
    and the user saves the form
    now i want the following output
    col1 col2 status
    1 aaa new
    2 PQR good
    3 xxx new
    4 sss new
    5 abcz excellent
    only the modified record's status should be updated
    sorry for the earlier lapse

  • Values disappear after saving the Purchase Order and Goods Receipt PO

    HI,
    Our client is using SAP Business One 2007 A(8.00.181) SP 00 PL 47, When they raise Purchase Order for service item, the details and amount disappears automatically after adding the document and similar case for Good Receipt PO. But when they book directly in AP invoice the details and amount will appeared.So please help on solution for the above problem.
    Best Regards,
    Grayson

    Dear Mr Burton,
    If I understood correctly you cannot see the information inside the document you added. This made me think that it is a GUI issue.
    In the second answer you specified that when you try to open it again you'll receive the error message saying that there is no total value or total and I assume there is no information in the document.
    I believe the second issue is a consequence of the first one.
    I was suggesting to open a message on the portal (the message that requires the S number from the partners) in order to investigate the issue better.
    However, as you have an error message that pinpoints to certain fields it could be possible to see the information in the tables. Do you have this information?
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Could someone help me figure out why after saving a form some subforms are hidden again

    I am asking this on behalf of a coworker.  We have a form she is working on with a drop down (ddlDropDown) with 1, 2, and 3 listed (same values,,1,2,3)  That trigger hidden subforms to appear (Employee1, Employee2, Employee3).  Initially, Employee1 is visible.  If form user selects 2 or 3 in the dropdown then Employee2 and Employee3 become Visible.  Once the form is filled in, saved, closed and reopened Employee2 and Employee3 are hidden again even though the dropdown says 2 or 3.  The script behind the dropdown's change event is:
    subSELECT.Employee1.presence=this.rawValue==1?"visible":"hidden";
    subSELECT.Employee2.presence=this.rawValue==2?"visible":"hidden";
    subSELECT.Employee3.presence=this.rawValue==3?"visible":"hidden";
    I have tried adding this code to the form's initialize, docReady, preOpen, postOpen, layout:ready events but it still doesn't work.
    Any ideas?

    Here is a sample I created based on your comments and it works just fine for me after saving the form.
    Employee2 and Employee3 subforms have their presence property set to hidden.  I have the script in the exit event of the dropdownlist.
    Here is the sample:
    https://workspaces.acrobat.com/?d=YWMOMIyD2lLEqPSdO0vqYQ

  • In Sales Order form populate charges field after saving the Sales Order

    Can we populate Charges field in Sales Order form after saving the sales Order automatically.
    The charges to be calculated based on the amount entered and the item selected in Sales Order.
    In the Manual process it is done by hitting the Actions Button and then select the Charges.
    The charge type would be "Freight Costs"

    by using process_order API, I am able to update the charges field.

  • Validation of Item Values before saving the form

    Hi,
    I have requirement in Oracle Forms, we give header information as per the requirement and the lines info of the specific header. In lines whe have two feild as type and amount. If the type is 'E' then we need to sum up the amount value as credit and if type is 'F' we need to sum up of those feild values as Debit and before saving the form we need to check the sum of Credit and Debit is equal or not if equal then we should allow to save the form else it should not. We can have multiple lines under single header..Can any body help on this..Its very emergency..
    Thanks,
    Maggi.

    Hi,
    In Customer-exit ILOM0001 read table IMPT_BUF[] from sap stack. It contains all enteries of measuring points.
    Use below mentioned code in above exits for your reference.
    FIELD-SYMBOLS : <fs_impt> type ANY TABLE.
    data : tab_impt type TABLE OF impt.
    ASSIGN ('(SAPLIMR0)IMPT_BUF[]') to <fs_impt>.
    if sy-subrc is INITIAL.
      tab_impt = <fs_impt>.
    endif.
    table TAB_IMPT is filled wilth all entries of measuring point while creating and changing functional location.
    Thanks,
    Vijay

  • Restrict Duplicate entry of record before saving the form

    Hi!!
    I need to validate duplicate entry of ITEM CODE before saving the FORM. Which means, if I have entered an ITEM CODE in a row, the same ITEM CODE should not be allowed to be entered in any other rows. It should throw an error message and should ask to enter another ITEM CODE instead. I did not get the correct logic from the threads.
    Regards
    Mitto

    hey i have a requirement that to restrict duplicate entry in both block(both multi record).the blocks are DEPT(MATER)
    EMP(DETAIL)
    the associated fieds in master block DEPT.DEPT_NO,in detail EMP.EMP_ID .
    I have done' Kevin D Clarke’s calculated item ' both in master and detail block
    its working fine for master block but in case of detail block its only respond to the current session(i.e. if the new value is inserted or save it will restrict another record to be inserted of that last record's value),it does not restrict duplicate value enter ,checking with other existing records(which are saved in earlier session,though after query it is shown on the form)
    can anyone guide me why its not working

  • Invoice outputs are not printing after saving the document..!

    Invoice outputs are not printing after saving the document. Eventhough we maintain all condition records not only that Processing log also it showed that it has been processed on some date. but customer not received the printout
    Amar

    hI,
    GO TO IMG, SD, BF, OUTPUT CONTROL, OUTPUT TYPES, SELECT UR OUTPUT TYPE, GO TO DETAILS ICON AND ASSIGN THE VALUE "ISSUE OUTPUT IMMEDIATELY SAVING THE APPLICATION" FROM DROP DOWN DOWN LIST IN THE DEFAULT VALUES
    AND ASSIGN THE RELEVENT PRINTER TO USER ID IN SU01 AND IN CONDITION RECORDS
    REGARDS,
    SK
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:07 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:08 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:10 PM

  • Informing the user if someone has entered all the fields & saved the form

    Hi All,
    I am having many forms on my website where the user first fills in the pdf form and then save it and print it and then sign it and fax back to us. Now my concern here is that I want to know how many users have saved the form after filling in all the information or atleast how many of them have saved the form. Is it possible? and if it is, let me know how can I do that
    Thanks,
    Nimesh

    Well, you could put an action that submitted form information to your
    web site. But this is considered an invasion of privacy, so the user
    has to choose that they are willing to send the information.
    Aandi Inston

  • Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    I'm not sure that Lion AutoSave feature apply to network servers.
    I'm just sure that the Versions feature doesn't.
    Yvan KOENIG (VALLAURIS, France) samedi 21 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • Account ID (HKTID) is not updating in MIRO after saving the Invoice

    Dear Gurus,
    While creating invoice in MIRO I have filled the House bank and Account ID fields in the payment tab. After saving the invoice the House bank is getting updated but  the field Account ID is emptied so this account ID is not transmitted to the accounting documents.
    Please share your ideas to get the Account ID.
    Thanks in Advance
    Krishna kumar. M

    Hi Mukthar,
    Thank you for your reply.
    Both House bank and Account ID fields are there in BSEG table and MIRO screen as well. For example I can create manual invoice in F-43 with House bank and Account ID and both are updated in BSEG table. But in MIRO I have problem that document is posting only with House Bank not the Account ID.
    In FBZP we have proper house bank configuration settings as well.
    Your input is highly appreciated.
    Thank you
    Krishna kumar.

  • Problems printing a converted PDF which was converted to Word after completing the form

    Problems printing a converted PDF which was converted to Word after completing the form.  I have spent the last 3 hours trying to figure out what I am doing incorrectly.  I can't get it to print in either the PDF or Word file.  Please help, I need to complete this form and sent it NJ Department of Motor Vehicles Commission.

    Hi, make sure you are using the latest release of PDF program.
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

  • BADI after saving the billing document

    Hi Experts,
    Please tell me the BADI name which will be triggered after saving the billing doc
    Here once the customer billing document will be saved, BADI will update the equipment master.
    Regards,
    Sandeep
    Edited by: Sandeep Ballewar on Jul 1, 2010 11:49 AM

    Hi,
    Can anybody  throw some light on below issue?
    Regards,
    Sandeep

  • Material list   not showing after saving the sales document

    Hi
    any body can give the answer  for this question : AFTER SAVING THE SALES ORDER MATERIAL LIST IS NOT SHOWING . Thanks in advance

    Hi,
    Go to Menu EDIT >> DISPLAY RANGE >> ALL ITEMS
    Also set it on sales order document type in VOV8
    Display Range -  UALL
    Kapil

Maybe you are looking for