Application Development 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: 

SXPG_CALL_SYSTEM- Damage at OS Level any other alternate

Former Member
0 Kudos

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

2 REPLIES 2

naveenvishal
Contributor
0 Kudos

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

0 Kudos

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