<?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 BAPI  FUNCTION  MODULE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-function-module/m-p/2697575#M624496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please explain about BAPI_FLIGHT_GETLIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what it is and how to use it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please provide any example program on this function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;surya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 12:29:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T12:29:39Z</dc:date>
    <item>
      <title>BAPI  FUNCTION  MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-function-module/m-p/2697575#M624496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please explain about BAPI_FLIGHT_GETLIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what it is and how to use it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please provide any example program on this function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;surya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 12:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-function-module/m-p/2697575#M624496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T12:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI  FUNCTION  MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-function-module/m-p/2697576#M624497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is for demo purpose by SAP, this BAPI gets the flight list refer sap code below and reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;retrieve flight list by BAPI call&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'BAPI_FLIGHT_GETLIST'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    airline                = airline&lt;/P&gt;&lt;P&gt;    destination_from       = destination_from&lt;/P&gt;&lt;P&gt;    destination_to         = destination_to&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    date_range             = date_range&lt;/P&gt;&lt;P&gt;    flight_list            = flight_list&lt;/P&gt;&lt;P&gt;    return                 = ret_list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 16:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-function-module/m-p/2697576#M624497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T16:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI  FUNCTION  MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-function-module/m-p/2697577#M624498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi das,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if posiible please provide complete code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;surya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 04:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-function-module/m-p/2697577#M624498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T04:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI  FUNCTION  MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-function-module/m-p/2697578#M624499</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;&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;airlines like BAPISFLDAT-AIRLINEID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_airline like BAPISFLKEY-AIRLINEID,&lt;/P&gt;&lt;P&gt;f_flight_list like table of BAPISFLDAT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;line&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;f_detail like line of f_flight_list,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;use f_detail2 to see the table in alv&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;begin of f_detail2 occurs 0,&lt;/P&gt;&lt;P&gt;airline like BAPISFLKEY-AIRLINEID,&lt;/P&gt;&lt;P&gt;flightdate like BAPISFLDAT-flightdate,&lt;/P&gt;&lt;P&gt;cityto like BAPISFLDAT-cityto,&lt;/P&gt;&lt;P&gt;cityfrom like BAPISFLDAT-cityfrom,&lt;/P&gt;&lt;P&gt;end of f_detail2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*table of f_detail2&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;display_flight like table of f_detail2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Define the field catalog&lt;/P&gt;&lt;P&gt;afield type slis_fieldcat_alv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcat type slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;line&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*f_detail like line of f_flight_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear afield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_airline = airlines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_FLIGHT_GETLIST'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;airline = f_airline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;flight_list = f_flight_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;write 'error changing order'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;output detail using line *&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;Use List Display to display search result&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at f_flight_list into f_detail.&lt;/P&gt;&lt;P&gt;f_detail2-airline = f_detail-airline.&lt;/P&gt;&lt;P&gt;f_detail2-flightdate = f_detail-flightdate.&lt;/P&gt;&lt;P&gt;f_detail2-cityto = f_detail-cityto.&lt;/P&gt;&lt;P&gt;f_detail2-cityfrom = f_detail-cityfrom.&lt;/P&gt;&lt;P&gt;append f_detail2 to display_flight.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;write f_detail2-airline.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;afield-fieldname = 'AIRLINE'.&lt;/P&gt;&lt;P&gt;afield-reptext_ddic = 'airline'.&lt;/P&gt;&lt;P&gt;afield-tabname = 'DISPLAY_FLIGHT'.&lt;/P&gt;&lt;P&gt;append afield to fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear afield.&lt;/P&gt;&lt;P&gt;afield-fieldname = 'FLIGHTDATE'.&lt;/P&gt;&lt;P&gt;afield-reptext_ddic = 'flightdate'.&lt;/P&gt;&lt;P&gt;afield-tabname = 'DISPLAY_FLIGHT'.&lt;/P&gt;&lt;P&gt;append afield to fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear afield.&lt;/P&gt;&lt;P&gt;afield-fieldname = 'CITYTO'.&lt;/P&gt;&lt;P&gt;afield-reptext_ddic = 'city to'.&lt;/P&gt;&lt;P&gt;afield-tabname = 'DISPLAY_FLIGHT'.&lt;/P&gt;&lt;P&gt;append afield to fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear afield.&lt;/P&gt;&lt;P&gt;afield-fieldname = 'CITYFROM'.&lt;/P&gt;&lt;P&gt;*afield-reptext_ddic = 'city from'.&lt;/P&gt;&lt;P&gt;afield-tabname = 'DISPLAY_FLIGHT'.&lt;/P&gt;&lt;P&gt;*append afield to fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;IT_FIELDCAT = fieldcat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_callback_program = sy-repid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;t_outtab = display_flight&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;PROGRAM_ERROR = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 04:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-function-module/m-p/2697578#M624499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T04:58:34Z</dc:date>
    </item>
  </channel>
</rss>

