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

Similar Messages

  • 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

  • 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.

  • 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

  • How do I validate multiple records held in the form?

    I have a form containing a list of records from a base table.
    The records consist of 2 columns, a from and to value. The
    records must specify ranges and those ranges must be in order
    and not overlap. I.e. 1...2, 5...9 NOT 1...4, 3...6. How can I
    ensure this is the case before the user commits any changes to
    the database?
    A When-Validate... trigger doesn't allow me to use built-ins
    like GO-ITEM etc which would allow me to do this. Also these
    triggers will only look at the current record, not the previous
    or next record.
    Any ideas?
    null

    Steve West (guest) wrote:
    : I have a form containing a list of records from a base table.
    : The records consist of 2 columns, a from and to value. The
    : records must specify ranges and those ranges must be in order
    : and not overlap. I.e. 1...2, 5...9 NOT 1...4, 3...6. How can
    I
    : ensure this is the case before the user commits any changes to
    : the database?
    : A When-Validate... trigger doesn't allow me to use built-ins
    : like GO-ITEM etc which would allow me to do this. Also these
    : triggers will only look at the current record, not the previous
    : or next record.
    : Any ideas?
    Hi,
    There is another way to validate each record as and when it is
    created. Create a parameter P1 and created a
    WHEN-VALIDATE-RECORD trigger at block level.. The code I used to
    verify the requirement is follows. Here Col1 is From and Col2 is
    To. You can add more functionalities to it.
    WHEN-VALIDATE-RECORD
    if :col2 is null or (:col2 <= :col1) then
    message(' The numbers should be in order');
    raise form_trigger_failure;
    end if;
    if :parameter.p1 is null then
    :parameter.p1 := :col2;
    else
    if :col1 != :parameter.p1 + 1 then
    message(' The numbers should be in sequence');
    raise form_trigger_failure;
    end if;
    :parameter.p1 := :col2 ;
    end if;
    Hope this will help.
    null

  • 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

  • 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.

  • Update Vendor Search Term #2 after saving.

    Hello Xprts,
    I've been trying by several ways to update the search term #2 of the vendor master data transaction (xk01) after saving the record. The tcode has 2 badi's : VENDOR_ADD_DATA and VENDOR_ADD_DATA_CD but none of them has the right Method to update after saving a record, like "BEFORE_UPDATE". I developed a FM and try to call it by a UPDATE TASK with a CALL TRANSACTION XK02 in update mode with a batch input code but i also can't update in that mode. Does anybody knows another badi, event, method to clear this sceneraio. i'll really appreciate the help.
    Regards,
    Steve.

    use user exit - SAPMF02K

  • 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.

  • 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

  • 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

  • Is there any user exit after saving the material doc

    Hi,
      Is there any user exit in the T-code:mb01/migo after saving the material doc,?I want to record some data when the doc is saved.
      thanks,
    lance

    Hi
    Please check <i>The enhancement MB_CF001, includes a function module that is called up immediately before the COMMIT WORK when a goods movement is posted.</i>
    Regards
    Ramakrishna

  • 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

  • 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

  • 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

  • Line Item and Transaction Figures

    Hi experts, What is the difference between line items and transaction figures ? I have gone through a document which specifies for Line items GL AR AP, it picks data respectively frm tables BSEG/BKPF, BSAD/BSID, BSAK/BSIK and for transaction figures

  • Spry menu z-index in DW template

    I am trying to create a unified website using a dreamweaver template. I have a header with a spry dropdown menu beneath it, which extends (when expanded) down over an editable region in the template. I can make the drop down menu work correctly in th

  • How do I assign a static IP for CUCM7 in VMware?

    Hello all, I've successfully loaded CUCM7 in VMware server, and I can get to the CUCM7 GUI just fine. But it's assigned an ip address by dhcp, ie: 192.168.0.*** from my router.  I want to assign the CUCM server a static IP of 172.30.100.14, but it do

  • Layout configuration

    Hi there, does anyone experience with this layout configuration? If so, please advise. Thank you. <b>Lead colume:</b> cost center1 KF1 KF2 Cost center1 KF1 KF2 <b>Data colume:</b> posting period (001-012/fiscal variant K4 OR 004-012 and 001-003/fisca

  • Using ModelSupport2.dll in LabView without TestStand

    I would like to use the ModelSupport2.dll purely in a LabVIEW environment as either by a "Call Library Function Node" or "Active X" or ".NET" without using TestStand. In particular I would utilize the the "DisplayPassBanner" and "DisplayFailBanner" f