<?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 Address in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055607#M969495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sudha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the VBPA- table will have the partnerfunction(parvw) and adrnr field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you can get the value for adrnr where parvw = 'zp'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;depend on that get values from adrc which will hold the address details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me if it is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 05:08:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T05:08:09Z</dc:date>
    <item>
      <title>Partner Function Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055604#M969492</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;The name and address that is to print on each label will be pulled from the partner function ZP.How to fetch based on partner function.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible sample query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujatha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055604#M969492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Partner Function Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055605#M969493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi check the table VBPA,  PARVW is the partner funciton which will be ZP in ur case.. get the ADrNR from this table and hit ADRC table for address details..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select vbeln posnr adrnr 
       from vbpa 
     into table it_adrnr
     where parvw = 'ZP'.

select &amp;lt;adress1&amp;gt; &amp;lt;adress2&amp;gt;
      into...
     from adrc 
for all entries in it_adrnr
where adrnr in it_adrnr.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055605#M969493</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-07-10T04:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Partner Function Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055606#M969494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sudha ,&lt;/P&gt;&lt;P&gt;    partner function table is vbpa from here u fetch kunnr where parvw is ZP.&lt;/P&gt;&lt;P&gt;take that kunnr and goto kna1 table from kna1 pick adrnr . and then goto adrc table and pick name1 name2 whatever u want for the address where ADDRNUMBER = adrnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;AMit Pratap SIngh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055606#M969494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Partner Function Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055607#M969495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sudha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the VBPA- table will have the partnerfunction(parvw) and adrnr field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you can get the value for adrnr where parvw = 'zp'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;depend on that get values from adrc which will hold the address details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me if it is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055607#M969495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Partner Function Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055608#M969496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;get the details of the partner like partner number ie kunnr from vbpa. get the address number for that partner from kna1.&lt;/P&gt;&lt;P&gt;get the address details from adrc table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln posnr kunnr &lt;/P&gt;&lt;P&gt;into table it_vbpa&lt;/P&gt;&lt;P&gt;from vbpa&lt;/P&gt;&lt;P&gt;where PARVW eq 'ZP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;it_vbpatemp[] = it_vbpa[].&lt;/P&gt;&lt;P&gt;sort it_vbpatemp by kunnr.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from it_vbpatemp&lt;/P&gt;&lt;P&gt;comparing kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select kunnr adrc&lt;/P&gt;&lt;P&gt;from kna1 &lt;/P&gt;&lt;P&gt;into table it_kna1&lt;/P&gt;&lt;P&gt;for all entries in it_vbpatemp&lt;/P&gt;&lt;P&gt;where kunnr eq it_vbpatemp-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt; it_kna1temp[] = it_kunnr[].&lt;/P&gt;&lt;P&gt;sort it_kna1temp by adrc.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from it_kna1temp&lt;/P&gt;&lt;P&gt;comparing adrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select &amp;lt;address details &amp;gt; from adrc&lt;/P&gt;&lt;P&gt; into table it_adrc&lt;/P&gt;&lt;P&gt; for all entries in it_kna1temp&lt;/P&gt;&lt;P&gt;where adrc eq it_kna1temp-adrc.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055608#M969496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Partner Function Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055609#M969497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use FM SD_PARTNER_READ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055609#M969497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Partner Function Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055610#M969498</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;VBPA is the table having partner function and partner address stored in ADRC table. as you said partner function = ZP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select adrnr into table i_vbpa from vbpa &lt;/P&gt;&lt;P&gt;where parvw = 'ZP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not i_vbpa[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select addrnumber title name1 city into table i_adrc&lt;/P&gt;&lt;P&gt;from adrc for all entries in i_vbpa&lt;/P&gt;&lt;P&gt;where adrnr = i_vbpa-adrnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&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;&lt;/P&gt;&lt;P&gt;sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055610#M969498</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-10T05:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Partner Function Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055611#M969499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sriram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have address number and all to get from ADRC.&lt;/P&gt;&lt;P&gt;This is the selection screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection screen fields:&lt;/P&gt;&lt;P&gt;u2022	Sales Organization&lt;/P&gt;&lt;P&gt;u2022	Distribution Channel&lt;/P&gt;&lt;P&gt;u2022	Division&lt;/P&gt;&lt;P&gt;u2022	Sales Person (partner type ZE, Z1, Z2)&lt;/P&gt;&lt;P&gt;u2022	City&lt;/P&gt;&lt;P&gt;u2022	Region&lt;/P&gt;&lt;P&gt;u2022	Customer Group (Channel/Market)&lt;/P&gt;&lt;P&gt;u2022	Customer Group 2 (Sub Channel/Market)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name and address that is to print on each label will be pulled from the partner function ZP.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the req.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 06:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055611#M969499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T06:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Partner Function Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055612#M969500</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;have a look  in brief.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_vkorg like vbak-vkorg,&lt;/P&gt;&lt;P&gt;                s_vtweg like vbak-vtweg,&lt;/P&gt;&lt;P&gt;                s_spart like vbak-spart.&lt;/P&gt;&lt;P&gt;                                    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab like vbak occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data jtab like vbpa occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data ktab like adrc occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln from vbak&lt;/P&gt;&lt;P&gt;into table itab where vkorg in s_vkorg and vtweg in s_vtweg spart in s_spart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select adrnr from vbpa&lt;/P&gt;&lt;P&gt;into table jtab where vbeln = itab-vbeln and parvw = 'ZE' AND PARVW = 'Z1' AND PARVW = 'Z2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not jtab[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select addrnumber name1 city1 from adrs&lt;/P&gt;&lt;P&gt;into table ktab for all entries in jtab where addrnumber = jtab-adrnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT KTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ KTAB----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 06:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partner-function-address/m-p/4055612#M969500</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-10T06:27:51Z</dc:date>
    </item>
  </channel>
</rss>

