Skip to Content
0
Aug 02 at 10:45 AM

Can i add os command before message processing .bat file.

371 Views Last edit Aug 09 at 09:09 AM 2 rev

I have requirement from the bank like proxy to sftp PO 7.50 where i need sign in and encypt the messsage but i did not achieve this because they need encypted mesage should be like below comments

It should look like this:


-----BEGIN PGP MESSAGE-----

Version: BCPG v1.59

Comment: <PGPRequest>CERT</PGPRequest>

hQEMA+dkscYmBfqwAQgAjZnToReaKU3mQzqMhjNZEqyo2Gnojt1h5DKKJZAFZApf

......

=nvQp

-----END PGP MESSAGE-----

but i tried to achieve the requirement through SAP standard pgp module parameters but i have failed in this .

But i have achieved this requirement through shell script provided by the bank in the document. I have created the public key and encryption and signing all are done through command prompt where i have a SignAndEncrypt.bat when ever i will drag and drop the sample xml data file into SignAndEncrypt.bat then new encrypted message is creating there i can see the comments like below as per there requirement

-----BEGIN PGP MESSAGE-----

Version: BCPG v1.59

Comment: <PGPRequest>CERT</PGPRequest>

hQEMA+dkscYmBfqwAQgAjZnToReaKU3mQzqMhjNZEqyo2Gnojt1h5DKKJZAFZApf

......

=nvQp

-----END PGP MESSAGE-----

But I need this manually could any one help me with this requirement , is there any chance i can run.bat file in reciever sftp channel in processing tab by below parameters.

image.png

Attachments

image.png (4.8 kB)