Field value change

Hi Experts,
I`ve a requirement as to find which field on the screen has been changed and based on that I`ll have to clear off two fields on the screen.
   Is there any way/command to make out as to which field on the screen has been changed..
   Regards,
Farhana.
Edited by: Farhana Sheriff on Feb 4, 2008 9:39 PM

Hi Farhana,
If you are working with a custom screen, i.e. developed by you, then you can do the following.
The following command:
FIELD <screen_field> MODULE <md_module> ON REQUEST.
will trigger whenever the value is changed in screen field <screen_field>.
Put the above code in your PAI section of flow logic.
Say you need to clear fields <field1> and <field2> when value in <screen_field> changes, then after having put the above block of code in your flow logic PAI section code the module as so:
MODULE <md_module> ON INPUT.
CLEAR : <field1> , <field2>.
ENDMODULE.
Cheers,
Aditya

Similar Messages

  • Require field be filled out when other field values change

    I tried to search on something I need to do but couldn't come up with a combination of words to find much.
    I have a situation where, when certain field values on a form are changed, I need a comment field filled in. So if one of the designated field values change and the comment field is NOT filled in, I would like some kind of message indicating that the comment field must be filled in when that field is changed. This would preferably happen when the 'Update' button is pushed on the form. And this would need to happen before the data is submitted.
    This seems to be somewhere between a validation and a Dynamic Action. I'm not sure how to go about creating what I need. Any help would be greatly appreciated! Hopefully I have described the scenario well enough.
    Thanks!
    John

    This did the trick! I created the hidden item, then created a dynamic action that would set the value of the hidden item to 1 if the field changed (action = 'change'). Then I created a validation on my 'comments' field to check if it was NOT NULL when the 'Apply Changes' button was pushed, with a condition of the hidden item = 1.
    One thing extra - I had to set the dynamic action so that it did NOT fire on page load. Otherwise it would set the hidden item to 1 when the page loaded after clicking the "Apply Changes' button.
    So, thanks!
    One other question - I have a lot fields on this form. All of them have this requirement except for a few buttons. Is there any way to list the fields NOT to look for a change. In other words, in the Dynamic Action section, in the WHEN section, is there a way to designate items NOT to look for a change?
    Thanks for the help!
    John

  • Automatic price update if key field values changed in sales order and bill

    Hi Experts,
    I have requirement as follows.
    <b><u>Scenario: -</b> </u>We wanted carryout the pricing based on Incoterms, customer and material. I have created the condition table with these fields. And maintained the condition record. The values will flow to sales order without any problem.
    <b>
    Problem: - </b>When we change the incoterms say for CIF to FOB the system should redetermine the price automatically, but this is not happening (If will redetermine only freight). If we carryout new pricing manually the right price will flow.
    <b>
    Expectations: -</b> Is their any exit or any configuration setting where in system will redetermine the price automatically if we change the field value in sales order(For the field value it will be used to create condition table).
    If anyone done this please help me with setting or Exit and code to enable us to come out from the situation.
    We need this to happen while creating sales order as well as billing, Since @ billing prices will be redetermined.
    Thanks in advance for the needful.
    With regards,
    Manjunatha H.S.
    M: 9740433511
    <b></b><u></u><u></u>

    Hi Shivakumar,
    You can use USEREXIT_NEW_PRICING_VBAP in include SAPMV45A for this.
    Regards
    Nikhilesh

  • User exit to sense the field value change ?

    Hi Guru,
    Our ABAPer created 4 customized fields in "Addition data A" and the requirement is once the value of these customized fields' are changed, copy (overwrite) the changed value to material description on the "sales" View
    Is there any user exit can sense the value change from the customized fields ?
    Thanks
    Eric
    Edited by: Eric Y on Aug 11, 2008 11:45 PM

    USEREXIT_CHECK_VBAP in program MV45AFZB is called when the field is changed.
    /Torben

  • Missing class for indicator field value [changed-fields-locking-policy]

    -------<br>
    Edit:<br>
    Please, ignore the post below. I found the problem here. The real problem is reported in my other post.<br>
    -------<br>
    <br>
    Hello,<br>
    <br>
    In order to test the optimistic locking by fields, I created a very simple TopLink project via the TopLink Workbench. It only consists of one table that was mapped via TopLink's own "Add or Update Existing Tables from Database". I made no modifications to the automatically generated mappings.<br>
    <br>
    After I set up the rest of the project, I ran it and it ran okay.<br>
    <br>
    Then I went to the table descriptor, then to the "Locking" tab, and then I selected "Optimistic Locking" -> "By Fields" -> "Changed Fields".<br>
    <br>
    That was ALL I changed.<br>
    <br>
    And when I tried to run the project this time, I got the following exception:
    <blockquote>
    Exception [TOPLINK-43] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DescriptorException
    Exception Description: Missing class for indicator field value [toplink:changed-fields-locking-policy] of type [class java.lang.String].<br>
    Descriptor: XMLDescriptor(oracle.toplink.descriptors.VersionLockingPolicy --> [DatabaseTable(locking-policy)])<br>
         at oracle.toplink.exceptions.DescriptorException.missingClassForIndicatorFieldValue(DescriptorException.java:878)<br>
         at oracle.toplink.internal.ox.QNameInheritancePolicy.classFromRow(QNameInheritancePolicy.java:109)<br>
         at oracle.toplink.mappings.foundation.AbstractCompositeObjectMapping.valueFromRow(AbstractCompositeObjectMapping.java:150)<br>
         at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1012)<br>
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:241)<br>
         at oracle.toplink.internal.ox.XMLObjectBuilder.buildObject(XMLObjectBuilder.java:128)<br>
         at oracle.toplink.ox.mappings.XMLCompositeCollectionMapping.buildCompositeObject(XMLCompositeCollectionMapping.java:157)<br>
         at oracle.toplink.mappings.foundation.AbstractCompositeCollectionMapping.valueFromRow(AbstractCompositeCollectionMapping.java:735)<br>
         at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1012)<br>
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:241)<br>
         at oracle.toplink.internal.ox.XMLObjectBuilder.buildObject(XMLObjectBuilder.java:128)<br>
         at oracle.toplink.internal.ox.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:284)<br>
         at oracle.toplink.internal.ox.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:265)<br>
         at oracle.toplink.internal.ox.record.DOMUnmarshaller.unmarshal(DOMUnmarshaller.java:152)<br>
         at oracle.toplink.ox.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:339)<br>
         at oracle.toplink.tools.workbench.XMLProjectReader.read(XMLProjectReader.java:162)<br>
         at oracle.toplink.tools.workbench.XMLProjectReader.read(XMLProjectReader.java:209)<br>
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.loadProjectConfig(TopLinkSessionsFactory.java:307)<br>
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.createSession(TopLinkSessionsFactory.java:241)<br>
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildServerSessionConfig(TopLinkSessionsFactory.java:215)<br>
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildSession(TopLinkSessionsFactory.java:168)<br>
         at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildTopLinkSessions(TopLinkSessionsFactory.java:124)<br>
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:103)
    </blockquote>
    Can anybody tell me what that means? And why do I see "VersionLockingPolicy" in the stack trace? I explicitly specified locking "By Fields".<br>
    <br>
    Here's a fragment from the project XML file:
    <blockquote>
    <toplink:locking xsi:type="toplink:changed-fields-locking-policy"/>
    </blockquote>
    Is this a TopLink bug or am I doing something wrong? (By the way, if I choose optimistic locking by "All fields", it works. But locking by "Changed fields" doesn't.)<br>
    <br>
    Best regards,<br>
    Bisser
    Message was edited by:
    bisser

    Ooooops, sorry, guys!
    I was using TopLink 10.1.3.0 JARs to run a project created via TopLink 10.1.3.1 Workbench. That was the reason for the exception.
    I ran across the REAL problem, however. The one that was occurring when I created the TopLink project via JDeveloper 10.1.3.1 and ran it via JDeveloper 10.1.3.1. That's why I decided to try with TopLink 10.1.3.1 Workbench instead of JDeveloper 10.1.3.1.
    I will report the problem in a clean separate post.

  • Text field values changing to "true" when I click submit by e-mail button

    I have some logic in my e-mail submit button to determine who needs to receive the form based on information in the form.  Based on my sample code, when I click the submit by e-mail button and TextFiel4.rawValue is D781008CX03, it will actually change the value in TextField4 to "true" when submitting the form.  What can i do to fix this issue?
    if 
    (TextField4.rawValue = "D781008CX03" && CheckBox10.rawValue == true){ 
    var myDoc = event.target;myDoc.mailDoc(
    false, [email protected]
    , "", "", "Request to Add "
    +FuelRating.rawValue , "You have a new industrial request to add "
    +FuelRating.rawValue);}

    Ahhh!!
    Amature mistake  .  Thank you for the help and the quick response!!

  • Comp BT116H_SRVO filter attachment Document Template on field value

    I have a requirement to filter the attachment template documents based on a zfield  value in component BT116H_SRVO . I created a table that will map the template id to a specific zfield value (drop down) & I'm using BADI: Authorization Check on Document Level to within contentmanagement filter which templates will be available. The first time the correct Templates are display but during field value change in  BT116H_SRVO/Details the template values are not updated. The compoment BT116H_SRVO is using component GS_CM to display the template. Please advice.

    This will happen if you mistakenly save a Child page as a Template.dwt and overwrite your original Template file. Do you have a backup of your original Template stored some place safe?
    In the future, when you have questions related to Dreamweaver, use the Dreamweaver Forum. You'll get better, quicker answers there.
    http://forums.adobe.com/community/dreamweaver?view=discussions
    Nancy O.

  • Serv. Desk: Action: send an email only when a value in a field has changed

    Hello,
    In Soution Manager 4.0, Sevice Desk, I would like to create an action which creates an email only when a value of a certain field has changed.
    - only in change mode relevant
    - only when a value of one field has changed (e.g. Message Processort has changed from Buss. Partner 4 to 5. Than a mail should be sent to BP 5).
    - it should only send this kind of email when the field value has changed in change mode. In other words: it should not sent the email e.g. when the status has changed.
    I tried all kinds of things but I do not know on how to define the COnditions for an Action, so I can compare e.g.
    if <old value> <> <new value>
    Any ideas or experience on how to implement this without major modifications ?
    Thanks
    Christian

    Hi Christian,
    check out my question on SDN.
    Email on Status Change
    it has details on how to send an email when the status changes. I believe you are going to have to do something like this for each of the fields you want to create an Action Starting Condition for.
    regards,
    Jason

  • Who has changed the Custom Field value?

    Dears,
    Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP.
    Example:
    There is a PDP (say ProjectInfo):
    There is a Custom Field added to that PDP (say Project Status = In Progress).
    Now for ProjectA, someone has checked out and changed the Custom Field "Project Status" from "In Progress" to "Closed".
    I need to fetch the information regarding who has changed that Custom field.
    In which direction should I move: Event Handlers, PSI???? Any other stuff?
    Thanks & Regards,
    Shravan

    Hi Shravan,
    I'm not a developer but I do know that you can use an event handler pushing the resource name and date in custom fields.
    Another way is to use a 3rd-party tool like
    FluentPro Audit Tool.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to identify the field value has been changed to new value?

    Hi,
    I am adding a custom field through CI include for 171 info type.
    But I need to identify that whenever user enters into change mode and changes the value(Custom field) then I have to populate an error message(i.e Manitain date type in 41.).
    I know we can identify that by change(AEDAT) date of that particular record but I could not identified that particular field has changed or not.
    Please share your experience, if possible send pseudo code.
    <REMOVED BY MODERATOR>
    Thank you,
    Ravi.
    Edited by: Alvaro Tejada Galindo on Feb 6, 2008 12:37 PM

    Can you keep a copy of the record when you enter the infotype and check changes against that?
    Rob

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

  • New Page in ALV for Value Change on a Field

    Is it possible to trigger a new page while prinitng from ALV whenever a value changes in a column.
    Thank you,
    Shashi Reddy

    Hi,
    Yes it is possible to add page breaks on a particular column while previewing/printing from ALV.
    Declare a structure like
    DATA:  gs_print    type lvc_s_prnt.
    and before calling set_table_for_first_display, write
    gs_print-grpchgedit = 'X'.
    Now pass this structure to the method as follows:
        call method grid->set_table_for_first_display
             exporting
               is_print         = gs_print
               is_layout        = gs_layout
               is_variant       = gs_variant
               i_save           = 'A'
               i_default        = 'X'
             changing
               it_fieldcatalog = gt_fieldcat[]
               it_outtab        = g_t_outtab[]
               it_sort          = gt_sort[].
    Run the report. Now when you are in the print preview mode, press the sort ascending or descending button on toolbar (without selecting a column). A dialog box appears asking for sort order. Add the required field, from the available list on right hand side, on which you want a page-break. In the last column titled NG of this sort order dialog box, write * for page feed or UL for line feed. Press Copy button to see the effect.
    Hope this helps.
    Regards
    Shehryar

  • Powershell script to update a field value (recursively) in sharepoint form a .CSV file and not changing the updated by value

    need to run through a list of old to new data (.csv) file and change them in a sharepoint list - can not make it work
    here is my base attempt.
    $web = Get-SPWeb site url
    $list = $web.lists["List Name"]
    $item = $list.items.getitembyid(select from the items.csv old)
    $modifiedBy = $item["Editor"]
    #Editor is the internal name of the Modified By column
    $item["old"] = "new from the .csv file parsed by power sehll
    $ite.Syste,Update($false);
    $web.Dispose()

    Hi,
    According to your description, my understanding is that  you want to update SharePoint field value from a CSV file recursively.
    We can import CSV file using the Import-CSV –path command, then update the field value in the foreach loop.
    Here is a code snippet for your reference:
    Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $csvVariable= Import-CSV -path "http://sp2010.contoso.com/finance/"
    # Destination site collection
    $WebURL = "http://sp2010.contoso.com/sites/Utility/"
    # Destination list name
    $listName = "Inventory"
    #Get the SPWeb object and save it to a variable
    $web = Get-SPWeb -identity $WebURL
    #Get the SPList object to retrieve the list
    $list = $web.Lists[$listName]
    #Get all items in this list and save them to a variable
    $items = $list.items
    #loop through csv file
    foreach($row in $csvVariable)
    #loop through SharePoint list
    foreach($item in $items)
    $item["ID #"]=$row."ID #"
    $item.Update()
    $web.Dispose()
    Here are some detailed articles for your reference:
    http://blogs.technet.com/b/stuffstevesays/archive/2013/06/07/populating-a-sharepoint-list-using-powershell.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/25125.sharepoint-2013-powershell-to-copy-or-update-list-items-across-sharepoint-sites-and-farms.aspx
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Planning function to change date field value in layout

    Hello experts,
                          I have 1 BPS layout with 2 date fields ( Start date, End date ). With a filter conditions, set of data comes in BPS layout on execution and 2 date fields also contain some value...I want to change values of these 2 dates...both the date fields are char infoobjects..in BPS layout, in planning function I got only 1 function ( Repost function ) to change the value of char infoobject based on some condition. but date field value is not the status field...i want to enter new date instead of old date..if i right exit function in that also i can change only keyfigs values..so please help me to solve this problem..
    Thanks & Regards,
    Priyanka Joshi

    Hi Priyanka,
    As of now master data planning is not so flexibly supported.
    Still u can refer the below link which is enhancement of standard Repost function,and can be used to change master data.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde559f92]
    As far as my knowledge goes u cannot directly input date in rows.
    regards,
    Rajendra

  • Tracking the changes made to the custom table  field value

    Hi all,
           can we track the changes made to the custom table field values. if yes..plz specify how it can be done.
    Example: if i changed the  value of field  'NAME' of table 'YYHCUSTOMER'. i would like to know the old value and the new value of the field. For this, I set the flag 'LOG DATA CHANGES' in the technical settings of the table 'YYHCUSTOMER'.

    -> try TA: SCU3
    regards Andreas

