<?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_METHOD_CONFLICT_TYPE Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353374#M1036596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how I submitted the the program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT /sapdmc/sap_lsmw_interface&lt;/P&gt;&lt;P&gt;          USING SELECTION-SET jobvar&lt;/P&gt;&lt;P&gt;          AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where jobvar is a variant with default parameters because the LSMW uses direct processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program where the SUBMIT is, the filename is declared as:&lt;/P&gt;&lt;P&gt; in_file(100) VALUE '/usr/sap/tmp/myfile.csv'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am not sure if the way I declared the filename will directly affect the SUBMIT above because the SUBMIT will run LSMW and LSMW will read the file itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2008 16:37:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-27T16:37:22Z</dc:date>
    <item>
      <title>CALL_METHOD_CONFLICT_TYPE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353372#M1036594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a program that calls a series of LSMW projects and runs them in the background. The program uses SUBMIT to run /SAPDMC/SAP_LSMW_INTERFACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file that the LSMW projects use is in a folder in app server. It is a plain text, CSV file which gets uploaded to the app server using CG3Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program runs fine in DEV and QA. The file in the app server is read and the LSMW projects run successfully. However, when the program gets into production, it is giving the error --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL_METHOD_CONFLICT_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which has the following description:&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was&lt;/P&gt;&lt;P&gt;     not caught in&lt;/P&gt;&lt;P&gt;    procedure "CHECK_FOR_BOM" "(METHOD)", nor was it propagated by a RAISING&lt;/P&gt;&lt;P&gt;     clause.&lt;/P&gt;&lt;P&gt;    Since the caller of the procedure could not have anticipated that the&lt;/P&gt;&lt;P&gt;    exception would occur, the current program is terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    The call of the method "CONSTRUCTOR" of the class "CX_SY_FILE_OPEN" is&lt;/P&gt;&lt;P&gt;     incorrect. It was tried&lt;/P&gt;&lt;P&gt;    to transfer a non-compatible variable to the formal parameter "FILENAME".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please give me insights on how to resolve this? It is quite hard for me to debug since it only errors in production and I do not have much access to the program when it's there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 00:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353372#M1036594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T00:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: CALL_METHOD_CONFLICT_TYPE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353373#M1036595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you are submitting the program /SAPDMC/SAP_LSMW_INTERFACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename should be of type &lt;STRONG&gt;/SAPDMC/LS_FILENAME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show how you declared filename and submitted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 02:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353373#M1036595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T02:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: CALL_METHOD_CONFLICT_TYPE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353374#M1036596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how I submitted the the program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT /sapdmc/sap_lsmw_interface&lt;/P&gt;&lt;P&gt;          USING SELECTION-SET jobvar&lt;/P&gt;&lt;P&gt;          AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where jobvar is a variant with default parameters because the LSMW uses direct processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program where the SUBMIT is, the filename is declared as:&lt;/P&gt;&lt;P&gt; in_file(100) VALUE '/usr/sap/tmp/myfile.csv'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am not sure if the way I declared the filename will directly affect the SUBMIT above because the SUBMIT will run LSMW and LSMW will read the file itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 16:37:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353374#M1036596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T16:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: CALL_METHOD_CONFLICT_TYPE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353375#M1036597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you run the program with the same varaiant with out using submit (i mean direct execution).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 17:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353375#M1036597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T17:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: CALL_METHOD_CONFLICT_TYPE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353376#M1036598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I ran the program with the same variant without using SUBMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 11:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353376#M1036598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T11:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: CALL_METHOD_CONFLICT_TYPE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353377#M1036599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try with the Option &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH selection parameters instead of jobvariant.&lt;/P&gt;&lt;P&gt;some thing like this..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;submit /sapdmc/sap_lsmw_interface

with file = '/usr/tmp/etc/...'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 11:48:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-conflict-type-error/m-p/4353377#M1036599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T11:48:19Z</dc:date>
    </item>
  </channel>
</rss>

