<?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 Java From ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-java-from-abap/m-p/840728#M44186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I do believe that you can.  I've never done it myself, but if you use a .bat file and execute that .bat file from your ABAP using CL_GUI_FRONTEND_SERVICES method EXECUTE, then yes,  I could be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  call method cl_gui_frontend_services=&amp;gt;execute
    EXPORTING
      DOCUMENT               = 'C:calljava.bat'.
*      APPLICATION            =
*      PARAMETER              =
*      DEFAULT_DIRECTORY      =
*      MAXIMIZED              =
*      MINIMIZED              =
*      SYNCHRONOUS            =
*    EXCEPTIONS
*      CNTL_ERROR             = 1
*      ERROR_NO_GUI           = 2
*      BAD_PARAMETER          = 3
*      FILE_NOT_FOUND         = 4
*      PATH_NOT_FOUND         = 5
*      FILE_EXTENSION_UNKNOWN = 6
*      ERROR_EXECUTE_FAILED   = 7
*      others                 = 8
          .
  if sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.&lt;/CODE&gt;&lt;/PRE&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2005 20:29:06 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-03-07T20:29:06Z</dc:date>
    <item>
      <title>Call Java From ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-java-from-abap/m-p/840727#M44185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I do it...??? How...???&lt;/P&gt;&lt;P&gt;My release is 46C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the heroes..!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2005 20:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-java-from-abap/m-p/840727#M44185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-07T20:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Call Java From ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-java-from-abap/m-p/840728#M44186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I do believe that you can.  I've never done it myself, but if you use a .bat file and execute that .bat file from your ABAP using CL_GUI_FRONTEND_SERVICES method EXECUTE, then yes,  I could be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  call method cl_gui_frontend_services=&amp;gt;execute
    EXPORTING
      DOCUMENT               = 'C:calljava.bat'.
*      APPLICATION            =
*      PARAMETER              =
*      DEFAULT_DIRECTORY      =
*      MAXIMIZED              =
*      MINIMIZED              =
*      SYNCHRONOUS            =
*    EXCEPTIONS
*      CNTL_ERROR             = 1
*      ERROR_NO_GUI           = 2
*      BAD_PARAMETER          = 3
*      FILE_NOT_FOUND         = 4
*      PATH_NOT_FOUND         = 5
*      FILE_EXTENSION_UNKNOWN = 6
*      ERROR_EXECUTE_FAILED   = 7
*      others                 = 8
          .
  if sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.&lt;/CODE&gt;&lt;/PRE&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2005 20:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-java-from-abap/m-p/840728#M44186</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-03-07T20:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Call Java From ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-java-from-abap/m-p/840729#M44187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, and check out this link.  This is probably more of what you want rather than my previous post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/community &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2005 20:36:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-java-from-abap/m-p/840729#M44187</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-03-07T20:36:47Z</dc:date>
    </item>
  </channel>
</rss>

