<?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: call the BAPI from the program.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-bapi-from-the-program/m-p/4098002#M979946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nishant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes easily you can call bapi from program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for getting all sales order use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BAPI_SALESORDER_GETLIST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also am providing a program so that you can see how bapi has to call in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
             EXPORTING
                  customer_number    = lf_customernumber
                  sales_organization = if_sales_organization
                  document_date      = lf_document_date_from
                  document_date_to   = lf_document_date_to
*              PURCHASE_ORDER     = IF_PURCH_ORDER
                  material           = lf_matno
             IMPORTING
                  return             = ls_return
             TABLES
                  sales_orders       = sales_orders.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am afraid to say you that above solution you get about bapi it is not for showing the list of SO these are for creating SO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Gujargoud on Jul 3, 2008 3:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2008 13:11:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-03T13:11:42Z</dc:date>
    <item>
      <title>call the BAPI from the program..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-bapi-from-the-program/m-p/4098000#M979944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt; can we  call the BAPI from the program..&lt;/P&gt;&lt;P&gt;if yes how can  we  can show sales orders being loaded..&lt;/P&gt;&lt;P&gt;thanks its urgent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 12:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-bapi-from-the-program/m-p/4098000#M979944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T12:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: call the BAPI from the program..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-bapi-from-the-program/m-p/4098001#M979945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can call a BAPI from a program! To achieve that you have to fill it's input parameters and then call the bapi. For sales orders you have BAPI_SALESORDER_CREATEFROMDAT2. Don't forget to call FM BAPI_TRANSACTION_COMMIT after each order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To show the sales orders that are created use parameter SALESDOCUMENT that BAPI_SALESORDER_CREATEFROMDAT2 has.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Olivera.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 13:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-bapi-from-the-program/m-p/4098001#M979945</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-07-03T13:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: call the BAPI from the program..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-bapi-from-the-program/m-p/4098002#M979946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nishant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes easily you can call bapi from program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for getting all sales order use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BAPI_SALESORDER_GETLIST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also am providing a program so that you can see how bapi has to call in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
             EXPORTING
                  customer_number    = lf_customernumber
                  sales_organization = if_sales_organization
                  document_date      = lf_document_date_from
                  document_date_to   = lf_document_date_to
*              PURCHASE_ORDER     = IF_PURCH_ORDER
                  material           = lf_matno
             IMPORTING
                  return             = ls_return
             TABLES
                  sales_orders       = sales_orders.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am afraid to say you that above solution you get about bapi it is not for showing the list of SO these are for creating SO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Gujargoud on Jul 3, 2008 3:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 13:11:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-bapi-from-the-program/m-p/4098002#M979946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T13:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: call the BAPI from the program..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-bapi-from-the-program/m-p/4098003#M979947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/dd/5009660aa411d2ad1b080009b0fb56/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/dd/5009660aa411d2ad1b080009b0fb56/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 13:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-bapi-from-the-program/m-p/4098003#M979947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T13:12:02Z</dc:date>
    </item>
  </channel>
</rss>

