<?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: Identifying Programs using BDC. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933160#M1150776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;We have done this for the programs which is having name of TCODE available in Call Transaction statement.&lt;/P&gt;&lt;P&gt;For example: CALL TRANSACTION 'SE38' ...&lt;/P&gt;&lt;P&gt;Problem is coming where the TCODE is provided in some perform statement.&lt;/P&gt;&lt;P&gt;For example: perform bdc_transaction using 'SE38'.&lt;/P&gt;&lt;P&gt;                    FORM BDC_TRANSACTION.....&lt;/P&gt;&lt;P&gt;                    .....&lt;/P&gt;&lt;P&gt;                    .....&lt;/P&gt;&lt;P&gt;                    CALL TRANSACTION TCODE....&lt;/P&gt;&lt;P&gt;We need solution for this case.&lt;/P&gt;&lt;P&gt;I hope you are understanding my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2008 06:25:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-23T06:25:56Z</dc:date>
    <item>
      <title>Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933153#M1150769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a peculiar requirement. i have a list of programs. I have to develop a logic which will help me identify those programs using BDC (using batch input session or Call transaction). I also have to identify the transactions called using the  batch input session or Call transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;1) I have a program using CALL TRANSACTION 'abc' USING BDCDATA&lt;/P&gt;&lt;P&gt;                     MODE   CTUMODE&lt;/P&gt;&lt;P&gt;                     UPDATE CUPDATE&lt;/P&gt;&lt;P&gt;                     MESSAGES INTO MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to extract the program name and 'abc' in a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly provide solutions.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sadhna Achhra on Dec 22, 2008 7:58 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 06:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933153#M1150769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T06:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933154#M1150770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi use SHDB transactiob for recording program. In that program you give your transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In recording program  you will get all the Transactions and tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Nagamani Challa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 08:22:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933154#M1150770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T08:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933155#M1150771</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;Problem is we have list of prgorams in a table. We have to identify program type as BDC and from the same program we need to extract the transaction code used in that recording. &lt;/P&gt;&lt;P&gt;The solution you have proposed, in that TCODE can be found in TSTC table. But it is not possible to extract the relative data from it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 05:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933155#M1150771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T05:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933156#M1150772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sadhna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to understand your issue exactly , but if u r looking for a source scan then there is a standard report  RS_ABAP_SOURCE_SCAN u can use to scan for a particular string u can give the string as ' call transaction ...." and give a set of programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumanjeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 05:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933156#M1150772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T05:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933157#M1150773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sadhna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the table APQI,give BDC as DATA TYPE,you will get the list of all BDC Programs in your syste.Check if this info as well as the other fields in table APQI, can give you some lead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 05:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933157#M1150773</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2008-12-23T05:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933158#M1150774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are looking for the similar kind of solution. The solution you  have provided is working for the programs present in queue. None of our programs is there in queue. Please give us some table name which provide the similar info but not related to queue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 06:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933158#M1150774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T06:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933159#M1150775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If you don't have list of programs then get it from the table REPOSRC or TRDIR&lt;/P&gt;&lt;P&gt;2. Read the contents of the program into an internal table: 'READ REPORT prog INTO itab [MAXIMUM WIDTH INTO wid]'.&lt;/P&gt;&lt;P&gt;3. Search for 'call transaction' in the internal table 'itab', if found get the tcode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 06:16:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933159#M1150775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T06:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933160#M1150776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;We have done this for the programs which is having name of TCODE available in Call Transaction statement.&lt;/P&gt;&lt;P&gt;For example: CALL TRANSACTION 'SE38' ...&lt;/P&gt;&lt;P&gt;Problem is coming where the TCODE is provided in some perform statement.&lt;/P&gt;&lt;P&gt;For example: perform bdc_transaction using 'SE38'.&lt;/P&gt;&lt;P&gt;                    FORM BDC_TRANSACTION.....&lt;/P&gt;&lt;P&gt;                    .....&lt;/P&gt;&lt;P&gt;                    .....&lt;/P&gt;&lt;P&gt;                    CALL TRANSACTION TCODE....&lt;/P&gt;&lt;P&gt;We need solution for this case.&lt;/P&gt;&lt;P&gt;I hope you are understanding my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 06:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933160#M1150776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T06:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933161#M1150777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this particular case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Search for Call transaction. if found traverse back in the internal table until you find the FORM statement, get the formname.&lt;/P&gt;&lt;P&gt;2. Search for perform formname in the internal table &amp;amp; get the TCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any this solution is not generic, won't work for all the cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 06:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933161#M1150777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T06:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933162#M1150778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sadhna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just written a small program (with reference to standard progs) that u might use. please see if you can use the following codes and adapt it for your purpose:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;logic: &lt;/P&gt;&lt;P&gt;- i have retrieved all includes associated to the program in selection screen&lt;/P&gt;&lt;P&gt;- scan each program where call transaction has been used&lt;/P&gt;&lt;P&gt;- get the transaction being called and display it on screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:p_prog TYPE trdir-name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF i_int_abap OCCURS 0,    " Internal table for storing ABAP&lt;/P&gt;&lt;P&gt;        line(256) TYPE c,&lt;/P&gt;&lt;P&gt;      END OF i_int_abap.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF i_int_inc OCCURS 0,     " Table to Store Includes Name&lt;/P&gt;&lt;P&gt;        include LIKE sy-repid,&lt;/P&gt;&lt;P&gt;      END OF i_int_inc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:v_prog  TYPE trdir-name ,&lt;/P&gt;&lt;P&gt;     v_tcode TYPE sy-tcode,&lt;/P&gt;&lt;P&gt;     v_dummmy TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS:c_true      TYPE c VALUE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR v_prog.&lt;/P&gt;&lt;P&gt;v_prog = p_prog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RS_GET_ALL_INCLUDES'   "This will get all includes related to the program&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    program             = v_prog&lt;/P&gt;&lt;P&gt;    with_inactive_incls = c_true&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    includetab          = i_int_inc&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    not_existent        = 1&lt;/P&gt;&lt;P&gt;    no_program          = 2&lt;/P&gt;&lt;P&gt;    OTHERS              = 3.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  CLEAR i_int_inc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i_int_inc-include = p_prog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INSERT i_int_inc INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR i_int_inc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT i_int_inc.                 " loop at all programs/include  and check for call transaction&lt;/P&gt;&lt;P&gt;    CLEAR v_prog.&lt;/P&gt;&lt;P&gt;    v_prog =  i_int_inc-include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ REPORT v_prog INTO i_int_abap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT i_int_abap WHERE line(1) &amp;lt;&amp;gt; '*'&lt;/P&gt;&lt;P&gt;                          AND LINE CS 'CALL TRANSACTION '.&lt;/P&gt;&lt;P&gt;      SPLIT i_int_abap-line AT text-001 INTO v_dummmy v_tcode. "text-001 stores '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       SPLIT v_tcode AT text-001 INTO v_tcode v_dummmy. "text-001 stores '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE : / 'Call  transaction to :' , v_tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    REFRESH i_int_abap .&lt;/P&gt;&lt;P&gt;  ENDLOOP.&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;Regards,&lt;/P&gt;&lt;P&gt;Dev.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 06:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933162#M1150778</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2008-12-23T06:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Programs using BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933163#M1150779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is done  using the back track method. It takes lot of effort to go and track.&lt;/P&gt;&lt;P&gt;Anyway thanks to all of you for your timely reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 11:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identifying-programs-using-bdc/m-p/4933163#M1150779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T11:43:07Z</dc:date>
    </item>
  </channel>
</rss>

