06-27-2014 1:17 PM
Hi Team,
I have requirement to archive files to encrypt the file I am using FM-SXPG_CALL_SYSTEM but I came to know that if we use it there will be a lot of damage at OS Level.Is there any other cleaner way to do the same.
Please help me.
Thanks and Regards,
Shakeer Hussain
06-27-2014 1:38 PM
Hi Shakeer,
You better use FM 'SXPG_COMMAND_EXECUTE' instead of SXPG_CALL_SYSTEM.
Pl refer to following discussion for a reference:
http://scn.sap.com/thread/1779974
Hope this helps.
Regards,
Naveen
06-27-2014 2:16 PM
You better use FM 'SXPG_COMMAND_EXECUTE' instead of SXPG_CALL_SYSTEM.
I remember Sandra Rossi highlighting a few of them but don't think any of the differences stated that the latter would damage the OS while the former wouldn't. If you run a malicious system command both the FMs will give you the same end result.
@OP:
I came to know that if we use it there will be a lot of damage at OS Level.
Where do you get such information from? I have used external OS commands(non-malicious ones, of course) and none of them have given me any problem.
- Suhas