How to run a exe file that is residing in the application server.

Hi,
  I have a requirement in which a .exe (Windows executive) file needs to be run through code, which is residing in the application server. That exe file is nothing but a pdf-excel converter that will convert a pdf file to excel. The corresponding pdf file is also in the application server.  Is there any function module to make this happen? I have come across the FM GUI_EXEC, but it operates on exe and pdf files that are in the presentation server.

hi
1. customise external command in sm69
2. use FM: SXPG_COMMAND_EXECUTE
regards,darek

Similar Messages

  • How to run a "exe" file that is residing in application server.

    Hi,
    I have a requirement in which a .exe (Windows executive) file needs to be run through code, which is residing in the application server. That exe file is nothing but a pdf-excel converter that will convert a pdf file to excel. The corresponding pdf file is also in the application server. Is there any function module to make this happen? I have come across the FM GUI_EXEC, but it operates on exe and pdf files that are in the presentation server.

    HI Anirban
    SM49 /SM69 might be of help
    Could you please look into the link below.
    Re: sm49/sm69

  • How to run an exe file in a java program

    Hi,
    Can somebody tell me how to run an exe file in a java program.
    Thank you!

    Yes, java.lang.Runtime.exec().
    Read this carefully before you do:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    Don't write a line of code before you're reviewed and understood the article completely. - MOD

  • HT201272 How do you get your files that are hidden in the cloud?

    How do you get your files that are hidden in the cloud?

    What files are you looking for?
    GB

  • How to load data from a  flat file which is there in the application server

    HI All,
              how to load data from a  flat file which is there in the application server..

    Hi,
    Firstly you will need to place the file(s) in the AL11 path. Then in your infopackage in "Extraction" tab you need to select "Application Server" option. Then you need to specify the path as well as the exact file you want to load by using the browsing button.
    If your file name keeps changing on a daily basis i.e. name_ddmmyyyy.csv, then in the Extraction tab you have the option to write an ABAP routine that generates the file name. Here you will need to append sy-datum to "name" and then append ".csv" to generate complete filename.
    Please let me know if this is helpful or if you need any more inputs.
    Thanks & Regards,
    Nishant Tatkar.

  • How can i display a image file which is placed in the applications server

    Hi all,
    Can any one help me how can I display a image file which is present in the application server.
    With regards,
    M.Ramana Murthy

    hi,
    *& Form TOP_OF_PAGE
    * text
    FORM F_TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_LISTHEADER
    i_logo = Logo name
    * I_END_OF_LIST_GRID =
    ENDFORM. "TOP_OF_PAGE
    rgds
    Anver

  • Process Chain to do nothing if file does not exist in the application serve

    Hi All,
    We have a process chain that flows to different data targets daily if files delivered in the application server.
    Process chain does works fine.  But my question is do we have anyway to stop the process chain or do not run process chain if it does not find the file available any days during this time range instead of failing.*
    Is there any settings to enable the check if file available then run or else do not run at all.  Please help!!!
    Thanks,

    Follow the function modules listed in :
    http://wiki.sdn.sap.com/wiki/display/ABAP/Workingwithfiles
    with these function modules - you can get a list of files available in the application server directory.
    Pseudo code :
    1. Generate the automated fiel name you want
    2. Get the list of files in the directory
    3. Search the list of files to see if your file exists
    4. If the file exists then load the file , else load an empty file .
    The code is unfortunately in a different BW system that I do not have access to at this moment... but then the procedre is the same as detailed above.

  • Regarding moving files b/w folders in the Application server

    Hi,
    I need to move the file from one folder(main folder) of the application server to another (eg, archive, error) with certain conditions. When I try to move file from main folder to archive folder, it is working fine (.txt). The file along with the contents are moving, but when I try to move the file from main folder to error folder (.err), though the file has moved, the contents are not showing (though the file is erased from the main folder). I have used the function module
    SXPG_COMMAND_EXECUTE for performing these actions.  Can any one suggest as to why the contents are not showing.
    LEAR:  lv_mv_command_exitcode,
              lv_mv_command_arguments,
              lv_dummy_string.
      CONCATENATE is_dir_list-fullname iv_error_file INTO lv_mv_command_arguments
      SEPARATED BY space.
      REFRESH lt_mv_command_stdout.
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
        EXPORTING
          commandname                   = 'ZMV'
          additional_parameters         = lv_mv_command_arguments
        IMPORTING
          exitcode                      = lv_mv_command_exitcode
        TABLES
          exec_protocol                 = lt_mv_command_stdout
        EXCEPTIONS
          no_permission                 = 1
          command_not_found             = 2
          parameters_too_long           = 3
          security_risk                 = 4
          wrong_check_call_interface    = 5
          program_start_error           = 6
          program_termination_error     = 7
          x_error                       = 8
          parameter_expected            = 9
          too_many_parameters           = 10
          illegal_command               = 11
          wrong_asynchronous_parameters = 12
          cant_enq_tbtco_entry          = 13
          jobcount_generation_error     = 14
          OTHERS                        = 15.
      IF sy-subrc <> 0 OR lv_mv_command_exitcode <> 0.
        CONCATENATE 'Error in File'
                    iv_basefile
                    'but,not moved to Error folder.'
        INTO lv_dummy_string SEPARATED BY space.
        WRITE: / lv_dummy_string.
        IF sy-batch = c_flag_on.
          MESSAGE e054 WITH iv_basefile.
        ENDIF.
      ELSE.
        CONCATENATE 'Error in File,'
                    iv_basefile
                    'moved to Error folder.'
        INTO lv_dummy_string SEPARATED BY space.
        WRITE: / lv_dummy_string.
        IF sy-batch = c_flag_on.
          MESSAGE s055 WITH iv_basefile.
        ENDIF.
    Regards,
    John

    Hi,
    Here what I found was, if the file is empty, then the system is not moving the empty file to the destination , but if the file is not empty it is copying the contents and the corresponding folder to the destination folder. My intent is to copy the folder even if the contents of the folder is empty to the destination folder and delete the old file.
    regards,
    John

  • How to run java exe files without having to install jre

    Hi all i want to run a java application. i already converted the jar file to exe using Launch4j but the problem is that i want to run the application on other computers without having to install jre. please, is this possible and if yes, how can i do that. Thanks alot in advance

    The Launch4J website should explain how to bundle the JRE. I've not really used it myself though. If you can't get it to work you could try the launcher I use:
    http://www.megaupload.com/?d=FYZAVM77
    which comes with instructions. Or:
    http://sourceforge.net/projects/javaround
    Both of which are really easy to use.

  • How to run a compiled file that needs a jar

    Hi all
    I'm trying to run a file that I've compiled that requires a jar
    I have both the jar and java file in the same directory
    HelloWorld.java
    itext.jar
    i compile using
    javac -cp itext.jar HelloWorld.java
    which produces my HelloWorld.class
    but when i run
    java HelloWorld
    I get loads of errors
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorl
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Sourc
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    am i doing something wrong with trying to run the class with the jar file?

    Didnt work
    C:\Projects\pdf>java -cp .;itext.jar HelloWorld
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld (wrong name: com/lowagie/examples/general/HelloWorld)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

  • How to run an exe file

    i need to run a thrid party software using java .i need to do it on windows platform
    thanks

    Thank you
    i was able to call the exe from the program

  • How can I extract .rar files that are dependent on the next in order to finish the extraction?

    Ex: Part 1 finishes, then asks for part 2, so on so forth!
    Trying to open something a colleague sent me, but is rather large. I have 5 .rar files. I cannot extract them seperatly or it errors/fails. Yet I cannot find a program that asks or searches for the next files in the extraction process. Tips? Programs that do? I know that WinRAR has what I need but they do not make a program for Mac, that I can get to work.
    P.s. please keep in mind i'm new to macs, my first one! and i really know nothing mac-specific, howver i know a fair bit about computers.

    It gave me the error when I ran the program, if I need to post a screenie I will. Also if unRarx does work, am I using it wrong? I've got all 5 .rar files together in one folder. Start unrarx, click browse, navigate to the first rar, click extract, then this error at the end:
    INSTRUCTIONS] + [SN] [CodeTempest]/********.dmg - CRC failed
    Total errors: 1
    ******** = name of program, kept private sorry.
    Thanks again.

  • URL to run a report file that is not located in $ORACLE_HOME/reports dir

    All,
    I know very little about configuring reports on the web.
    We have had a 10g App Server running for several years. All of our reports files so far have been located in the Middle Tier's $ORACLE_HOME/reports directory.
    We now have a need to create sub-directories under the reports directory and run reports out of those sub-directories.
    After poking around the documentation, I'm not seeing how to do this.
    For example:
    $ORACLE_HOME/reports (has some legacy reports files in it)
    $ORACLE_HOME/reports/EI22 (new directory where we want to put EI22 related reports)
    $ORACLE_HOME/reports/EI23 (new directory where we want to put EI32 related reports.....etc)
    Normally, to run my reports in the $OH/reports directory, I use an URL like the following:
    http://hostname.domainname/reports/rwservlet?report=reportfilename.rdf&userid=uname/pwd@dbname&desformat=html&destype=cache
    How would I run a report file that now resides in the EI22 or EI23 directory?
    Thanks in advance for your assistance.

    As far as I know there is only one SourceDir property, you can assign multiple folders to it ... then at runtime you do not specify anything else in the URL, the reports server will look into each directory in the SourceDir (in order) for the report that you're trying to execute...
    If you have multiple versions of the same report located in the same server, then that's tricky because at runtime the reports server will execute the one from the directory where it finds it first.
    I personally prefer setting the REPORTS_PATH and having multiple ENVID sections that way in the URL I directly specify the ENVID which where the report is to be executed from...
    Here at work we used it for multiple applications with totally independent folders, so each application uses its own ENVID to invoke the reports.
    If you do not care/want this type of structure then use the SourceDir property that Andreas has mentioned and you do not need to add anything to your URL.

  • Running an exe file from java

    Hi , can anyone tell me how to run an exe file from my java program. the exe is in the same directory as my java files . When i click on a button i want to put something in the actionPerformed() method which will launch the exe file - prog.exe
    Hope someone can help me.
    Thanks Jim

    Hi !
    Look at the RunTime class...

  • How to delete the record in the file present in the application server?

    Hi,
      I have two questions.
      i) How can I delete a record based on some condition in the recordx in the file that is present in the application server?
      ii) How can I lock the users whiel one user is accessing the file on the application server?
    Thanks in advance.
    Suvan

    Hi,
    If u want a frequent deletion this approach to delete a record from a file will havee unnecesary copy of records from one file to another and deletion of one file and renaming activities.
    Instead what u can do is Add and field del_flag to ur record structure.
    If u want to delete the record from a file just mark this del_flag as 'X'.
    While processing u can have a loop like
    loop at it_XXX where del_flag <> 'X'.
    endloop.
    This will logically delete the record.
    When u r to finish the application at that time only perform this copying / deleting / and renaing activity
    Hope this helps.
    Cheers,
    Nitin

Maybe you are looking for

  • Which BAPI meets my req. for creation of Pur Order - PO??

    Hi Experts, User enters a Sales Order on the selection screen, say Order_1. So, my requirement is to create the Purchase Order - PO, by pulling the data of Order_1. 1 - I need to focus the to populate the Order Customer # into PO's HEADER TEXT 2 - Af

  • Can I connect Windows 7 to a mac network account server

    Hi All, I have a Mac Mini Server allong with a pile of Macs and a few PCs. What I want is being able to login to an ACCOUNT from ANY of my macs OR PCs. So when the computer turns on it asks you to put in a username and password. I know this is possib

  • Creation of IBASE (TA IB51) with ABAP

    Creation of IBASE (TA IB51) with ABAP Posted: Sep 29, 2005 8:47 AM      Reply      E-mail this post  Hello all, i want to create an IBASE with Instances (Materials) with Abap. It is possible to create the IBASE but not to create the instances. I have

  • Iphone 6, photo library "downloading"

    I purchased my iPhone 6 about a month ago, it was already backed up through Icloud and on my old iPhone 5s. Since purchasing it and updating, and restoring my camera roll has been saying downloading, when I connect it to iTunes it says that I have 90

  • Reverse posting of a request

    Hi, Could any one help me to understand exactly the use of reverse posting of a request in an infocube. kumar