Hi, Friends:
I have searched around the forum, but still have following doubts:
1. In our case, we need to pick up file, execute mapping program, then encrypt it.
Because we need to do message mapping, on sender side, we need to file content conversion.
Then on receiver side, we need to content conversion again.
In this case, can we call OS command to execute PGP unix script to encrypt the file after message processing on receriver adapter ?
2. In case the encryption fails, how do we check the return code ?
Thanks
Liang
Request clarification before answering.
Close it for now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Close it for now, we used other approach
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While I am executing PGP script it is showing an error:
*sapgpg: ERROR: -e and -d are mutually exclusive and one of them must be applied Usage: sapgpg -e|-d -u localuser -r remoteuser -i infile -o outfile -p passphrase*
*External program terminated with exit code 1*
Please suggest how I will proceed with this.
Regards,
Minakshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Liang,
This is the one I am talking about:
http://aedaptive.com/index.php/solutions/pgp-for-sap-netweaver
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Liang,
PI will call the script and executes it. But it dont have the control within the script. So Once you are running the script at OS level the control will be at the OS level and you can do whatever you want from OS level. But here you cannot know what happend because you control is not there.
So from OS level you can send a mail or as aamir told if the script dont run then send the file to a different folder and let another interface keep poling for this interface. As soon as you see you can send it as an email.
Else I think you have certain certified adapters for this fucntionality for PI also. You may need to buy them.
Other option would be to write an adapter module which can do this for you.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>can we call OS command to execute PGP unix scrip
Yes,you can do this,just remember that OS scripts run on the server which hosts adapter engine,so scripts will be executed on NFS,not on FTP.
>>n case the encryption fails, how do we check the return code ?
You can not track execution of script from XI.
A work around we did was to make the script write log of its execution,configure a separate XI interface which will read this log and send an e-mail in case the log shows error messages.
Thanks
Aamir
Edited by: Aamir Suhail on Jul 28, 2009 1:31 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.