<?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: HOW TO CALL TRANSCATION IN BAPI WITH INPUT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832442#M921569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raj,&lt;/P&gt;&lt;P&gt;this link can help you to create BAPI &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/bapi/example.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/bapi/example.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 May 2008 14:23:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-24T14:23:54Z</dc:date>
    <item>
      <title>HOW TO CALL TRANSCATION IN BAPI WITH INPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832441#M921568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus ,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Plz help me , i want to create a BAPI , which call a transction &lt;/P&gt;&lt;P&gt;and pass  input to the transcation , and return back with msg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj sahay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2008 12:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832441#M921568</guid>
      <dc:creator>raj_sahay</dc:creator>
      <dc:date>2008-05-24T12:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO CALL TRANSCATION IN BAPI WITH INPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832442#M921569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raj,&lt;/P&gt;&lt;P&gt;this link can help you to create BAPI &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/bapi/example.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/bapi/example.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2008 14:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832442#M921569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-24T14:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO CALL TRANSCATION IN BAPI WITH INPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832443#M921570</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'm not getting the point that you have to create a BAPI to call a transaction to pass the values to. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;couldn't you just pass your values directly to the transaction then process the returned message? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is a reason that you have to use a BAPI please ad more details to your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2008 17:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832443#M921570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-24T17:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO CALL TRANSCATION IN BAPI WITH INPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832444#M921571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Guru&lt;/P&gt;&lt;P&gt;through vb application we want to call the transcation and get the msg from sap . for it i want to create BAPI which call the transcation as per vb appliction input and return to it with msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2008 06:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832444#M921571</guid>
      <dc:creator>raj_sahay</dc:creator>
      <dc:date>2008-05-25T06:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO CALL TRANSCATION IN BAPI WITH INPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832445#M921572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest for you not so consider creating BAPI of your own but first see of there is already a SAP standard BAPI that would suit your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then if you find it try looking into calling it through RFC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2008 18:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832445#M921572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-25T18:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO CALL TRANSCATION IN BAPI WITH INPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832446#M921573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a RFC from T-code SE37.&lt;/P&gt;&lt;P&gt;In the import parameters, you can take the values from your VB/ Legacy application.&lt;/P&gt;&lt;P&gt;In the export parameters you can give out the values that you need to pass on to the VB/ Legacy application.&lt;/P&gt;&lt;P&gt;In the tables tab you can declare table which will be considered as internal table values. In the table parameters you can declare return structure BAPIRET2 and pass on the Call transaction return message using that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 01:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832446#M921573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T01:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO CALL TRANSCATION IN BAPI WITH INPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832447#M921574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Record your transaction and build a bdc table &amp;lt;bdcdata&amp;gt;&lt;/P&gt;&lt;P&gt;Whatever data elements, structures and tables required for that bdc input - define them as IMPORT and TABLE parameters for the BAPI function module. Have one more TABLE parameter RETURN of type BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define a local table &amp;lt;messtab&amp;gt; of type BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;After initial validation of input data, fill up &amp;lt;bdcdata&amp;gt; table and call your transaction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION tcode USING bdcdata&lt;/P&gt;&lt;P&gt;                   MODE   'N'&lt;/P&gt;&lt;P&gt;                   UPDATE 'S'&lt;/P&gt;&lt;P&gt;                   MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop through the &amp;lt;messtab&amp;gt; and construct RETURN table by calling function module 'BALW_BAPIRETURN_GET2'. This function module will construct the structure of type 'BAOURET2' from the message paramters. You can append these individual lines to the table RETURN. VB application can read the RETURN table and all the messages (readable text) will be available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Psuedo Code:&lt;/P&gt;&lt;P&gt;==========&lt;/P&gt;&lt;P&gt;  DATA: lv_type TYPE bapireturn-type,&lt;/P&gt;&lt;P&gt;        lv_cl   TYPE sy-msgid,&lt;/P&gt;&lt;P&gt;        lv_num  TYPE sy-msgno,&lt;/P&gt;&lt;P&gt;        lv_par1 TYPE sy-msgv1,&lt;/P&gt;&lt;P&gt;        lv_par2 TYPE sy-msgv2,&lt;/P&gt;&lt;P&gt;        lv_par3 TYPE sy-msgv3,&lt;/P&gt;&lt;P&gt;        lv_par4 TYPE sy-msgv4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT messtab.&lt;/P&gt;&lt;P&gt;  MOVE: messtab-msgtyp TO lv_type,&lt;/P&gt;&lt;P&gt;        messtab-msgid  TO lv_cl,&lt;/P&gt;&lt;P&gt;        messtab-msgnr  TO lv_num,&lt;/P&gt;&lt;P&gt;        messtab-msgv1  TO lv_par1,&lt;/P&gt;&lt;P&gt;        messtab-msgv2  TO lv_par2,&lt;/P&gt;&lt;P&gt;        messtab-msgv3  TO lv_par3,&lt;/P&gt;&lt;P&gt;        messtab-msgv4  TO lv_par4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BALW_BAPIRETURN_GET2'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;        type             = lv_type&lt;/P&gt;&lt;P&gt;        cl               = lv_cl&lt;/P&gt;&lt;P&gt;        number           = lv_num&lt;/P&gt;&lt;P&gt;        par1             = lv_par1&lt;/P&gt;&lt;P&gt;        par2             = lv_par2&lt;/P&gt;&lt;P&gt;        par3             = lv_par3&lt;/P&gt;&lt;P&gt;        par4             = lv_par4&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;        return           = wa_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND wa_return to return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&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;Suresh Radhakrishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 03:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-transcation-in-bapi-with-input/m-p/3832447#M921574</guid>
      <dc:creator>SureshRa</dc:creator>
      <dc:date>2008-05-26T03:07:53Z</dc:date>
    </item>
  </channel>
</rss>

