<?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: using transporting and without transporting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462095#M1057461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Sort I_vbap by vbeln.&lt;/P&gt;&lt;P&gt;Loop at i_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_vbap with key&lt;/P&gt;&lt;P&gt;vbeln = i_vbak-vbeln binary search.&lt;/P&gt;&lt;P&gt;If sy-subrc = 0 and i_vbap-posnr = u201800010u2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;here when you use this logic using READ statement all the fields of i_vbap table will be fetched and then if condition is there then it will process further but here whole data of i_vbap table will be read. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Sort I_vbap by vbeln.&lt;/P&gt;&lt;P&gt;Loop at i_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_vbap transporting posnr with key&lt;/P&gt;&lt;P&gt;vbeln = i_vbak-vbeln binary search.&lt;/P&gt;&lt;P&gt;If sy-subrc = 0 and i_vbap-posnr = u201800010u2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here when you use this logic using READ statement only POSNR field of i_vbap table will be fetched and then if condition is there then it will process further but here not whole data of i_vbap table will be read. so it will improve performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Sep 2008 08:53:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-05T08:53:27Z</dc:date>
    <item>
      <title>using transporting and without transporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462088#M1057454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one differenciate between the below 2 codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code :&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;       data: i_vbak like vbak occurs 0 with header line.&lt;/P&gt;&lt;P&gt;      data: i_vbap like vbap occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; *************************************************************************&lt;/P&gt;&lt;P&gt; a)    Sort I_vbap by vbeln.&lt;/P&gt;&lt;P&gt;       Loop at i_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            read table i_vbap with key&lt;/P&gt;&lt;P&gt;            vbeln = i_vbak-vbeln binary search.&lt;/P&gt;&lt;P&gt;               If sy-subrc = 0 and i_vbap-posnr = u201800010u2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              endif.&lt;/P&gt;&lt;P&gt;        endloop.&lt;/P&gt;&lt;P&gt;*****************************************************************************&lt;/P&gt;&lt;P&gt;b)   Sort I_vbap by vbeln.&lt;/P&gt;&lt;P&gt;       Loop at i_vbak.&lt;/P&gt;&lt;P&gt;           &lt;/P&gt;&lt;P&gt;              read table i_vbap transporting posnr with key&lt;/P&gt;&lt;P&gt;               vbeln = i_vbak-vbeln binary search.&lt;/P&gt;&lt;P&gt;                  If sy-subrc = 0 and i_vbap-posnr = u201800010u2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 endif.&lt;/P&gt;&lt;P&gt;       endloop.&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; what will happen if i use transporting and if i dont use transporting.&lt;/P&gt;&lt;P&gt;which one is preferable.&lt;/P&gt;&lt;P&gt;can any one suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 08:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462088#M1057454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T08:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: using transporting and without transporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462089#M1057455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably the second one is better since only one field would to transferred to the header as compared to all fields in the option 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Piyush Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 08:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462089#M1057455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T08:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: using transporting and without transporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462090#M1057456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not use TRANSPORTING &amp;lt;&amp;gt; FILEDS, then all the fileds of the selected selected records will be copied to the Internal table work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use TRANSPORTING, only the selected fileds from the table will be move to the work area, hence performance will be better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you are checking only posnr value, you can use transporting posnr .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 08:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462090#M1057456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T08:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: using transporting and without transporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462091#M1057457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we use READ syntax with out transporting, we will fetch all the fields unnecesserly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so try using TRANSPORTING in READ statment&lt;/P&gt;&lt;P&gt;now we get posnr fields only while fetching. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so by using TRANSPORTING in READ statment performance can be improved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 08:41:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462091#M1057457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T08:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: using transporting and without transporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462092#M1057458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;when you use 'read table' statement with 'transporting' addition&lt;/P&gt;&lt;P&gt;program reads and passes only those fields that you explicitly wrote.&lt;/P&gt;&lt;P&gt;in this case 'read table' statement works a little faster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 08:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462092#M1057458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T08:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: using transporting and without transporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462093#M1057459</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;There is no difference in the code you have provided....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use Transporting.....Fields mentioned after the key word will only be having the data after the read statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any 1 can be used based on the requirement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunjal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 08:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462093#M1057459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T08:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: using transporting and without transporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462094#M1057460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;swastik can u be more clear what exactly happens when i use a)  logic and when i use b) logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 08:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462094#M1057460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T08:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: using transporting and without transporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462095#M1057461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Sort I_vbap by vbeln.&lt;/P&gt;&lt;P&gt;Loop at i_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_vbap with key&lt;/P&gt;&lt;P&gt;vbeln = i_vbak-vbeln binary search.&lt;/P&gt;&lt;P&gt;If sy-subrc = 0 and i_vbap-posnr = u201800010u2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;here when you use this logic using READ statement all the fields of i_vbap table will be fetched and then if condition is there then it will process further but here whole data of i_vbap table will be read. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Sort I_vbap by vbeln.&lt;/P&gt;&lt;P&gt;Loop at i_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_vbap transporting posnr with key&lt;/P&gt;&lt;P&gt;vbeln = i_vbak-vbeln binary search.&lt;/P&gt;&lt;P&gt;If sy-subrc = 0 and i_vbap-posnr = u201800010u2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here when you use this logic using READ statement only POSNR field of i_vbap table will be fetched and then if condition is there then it will process further but here not whole data of i_vbap table will be read. so it will improve performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 08:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-transporting-and-without-transporting/m-p/4462095#M1057461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T08:53:27Z</dc:date>
    </item>
  </channel>
</rss>

