2008 Jun 16 9:29 AM
dear all,
I want to call a *.bat file ( created in Java ) in mm ABAP program to encrypt the file for Bank use.
Can anyone plz help me in this, will RFC help in this? the file is located at local drive in PC.
dear all,
I want to call a *.bat file ( created in Java ) in mm ABAP program to encrypt the file for Bank use.
Can anyone plz help me in this, will RFC help in this? the file is located at local drive in PC.
2008 Jun 16 9:34 AM
May be you can try these FM.
Use the following FM to encrypt
CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'
Use the following FM to decrypt
CALL FUNCTION 'FIEB_PASSWORD_DECRYPT'
******Reward points,if found useful
2008 Jun 16 9:36 AM
Hello,
Execute BAT file....
code CALL FUNCTION 'WS_EXECUTE'
EXPORTING
cd = 'C:\'
program = 'C:\REN.BAT
EXCEPTIONS
frontend_error = 1
no_batch = 2
prog_not_found = 3
illegal_option = 4
gui_refuse_execute = 5
OTHERS = 6.[/code]
<b>reward points,if found useful</b>
2008 Jun 16 10:17 AM
hi,
thanks for the help, the function module is executed but how can i see that where is the output file being extracted, how to give Input and Out put file parameters.
This will solve my problem..
Thanx in advance..
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |