
AS ABAP (Method 1)
1. In your SAP GUI, go to System > Status. Under SAP System Data, click on lens icon to view the current system component information.

AS ABAP (Method 2)
1. Run transaction code SPAM. Click on Imported Support Packages and Display.

2. At here, you can see the imported support packages in the system.

AS JAVA
1. Launch the web browser and paste the following below URL. xx is the system number.
2. Go to Configuration and select Infrastructure.

3. Scroll down a bit and click on System Information.

4. Under the Components Info, you will see the list of software components installed in the system. The list is consist of vendor, name (software name) and version.
As an example here, the EP-BASIS version is 1000.7.50.10.0.20171030223000. Below is how you read the component version numbering,
- 7.50 is the SAP NetWeaver 7.50
- 10 is the SPS level
- 0 is the patch level

Reference
- 1757810 – How to get the complete list of software components on your NetWeaver Application Server Java
- 1771843 – How to identify and search the latest patch level for a Netweaver Java Component [VIDEO]
- 1752501 – Retrieving the Java version information offline
- 2181113 – Getting the Versions of Deployed Units on AS Java from a Command Prompt