<?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: link between LTAK &amp; VBAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391450#M531834</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;&amp;lt;u&amp;gt;First method&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fetch VEBLN from LTAK table &amp;amp; select the reccords from the VBFA table based on the selected VBELN like &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; SELECT SINGLE * FROM vbfa CLIENT SPECIFIED
                  WHERE     mandt   =    sy-mandt
                  AND       vbeln   =    lt_pallet-vbeln. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

 IF sy-subrc IS INITIAL.
      MOVE:
            vbfa-vbelv   TO   lt_pallet-vbelv,
            vbfa-posnv   TO   lt_pallet-posnv,
            vbfa-posnn   TO   lt_pallet-posnr.
      MODIFY lt_pallet TRANSPORTING vbelv posnv posnr.
    ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;second method&amp;lt;/u&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the help of the material number &amp;amp; plant .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF NOT lt_batch[] IS INITIAL.
    SELECT   vbeln   posnr  matnr  charg  kwmeng vrkme
             werks   lgort
             FROM vbap
             INTO TABLE lt_vbap
             FOR ALL ENTRIES IN lt_batch
             WHERE   matnr   =   lt_batch-matnr
             AND     werks   =   lt_batch-werks.
    SORT lt_vbap BY vbeln.
  ENDIF

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is Useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manjunath MS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2007 05:05:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-11T05:05:48Z</dc:date>
    <item>
      <title>link between LTAK &amp; VBAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391447#M531831</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;i am handling a picking list report .The requirement finally retrieves data from VBAK table based on warehouse number(LGNUM) from LTAK table. I want to link the both the tables through key fields but there r no linking key fields , searched for linking tablebetween the two,but i could find none.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;jyoti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 04:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391447#M531831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T04:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: link between LTAK &amp; VBAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391448#M531832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jyoti , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Why d't you try like this , search for any common field in both the tables and then may be you can make a link between the tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 04:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391448#M531832</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-06-11T04:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: link between LTAK &amp; VBAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391449#M531833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have to pickup the data based on LGNUM;&lt;/P&gt;&lt;P&gt;First read the data from LTAK For all the required LGNUMs and then for all these records from LTAK, you can read VBAK. I think the common key is VBELN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBAK-VBELN and LTAK-VBELN can be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 04:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391449#M531833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T04:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: link between LTAK &amp; VBAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391450#M531834</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;&amp;lt;u&amp;gt;First method&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fetch VEBLN from LTAK table &amp;amp; select the reccords from the VBFA table based on the selected VBELN like &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; SELECT SINGLE * FROM vbfa CLIENT SPECIFIED
                  WHERE     mandt   =    sy-mandt
                  AND       vbeln   =    lt_pallet-vbeln. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

 IF sy-subrc IS INITIAL.
      MOVE:
            vbfa-vbelv   TO   lt_pallet-vbelv,
            vbfa-posnv   TO   lt_pallet-posnv,
            vbfa-posnn   TO   lt_pallet-posnr.
      MODIFY lt_pallet TRANSPORTING vbelv posnv posnr.
    ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;second method&amp;lt;/u&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the help of the material number &amp;amp; plant .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF NOT lt_batch[] IS INITIAL.
    SELECT   vbeln   posnr  matnr  charg  kwmeng vrkme
             werks   lgort
             FROM vbap
             INTO TABLE lt_vbap
             FOR ALL ENTRIES IN lt_batch
             WHERE   matnr   =   lt_batch-matnr
             AND     werks   =   lt_batch-werks.
    SORT lt_vbap BY vbeln.
  ENDIF

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is Useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manjunath MS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 05:05:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391450#M531834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T05:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: link between LTAK &amp; VBAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391451#M531835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jothi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Try checking the table below:&lt;/P&gt;&lt;P&gt;VBAK-vbeln-&amp;gt;&lt;/P&gt;&lt;P&gt;                 VBAP-vbeln&lt;/P&gt;&lt;P&gt;                 VBAP-posnr&lt;/P&gt;&lt;P&gt;                 VBAP-matnr&lt;/P&gt;&lt;P&gt;                 VBAP-werks-&amp;gt;&lt;/P&gt;&lt;P&gt;                                  LTAP-matnr&lt;/P&gt;&lt;P&gt;                                  LTAP-werks-&amp;gt;&lt;/P&gt;&lt;P&gt;                                                  LTAK-lgnum&lt;/P&gt;&lt;P&gt;                                                  LTAK-tanum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this helps you more and reward points if so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 07:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-ltak-vbap/m-p/2391451#M531835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T07:14:28Z</dc:date>
    </item>
  </channel>
</rss>

