<?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>topic Re: Dialog Programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984847#M72753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arpit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I already coded that for field1. I dont think I need to do that for field2 and field3.&lt;/P&gt;&lt;P&gt;(I tried ur logic...but it didn't worked)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way we can get that done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Aug 2005 20:27:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-15T20:27:28Z</dc:date>
    <item>
      <title>Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984844#M72750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If field1 is '01' then gray out field2 and field3 else if field1 is '02' then edit the fields field2 and field3 for the user to enter some values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had coded the logic in PBO for the above requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if the field1 is '02' then field2 and field3 can not be empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I am giving an error message coded in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem here is when the error message is displayed the fields field2 and field3 are grayed out. But I want those 2 fields to be displayed for input even after the error message. I will post the logic in my next message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2005 19:55:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984844#M72750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-15T19:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984845#M72751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PBO logic&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt; if vbap-zv_wc_product = '02'.&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;   case screen-name.&lt;/P&gt;&lt;P&gt;    when 'VBAP-ZV_NC_RCODE'.&lt;/P&gt;&lt;P&gt;     screen-input = '1'.&lt;/P&gt;&lt;P&gt;     modify screen.&lt;/P&gt;&lt;P&gt;    when 'VBAP-ZZV_NC_RCODE_DET'.&lt;/P&gt;&lt;P&gt;     screen-input = '1'.&lt;/P&gt;&lt;P&gt;     modify screen.&lt;/P&gt;&lt;P&gt;    when others.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   do nothing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   endcase.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt;*disable the fields if the waived charged product is not equal to '02'&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;   case screen-name.&lt;/P&gt;&lt;P&gt;    when 'VBAP-ZV_NC_RCODE'.&lt;/P&gt;&lt;P&gt;     screen-input = '0'.&lt;/P&gt;&lt;P&gt;     modify screen.&lt;/P&gt;&lt;P&gt;    when 'VBAP-ZZV_NC_RCODE_DET'.&lt;/P&gt;&lt;P&gt;     screen-input = '0'.&lt;/P&gt;&lt;P&gt;     modify screen.&lt;/P&gt;&lt;P&gt;    when others.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   do nothing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   endcase.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI logic&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;*NCR code and NCR detail should not empty when the charge product&lt;/P&gt;&lt;P&gt;*is equal to 02&lt;/P&gt;&lt;P&gt;if vbap-zv_wc_product = '02' and&lt;/P&gt;&lt;P&gt;     VBAP-ZV_NC_RCODE is initial and&lt;/P&gt;&lt;P&gt;     VBAP-ZZV_NC_RCODE_DET is initial.&lt;/P&gt;&lt;P&gt;     message e206(zsd).&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2005 19:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984845#M72751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-15T19:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984846#M72752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use on-input event for field2 and field3. this will make the field2 and 3 turn on in turns. an example code will be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD field2 MODULE chk_field2 ON INPUT.&lt;/P&gt;&lt;P&gt;FIELD field3 MODULE chk_field3 ON INPUT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2005 20:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984846#M72752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-15T20:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984847#M72753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arpit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I already coded that for field1. I dont think I need to do that for field2 and field3.&lt;/P&gt;&lt;P&gt;(I tried ur logic...but it didn't worked)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way we can get that done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2005 20:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984847#M72753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-15T20:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984848#M72754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm thinking that you must CHAIN these fields together.  Do some F1 help on the keyword CHAIN.   You use this in the PBO of the screen flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2005 21:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984848#M72754</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-15T21:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984849#M72755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use ON CHAIN INPUT for the 3 fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2005 21:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984849#M72755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-15T21:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984850#M72756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very grateful for the responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I had those three fields in chain and endchain.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    module check_fields on chain-input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it using in PAI and PBO both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI is doesn't work. But in PBO the problem is when ever the error message is triggered a pop uo window comes up with an EXIT button it. and when we click EXIT it exits the screen which should not happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still trying various methods. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2005 21:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984850#M72756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-15T21:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984851#M72757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me bring down my requirement a bit now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I give an error message in PBO why an error window with EXIT button is coming up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont want that to happen. I want my error message to be displayed on the status bar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve my problem. Any ideas are most welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2005 21:54:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984851#M72757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-15T21:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984852#M72758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing, you should be doing your validation in the PAI not the PBO.  Use the CHAIN ENDCHAIN and the modules which do the validation in the PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please remember to award points for helpful answers.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2005 22:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/984852#M72758</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-15T22:54:15Z</dc:date>
    </item>
  </channel>
</rss>

