<?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 single select query on vbfa table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789591#M1465754</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;i know the delivery number. Based on Delivery number i want to get sales order number and return delivery number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to get sales order No and return delivery No using single select query on the VBFA table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Mar 2010 09:53:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-30T09:53:37Z</dc:date>
    <item>
      <title>single select query on vbfa table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789591#M1465754</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;i know the delivery number. Based on Delivery number i want to get sales order number and return delivery number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to get sales order No and return delivery No using single select query on the VBFA table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 09:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789591#M1465754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T09:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: single select query on vbfa table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789592#M1465755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check in LIPS table&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;S.Janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 10:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789592#M1465755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T10:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: single select query on vbfa table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789593#M1465756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not possible through VBFA table.Pass the delivery number to LIPS andyou get he sales order in VGBEL field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 10:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789593#M1465756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T10:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: single select query on vbfa table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789594#M1465757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sure this is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not in ONE select single, you need two to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data:  ls_vbfa       type vbfa.

select single vbelv
from   vbfa
into    corresponding fields of ls_vbfa
where vbeln = delivery_numer_you_were_talking_of
and   vbtyp_v = 'C'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will get a sales order connected to your delivery, Be AWARE that if you have more orders involved in this process you either need to adopt this or maybe even have no chance getting the desired one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select single VBELN
from   vbfa
into   corresponding fields of ls_vbfa
where vbeln = delivery_numer_you_were_talking_of
and   vbtyp_n = 'T'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 10:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789594#M1465757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T10:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: single select query on vbfa table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789595#M1465758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Get Order number from LIPS-VGBEL.  Extract Order flow information from function module "RV_ORDER_FLOW_INFORMATION".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 10:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-select-query-on-vbfa-table/m-p/6789595#M1465758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T10:54:59Z</dc:date>
    </item>
  </channel>
</rss>

