<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Problem with Guard Condition (Fields Disabling) in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199229#M3685151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you might not want to open a popup for a correct insert, please see another option with no popup. This application presents the error message on the Form, in case of error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/540569" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1. Connect a Data Share from the first service. It gets the Notification Number (or -1 for error in my case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/540537" width="450" /&gt;&lt;/P&gt;&lt;P&gt;2. Add a Plain Text control on the input form, with an error text.&lt;/P&gt;&lt;P&gt;3. Set the visibility condition so it is presented in case of errors only.&lt;/P&gt;&lt;P&gt;4. Optional: It is also possible to set the error text dynamically, if relevant.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/540538" width="450" /&gt;&lt;/P&gt;&lt;P&gt;That's it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2014 05:32:48 GMT</pubDate>
    <dc:creator>former_member202465</dc:creator>
    <dc:date>2014-09-15T05:32:48Z</dc:date>
    <item>
      <title>Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaq-p/10199220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen where I am creating a notification... so I enter all my fields and data as below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/418478" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ALL fields are filled out then the call to my RFC will create the notification and pass back a notification number (EX_QMNUM)&lt;/P&gt;&lt;P&gt;I then pass back EX_QMNUM to the input of my READ_S1 RFC. Since we have a custom table attached I thought it was best to retrieve the latest data from the database after point of save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if they don't fill in the necessary criteria then I pop up an error (EG. Please fill in customer number). I put a GUARD CONDITION on the call back to the READ_S1 RFC. The guard seems to work as my breakpoint/RFC does not get hit... however it then CLEARS my fields and DISABLES everything. This is what it looks like after the save (with guard condition in place). This means I lose all my data and no save occurs.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/418479" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong here? Is this a bug with the guard condition?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/418480" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Guard Condition (which seems to be working apart from the fact it disables my RGA fields)&lt;/P&gt;&lt;P&gt;I'm not completely sure about IF conditions so let me know if this is wrong?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/418481" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 21:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaq-p/10199220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-25T21:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199221#M3685143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The idea behind using the Guard condition to determine whether or not&amp;nbsp; READ_S1 should get executed seems okay. I don't think that has anything to do with the reason why all your fields are getting disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the input's to your 'Form' which has all the fields that are getting disabled? (the one with job descriptio, customer PO, etc.). I'm thinking that may be the cardinality/RecordSet of this Form is set '0...1' and that could be the reason why all the fields are getting disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Chintan Mota&#xD;
