How to Run Batch files from inside Reports.

Advertisement

Hi All,
I have 2 questions.
1) How to change the direction of the reports with Arabic orientation i.e Right to left Change without changing the registry.
2) How to execute a batch file from report or before execution of the report i.e before opening the report.
I want to set few environmental variables before opening the report. How do i achieve this?
Request the forum community to discuss and help me out on this issue.
Thanks in advance

Advertisement

Thanks Inol
Though my report is running NLS variable values given in the batch file is not getting picked.
Here is my batch file contents. My NLS Variables are not getting picked in the reports. I want that to be picked up and the reports orientation should change automatically as per the NLS variables given in the batch file.
Please go through my batch file code.
set NLS_LANG                   = AMERICAN_AMERICA.UTF8
set NLS_CALENDAR            = GREGORIAN
set NLS_DATE_FORMAT      = dd/MON/yyyy
set FORMS60_PATH           =   <Enter Relevant Path>
set REPORTS60_PATH        =  <Enter Relevant Path>
set PATH=%PATH%;c:\forms6i\bin
set ORACLE_HOME             =   c:\forms6i
set TNS_ADMIN                 =   c:\forms6i\NET80\ADMIN\TNSNAMES.ORA
rwrun60.exe d:\DOTNETORION17_bin\elist_rg1.rdf userid=scott/[email protected] P1=10Please help me out in getting this value picked and run the report.

November 30, -0001

How to Run Batch files from inside Reports.

Hi All, I have 2 questions. 1) How to change the direction of the reports with Arabic orientation i.e Right to left Change without changing the registry. 2) How to execute a batch file from report or before execution of the report i.e before opening

How to run exe file from inside java

I wan to run an exe file from inside java code. How can I do it? ThanksHi Oakam This is very simple. Just go through the given code below in place of FILEANDPATHNAME just give the exe's path and name Note :- adding ".exe " is not necessary publi

How to execute batch file from JSP

hi frens ! i wanna know how to execute batch file from my JSP.i am using exec() method to get call the batch file. but its not working ....plz help here mine code:- File F = new File("C:/var.bat");      try{       if (F.exists())         Runtime

How to run SQL files from Java?

Hi, Can someone point me towards a link on how to run sql files in Java? Thanks. P.S...if I've been completely blind please go easy on me!Sorry forgot the formating code thingy public static boolean executeScript(File script, Connection conn){     bo

How to create .csv file from ABAP report

Hi We have a requirement to generate .csv file from abap report. Currently user saves data from abap report to spreadsheet(.xls format) in desktop.  Then opens excel file and save as .csv format.  Need option to save directly in .csv format instead o

Running @Script.sql from inside C#

I'm trying to include a script file as part of a deployment. I'm able to connect to my Oracle XE database in code and run stored procedures as well as text commands. My deployment will copy a script file into an install directory for later use. When

Run a batch file from demantra workflow

I am trying to run a batch file from demantra's workflow by creating an executable step. I am getting the following error. Error description ''Invalid command line:''"D:\Oracle Demantra Spectrum\Collaborator\demantra\sop\populate_staging.bat" I

How do I move files from my iMac to my Airport without getting 'AirPort can not be modified' message. File sharing is enabled and I'm not getting asked for a password. Thanks

How do I move files from my iMac to my Airport without getting 'AirPort can not be modified' message. File sharing is enabled and I'm not getting asked for a password. ThanksWhat OS are you running.. this is usually only a problem in Mavericks. If so

Cannot run batch program from Java Application

Hi All, Im trying to run a batch file under windows from my Java Program. The batch file is located in the following path: C:\Program Files\MyApp\runme.bat The above-entioned path contains white space which is not allowed in NT. Im trying following c

How to run imovie files off external hd

So I have a SSD Mac book pro 120G. and iMovie 10.0.6 has used a very large portion of that space. Can iMovie run off files from my external HD? Thanks!Michael Yarra wrote: -Can iMovie run off files from my external HD?- sure, the Manual tells you how

How to send a file from FTP to external server

My requirement is to send a file from FTP to D3(External) server. Now I am able to store the file in Appln server. I want to send the file created by the program thru FTP to D3 server. I know the username,Password,HostID,RFC destination details. How

How do i migrate files from a imac to macbook pro using an ethernet cable. the migration program asks for firewire and i don't own a fireWire.  I do own an ethernet cable though

how do i migrate files from a imac to macbook pro using an ethernet cable. the migration program asks for firewire and i don't own a fireWire.  I do own an ethernet cable thoughA FW cable would be far faster & Easier, but with Ethernet you need a com

Can't run Batch files or Devnev (visual studio) - is not recognized .. command

Getting the famous error : ... is not recognized as an internal or external command`* When & Where : not sure about the total range of the problem, Here I can't run batch files and "devneve.exe" sample Batch could be : @echo off    clr 'clr'

How to delete a  file from AL11??????

Hi Friends, how can i delete a file from AL11 directory.... i have found FM's like EPS_DELETE_FILE, EDI_PORT_DELETE_FILE and some more from SAP system but those are not deleting the files.... let me know if i can write a program for this and if yes t

Unable to update software or upload pics from SD card-how do I remove files from startup disk? Please help!

Unable to update software or upload pics from SD card-how do I remove files from startup disk? Please help!Hello Smile_333 The article below will assist with finding things and help increase the hard drive space for your computer. The best way is to

How to run script file ( unix script file like ksh or sh file) using Java

How to run script file ( unix script file like ksh or sh file) using Java Program?. I am using the following code snippet to run the simple commands like top or ls ,etc.... Runtime runtime = Runtime.getRuntime(); Process proc = runtime.exec("top"

How can I transfer files from my computer to my I pad ?

How can I transfer files from my computer to my I Pad?Try a conduit such as Dropbox. Goodreader or Documents to Go also have helper apps that allow transfers. Goodreader is particularly good in that it has a integal file tree and you can mount your c

How do i transfer files from old mac with frozen screen?

My PowerBook G4 just froze. I bought a new MacBook Pro. How do I transfer files from my old mac to my new one. I have firewire cable with firewire adapter for the new Mac. And the old mac has a disk that won't eject.Turn your PowerBook off. Connect b

How to call a Workflow from a Report in SE38?

How to call a Workflow from a Report in SE38? Please can Anyone Send me a Source code (with Explanation)which I can use for calling Workflow >> WS99900253? Regards, Shashank.you can use FM SAP_WAPI_CREATE_EVENT SWE_EVENT_CREATE OR SAP_WAPI_START_WOR

HT204053 How do i move files from my dropbox app to my music app on my ipad?

How do i move files from my dropbox app to my music app on my ipad?You can't. You have to add them from DropBox to iTunes on your computer and then sync them to your iPadRead other 2 answers