<?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: BAPI at INPUT give range like SELECT-OPTIONS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-at-input-give-range-like-select-options/m-p/4059080#M970269</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;You could use this bapi fm: BAPI_VENDOR_GETDETAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could imagine it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You have to create an FM, with the RA_LIFNR range.&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;SELECT * FROM lfa1 INTO TABLE gt_lfa1&lt;/P&gt;&lt;P&gt;WHERE lifnr IN ra_lifnr.&lt;/P&gt;&lt;P&gt;LOOP AT gt_lfa1 INTO gs_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_VENDOR_GETDETAIL'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;with the parameters&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;collect data into an output table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Give back the output table to the caller program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2008 10:45:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-04T10:45:02Z</dc:date>
    <item>
      <title>BAPI at INPUT give range like SELECT-OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-at-input-give-range-like-select-options/m-p/4059079#M970268</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;     i don't know weather it right forum for BAPI , but writing under this .&lt;/P&gt;&lt;P&gt;     my requirement is like , as we give range in SELECT-OPTIONS, &lt;/P&gt;&lt;P&gt;like wise i want to give range in BAPI at INPUT level .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.  say i want to get details of Vendors , i will write a BAPI and i will give VENDOR code range to get information of all vendor with in that range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me in this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 10:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-at-input-give-range-like-select-options/m-p/4059079#M970268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T10:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI at INPUT give range like SELECT-OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-at-input-give-range-like-select-options/m-p/4059080#M970269</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;You could use this bapi fm: BAPI_VENDOR_GETDETAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could imagine it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You have to create an FM, with the RA_LIFNR range.&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;SELECT * FROM lfa1 INTO TABLE gt_lfa1&lt;/P&gt;&lt;P&gt;WHERE lifnr IN ra_lifnr.&lt;/P&gt;&lt;P&gt;LOOP AT gt_lfa1 INTO gs_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_VENDOR_GETDETAIL'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;with the parameters&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;collect data into an output table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Give back the output table to the caller program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 10:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-at-input-give-range-like-select-options/m-p/4059080#M970269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T10:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI at INPUT give range like SELECT-OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-at-input-give-range-like-select-options/m-p/4059081#M970270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;   thanx for reply , my requirment is not to use std. bapi &lt;/P&gt;&lt;P&gt;as u given example of VENODR details BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like in this BAPI_VENDOR_GETDETAIL i can give only one 1 vendor code at one time , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similar like this i will create another BAPI which will take RANGE of vendor code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why i can't do like u told is , we r doing SAP-java integration and in this BAPI is directly called by java program and INPUT is given at that movement ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i cannot written SELECT query before calling BAPI .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i can only do is pass the value to BAPI , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here how i will pass the range , this is the question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 11:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-at-input-give-range-like-select-options/m-p/4059081#M970270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T11:07:15Z</dc:date>
    </item>
  </channel>
</rss>

