‎2023 Sep 15 9:12 AM
In a SAP script form I want to add a bold text saying "TEST" if we are in a test system.
To check this, in our smartforms we use `CL_SOAP_UTIL_DB=>CHECK_PRODUCTIVE_SYSTEM( )` to check this, but I couldn't find how to call ABAP OO methods from SAP script.
The print program is SAP standard so I cannot do it in ABAP itself
‎2023 Sep 15 9:22 AM
in Sapscript you only have "PERFORM", so you'll have to write a wrapper "FORM" in a program of your choice, it does not have to be the print program.
‎2023 Sep 15 5:13 PM
kevinholtkamp2 Ref to SAP Library: https://help.sap.com/docs/search?q=Calling%20ABAP%20Subroutines%3A%20PERFORM
‎2023 Sep 15 9:22 AM
Hi Kevin,
You can call subroutine as described here. In the code you can simply call the method.