Maybe you are looking for

  • How to install oracle 11g on oracle linux 6.1.

    Hello everyone here at oracle forum.! I'm new on using the linux and i badly need to learn it including the Oracle Database for making PHP website. Because of this i downloaded all the packages of Oracle Linux Release 6 Update 1 Media Pack for x86 (3

  • Shared Services Registration Failed While Re-Configuring EAS

    Hi I was re-configuring EAS and my shared services and deployment failed.I reached out to oracle and they gave me a solution to delete the HBR instances. But when I try to open the url in microsoft word it opens in html format .And i am unable to del

  • Mac Mini, screen share setup over network out of the box?

    Greetings, Is it possible to screen share and setup a new Mac Mini out of the box? Ultimately, I'm trying to figure out if I really need to purchase a separate screen just to setup the machine. Thanks,

  • DBAssist Crashes w/ JAVA Thread Error

    I appologize if this is not the correct forum for this question, please direct me the appropriate one. I'm attempting to evaluate 8.1.6 on Linux. The database itself seems to work fine. Unfortunately dbassist starts but crashes whenever I attempt to

  • Quick question about shake 4

    I just bought Shake, and I was wondering if you guys had any ideas for good tutorials. I'm looking for anything, online, books, whatever. Any links, books, dvds or anything would be appriciated. Thanks