<?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: Sample code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229056#M138757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;once u get ADRNR, put that as ADDRNUMBER in ADRC table n get the address.&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2006 16:41:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-20T16:41:26Z</dc:date>
    <item>
      <title>Sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229053#M138754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody give me a sample code for the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to get the address from the following logic using joins:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the address number select single ADRNR from TVST into TVST where VSTEL=LIKP-VSTEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then ADDR1_DATA-ADRNR=TVST-ADRNR to get the address number and then the address details .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;addr_data-name1 etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 16:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229053#M138754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T16:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229054#M138755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you looked at this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ST_LOCATION_ADDR_GET&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 16:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229054#M138755</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-03-20T16:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229055#M138756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;  Access table ADRC for the details...&lt;/P&gt;&lt;P&gt; Put the below in where condition.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; SELECT * FROM ADRC INTO IT_ADRC &lt;/P&gt;&lt;P&gt;    WHERE ADRC-ADDRNUMBER = TVST-ADRNR.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 16:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229055#M138756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T16:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229056#M138757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;once u get ADRNR, put that as ADDRNUMBER in ADRC table n get the address.&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 16:41:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229056#M138757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T16:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229057#M138758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to select on TVST and ADRC at the same time using joins, your select statement should look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select TVST&lt;SUB&gt;VSTEL TVST&lt;/SUB&gt;ADRNR ADRC&lt;SUB&gt;NAME1 ADRC&lt;/SUB&gt;NAME2 (...)&lt;/P&gt;&lt;P&gt;       into corresponding fields of workarea&lt;/P&gt;&lt;P&gt;       from TVST inner join ADRC on &lt;/P&gt;&lt;P&gt;       ( TVST&lt;SUB&gt;ADRNR eq ADRC&lt;/SUB&gt;ADDRNUMBER )&lt;/P&gt;&lt;P&gt;       where TVST~VSTEL eq ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Inner join' will only select records with matching entries in both tables, whereas 'left join' will select data from TVST also, if no match can be found in ADRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, kind regards, Kathrin!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 17:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/1229057#M138758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T17:06:30Z</dc:date>
    </item>
  </channel>
</rss>

