1.Using SXPT Function Group to execute OS Command from ABAP Programįirst you need to define command in SM69, the function module will check user authorization before execute the command, there are three function modules available to execute OS Command. but if you are consent you can choose the method that SAP is recommended. In ABAP you can use two method, the difference from both ways is just on the security system. Often you need to execute command of operating system from ABAP Program, the purpose may be for encrypt or decrypt file and compres or decompress file, and also you need supply user input to OS Commnands.