<?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: Partner function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557914#M1075923</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;is this logoc right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Oct 2008 06:57:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-04T06:57:06Z</dc:date>
    <item>
      <title>Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557910#M1075919</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing some validation for Xvbpa table in sales order exit.&lt;/P&gt;&lt;P&gt;Here i want to deleate an partner function SP( Single record in internla table XVBPA) , if i delete this partner function in this internal table but it is still displaying in the transcation. &lt;/P&gt;&lt;P&gt;can any one guide me how to delete this record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this logic in SAVE_DOCUMENT_PREPARE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 05:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557910#M1075919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T05:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557911#M1075920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls replay me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 05:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557911#M1075920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T05:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557912#M1075921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to delete you may have to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xvbpa-updkz = 'D'. for the partner record what ever you want to delete. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then only it will be deleted. set the deletion indicator and see.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 05:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557912#M1075921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T05:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557913#M1075922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tks for your replay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for my logic i am modifying xvbpa with update indicator with 'D'&lt;/P&gt;&lt;P&gt;but also it is desplaying in transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to delete this record, kindly replay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            READ TABLE XVBpa into l_vbpa with key posnr = ivbap-posnr.&lt;/P&gt;&lt;P&gt;            if l_vbpa-parvw = 'SP'.&lt;/P&gt;&lt;P&gt;              if sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           delete xvbpa where posnr = ivbap-posnr&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                        and parvw = 'SP'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                l_vbpa-updkz = 'D'.&lt;/P&gt;&lt;P&gt;            Modify Xvbpa from l_vbpa transporting UPDKZ&lt;/P&gt;&lt;P&gt;                               where posnr = ivbap-posnr&lt;/P&gt;&lt;P&gt;                               and parvw = 'SP'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 05:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557913#M1075922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T05:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557914#M1075923</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;is this logoc right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 06:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557914#M1075923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T06:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557915#M1075924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whrer are you getting the ivbap-posr..? if the logic is inside some loop or read then ok.check the following corrections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE XVBpa into l_vbpa with key posnr = ivbap-posnr.
if l_vbpa-parvw = 'SP'.
if sy-subrc = 0.
"the below is not required.
"delete xvbpa where posnr = ivbap-posnr   
"and parvw = 'SP'. 
l_vbpa-updkz = 'D'.
Modify Xvbpa from l_vbpa transporting UPDKZ
where posnr = ivbap-posnr
and parvw = 'SP'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 10:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557915#M1075924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T10:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557916#M1075925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replay,&lt;/P&gt;&lt;P&gt;But i tried this manually by updating in internal table with this modification indicator, D ( delete) its not working. But if i modify this table(XVBPA)  with U(Update) and I( Insert) its working fine.&lt;/P&gt;&lt;P&gt;I am writing this logic in MV45AFZZ in FORM SAVE_DOCUMENT_PREPAR in ivbap loop, is it right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main requiremnt is if user changes the item partner WE( Ship-to-party) it should pick its relevent SP maintained in customer master, if for the concerned ship-to-party it dosent have SP means it should come out of logic, but if user second time changes the ship-to-party it is not deleting the previous record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u dont main pls give me ur mail id . kindly replay its on top prority for me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;niki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2008 07:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557916#M1075925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-05T07:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557917#M1075926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to imitate the standard behaviour, Delete the partner from the partner of an item, Now check the values of table xvbpa and yvbpa values in Debug mode for the record which you deleted. try to pass the similar values in your code and see..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2008 07:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557917#M1075926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-05T07:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557918#M1075927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But at that particular placeYVBPA is initial in debugging mode .  but my main doubt is it is taking the indicator U and I but for D it is not behaving properly. I am totally blank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2008 07:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557918#M1075927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-05T07:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Partner function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557919#M1075928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you checking in the SAVE_DOCUMENT_PREPARE form. Did you got me. Delete one partner and check in Debugging what are the values in XVBPA and YVBPA tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you don't find any values in table. then you have to delete the entries in both the tables(xvbpa, yvbpa)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2008 07:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function/m-p/4557919#M1075928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-05T07:50:34Z</dc:date>
    </item>
  </channel>
</rss>

