<?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: Dialo programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-dialo-programming/m-p/2532802#M574495</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;        i have one customised screen , during packing the packing people after delivery order printed they r unpacking (clicking unpack button which is on the tool bar) ,  all the packers have username and password ,   how should i disable the unpack button if the user is packer and enable the unpack button if the user is manager,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                   Can any one gve me logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards will b given&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Jul 2007 01:20:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-15T01:20:21Z</dc:date>
    <item>
      <title>Re: Dialo programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-dialo-programming/m-p/2532802#M574495</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;        i have one customised screen , during packing the packing people after delivery order printed they r unpacking (clicking unpack button which is on the tool bar) ,  all the packers have username and password ,   how should i disable the unpack button if the user is packer and enable the unpack button if the user is manager,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                   Can any one gve me logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards will b given&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 01:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-dialo-programming/m-p/2532802#M574495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T01:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Dialo programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-dialo-programming/m-p/2532803#M574496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have name for unpack button if so &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-uname = username. -&amp;gt; deactive button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-name = 'NAME'.&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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-uname = username. -&amp;gt; active button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-name = 'NAME'.&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;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please write the code under pbo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;module mod. -&amp;gt; double click on mod ,it will create module ,please paste above code&lt;/P&gt;&lt;P&gt;MODULE STATUS_9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 01:30:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-dialo-programming/m-p/2532803#M574496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T01:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Dialo programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-dialo-programming/m-p/2532804#M574497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   For this you have to check authorization object. for a manager this authorization would be successful. so by checking the sy-subrc you can write the logic whether to allow or not allow the user to enter this vale.&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'z_auth_manager_obj'.&lt;/P&gt;&lt;P&gt;             ID 'ACTVT' FIELD 'XX'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0. "field shd be disabled.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'Packed'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;modifscreen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 10:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-dialo-programming/m-p/2532804#M574497</guid>
      <dc:creator>former_member219399</dc:creator>
      <dc:date>2007-07-17T10:58:14Z</dc:date>
    </item>
  </channel>
</rss>

