Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Encryption through bat file.

Former Member
0 Likes
692

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.

3 REPLIES 3
Read only

Former Member
0 Likes
534

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

Read only

Former Member
0 Likes
534

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>

Read only

0 Likes
534

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..