<?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: select Query for smart form-invoice in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-for-smart-form-invoice/m-p/1995167#M405542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please give me the exact select statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 13:07:56 GMT</pubDate>
    <dc:creator>kiran_k8</dc:creator>
    <dc:date>2007-03-21T13:07:56Z</dc:date>
    <item>
      <title>select Query for smart form-invoice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-for-smart-form-invoice/m-p/1995165#M405540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to fetch the following fields as per the requirement for desiging a invoice smartform.I had copied lb_bill_invoice smartform into z format.&lt;/P&gt;&lt;P&gt;Can anyone here please give me the select query for the same.&lt;/P&gt;&lt;P&gt;fields to fetched are as follows:-&lt;/P&gt;&lt;P&gt;1.vbrp-arktx,&lt;/P&gt;&lt;P&gt;2.vbrp-fkimg,&lt;/P&gt;&lt;P&gt;3.konv-kbetr with respect to vbrk-knumv&lt;/P&gt;&lt;P&gt;4.konv-kwert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also what all I have to give in format interface and global definitions of the smartform.&lt;/P&gt;&lt;P&gt;please help  me in this regard.&lt;/P&gt;&lt;P&gt;Points will be given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 12:58:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-for-smart-form-invoice/m-p/1995165#M405540</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-03-21T12:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: select Query for smart form-invoice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-for-smart-form-invoice/m-p/1995166#M405541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Take the billing doc(invoice field) and fetch the &lt;/P&gt;&lt;P&gt;vbrp-arktx(material Description) and the Qty(vbrp-fkimg).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take the VBRK-KNUMV field and fetch the &lt;/P&gt;&lt;P&gt;konv-kbetr and Konv-kwert.fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create PROGRAM_Lines in the smart form and can write the select statement.&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 13:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-for-smart-form-invoice/m-p/1995166#M405541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T13:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: select Query for smart form-invoice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-for-smart-form-invoice/m-p/1995167#M405542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please give me the exact select statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 13:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-for-smart-form-invoice/m-p/1995167#M405542</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-03-21T13:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: select Query for smart form-invoice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-for-smart-form-invoice/m-p/1995168#M405543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;declare the variables V_arktx(40) and v_Qty like vbrp-fkimp  and other varaibles for Kbetr, kwert, knumv on the global definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  single arktx fkimg into (v_arktx, v_qty) from vbrp&lt;/P&gt;&lt;P&gt;where vbeln = LBBIL_IT_REFPURORD-BIL_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single knumv into v_knumv from vbrk where where vbeln = LBBIL_IT_REFPURORD-BIL_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this select has to fire in the item level and in the loop.&lt;/P&gt;&lt;P&gt;so have to write in the correct place.&lt;/P&gt;&lt;P&gt;select kbetr kwert into (v_kbetr, v_kwert) from konv&lt;/P&gt;&lt;P&gt;where where knumv = v_knumv and kposn = LBBIL_IT_REFPURORD-ITM_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 13:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-for-smart-form-invoice/m-p/1995168#M405543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T13:30:44Z</dc:date>
    </item>
  </channel>
</rss>

