<?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: Calling Java program from ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072057#M1613693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pabitra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JAVA or javascript? You can use the HTML viewer GUI control to run  javascript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But starting with ECC600, a SAP server has a JAVA stack by default which is used for purposes like PDF interactive form processing and the like. I do not know how to run any JAVA program there, your basis admin may have an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the long run, your company may consider to use digital signatures. SAP offers integrated solutions for signing and encrypting data, start here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Secure Store and Forward Mechanism (SSF) |http://help.sap.com/saphelp_nw70/helpdata/en/4d/bf6f77a2c5446a86e0152f1b309db6/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2011 10:28:52 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2011-08-03T10:28:52Z</dc:date>
    <item>
      <title>Calling Java program from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072052#M1613688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my ABAP program downloads one file to one folder. Then one Java program is running to Encrypt the file.&lt;/P&gt;&lt;P&gt;Now , they want to call the JAVA program in ABAP, so that they can encrypt the file before downloading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to call a Java program from ABAP ? If Yes, please give me the detailed procedure.&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;pabi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 05:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072052#M1613688</guid>
      <dc:creator>former_member190312</dc:creator>
      <dc:date>2011-08-03T05:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Java program from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072053#M1613689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pabi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this link can help you.&lt;/P&gt;&lt;P&gt;[Communication between ABAP and Non-ABAP Technologies|http://help.sap.com/saphelp_nw2004s/helpdata/en/6c/934a4278bbb56be10000000a155106/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 05:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072053#M1613689</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2011-08-03T05:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Java program from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072054#M1613690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pabi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the RFC connection,we can establish a link between Java and SAP.&lt;/P&gt;&lt;P&gt;Afterwards,hope we can call Java program from ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the sample piece of code to establish RFC connection(link) between Java and SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: REQUTEXT LIKE SY-LISEL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      RESPTEXT LIKE SY-LISEL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ECHOTEXT LIKE SY-LISEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: RFCDEST like rfcdes-rfcdest VALUE 'NONE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: RFC_MESS(128).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REQUTEXT = 'HELLO WORLD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFCDEST = 'JCOSERVER01'. "corresponds to the destination name defined in the SM59&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'STFC_CONNECTION'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   DESTINATION RFCDEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     REQUTEXT = REQUTEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     RESPTEXT = RESPTEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     ECHOTEXT = ECHOTEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     SYSTEM_FAILURE        = 1 MESSAGE RFC_MESS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     COMMUNICATION_FAILURE = 2 MESSAGE RFC_MESS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WRITE: / 'Call STFC_CONNECTION         SY-SUBRC = ', SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WRITE: / RFC_MESS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 05:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072054#M1613690</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2011-08-03T05:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Java program from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072055#M1613691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreeram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. After the Java connection is successful, what are the code to put , to call JAVA program. &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;pabi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 06:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072055#M1613691</guid>
      <dc:creator>former_member190312</dc:creator>
      <dc:date>2011-08-03T06:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Java program from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072056#M1613692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody have the detailed procedure to achieve this requirement ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 09:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072056#M1613692</guid>
      <dc:creator>former_member190312</dc:creator>
      <dc:date>2011-08-03T09:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Java program from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072057#M1613693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pabitra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JAVA or javascript? You can use the HTML viewer GUI control to run  javascript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But starting with ECC600, a SAP server has a JAVA stack by default which is used for purposes like PDF interactive form processing and the like. I do not know how to run any JAVA program there, your basis admin may have an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the long run, your company may consider to use digital signatures. SAP offers integrated solutions for signing and encrypting data, start here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Secure Store and Forward Mechanism (SSF) |http://help.sap.com/saphelp_nw70/helpdata/en/4d/bf6f77a2c5446a86e0152f1b309db6/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 10:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072057#M1613693</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-08-03T10:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Java program from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072058#M1613694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pabita, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just read your question. Actually I also got this kind of assignment; my abap to call javascript. and this script will extract the DME file from TEMSE and encrypt it and lastly store the file to the download folder. THis script given by bank and I need to pass the DME filename, TEMSE path and download path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you found the solution for this? since I just started, so, roughly I have idea and might use class CL_JAVA_SCRIPT to call this javascript. you may refer to tcode ABAPDOCU and find DEMO_JAVA_SCRIPT_MINI_EDITOR. there are alot of sample abap coding to call the javascript. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you don't mind, maybe you can share what you got for this? I still not sure either my idea is working or not since I need to understand the javascript given by the bank; i.e. input parameter, process and the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 01:56:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-java-program-from-abap/m-p/8072058#M1613694</guid>
      <dc:creator>former_member399569</dc:creator>
      <dc:date>2011-09-13T01:56:12Z</dc:date>
    </item>
  </channel>
</rss>

