<?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: Issue with Code inspector ( SCI ) using BDC ?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-code-inspector-sci-using-bdc/m-p/7595663#M1567756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are having a QA Tool and we would like to integrate SCI to that tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that case we would like to run Code inspector using BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i mentioned earlier, the inspection is saved, but the control is moved to the BDC program once it encounter the commit statement after saving the inspection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a Commit Work Statement with in the method RUN in class CL_CI_INSPECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That statement is available after the Inspection has been saved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running SCI directly, we are passing through this statement and then going to Run the inspection. But when run through BDC, the control is moved back to the bdc program once we encounter the Commit statement during debug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jan 2011 20:08:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-07T20:08:51Z</dc:date>
    <item>
      <title>Issue with Code inspector ( SCI ) using BDC ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-code-inspector-sci-using-bdc/m-p/7595661#M1567754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a requirement to run Code inspector (SCI ) using BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing an issue when the inspection is run. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The inspection is created, but it is not run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can find an entry for the inspection in table SCIINS_INF, but no entries in SCIREST_PS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even when i displayed the inspection, it shows the status as "Not Yet Executed".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried saving the inspection first and running it, but even that didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Herez the code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM  bdc_dynpro      USING 'SAPLS_CODE_INSPECTOR' '0200'.&lt;/P&gt;&lt;P&gt;    PERFORM:&lt;/P&gt;&lt;P&gt;             bdc_field       USING&lt;/P&gt;&lt;P&gt;             'SCI_DYNP-X_I_OBJS_0'   'X',&lt;/P&gt;&lt;P&gt;             bdc_field       USING&lt;/P&gt;&lt;P&gt;             'SCI_DYNP-I_OBJ_T'   'PROG',&lt;/P&gt;&lt;P&gt;             bdc_field       USING&lt;/P&gt;&lt;P&gt;             'SCI_DYNP-I_OBJ'   i_pgm-name,&lt;/P&gt;&lt;P&gt;             bdc_field       USING&lt;/P&gt;&lt;P&gt;             'SCI_DYNP-I_CHKV'   'YGLOBAL_VAR',&lt;/P&gt;&lt;P&gt;             bdc_field       USING&lt;/P&gt;&lt;P&gt;             'BDC_OKCODE'         '=OK'.&lt;/P&gt;&lt;P&gt;    PERFORM  bdc_dynpro      USING 'SAPLS_CODE_INSPECTOR' '0200'.&lt;/P&gt;&lt;P&gt;    PERFORM:&lt;/P&gt;&lt;P&gt;             bdc_field       USING&lt;/P&gt;&lt;P&gt;             'BDC_OKCODE'         '=RUN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate if anyone can help me through this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 18:01:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-code-inspector-sci-using-bdc/m-p/7595661#M1567754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-07T18:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Code inspector ( SCI ) using BDC ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-code-inspector-sci-using-bdc/m-p/7595662#M1567755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure why are you recording BDC for SCI tcode. If you are creating it  for purpose of running it in background, you can refer the programs of package 'S_CODE_INSPECTOR' .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 19:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-code-inspector-sci-using-bdc/m-p/7595662#M1567755</guid>
      <dc:creator>tushar_shukla</dc:creator>
      <dc:date>2011-01-07T19:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Code inspector ( SCI ) using BDC ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-code-inspector-sci-using-bdc/m-p/7595663#M1567756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are having a QA Tool and we would like to integrate SCI to that tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that case we would like to run Code inspector using BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i mentioned earlier, the inspection is saved, but the control is moved to the BDC program once it encounter the commit statement after saving the inspection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a Commit Work Statement with in the method RUN in class CL_CI_INSPECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That statement is available after the Inspection has been saved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running SCI directly, we are passing through this statement and then going to Run the inspection. But when run through BDC, the control is moved back to the bdc program once we encounter the Commit statement during debug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 20:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-code-inspector-sci-using-bdc/m-p/7595663#M1567756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-07T20:08:51Z</dc:date>
    </item>
  </channel>
</rss>

