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: 

Encryption of notepad file

Former Member
0 Kudos
176

Hello Gurus,

I need to encrypt a notepad file containing some information. This notepad is the result of an ABAP program.

For encryption we need to run an executable file from MS DOS prompt.

I have to open command prompt and then choose the .EXE file and the notepad file. then press enter. Automatically the notepad content will be encrypted.

Currently this is done manually. I need to automate this process from ABAP program.

Can you give some ideas as to how this can be done in ABAP.

<< Please do not offer points >>

Thanks.

Edited by: Rob Burbank on Sep 7, 2010 4:07 PM

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos
136

Hi,

there are provisions in sap to execute an external command.

You can serach oin SCN for execute sap external command and you will find lot of details and the steps to be followed.

based on the Presentation/Applications servers the methods are different.

2 REPLIES 2

Former Member
0 Kudos
136

hi,

check the class CL_GUI_FRONTEND_SERVICES, method EXECUTE (Starts an Application or Opens a Document in the Client)

kesavadas_thekkillath
Active Contributor
0 Kudos
137

Hi,

there are provisions in sap to execute an external command.

You can serach oin SCN for execute sap external command and you will find lot of details and the steps to be followed.

based on the Presentation/Applications servers the methods are different.