<?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 How to refresh a field in modulepool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-a-field-in-modulepool-program/m-p/3674784#M884982</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;1)Tcode-ZVCRUGR (program - ZV_CRUCIAL_GOODS_RECEIPT)--&amp;gt;Press External Vendor Button , the Component Manufacturer field should have been refreshed like the Country of Origin and Date code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone through the program but I could not find any refreshing for country of origin and date code fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is I have to refresh manufactuer field like country of origin and date code fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Tcode-ZVCRUGR (program - ZV_CRUCIAL_GOODS_RECEIPT)--&amp;gt;press button Stocking Order, the component Manufacturer field should also been greyed out like the Country of Origin and Date code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.It is very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2008 07:56:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-21T07:56:53Z</dc:date>
    <item>
      <title>How to refresh a field in modulepool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-a-field-in-modulepool-program/m-p/3674784#M884982</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;1)Tcode-ZVCRUGR (program - ZV_CRUCIAL_GOODS_RECEIPT)--&amp;gt;Press External Vendor Button , the Component Manufacturer field should have been refreshed like the Country of Origin and Date code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone through the program but I could not find any refreshing for country of origin and date code fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is I have to refresh manufactuer field like country of origin and date code fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Tcode-ZVCRUGR (program - ZV_CRUCIAL_GOODS_RECEIPT)--&amp;gt;press button Stocking Order, the component Manufacturer field should also been greyed out like the Country of Origin and Date code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.It is very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 07:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-a-field-in-modulepool-program/m-p/3674784#M884982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T07:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh a field in modulepool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-a-field-in-modulepool-program/m-p/3674785#M884983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the field to be refreshed, write&lt;/P&gt;&lt;P&gt; CLEAR &amp;lt;field name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to make it grey,&lt;/P&gt;&lt;P&gt;In the PBO Module, add the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-name = &amp;lt;fieldn ame&amp;gt;.&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;Assign points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 08:12:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-a-field-in-modulepool-program/m-p/3674785#M884983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T08:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh a field in modulepool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-a-field-in-modulepool-program/m-p/3674786#M884984</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 PBO, Do like this....&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT SCREEN.
if sy-tcode = 'PB30' AND ( SY-UCOMM = 'MOD' ).
IF SCREEN-NAME = 'P9001-GROUP'.
SCREEN-INPUT = '1'.   "Input Field
MODIFY SCREEN.
ENDIF.
IF SCREEN-NAME = 'P9001-LEVEL'.
SCREEN-INPUT = '1'.
MODIFY SCREEN.
ENDIF.

if sy-tcode = 'PB30' AND ( SY-UCOMM = 'DIS' ) .
OR SY-UCOMM = ''
IF SCREEN-NAME = 'P9001-GROUP'.
SCREEN-INPUT = '0'.    "Output Field
MODIFY SCREEN.
ENDIF.
IF SCREEN-NAME = 'P9001-LEVEL'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 08:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-a-field-in-modulepool-program/m-p/3674786#M884984</guid>
      <dc:creator>ak_upadhyay</dc:creator>
      <dc:date>2008-04-21T08:22:02Z</dc:date>
    </item>
  </channel>
</rss>

