<?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: Sales Order Change Problem Data Refresh in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871029#M1138792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should change / modify the VBAP fields in the routine USEREXIT_MOVE_FIELD_TO_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the values in the XVBAP.&lt;/P&gt;&lt;P&gt;Set a break point in the subroutine and try it in debugging.&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>Wed, 26 Nov 2008 16:23:00 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2008-11-26T16:23:00Z</dc:date>
    <item>
      <title>Sales Order Change Problem Data Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871028#M1138791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the transaction VA02, i want change the value of the field VBAP-ABGRU. I did it in the User Exit MV45AFZZ, in the  FORM USEREXIT_FIELD_MODIFICATION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of the field changes but the Item line stays shading. I must make some change in the Sales Order and press Enter so that the system takes into account the modification and activates the Item Line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To resolve this problem, i tried use the BAPI 'BAPI_SALESORDER_CHANGE' but another problem appears is that this BAPI clears all of global variables of VA02, so at the end, all fields in the transaction VA02 are blanks although the Sales Order exists and has data!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exist some solution to refresh sales order data inside the transaction VA02 (to activate the Item line) without do changes and press ENTER?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 16:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871028#M1138791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T16:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order Change Problem Data Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871029#M1138792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should change / modify the VBAP fields in the routine USEREXIT_MOVE_FIELD_TO_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the values in the XVBAP.&lt;/P&gt;&lt;P&gt;Set a break point in the subroutine and try it in debugging.&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>Wed, 26 Nov 2008 16:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871029#M1138792</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-11-26T16:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order Change Problem Data Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871030#M1138793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did it but the problem that the system doesn't pass by this form in the first.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I start the transaction VA02, i put the Order Number and i do ENTER, the system doesn't pass by the break-point in the FORM USEREXIT_MOVE_FIELD_TO_VBAP !! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And me, i need activate the Item Line before show it to the user so that can change it. So, i must put my code in one Form from where the system pass in the first like USEREXIT_FIELD_MODIFICATION or USEREXIT_READ_DOCUMENT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 16:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871030#M1138793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T16:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order Change Problem Data Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871031#M1138794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to change it in the subroutine  USEREXIT_READ_DOCUMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the internal table XVBAP.&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>Wed, 26 Nov 2008 16:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871031#M1138794</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-11-26T16:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order Change Problem Data Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871032#M1138795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naimesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it too, the value of VBAP-ABGRU changes but the Item Line and some fileds in the screen are always shading (even though the musn't when i clear the VBAP-ABGRU)!!&lt;/P&gt;&lt;P&gt;For that, I msut do some change in the order and press ENTER to activate them. And this is the problem, i want that to be activated automaticaly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 16:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871032#M1138795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T16:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order Change Problem Data Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871033#M1138796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got your problem now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some debuggin and digging into SAPMV45A, I found out that the Editable or non-editable property of the fields is being set based on the XVBUP-ABSTA (which is the Line item rejection status).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in the subroutine, USEREXIT_READ_DOCUMENT:&lt;/P&gt;&lt;P&gt;Clear XVBAP-ABGRU for all the items (Internal table)&lt;/P&gt;&lt;P&gt;Clear XVBAP-ABGRU (workarea)&lt;/P&gt;&lt;P&gt;Set A in XVBUP-ABSTA for all the items (internal table)&lt;/P&gt;&lt;P&gt;Set A in XVBUP-ABSTA (workarea)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will open up the fields for editing and remove the block.&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>Wed, 26 Nov 2008 17:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871033#M1138796</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-11-26T17:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order Change Problem Data Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871034#M1138797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very very very very MUCH Naimesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works perfectly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I owe you a coffee &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 19:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871034#M1138797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T19:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order Change Problem Data Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871035#M1138798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I prefer Starbucks one &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just kidding...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 19:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-change-problem-data-refresh/m-p/4871035#M1138798</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-11-26T19:12:26Z</dc:date>
    </item>
  </channel>
</rss>

