<?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 Adding new screen field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-screen-field/m-p/1400127#M193455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to add a new screen field to our shipment document. &lt;/P&gt;&lt;P&gt;My ABAPper says there's no screen exit to do the same.&lt;/P&gt;&lt;P&gt;He talks something about breaking the code and stuff like that which I dont understand much. &lt;/P&gt;&lt;P&gt;Please let me know a way if you guys can think of something.&lt;/P&gt;&lt;P&gt;I need to add a field in VT01N transaction. &lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jun 2006 17:08:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-26T17:08:01Z</dc:date>
    <item>
      <title>Adding new screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-screen-field/m-p/1400127#M193455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to add a new screen field to our shipment document. &lt;/P&gt;&lt;P&gt;My ABAPper says there's no screen exit to do the same.&lt;/P&gt;&lt;P&gt;He talks something about breaking the code and stuff like that which I dont understand much. &lt;/P&gt;&lt;P&gt;Please let me know a way if you guys can think of something.&lt;/P&gt;&lt;P&gt;I need to add a field in VT01N transaction. &lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 17:08:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-screen-field/m-p/1400127#M193455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T17:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-screen-field/m-p/1400128#M193456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Runa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this example code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all after adding the fields, you need to display those new fields in the VA01 transaction while creating a new sale order. So for that you need to first use the exit MV45A0ZZ. In this exit under the PBO, declare any form like eg: module zz_blank_fields. The coding for the module must be like as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = '002'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;elseif screen-group1 = '123' or&lt;/P&gt;&lt;P&gt;screen-group1 = 'QUO'.&lt;/P&gt;&lt;P&gt;screen-active = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;WHEN 'VA12'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = '123' OR&lt;/P&gt;&lt;P&gt;SCREEN-GROUP1 = 'QUO' .&lt;/P&gt;&lt;P&gt;screen-active = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&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;WHEN 'VA13'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = '001' OR&lt;/P&gt;&lt;P&gt;SCREEN-GROUP1 = '002'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;elseif screen-group1 = '123' OR&lt;/P&gt;&lt;P&gt;SCREEN-GROUP1 = 'QUO' .&lt;/P&gt;&lt;P&gt;screen-active = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;when 'B'."Quotation&lt;/P&gt;&lt;P&gt;CASE SY-TCODE.&lt;/P&gt;&lt;P&gt;WHEN 'VA21' OR 'VA22'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = '002'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;elseif screen-group1 = '123'.&lt;/P&gt;&lt;P&gt;screen-active = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&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;WHEN 'VA23'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = '001' OR&lt;/P&gt;&lt;P&gt;SCREEN-GROUP1 = '002' OR&lt;/P&gt;&lt;P&gt;SCREEN-GROUP1 = 'QUO' .&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;elseif screen-group1 = '123'.&lt;/P&gt;&lt;P&gt;screen-active = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;when 'C'."Order&lt;/P&gt;&lt;P&gt;**Additinal fields for capturing DI Details in Order&lt;/P&gt;&lt;P&gt;case sy-tcode.&lt;/P&gt;&lt;P&gt;when 'VA01' OR 'VA02'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 &amp;lt;&amp;gt; '123' .&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;when 'VA03'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 &amp;lt;&amp;gt; '123' .&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = '0'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&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;ENDCASE.&lt;/P&gt;&lt;P&gt;when others.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;screen-active = '0'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Laxmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 17:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-screen-field/m-p/1400128#M193456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T17:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-screen-field/m-p/1400129#M193457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Runa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are application specific exits, refer to this link below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_47x200/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/frameset.htm"&amp;gt;http://help.sap.com/saphelp_47x200/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/frameset.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this we need to get the access key for &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Programs with user exits contain subroutine calls at certain points in their syntax that are identified by the prefix USEREXIT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to request basis person with the program details to get the access key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 19:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-screen-field/m-p/1400129#M193457</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-26T19:34:00Z</dc:date>
    </item>
  </channel>
</rss>

