Call external application through Abap WD application

Hello All,
We are trying to call an external application using ABAP.  The details are as below
1) SAP server on AIX OS
2) External Apps server: Windows OS
The external apps takes a file located on windows as input and generates a file on windows as output. The external appls is installed on the windows OS.
We are unable to trigger the VC apps from ABAP.( AIX OS).
Appreciate if you can guide and give some examples. Please note that the OS are different.
Questions:
1)  How to access windows file system to execute external appls from ABAP ( AIX)
2)  Would a RFC be required to be made between ABAP and the windows server where external appls is hosted
3) Any sample code/links is really help ful
We were able to get it working when the applications was hosted on local file system ( desktop) . Two problems are getting the appls executed on remote and different OS accessing windows file system through unix ( AL11 should help here i guess)
Regards
PN

Hi Lekha
I want to start a *.bsp page in a new external window and POST Parameters to this *.bsp page.
So it is not actually showing a bsp in a ABAP WD.
Kind regards
Paul
PS: create_external_window is alway a GET Method and I do not want to show Parameters in the URL.

Similar Messages

  • Call External Applications usine OLE

    Hi Experts,
        I have a requirement to call External Application in ABAP.
    For Ex:- you might have seen Word document being called in the SAP Screens for the documentation or in the Text Editor using OLE.  similarly I need to call an external application like calculator in the SAP Screen. 
    Can you one give inputs regarding this.

    Hi KesDev,
    If it so that you want a calculator on the SAP screen then there is function module available in SAP.
    In SE37 search for * CALCULATOR * you might be able to find one, since i am not on the system right now that's why i am not able to give you the exact name.
    This is the Function Module,
      DATA:  amount_out TYPE ptrv_fname,
             amount_in  TYPE ptrv_fname.
      CALL FUNCTION 'FITRV_CALCULATOR'
        EXPORTING
          input_value          = amount_in
          currency             = ztable-waerk
          start_column         = '120'
          start_row            = '2'
        IMPORTING
          output_value         = amount_out
        EXCEPTIONS
          invalid_input        = 1
          calculation_canceled = 2
          OTHERS               = 3.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar
    Edited by: Abhijit Borkar on Feb 8, 2010 10:37 AM

  • Calling External Application from BPM 11g

    I am new to BPM 11g and need to create the ability to call an external application (UCM) from within BPM. Will a web service adapter, with a type of Reference, accomplish this? How can I add security to this web service.
    The second question is how can I add an adapter that alllows me to specify our own source code? In this scenario we would write the Java to formulate the SOAP call directly, thus allowing us to add the security into the call directly.
    Any information is much appreciated.
    Thanks,
    Randy

    Hi Randy,
    You can call an external application using a spring component integration, I was just able to get that to work with a help from another forum member here is a viewlet that demos the spring integration:
    http://bpel.us.oracle.com/BPM/11gR1/howtos/spring-component/oow-2010-Beijing-viewlet/springdemo_v2_viewlet_swf.html
    Alex.

  • How to call external application (transaction launcher) from event method

    Hi all
    Can somebody tell me which program lines to put into an event handler method in a view controller to get an external application called. I intend to define the link to the external application in the Transaction Launcher. But I cannot find any instructions on how to call the Transaction Launcher from my event handler method. I do not want to launch the application from the navigation bar, ONLY via a link in a list of invoices in a table view, and I want to press the invoice number to get an external application called to display the invoice. My event handler method gets called fine enough, but I have no clue which program lines to put into the method to pass on the call to the Transaction Launcher
    Best regards
    Arne Thage / MarchIT / Denmark

    hi,
    check class CL_CRM_UI_LTX_NAVBAR_PARAM.
    call method : CREATE_PARAMETER_OBJECT with parameters
    IV_LINK_ID     Importing     Type     CRMT_UI_LOGICAL_LINK_ID                                                                                Logical Link ID
    IV_PARAMETER     Importing     Type     CRMT_UI_LINK_PARAMETER                                                                                Link Parameter
    RV_RESULT     Returning     Type Ref To     IF_BOL_BO_PROPERTY_ACCESS                                                                                BO Attribute
    I think it should work but have never done myself.
    Best Regards
    Pankaj Kumar

  • Calling external applications from within a script.

    Whenever I write scripts that require some external application for functionality, I try to open a pipe or start a server so that I only have to start the external application once. I expect that to reduce overhead and consider it good form. However, sometimes there just isn't any way to avoid calling an external application multiple times and when that happens, I try to find some other workaround if I think it's going to get called repeatedly.
    What I'm wondering is how much it really matters for very small and simple programs. The one I have in mind right now is "du". I need to use it in a Perl script because Perl's operators to get file sizes return the apparent size which, in this case, is much larger than the actual size reported back by "du". I'm monitoring the size of files in real-time and I need to call "du" during each iteration of the status updater. Even though I'm passing all the file paths at once, "du" may be called a few times every second (well, I could limit it to once a second).
    Could this possibly make any noticeable different on older machines? In general, what external apps can you get away with calling repeatedly?

    I'm not sure, but I thing that overhead caused by calling du cannot be big enough to matter even on older machines.
    But, when calling du from Perl script you are also invoking shell, and this can be a little bit more 'heavy'.

  • Call external URL from ABAP userexit, capture data and return it to SAP?

    My apologies if this question has been asked before, but I've searched for a few hours today and haven't found anything directly related to my question.  Thank you in advance for any help you may be able to provide!
    I would like to be able to make a call from an SAP userexit during Sales Order Entry in the VA01 transaction in the SD module to an external website, allow the user to capture some data in the external site and then pass that data back into the userexit where I can use it to populate internal tables, etc.
    I'm completely unfamiliar with Web Dynpro programming, but this seems like a good place to start my search for a solution. 
    Does this sound like a problem that can be solved with Web Dynpro and what documentation or code examples should I reference to go about building such a solution.
    I should also note that I'm hoping to build a solution that could be called from any userexit in R/3, SAP ERP, SAP CRM, etc. and would obviously need to learn about what dependencies to consider (ex: SAP GUI version, SAP product release number, Web AS release, etc.).
    Eric

    Thank you for the response.  Let me provide some additional information.
    The external application will be a Hosted Web page.  It is not an SAP system. 
    The external application will be a web page served by a separate system outside of the company domain(shouldn't matter what the technology is I would think - but the web page will be hosted by a different company than the one calling the URL) that would appear as a web page in which the user will enter data, logic will be performed on that data and then some or all of the data would need to be passed back to the calling point in SAP.
    For practical discussions it doesn't matter to me if the call in ABAP occurs in an SD userexit, in a custom report, in an HR screen or in a CRM business partner screen.  There will be many places where this external application may be called from and I'm just trying to figure out how to call an external HTTPS URL and return data from that web page to the calling point in ABAP.
    I hope that clarifies my question.
    Thanks!
    Eric

  • Help regarding calling BRFPLUS function through ABAP code

    Hi,
          I have  a situation where I have to input  data into a BRFPLUS function  as a table (i.e the data is input as select options where list or range of data can be provided).The corresponding output is also in the form a table .I've created this function in BRFPLUS and is working fine .Now I have to call it through ABAP code.Can someone kindly  provide me with the probable code for this scenario.
    E.g:
            ZT_MATNR  is the table in brfplus representing the list of MATNR values input along with other such inputs to function module Z_FM
            ZT_ATM   is the  resultant output table  of the function  which contains several fields.
    Now I have to call this BRFPLUS function with help of ABAP code.Could someone kindly help.

    Hello ,
    There should be a number of BRF+ tutorials available in SCN which discuss the FDT APIs. You can have a look at them to get an idea of the various APIs available and their uses.
    For your usecase, you should do the following.
            lo_fdt_function         TYPE REF TO if_fdt_function,
            lo_fdt_result           TYPE REF TO if_fdt_result,
    * Get function handle
          CALL METHOD lo_fdt_factory->get_function
            EXPORTING
              iv_id       = lv_function_id
            RECEIVING
              ro_function = lo_fdt_function.
    where lv_function_id is the GUID of the BRF+ function . You can either make it a constant , or you can use a FDT API to get the function GUID from the BRF+ application name and function name.
    *   Set function context
        TRY.
            CALL METHOD lo_fdt_context->set_value
              EXPORTING
                iv_id    =
                ia_value =
    This is one way to set the input context ( pass the input to the BRF+ function to process ). There are other ways to do this as well. Which one you use would depend on the kind of input you want to pass.
    * Execute BRFPLUS function
      TRY.
          CALL METHOD lo_fdt_function->process
            EXPORTING
              io_context = lo_fdt_context
            IMPORTING
              eo_result  = lo_fdt_result.
    * Get result output
      TRY.
          CALL METHOD lo_fdt_result->get_value
            IMPORTING
              ea_value =
    Another direct way of doing it would be to use the method PROCESS of the class CL_FDT_FUNCTION_PROCESS.
    I have not gone into much explaination here , but it should provide you an idea of how you can go about it.Read the SCN docs on the APIs to get a better idea , or better still if you can get hold of a copy of the BRF+ book by Carsten Ziegler , you will get an end to end explaination of all BRF+ APIs in it.
    Regards,
    Indranil.

  • Read external mail through ABAP

    Hi All,
    i want read external mail ( say yahoo, gamil etc) through ABAP code with attachments.
    Thanks and regards
    JK

    Hi,
    Reading external email through pure ABAP won't be an easy task as far as I know. Because it needs user login and password authentication. Therefore it would be better to use something like cURL, which is a good tool for simulating a user's actions at a web browser. You can use cURL on a web server with php installed and after reading the emails pass the contents to ABAP.

  • Calling of webmethods through abap programme

    Hello experts,
    There is requirement in my project related to webmethods.i have to create an ABAP programme(REPORT) To download a report using a new webmethod service.The programme will call the webmethod service using the following parameters:
    - Merchant ID
    - Password
    - Report Name/Format
    - Report Date.
    The wM service will pass back the report contents to the calling program.  The program will then build an output file onto the SAP UNIX interface directory for subsequent processing by  another program .
    can any one please send me a brief pseudocode,as i don't know webmethods.
    please help me as this is a very crunch situation.
    regards
    Prasun

    Hi Prateek,
    i don't know which version i am using,i don't know how to invoke webmethods through ABAp programme.i just wanta a brief pseudocode for the same.
    regards
    Prasun

  • Can we run a java class in a external server through abap program?

    Dear Experts,
    Can we run a java class in an external server ( other than application server and client system )?
    I have tried running it in the client system through a program and it works.
    But i have the requirement of running it in another system. Can it be done?

    Hi,
    If this is the case I think you can call this web service from SAP and triger the execution of the application on the "external server".
    SAP is behaving as a client in this case.
    Another alternative:
    "have tried running it in the client system through a program and it works." please elaborate.
    Regards.

  • Calling external Java from ABAP using JCo?

    Does anyone know if one can use JCo to write a server application that can be called from ABAP.
    We are presently using JCo to communicate from Java to SAP.
    But we need to call an external Java program from within ABAP.
    Is this possible?
    Thanks for any input.
    Fred

    Hi Gregor,
    I was hoping you would reply to this -- these posted messages had been here for quite sometime now.
    Anyway, here's the case. Our Basis team is installing the JCo in our SAP development server. This is our first time to implement this technology, so no one has a clue at all.
    Got a couple of questions for you...
    1. What do we need the JDK for? Is it mainly for editing, running, and compiling java files (e.g. Example5.java)?
    2. Does the JDK need to be installed at the SAP server as well? Or it doesn't matter, as long as the java files will be accessible from where it was installed at?
    Thanks for any response!

  • Call DTP Through ABAP

    Does anybody knows if there is a way to call a DTP through ABAP?

    Hi ,
    You can call DTP by implementing  class CL_RSBK_DTP.
    I have attached a sample code below.
    Create executable program  (se38) with following code:
    DATA:  CLAS_DTP TYPE REF TO CL_RSBK_DTP,
                 DTP_REQ TYPE REF TO CL_RSBK_REQUEST,
                 L_DTP TYPE RSBKDTPNM.
    L_DTP = 'DTP_8W266521AYMB0RM3U7SXM5J72'.    " DTP id
    CLAS_DTP = CL_RSBK_DTP=>FACTORY( L_DTP ).
    TRY.
        CALL METHOD CLAS_DTP->IF_RSBK_DTP_EXECUTE~CREATE_REQUEST
          RECEIVING
            R_R_REQUEST = DTP_REQ .
       CALL METHOD DTP_REQ ->IF_RSBK_REQUEST~DOIT
          EXPORTING
            I_NO_COMMIT = RS_C_FALSE.
    CATCH CX_RS_NOT_FOUND .
        CATCH CX_RS_FAILED .
    ENDTRY.
    Regards
    MG

  • How to call external programs?

    I have seen people call external programs through LabVIEW and was curious what functions you could use to do this.
    I'm pretty sure its using one of the ActiveX functions  or maybe 'open application reference .vi'.
    Can anyone tell me (or show me) a quick example of how to open an external program (ie excel,  notepad, etc) programatically
    Cory K
    Solved!
    Go to Solution.

    Cory K wrote:
    Where did they get this:
    Kudos for going from "I don't know to start" to "Let's stump Ben" with only the second post to this thread.
    I either copy it from an example or try to browse to it.
    NOTE:
    If you plan to work with MS ActiveX objects, I found it very helpful to do a custom install of Office and make sure the help files for VBA are loaded. These will at the least give you an idea of what the methods are and what parameters go with each.
    Ben
    Message Edited by Ben on 12-31-2008 11:09 AM
    Message Edited by Ben on 12-31-2008 11:13 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Browse.PNG ‏24 KB

  • Calling external programs from Java?

    Hi All,
    Is there a way of calling external applications from Java without using Runtime.exec(). That method seems quite messy when you are dealing with streaming data from an input file to an output file. Basically what I'm asking is there a way to run a command the same way you would type it in a command shell?
    Thanks

    LeWalrus wrote:
    Ok, I've an external application that I want to be called inside a Java GUI. It has several input arguements, which the format looks something like:
    programname inputfile > outputfile
    Simple enough.
    >
    Works fine from a shell command line. From what I understand, this won't work using Runtime.exec() because that method will just start the application. Works fine from Runtime.exec(). Since you are'>' to write stdout to a file you need to us a shell to execute the command.
    String[] command = {"sh", "-c","programname inputfile > outputfile"};
    Process process = runtime.exec(command);
    You need to read, digest and implement the recommendations given in http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html .
    File input and output from the application has to be taken care of programatically (java.io stuff). Fine if you've only one input and output. But if you have several input files and hundreds of output files, where does this leave you. It would be much easier if you could pass a string command to the shell directly as if you typed it in the command line yoursel!

  • Embedding external application in SAP through ABAP

    Hi All,
    I wanted to know that can we embed external application in a subscreen through ABAP.
    Thanks in advance,
    Points to helpful replies.
    Regards,
    Bharat Mistry.

    Hi Bharat,
    SAP did a lot in Terma of integration of programs running on the frontend. They have some intefaces with SAP office; I'm not too familar with them.
    What you want, is connected to the subject "Desktop Office Integration (BC-CI)".
    See the link
    http://help.sap.com/saphelp_47x200/helpdata/en/e9/0be775408e11d1893b0000e8323c4f/frameset.htm
    for more information on this.
    SAP propvides a good pdf explaining a lot. You can find at help.sap.com; foro Additional Information->Print Files->SAP R/3 Release 4.6C->English->PDF Index->Desktop Office Integration (BC-CI): data/pdf/BCCIOFFI/BCCIOFFI.pdf
    This is not the latest version because SAP does not provide the new documentation in the form of print files, but it is good.
    Yo could have your Excel running in a subscreen will full data connection to the ABAP program. Any many tgings more.
    Depends on what you want and what you need.
    Regrads,
    Clemens

Maybe you are looking for

  • Planning server goes down when I try to delete a member in Planning Web

    Hi, Planning server goes down when I try to delete a member in Planning Web. I am using Hyperion Planning 4 with Tomcat 4.1.30 and Windows Server 2003. I am not sure whats happening. This is the exception log I am looking at: 2009-07-24 18:19:22 Appl

  • Mail not responding on 10.8.2 - SOLUTION!

    Has your Mail frozen since 10.8.2? Are you using multiple accounts?  If so then I may have the solution (perhaps single accounts have the same problem) My accounts were set up within mail preferences on 10.8.1.  When I upgraded to 10.8.2 Mail froze,

  • Ms word Macro to extract Great Plains Dynamics CRM 2015 Data

    Hello, I have a macro in MS Word that I am trying to use from a remote server (URL) How do I reconfigure my datasource to utilize a url such as: http://555.555.00.000/ABCCRM/main.aspx#960021546 Sub LoadOpportunityList() ' LoadOpportunityList Macro   

  • How Can I Get Wav and Mic Options?

    When running Windows XP I had a Soundblaster sound card and when I wanted to brodcast Internet Radio, I went to the sound icon, Recording, and selected Mic to talk or Wav for playing music. On my new computer, I am running Windows 7 Professional. I h

  • Problem with isDate()

    It is my understanding that isDate() assumes a US date format (eg., mm/dd/yy) The following code <cfset d = '00/01/07'> <cfoutput> #isDate( d )#<br> month: #month(d)#<br> day: #day(d)#<br> year: #year(d)#<br> day: #datePart('D', d)#<br> </cfoutput> p