<?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 Regarding code over view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-code-over-view/m-p/1570809#M257655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  frinedz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me any one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;briefly explain how to select and how to link one table with another with loops and inner joins depending on below requirements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection screen fields:company code&lt;/P&gt;&lt;P&gt;                          sales org&lt;/P&gt;&lt;P&gt;                         plant :from-to&lt;/P&gt;&lt;P&gt;                          invoice no:from-to&lt;/P&gt;&lt;P&gt;                         date range; from-to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 take the plant code of the billing documents selected from VBRP-WERKS and refer table T001W, where VBRP-WERKS=T001W-WERKS.&lt;/P&gt;&lt;P&gt;GET adress number from T001W-ADRNR and refer table ADRC, WHERE:T001W-ADRNR=ADRC-ADDRNUMBER.&lt;/P&gt;&lt;P&gt;get the name of the plant from ADRC-NAME1.&lt;/P&gt;&lt;P&gt;get the T001W-LAND1 and T001W-REGIO, and get the satte code by refering table T005U.&lt;/P&gt;&lt;P&gt;2.FROM THE INVOICE NUMBERS GENERATED out of the selection parametres,take up the billing document numbers from table VBRK with the following parameters.&lt;/P&gt;&lt;P&gt;VBRK-FKDAT&lt;/P&gt;&lt;P&gt;VBRK-FKART=F2(BILLING TYPE)&lt;/P&gt;&lt;P&gt;THE BILLING DOCUMENT SHOULD BE OF THE EQUIPMENTS MATERILAS.&lt;/P&gt;&lt;P&gt;3.TAKE the billing document creation date from tableVBRP,for the given document number being populated in the report&lt;/P&gt;&lt;P&gt;4.the material level details are required ,goto table VBRP.the table would be referenced with the VBRK-vbelen field,where VBRK-VBELN=VBRP-VBELN.&lt;/P&gt;&lt;P&gt;5.TAKE THE value of the material from VBRP only&lt;/P&gt;&lt;P&gt;6.take the delivering plants region code from table VBRP.VBRP-WERKS-PLANT CODE.since the description of the region is required, goto table TOO1W.input the following:&lt;/P&gt;&lt;P&gt;VBRP-WERKS=T001W-WERKS&lt;/P&gt;&lt;P&gt;7.since the customer name is required. take from KNA1.table KNA1 is referenced from using the customer code from table VBRP-KUANG, where VBRP-KUNAG=KNA1-KUNNR&lt;/P&gt;&lt;P&gt;8. ship to customers region is required , we need to identify FROM kna1&lt;/P&gt;&lt;P&gt;9.LR number from VTTK&lt;/P&gt;&lt;P&gt;10.LR date , transporter no from VTTK table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2006 11:50:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-08T11:50:43Z</dc:date>
    <item>
      <title>Regarding code over view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-code-over-view/m-p/1570809#M257655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  frinedz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me any one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;briefly explain how to select and how to link one table with another with loops and inner joins depending on below requirements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection screen fields:company code&lt;/P&gt;&lt;P&gt;                          sales org&lt;/P&gt;&lt;P&gt;                         plant :from-to&lt;/P&gt;&lt;P&gt;                          invoice no:from-to&lt;/P&gt;&lt;P&gt;                         date range; from-to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 take the plant code of the billing documents selected from VBRP-WERKS and refer table T001W, where VBRP-WERKS=T001W-WERKS.&lt;/P&gt;&lt;P&gt;GET adress number from T001W-ADRNR and refer table ADRC, WHERE:T001W-ADRNR=ADRC-ADDRNUMBER.&lt;/P&gt;&lt;P&gt;get the name of the plant from ADRC-NAME1.&lt;/P&gt;&lt;P&gt;get the T001W-LAND1 and T001W-REGIO, and get the satte code by refering table T005U.&lt;/P&gt;&lt;P&gt;2.FROM THE INVOICE NUMBERS GENERATED out of the selection parametres,take up the billing document numbers from table VBRK with the following parameters.&lt;/P&gt;&lt;P&gt;VBRK-FKDAT&lt;/P&gt;&lt;P&gt;VBRK-FKART=F2(BILLING TYPE)&lt;/P&gt;&lt;P&gt;THE BILLING DOCUMENT SHOULD BE OF THE EQUIPMENTS MATERILAS.&lt;/P&gt;&lt;P&gt;3.TAKE the billing document creation date from tableVBRP,for the given document number being populated in the report&lt;/P&gt;&lt;P&gt;4.the material level details are required ,goto table VBRP.the table would be referenced with the VBRK-vbelen field,where VBRK-VBELN=VBRP-VBELN.&lt;/P&gt;&lt;P&gt;5.TAKE THE value of the material from VBRP only&lt;/P&gt;&lt;P&gt;6.take the delivering plants region code from table VBRP.VBRP-WERKS-PLANT CODE.since the description of the region is required, goto table TOO1W.input the following:&lt;/P&gt;&lt;P&gt;VBRP-WERKS=T001W-WERKS&lt;/P&gt;&lt;P&gt;7.since the customer name is required. take from KNA1.table KNA1 is referenced from using the customer code from table VBRP-KUANG, where VBRP-KUNAG=KNA1-KUNNR&lt;/P&gt;&lt;P&gt;8. ship to customers region is required , we need to identify FROM kna1&lt;/P&gt;&lt;P&gt;9.LR number from VTTK&lt;/P&gt;&lt;P&gt;10.LR date , transporter no from VTTK table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 11:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-code-over-view/m-p/1570809#M257655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T11:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding code over view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-code-over-view/m-p/1570810#M257656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;selection screen fields:company code&lt;/P&gt;&lt;P&gt;sales org&lt;/P&gt;&lt;P&gt;plant :from-to&lt;/P&gt;&lt;P&gt;invoice no:from-to&lt;/P&gt;&lt;P&gt;date range; from-to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 take the plant code of the billing documents selected from VBRP-WERKS and refer table T001W, where VBRP-WERKS=T001W-WERKS.&lt;/P&gt;&lt;P&gt;GET adress number from T001W-ADRNR and refer table ADRC, WHERE:T001W-ADRNR=ADRC-ADDRNUMBER.&lt;/P&gt;&lt;P&gt;get the name of the plant from ADRC-NAME1.&lt;/P&gt;&lt;P&gt;get the T001W-LAND1 and T001W-REGIO, and get the satte code by refering table T005U.&lt;/P&gt;&lt;P&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;SELECT VBRP-WERKS T001W-ADRNR T001W-LAND1 T001W-REGIO&lt;/P&gt;&lt;P&gt;into table itab&lt;/P&gt;&lt;P&gt;FROM VBRP inner join T001W on VBRP~WERKS = T001W-WERKS.&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;  SELECT NAME1 into ITAB-NAME1 FROM ADRC WHERE &lt;/P&gt;&lt;P&gt;  ADDRNUMBER = ADRNR.&lt;/P&gt;&lt;P&gt;  SELECT BEZEI into ITAB-BEZEI from T005U WHERE&lt;/P&gt;&lt;P&gt;  spras = sy-langu and land1 = itab-land1 and &lt;/P&gt;&lt;P&gt;  regio = itab-regio.&lt;/P&gt;&lt;P&gt;  modify itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anurag Bankley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 12:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-code-over-view/m-p/1570810#M257656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T12:00:37Z</dc:date>
    </item>
  </channel>
</rss>