Reason: typo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 23:39:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199221#M3685143</guid>
      <dc:creator>former_member182262</dc:creator>
      <dc:date>2014-03-25T23:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199222#M3685144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might need more details to point the problem, but I would try this for start:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For the Form fields to be disabled, it means that &lt;EM&gt;no data&lt;/EM&gt; was returned from its origin Data Service.&lt;/LI&gt;&lt;LI&gt;I notice that the Table activates the "save rga" Service on the same event as the Form.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So - could it be that this additional activation of "save rga" causes the flow to continue to "reads1" with no returned data? It might be easy thing to check - just not to "listen" to the same "saverga" event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 06:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199222#M3685144</guid>
      <dc:creator>former_member202465</dc:creator>
      <dc:date>2014-03-26T06:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199223#M3685145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Ehud&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem is actually becoming a real pain in that I'm worried I won't be able to continue modeling the application in VC. If you can help me that would be greatly appreciated as I have sunk ALOT of time in to this application and it is now very complex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the problem further and I can confirm that the guard condition is returning false and IS NOT triggering the READS1 function. I put a external breakpoint in the RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this even further by instead creating a NEW CONNECTOR to ANOTHER CALL of READS1 (after SAVE RGA occurs) and set the guard condition as false. This still wipes the data so this means as soon as the condition is false all data afterwards is wiped out and is not the result of some 'endless loop'. See attached screenshot.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/538227" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This must be a bug as I can't see any logic as to why this would occur? As I understand it the guard condition is to PREVENT the flow from proceeding and is the only way to control events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 00:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199223#M3685145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T00:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199224#M3685146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll do my best, let's "start small" and add modeling as we go.&lt;/P&gt;&lt;P&gt;First, I want to be sure I understand the desired flow - please correct me as needed:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;User enters input in a Form for a new Notification&lt;/LI&gt;&lt;LI&gt;This activates a data service that adds the Notification in the DB. The output is the Notification number.&lt;/LI&gt;&lt;LI&gt;You want to read this new notification now from the DB. You also want to present it in the same input form of step 1?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all is true, the basic flow is something of this kind:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/538387" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Is it correct so far?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 06:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199224#M3685146</guid>
      <dc:creator>former_member202465</dc:creator>
      <dc:date>2014-09-11T06:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199225#M3685147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ehud&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yep that is perfect! I just want to confirm that this flow should work fine when no errors are present and you add a notification successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem begins when.... the add_notification function should validate some of the data inputs and if they are incorrect then it should also return an error. You should put a guard condition between 'add_notification' and 'get_notification_by_num' that returns false in these instances.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even test this by just adding 'false' between the two if your system is the same as mine! The result you should be that all the data in the 'in1' form you initially entered will be blank AND greyed out (read only).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 19:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199225#M3685147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T19:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199226#M3685148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the input, I have tried this now.&lt;/P&gt;&lt;P&gt;1. In the case the guard evaluates to "false", I experience the fields being blank, but not grayed out. So the user is able to refill the input and submit. This means something else in your model causes the "grayed out" behavior.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/540383" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In general, in case you know the conditions to valid input in the client side, you could model this way:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Valid input =&amp;gt; the data services run. example guard to service: =ISNULL(@customer)==false&lt;/LI&gt;&lt;LI&gt;Invalid input =&amp;gt; the popup shows. example guard to popup: =ISNULL(in1@customer)==true&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/540384" width="450" /&gt;&lt;/P&gt;&lt;P&gt;3. Is it possible in your case to validate the input &lt;SPAN style="text-decoration: underline;"&gt;before&lt;/SPAN&gt; running the first query? This will enable to use the Validation feature as in &lt;A __default_attr="48482" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="Input Validation" href="https://community.sap.com/"&gt;&lt;/A&gt;. If possible it's the best way in terms of user experience, in my opinion.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/540396" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Udi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 08:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199226#M3685148</guid>
      <dc:creator>former_member202465</dc:creator>
      <dc:date>2014-09-14T08:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199227#M3685149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ehud&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice if I could capture everything on the screen as you mention in 3. however the BAPI can return many different errors and there is no way to predict some of these. These include master data problems and I am passing a whole table of data to be validated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is definitely a bug here... I set the guard condition as false and it blanks everything. I would not expect this behaviour when the guard should have stopped the flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a workaround now however.. your idea helped inspire me. I removed the connector from the output from add_notification and it goes to a popup window every time. If the message back from the RFC is an error I display the 'OK' button which has a refresh action. If there is no error I display a 'Fix Errors' button which does not refresh and instead simply closes the popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This workaround is fine.. so I think it is something to do with automatic events in complex models like this but I can't pinpoint the exact cause!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 01:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199227#M3685149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-15T01:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199228#M3685150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see now, the scenario performs more checks on the Bapi. This makes things more complex, as a popup is actually being opened from a UI Action, which the Bapi's result is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also agree that a ticket is due here. If you could do it and include your model it's a great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 05:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199228#M3685150</guid>
      <dc:creator>former_member202465</dc:creator>
      <dc:date>2014-09-15T05:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199229#M3685151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you might not want to open a popup for a correct insert, please see another option with no popup. This application presents the error message on the Form, in case of error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/540569" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1. Connect a Data Share from the first service. It gets the Notification Number (or -1 for error in my case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/540537" width="450" /&gt;&lt;/P&gt;&lt;P&gt;2. Add a Plain Text control on the input form, with an error text.&lt;/P&gt;&lt;P&gt;3. Set the visibility condition so it is presented in case of errors only.&lt;/P&gt;&lt;P&gt;4. Optional: It is also possible to set the error text dynamically, if relevant.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/540538" width="450" /&gt;&lt;/P&gt;&lt;P&gt;That's it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 05:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199229#M3685151</guid>
      <dc:creator>former_member202465</dc:creator>
      <dc:date>2014-09-15T05:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199230#M3685152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the plain text error idea.. that is good to know as you can style them right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can send you the model if you wish but it is connected to other components and these are all connected to custom RFC's. This is going to be a very complex model when its finished. Is there another way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 20:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199230#M3685152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-16T20:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Guard Condition (Fields Disabling)</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199231#M3685153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;About the styles - sorry! I forgot to show it:&lt;/P&gt;&lt;P&gt;It's possible to define style for a Plain Text control (and also for Table Row / Table cell):&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/542602" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I choose a trivial thing:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/542606" /&gt;&lt;/P&gt;&lt;P&gt;You could define several style with conditions, so the first one to evaluate to "true" at run-time is applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text in the Plain Text control could also be a dynamic expression. So combining these two options you could present different text and color according to case:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Please fix input and resubmit&lt;/SPAN&gt; for error, or:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;A notification item was added successfully&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the model:&lt;/P&gt;&lt;P&gt;It's best to simplify the error scenario as much as possible.&lt;/P&gt;&lt;P&gt;About the services: we can't to run them internally, but we get the full picture of the flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 04:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-with-guard-condition-fields-disabling/qaa-p/10199231#M3685153</guid>
      <dc:creator>former_member202465</dc:creator>
      <dc:date>2014-09-17T04:46:56Z</dc:date>
    </item>
  </channel>
</rss>

