<?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 call transaction using bdc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323076#M166090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have a program displaying the alv list report,&lt;/P&gt;&lt;P&gt;by selecting the line in the alv list report, i need to call another tranaction&lt;/P&gt;&lt;P&gt;and the values in the alv list is to be populated in the new transaction fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to use Call Transaction using bdc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please , show me the logic and the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2006 06:24:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-26T06:24:22Z</dc:date>
    <item>
      <title>call transaction using bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323076#M166090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have a program displaying the alv list report,&lt;/P&gt;&lt;P&gt;by selecting the line in the alv list report, i need to call another tranaction&lt;/P&gt;&lt;P&gt;and the values in the alv list is to be populated in the new transaction fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to use Call Transaction using bdc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please , show me the logic and the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 06:24:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323076#M166090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T06:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction using bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323077#M166091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kalimuthu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. by selecting the line in the alv list report, i need to call another tranaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I don't think BDC for such action,&lt;/P&gt;&lt;P&gt; is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BCOS in alv, probalby, &lt;/P&gt;&lt;P&gt;  we cannot set the selected line, thru code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 06:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323077#M166091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T06:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction using bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323078#M166092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to ater for this in the user_command event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. associate the event with a form&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;set up User Command event&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM setup_alv_event&lt;/P&gt;&lt;P&gt;   USING slis_ev_user_command 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;   CHANGING t_events[].&lt;/P&gt;&lt;P&gt;FORM setup_alv_event&lt;/P&gt;&lt;P&gt; USING i_event_name TYPE slis_formname&lt;/P&gt;&lt;P&gt;       i_form_name  TYPE slis_formname&lt;/P&gt;&lt;P&gt; CHANGING it_event TYPE slis_t_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;   ls_event TYPE slis_alv_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ls_event-name = i_event_name.&lt;/P&gt;&lt;P&gt;  ls_event-form = i_form_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND ls_event TO it_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " SETUP__alv_event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. write the form referred to above&lt;/P&gt;&lt;P&gt;FORM user_command&lt;/P&gt;&lt;P&gt; USING i_ucomm     LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;       i_selfield  TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE i_selfield-fieldname.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;billing document number....&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 'VBELN'.&lt;/P&gt;&lt;P&gt;*... jump to display delivery transaction&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'VL' FIELD i_selfield-value.&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fi document number...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 'BELNR' OR 'BELNR_PV' OR 'NEW_DOC'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Dont do it if the docno is empty&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CHECK NOT i_selfield-value IS INITIAL.&lt;/P&gt;&lt;P&gt;      READ TABLE t_detail INDEX i_selfield-tabindex.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'BLN' FIELD i_selfield-value.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'GJR' FIELD t_detail-gjahr.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'BUK' FIELD p_bukrs.&lt;/P&gt;&lt;P&gt;*... jump to display the FI doc transaction&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " USER_COMMAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. this is a simple example to display documents but you could have more complex bdc code if necessary. Have a look at the TYPE slis_selfield(in type group SLIS) to see what data is available to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 06:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323078#M166092</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-05-26T06:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction using bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323079#M166093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Thank for the logic,i am already using the 'USER Command' logic .&lt;/P&gt;&lt;P&gt;i am able to diaplay the transaction but in the new traction i need to post the values in the particulat fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In spec it is mentioned to use 'CALL Transaction using BDC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 06:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323079#M166093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T06:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction using bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323080#M166094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;AS PER YOUR REQUIREMENT YOU R DISPLAYUING SOME FIELDS IN ALV REPORT AND AFTER SELECTING A LINE YOU WANT TO CALL A TRANSACTION ,SO WHAT TRANSACTION YOU WANT TO CALL HERE AND YOU WANT TO DISPLAY THE FIELD VALUE IN THAT TRANSACTION FIELD.&lt;/P&gt;&lt;P&gt;THIS IS QUITE CONFUSING.&lt;/P&gt;&lt;P&gt;WHY YOU NEED TO CALL THE CALL TRANSACTION HERE.BECAUSE YOU R NOT DOING ANYKIND OF RECORDING HERE,YOU HAVE ALREADY DATA IN YOUR ALV LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO CAN YOU POST AGAIN WHT IS YOUR REQUIREMENT.&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;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 07:08:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323080#M166094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T07:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction using bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323081#M166095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think u can do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. u need to get the contents of the selected line first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that, u need to set buttons befor each row, and use get_selected_row method and all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that u need to do is use LVC FIELD CAT instead of slis type.&lt;/P&gt;&lt;P&gt;if u want the details how to get the data of selected row, i will send u in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. store the contents of selected row in an internal table.&lt;/P&gt;&lt;P&gt;3. download the contents into a flat file using gui_dowload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. now when u click , u need to call a transaction right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now record that transaction which u need to call and using the flat filw hich we got by downloading, u can upload data into transaction using BDC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 07:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323081#M166095</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-05-26T07:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction using bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323082#M166096</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;Check SAP help For 'CALL TRANSACTION'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you have to fill internal table with program name and screen name as one record and other actions as separate lines. You will get messages back as internal table. &lt;/P&gt;&lt;P&gt;All variations documented very well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BDCDATA TYPE TABLE OF &amp;lt;b&amp;gt;BDCDATA&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB TYPE TABLE OF &amp;lt;b&amp;gt;BDCMSGCOLL&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: PROGRAM LIKE SY-REPID, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WA_BDCDATA TYPE BDCDATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_BDCDATA-PROGRAM  = 'SAPMS38M'. &lt;/P&gt;&lt;P&gt;WA_BDCDATA-DYNPRO   = '0100'. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WA_BDCDATA-DYNBEGIN = 'X'.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;APPEND WA_BDCDATA TO BDCDATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR WA_BDCDATA. &lt;/P&gt;&lt;P&gt;WA_BDCDATA-FNAM     = 'RS38M-PROGRAMM'. &lt;/P&gt;&lt;P&gt;WA_BDCDATA-FVAL     = PROGRAM. &lt;/P&gt;&lt;P&gt;APPEND WA_BDCDATA TO BDCDATA. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'SE38'  USING BDCDATA  MODE 'N' &lt;/P&gt;&lt;P&gt;                         MESSAGES INTO ITAB. &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&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 07:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc/m-p/1323082#M166096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T07:19:22Z</dc:date>
    </item>
  </channel>
</rss>

