<?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 Screen Exit : VA02 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit-va02/m-p/3128443#M743089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a scenario where client wants a popup screen every time user tries to save the field IHREZ in transaction va02..The screen will contain various database fields including the following:&lt;/P&gt;&lt;P&gt;All the field are display fields except for markup factor which is a field from a ztable.The number of line items can be 200.Sales price will be calculated as&lt;/P&gt;&lt;P&gt;qty&lt;STRONG&gt;cost&lt;/STRONG&gt;markup factor(custom field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two additional fields Labor and Hours which are to be entered by the user and then some calculation will be done to get the total price invested in repairing. This total price should be updated in a custom condition pricing for repair.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest all the possible solution which I  can look into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Zahabia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Nov 2007 14:41:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-18T14:41:41Z</dc:date>
    <item>
      <title>Screen Exit : VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit-va02/m-p/3128443#M743089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a scenario where client wants a popup screen every time user tries to save the field IHREZ in transaction va02..The screen will contain various database fields including the following:&lt;/P&gt;&lt;P&gt;All the field are display fields except for markup factor which is a field from a ztable.The number of line items can be 200.Sales price will be calculated as&lt;/P&gt;&lt;P&gt;qty&lt;STRONG&gt;cost&lt;/STRONG&gt;markup factor(custom field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two additional fields Labor and Hours which are to be entered by the user and then some calculation will be done to get the total price invested in repairing. This total price should be updated in a custom condition pricing for repair.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest all the possible solution which I  can look into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Zahabia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2007 14:41:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit-va02/m-p/3128443#M743089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-18T14:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exit : VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit-va02/m-p/3128444#M743090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can implement one of the following userexits in MV45AFZZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_MOVE_DATA_TO_VBAK&lt;/P&gt;&lt;P&gt;USEREXIT_MOVE_DATA_TO_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your field IHREZ is in VBAK, you can use the first one else the second one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM USEREXIT_MOVE_DATA_TO_VBAK.
  
  IF VBAK-IHREZ = 'ZTEST'.
      INCLUDE ZTEST_99.
   ENDIF.
ENDFORM&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In you INCLUDE &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL SCREEN 9199.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Create a SCRENN 9199 with a table control to show required data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2007 14:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit-va02/m-p/3128444#M743090</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-18T14:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exit : VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit-va02/m-p/3128445#M743091</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;You should you the screen 8309 of program SAPMV45A to add custom fields for header data, and screen 8459 of program SAPMV45A for item data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These screen are the subscreen of the additional data tabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of these screen you can manage input/output attribute by LOOP AT SCREEN/ENDLOOP, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-TCODE+3(1) = '3'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&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;&amp;lt;b&amp;gt;Reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 05:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit-va02/m-p/3128445#M743091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T05:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exit : VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit-va02/m-p/3128446#M743092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use modal dialog box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Design a dialog program with a modal dialog box containing your fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the required coding in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Associate program with a tcode and call this tcode from your user exit and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dawood&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 12:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit-va02/m-p/3128446#M743092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T12:22:55Z</dc:date>
    </item>
  </channel>
</rss>

