<?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 User Exit MV45AFZZ-partner function automation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840654#M357265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need experts help to resolve one high ticket.&lt;/P&gt;&lt;P&gt;During the change of Salesorder , I am deleting the partner from XVBPA internal table if there is no plant in Salesorder line item.&lt;/P&gt;&lt;P&gt;Like below.&lt;/P&gt;&lt;P&gt; IF NOT xvbap-werks IS INITIAL. &lt;/P&gt;&lt;P&gt;   Want update the VBPA table.&lt;/P&gt;&lt;P&gt; ELSE."no plant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DELETE xvbpa WHERE parvw = 'ZP' .&lt;/P&gt;&lt;P&gt;  xvbpa-updkz = 'D'.&lt;/P&gt;&lt;P&gt;   MODIFY xvbpa INDEX sy-tabix.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some how the above code is not updating the DATABASE table vbpa. I have tried with yvbpa also but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me to resolve this ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;kali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2007 12:38:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-18T12:38:13Z</dc:date>
    <item>
      <title>User Exit MV45AFZZ-partner function automation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840654#M357265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need experts help to resolve one high ticket.&lt;/P&gt;&lt;P&gt;During the change of Salesorder , I am deleting the partner from XVBPA internal table if there is no plant in Salesorder line item.&lt;/P&gt;&lt;P&gt;Like below.&lt;/P&gt;&lt;P&gt; IF NOT xvbap-werks IS INITIAL. &lt;/P&gt;&lt;P&gt;   Want update the VBPA table.&lt;/P&gt;&lt;P&gt; ELSE."no plant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DELETE xvbpa WHERE parvw = 'ZP' .&lt;/P&gt;&lt;P&gt;  xvbpa-updkz = 'D'.&lt;/P&gt;&lt;P&gt;   MODIFY xvbpa INDEX sy-tabix.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some how the above code is not updating the DATABASE table vbpa. I have tried with yvbpa also but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me to resolve this ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;kali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 12:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840654#M357265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T12:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit MV45AFZZ-partner function automation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840655#M357266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try putting this code in a program and submit the the program.&lt;/P&gt;&lt;P&gt;Also you have not specified how you are updating VBPA table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Aravind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 12:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840655#M357266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T12:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit MV45AFZZ-partner function automation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840656#M357267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the complete code or anything left and in which form  routine are you writing this code .&lt;/P&gt;&lt;P&gt;can u please pass the exit name and the complete code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is the code residing in a loop endloop or just the if  condition .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first check the sales area .&lt;/P&gt;&lt;P&gt;and then loop at the particular item with no plant  and check the condition and modify vbpa .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if vbak-vkorg eq 'XX' and vbak-spart = &amp;#145;YY&amp;#146;  .

 loop at xvbpa
      where PARVW = 'ZP' 
       and   POSNR = VBAP-POSNR.
 
  IF  xvbap-werks IS INITIAL.        "item condition
  DELETE xvbpa WHERE parvw = 'ZP' .
  move  'D' to  xvbpa-updkz.
  MODIFY xvbpa  .
  ENDIF.
  endloop.

Endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 13:08:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840656#M357267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T13:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit MV45AFZZ-partner function automation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840657#M357268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i got a requirement to automate partner function in sales order create and change. kindly give me some idea to achieve this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 14:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840657#M357268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-18T14:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit MV45AFZZ-partner function automation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840658#M357269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i got a requirement to automate partner function in sales order create and change. kindly give me some idea to achieve this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 14:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840658#M357269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-18T14:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit MV45AFZZ-partner function automation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840659#M357270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to delete the partner line.&lt;/P&gt;&lt;P&gt;Just Modify the line with &lt;SPAN style="color: #333333; font-size: 12px;"&gt;xvbpa-updkz = 'D'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System 'll not consider this partner automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akshat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 14:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840659#M357270</guid>
      <dc:creator>akshat_ra</dc:creator>
      <dc:date>2015-02-18T14:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit MV45AFZZ-partner function automation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840660#M357271</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I was able to figure it out by adding a record in YVBPA having UPKZ = 'D' and by deleting the XVBPA record.&lt;/P&gt;&lt;P&gt;    read table xvbpa with key parvw = 'SP' assigning field-symbol(&amp;lt;lf_carr&amp;gt;).&lt;BR /&gt;    if sy-subrc = 0.&lt;BR /&gt;      if &amp;lt;lf_carr&amp;gt;-lifnr is not initial.&lt;BR /&gt;&lt;BR /&gt;        read table yvbpa assigning &amp;lt;lf_yvbpa&amp;gt; with key parvw = 'SP'.&lt;BR /&gt;        if sy-subrc = 0.&lt;BR /&gt;          &amp;lt;lf_yvbpa&amp;gt;-updkz = 'D'.&lt;BR /&gt;        else.&lt;BR /&gt;          append initial line to yvbpa assigning &amp;lt;lf_yvbpa&amp;gt;.&lt;BR /&gt;          &amp;lt;lf_yvbpa&amp;gt; = &amp;lt;lf_carr&amp;gt;.&lt;BR /&gt;          &amp;lt;lf_yvbpa&amp;gt;-updkz = 'D'.&lt;BR /&gt;        endif.&lt;BR /&gt;&lt;BR /&gt;        delete xvbpa where parvw = 'SP'.&lt;BR /&gt;&lt;BR /&gt;      endif.&lt;BR /&gt;    endif.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 17:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-mv45afzz-partner-function-automation/m-p/1840660#M357271</guid>
      <dc:creator>former_member621213</dc:creator>
      <dc:date>2022-10-18T17:07:23Z</dc:date>
    </item>
  </channel>
</rss>

