01-27-2017 6:36 AM
Hello GURUs,
Currently in our company a data center migration project is going on - basis team is changing the OS from AIX to Linux. They want the ABAP team check if there is any program which uses any OS commands - in that case the program needs to be modified.
Now the problem is there are hundreds of custom programs in the system. It's very time-consuming to check each of them manually. Can you please let me know if there is any standard report/FM which we can use for this purpose? If not, then we have to write our own report. In that case, do you have any idea which strings to search for in the programs to identify if it uses OS commands ?
Thanks in advance!
Regards,
Sarif
01-27-2017 7:16 AM
Use the scan program RS_ABAP_SOURCE_SCAN. Select Z* and SAP+Z* and LZ* (etc.), and search for strings SXPG and CALL 'SYSTEM' ID 'COMMAND'. You'll also have to look at the modifications of standard programs + eventually some codes which are not stored in source code units.
01-27-2017 7:16 AM
Use the scan program RS_ABAP_SOURCE_SCAN. Select Z* and SAP+Z* and LZ* (etc.), and search for strings SXPG and CALL 'SYSTEM' ID 'COMMAND'. You'll also have to look at the modifications of standard programs + eventually some codes which are not stored in source code units.
01-30-2017 10:28 AM
01-27-2017 8:59 AM
There are some SAP and 3rd party add-ons that search for OS calls - as they're often considered to be security issues. You might find them useful. Also check some of the options available for SCI.