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: 

Change of ABAP programs due to OS change

0 Kudos

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

1 ACCEPTED SOLUTION

Sandra_Rossi
Active Contributor

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.

3 REPLIES 3

Sandra_Rossi
Active Contributor

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.

0 Kudos

thanks.....

matt
Active Contributor

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.