<?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: !!!! Urgent !!!!!!!!Dialog Programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606264#M272025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validate the field check for success flag :&lt;/P&gt;&lt;P&gt;if it is ok then call one more MODULE with &lt;/P&gt;&lt;P&gt;LOOP AT SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY SCREEN &lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process after input.&lt;/P&gt;&lt;P&gt; MODULE VALIDATE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE VALIDATE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; IF VALIDATION IS SUCCESS.&lt;/P&gt;&lt;P&gt;   PERFORM MODIFY_SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM MODUFY_SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt; CHECK FOR THE FIELDS modif group id IN THE LAYOUT.&lt;/P&gt;&lt;P&gt;  SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDCHECK.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2006 10:19:11 GMT</pubDate>
    <dc:creator>shishupalreddy</dc:creator>
    <dc:date>2006-10-10T10:19:11Z</dc:date>
    <item>
      <title>!!!! Urgent !!!!!!!!Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606262#M272023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Dialog Programming i have 3 fields, if one field is validated if it is true the next two fields should become gray,so no one can enter the values in those two fields how can i do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 10:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606262#M272023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T10:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: !!!! Urgent !!!!!!!!Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606263#M272024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the PBO of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if condition is true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt; if screen-name = 'ABC' or screen-name = 'XYZ'.&lt;/P&gt;&lt;P&gt;  screen-input = 0.&lt;/P&gt;&lt;P&gt;  modify screen.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 10:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606263#M272024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T10:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: !!!! Urgent !!!!!!!!Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606264#M272025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validate the field check for success flag :&lt;/P&gt;&lt;P&gt;if it is ok then call one more MODULE with &lt;/P&gt;&lt;P&gt;LOOP AT SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY SCREEN &lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process after input.&lt;/P&gt;&lt;P&gt; MODULE VALIDATE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE VALIDATE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; IF VALIDATION IS SUCCESS.&lt;/P&gt;&lt;P&gt;   PERFORM MODIFY_SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM MODUFY_SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt; CHECK FOR THE FIELDS modif group id IN THE LAYOUT.&lt;/P&gt;&lt;P&gt;  SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDCHECK.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 10:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606264#M272025</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-10-10T10:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: !!!! Urgent !!!!!!!!Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606265#M272026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the help link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feel free to revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ragu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 10:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606265#M272026</guid>
      <dc:creator>raguraman_c</dc:creator>
      <dc:date>2006-10-10T10:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: !!!! Urgent !!!!!!!!Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606266#M272027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go thru this docu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Changing The Screen During Runtime&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attributes are assigned to the screen field when the screen is designed in full screen editor.  Such kind of assignment is static, which means that these attributes are fixed. But many times the need to change the attributes of the screen arises. And this has to be done during runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need To Change Screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There can be a requirement in the transaction that, certain fields on the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appear only in certain conditions.&lt;/P&gt;&lt;P&gt;Are in Change/display mode according to user inputs&lt;/P&gt;&lt;P&gt;Become mandatory subject to specific inputs.&lt;/P&gt;&lt;P&gt;Changes its format depending upon certain conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modifying the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the runtime, attributes for each screen field is stored in system defined internal table, with header line, called as SCREEN TABLE. It contains name of field and its attributes. This tab le can be modified during the runtime i.e. through module pool program. Screen table has following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field Name 		Length		Description&lt;/P&gt;&lt;P&gt;NAME			30			Name of screen field&lt;/P&gt;&lt;P&gt;GROUP1		3			Field belongs to field group1&lt;/P&gt;&lt;P&gt;GROUP2		3			Group 2&lt;/P&gt;&lt;P&gt;GROUP3		3			Group 3&lt;/P&gt;&lt;P&gt;GROUP4		3		   	Group 4&lt;/P&gt;&lt;P&gt;ACTIVE		1			Hide/Show&lt;/P&gt;&lt;P&gt;REQUIRED		1			Field input is mandatory                    	&lt;/P&gt;&lt;P&gt;INPUT		1			Enable/Disable&lt;/P&gt;&lt;P&gt;OUTPUT		1			Field for display only&lt;/P&gt;&lt;P&gt;INTENSIFIED	1			Field is highlighted.&lt;/P&gt;&lt;P&gt;INVISIBLE		1			Field is suppressed.&lt;/P&gt;&lt;P&gt;LENGTH		1			Field output length is reduced &lt;/P&gt;&lt;P&gt;DISPLAY 3D		1			Field is displayed with 3-D Frame&lt;/P&gt;&lt;P&gt;VALUE_HELP	1	                        Field is displayed with Value help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g., SCREEN-ACTIVE     = 0   has the same effect as the following statements.&lt;/P&gt;&lt;P&gt;        SCREEN- INPUT       = 0.&lt;/P&gt;&lt;P&gt;        SCREEN-OUTPUT    = 0.&lt;/P&gt;&lt;P&gt;        SCREEN-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt;The fields SCREEN-NAME and SCREEN-GROUP 1 through SCREEN-GROUP4 tell you which field and / or field group has the attributes.&lt;/P&gt;&lt;P&gt;You can assign up to 4 groups to a field.&lt;/P&gt;&lt;P&gt;You need to program screen modifications in module, which is processed during the event PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`SCREEN&amp;#146; is an internal table and, in order to change the field values, LOOP statement has to be used so that the header-line can be populated with the new values, changing the earlier values, the SCREEN table consisted for the specific screen. Finally the changed record in the header-line is NOT APPENDED, but is MODIFIED to the SCREEN table. That is, we first use `LOOP AT SCREEN&amp;#146; and then assign the values. And finally PRIOR TO ENDLOPP give `MODIFY SCREEN&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE MODIFY_SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE MODIFY_SCREEN.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME = &amp;#145;SFLIGHT-CARRID&amp;#146;.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 10:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606266#M272027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T10:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: !!!! Urgent !!!!!!!!Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606267#M272028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gupta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See First of all what u have to do is &lt;/P&gt;&lt;P&gt;Assign the specific fields (the one you want to mask    to a screen group) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This u can do it in the field attributes of the screen .&lt;/P&gt;&lt;P&gt;To do this &lt;/P&gt;&lt;P&gt;Click on a field and see its attributes   in here u fill find a allocation of SCREEN-GROUPS . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means as u said assign common screen group name for both the fields F2, F3 as ZXXX and Activate it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now as per ur criteria &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***In  PBO Write the code as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if F1 is true. &amp;#147; validation is over then perform the masking on F2, F3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'ZXXX' .&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif. &amp;#147;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The effect of this is only those Screen fields which u have assigned to screen group ZXXX will be masked grey.&lt;/P&gt;&lt;P&gt;so F2, F3 are masked ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 10:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-dialog-programming/m-p/1606267#M272028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T10:35:27Z</dc:date>
    </item>
  </channel>
</rss>

