cancel
Showing results for 
Search instead for 
Did you mean: 

How to Activate LOGS in SAP Sourcing/CLM

former_member182305
Active Participant
0 Kudos

Hello Experts,

I am triying to find out an error we are having with the Workflow Scripting. I wanted to check the Logs to see what is the error, the Question is, where the logs are or how do I Activate them to see this errors?

Thank you very much for your Answers.

Best Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Seabastian,

You can activate logs using the following script.

      CLASS_NAME = "Script Name";

        boolean isLogActivated = true;

        LogMessageIfc printLog = (LogMessageIfc)Logger.createLogMessage(session);

        printLog (msg)

        {

            if(isLogActivated)

            {

                printLog .setLogMessage(printLog );

                Logger.info(printLog );

            }

        }

        printLog .setMethod(CLASS_NAME);

        printLog ("START");

This is one of the way to get logs activated.

Answer for where to see logs , you can find it in this discussion http://scn.sap.com/thread/2039723.

Hope this answers your question.

Regards,

Kumud

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sebastin,

You can view the logs in the netweaver logs (NWA logs ) which should be provided by your basis team and the format for the link should be in the below format.

.https://Sourcing servername:portname /nwa/logs

The logs also get saved on the System Adminstration  tab under alert logs.

Hope this helps.

Regards,

Priya