‎2014 Oct 06 10:06 AM
Hi,
Is there a way to find out the Operating system on which currently SAP is implemented dynamic through Program.
ex. windows, Linux.
thanks & regards,
vijay
‎2014 Oct 06 10:17 AM
hi,
You can use System Fields sy-opsys to find the operating system on which sap is implemented .
Regards.
Jaydeep
‎2014 Oct 06 10:17 AM
hi,
You can use System Fields sy-opsys to find the operating system on which sap is implemented .
Regards.
Jaydeep
‎2014 Oct 06 10:21 AM
Hi patel jaydeep,
Thanks for your response , sy-opsys get the host name of the system. Is there any possibility for client system.
regards,
vijay
‎2014 Oct 06 10:30 AM
Please take a look at class CL_GUI_FRONTEND_SERVICES, method GET_PLATFORM.
http://help.sap.com/saphelp_nw73ehp1/helpdata/de/7e/ca034e332d4accb2d041fe81029aea/content.htm
‎2014 Oct 06 10:34 AM
Hi
Use the method as bellow..
----------------------------
----------------------------
And then use the method
The reason for using flush is ......see this link
http://help.sap.com/saphelp_nw04/helpdata/en/06/3fa1879f2811d2bd68080009b4534c/content.htm
Thanks,
vamsi.
‎2014 Oct 06 10:35 AM
Hi,
function module SXPG_OPSYSTEM_GET_INT tells the OPSYS where SAP application server is running.
Method GET_PLATFORM of CL_GUI_FRONTEND_SERVICES tells you the OS where the SAP GUI is running.
Best regards,
Klaus