Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

KM Scheduler Task

dear all,

I created a scheduled task in the NWDS and deployed the par and configured the time table for it. The task is running every minute, so it's all working. Now i'm wondering, is it possible to set the user that executes the task somewhere? like in a service user or so.

I played around a bit in the portalapp.xml and it now looks like:

<?xml version="1.0" encoding="utf-8"?>
    <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal,"/>
    <property name="SecurityArea" value="Netweaver.portal"/>
    <property name="Vendor" value=""/>
    <service name="RFServiceWrapper">
        <property name="className" value=""/>
        <property name="startup" value="true"/>
        <property name="SafetyLevel" value="low_safety"/>

In the run(..) method, i call an ejb, and in the ejb i print the username that's executing it. Sometimes it says it's executed by Guest (most of the times), and sometimes it says it's executed by Administrator...

What user is used for running the scheduled task? can it be a fixed user, as in "serviceUserX" for example? How do i configure that?

Kind regards.


Message was edited by:

Joren Crauwels

Former Member
Not what you were looking for? View more on this topic or Ask a question