Include agent name/SAP user name of recipient in notification - SWNCONFIG

Hi,
May I know if it is possible to personalize the notification message (via SWNCONFIG) to include the name or user name of the recipient, for the notification sent ?
Example : The leave notification will have the content with the name of the recipient on it :
Dear Mr <u><b>ABC</b></u>,
You have outstanding workitem pending your approval ....
Thanks.
Regards
Kir Chern

I think you will have to write your own class for message construction. I am not sure exactly which of the classes is responsible for putting the prolog into the message. I thought CL_SWN_NOTIF_WORKFLOW when I wrote the text below, but it seems to be more on an individual item level (not for collective messages).
It could be the category handler CL_SWN_CATEGORY since this is where granularity is set. It could even be the message template handler (e.g. CL_SWN_MESSAGE_STD). It could even be the BSP that is referenced by the message template handler.
Some debugging should help you along the way... Sorry I can't be of more assistance.
The class CL_SWN_NOTIF_WORKFLOW implements interface IF_SWN_NOTIF which has the method GET_BODY (among others).
Write your own class, inheriting from CL_SWN_NOTIF_WORKFLOW - no wait, the bright people working for SAP decided to make the class FINAL.
Write your own class, implementing IF_SWN_NOTIF. Simplest workaround is probably to have a private attribute of type CL_SWN_NOTIF_WORKFLOW and just pass the calls on. The implementations of protected methods will of course have to be copied.
Hmmmm... it is probably a lot easier to create a <u>copy</u> of CL_SWN_NOTIF_WORKFLOW, there are a lot of protected attributes as well.
Anyway, in your implementation (which will now just be a change of the copy) of method GET_BODY you can use the protected member variable M_USER_REF to find the name that you wish to include in your greeting.

Similar Messages

  • How can I konw , Which computer name or IP Address make SAP User lock

    Dear all,
    I have one issues about SAP user lock,
    Now I don't know which computer name or IP Address make user lock.
    How can I check it or Can you tell me about the table that keep information about the ip address or computer name?
    I can see the computer name when I use t-code al08 or sm04.
    But I don't know the table that keep data from this t-code.
    Pls suggest me for this issue.
    Regards,
    Pannee

    In SM21
    If you double click on the message "User XXXXX locked due to incorrect logon"
    You'll see under details the name of the terminal
    Terminal............ XXXXXXXXXXX
    for IP address just ping the terminal.
    Regards
    Juan

  • Full Name SAP User ID

    Hello Experts,
    I have a list that contains first and last names of people.  I need to determine their SAP user IDs.  What is the easiest way using the system to determine this?
    Is there several methods?   IF so please list, I don't want unauthorized permissions to stop me from retrieving this data.
    THANK YOU!!

    Hi Lucas
    Go to transaction SE16 and type USER_ADDR . Give the list of first names and last names in the respecitive fields and execute.  The user field will give you the list of SAP user id's .
    Thanks
    Aparna

  • How to get business partner name from sap user

    Hello,
    We want to get in the code the business partner name from sap user.
    What function modules should we use to perform it?
    Thanks in advance,
    Sergey

    HI,
    You can use the FM:CRM_CENTRALPERSON_GET
    pass the input parameter IV_USERNAME as the user name
    You can get the result in the export parameter EV_NAME as user's first name last name
    regards,
    PP

  • How to include Customer Name in VA15N

    Hi All,
            The standard report VA15N does'nt include customer name.User wants the customer name aslo to be included in the report.Kindly suggest how to include the customer name in the standard report or any other alternative.
    Regards,
    Venugopal

    Hi Venugopal,
    You can use the sold to party field fiield for your requirement.
    Press f4, you will get a pop up to select customer depending on various selection criteria including customer name.
    If can enter the customer name, which will sort out the sold to party number whihc you can use.
    If this is not wat is required you have to copy the transaction and create a new Zreport.
    Hope this helps you.
    Thanks
    Arun

  • Including Second Name and Middle name in 0002 infotype

    Hi friends
    I have a requirement to include third name and fourth name of employees in personal data infotype. 
    Checked the table V_T522N and I have included the following fields in the table.
    First name:  VORNA
    Second Name:  NACH2
    Midde name:  MIDNM
    Last Name:  NACHN
    But the fields are not displaying in 0002 infotype.  Kindly advise on any specific configs or setting to be made to display these fields or do we need technical help to do this.  I checked the modulepool as well, but couldnu2019t find any fields with middle name or second name.
    Please help
    Santhosh.S

    Goto Personnel Management -> Personnel Administration -> Customizing User interfaces -> Change Screen Modifications
    Look for the following record
    MP000200     2000               10     2010     0
    double click on it.
    Hit the feature button
    Type P0002
    Press Change
    Check Your country groupig under the Infotype screen control and set the return value to be 10...
    The Middle Name should appear now..
    Best regards,
    Ahmed Salah

  • UCCX Historical Reports Not Accurately Filtered by Agent Name

    Hello, we're having an odd problem when running our historical reports.  When we filter a report by Agent Name only a couple of agents have any records.  However when we filter the same report by skill or CSQ name the records for all agents are present, leading me to think that the records are not being tagged properly somewhere in the database.  Has anyone seen this before or have any suggestions for resolving this? 
    For an example, if I run the Agent Call Summary report and filter by all of my agent names, I only get records for 3 people during the reporting period.  If I filter based on CSQ name I get records for all 25 agents.
    We are using UCCX version 8.02

    I'm also having agents show in the filter list that are no longer in the system, and in at least one case reports filtered by a skill report an agent who is not assigned to that skill anymore.  Are these symptoms a result of configuration in some way?  I'm starting to feel like the reporting is buggy in this release.

  • Agent Logs under agent names shows no information in CSD

    I have 1 supervisor and that supervisor needs to see the agent logs under each individual agent name but for some reason there is nothing being reported there. If an agent takes a call or makes a call, inbound or outbound will appear under the agent name with data but logs just will not show anything. Is there a setting somewhere i'm missing?          

    You may have already checked this and apologize if you did, but have you verified that the supervisor is configured to see the columns under the Logs?
    In Supervisor, go to View - Preferences.  In the window that appears, go to Team - Agent - Logs and click on "Configure" on the right side, in the "Columns" field.  Make sure that the columns have a check mark next to them.
    If that is ok, have you tried running Supervisor from a different machine to see if that works?

  • How to get agent name dynamically

    Hi All,
    Is there any ODI method to get the agent name using which the current jobs are executing.
    Thanks,

    Hi,
    Yes, <%=odiRef.getSession("AGENT_NAME")%> Substitution API will retrieve the PHYSICAL agent which is running the current job.
    Please explore oracledi_api_reference.pdf for more info.
    Thanks,
    Guru

  • Unable to enter Agent name and port details while doing ODI (11.1.1.6) installation on Solaris

    Unable to enter Agent name and port details while doing installation on Solaris, Installation wizard is moving slowly and at 'Specify Agent Details' page it is not allowing me to enter the details and now I am not able to continue installation.
    Please let me know if I am missing anything and there is any solution.

    just in case cross verify the certiication matrix for 11.1.1.6
    http://www.oracle.com/technetwork/middleware/data-integrator/odi-11gr1certmatrix-163773.xls
    Thanks,
    Saichand

  • Including the name of the person responsible in service notification (IW51)

    Hi!
    I want to include the name of the 'person responsible' who is responsible for processing a specific notification. How should it be done.

    Hi,
    IMG>Cross-Application Components>Overview of Notification Type.
    Select the notification type S3 - service request, double click on partner functions.
    chose valid partner function for person responsible field.
    In IW51, enter notification type S3 and press enter.In customer address screen, execution segment you can see the person responsible field
    Regards,
    Chandra

  • "Please check the agent -NAME parameter" error

    I get the following error when trying to execute a simple ODI package. Before the process even starts running, I get the following message in a popup. I have tested the physical connection to the ODI agent successfully in the topology manager. This agent is running on a Windows 2003 server.
    java.lang.Exception: Error during Session launching : Error during Session Preparation : You are trying to execute a session with an agent that is undefined in your repository. Please check the agent -NAME parameter.
         at com.sunopsis.dwg.dbobj.SnpSession.remoteExecute(SnpSession.java)
         at com.sunopsis.graphical.r.ot.k(ot.java)
         at com.sunopsis.graphical.frame.a.ir.dB(ir.java)
         at com.sunopsis.graphical.frame.a.eu.actionPerformed(eu.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    Silly me... The physical agent name in the topology manager wasn't the same as the name used by the Windows service - all set now

  • What is the table contains Function module include program name

    Hi,
    What is the table contains Function module include program name
    Regards,
    Raja

    Try this FUNCTION_INCLUDE_INFO to get the include number to which function module belongs to.From this u ll get only the particular include name.
    or
    if u need the all the includes used in the function group u have use INNER JOIN on TFDIR and D010INC table
    <b>Select binclude into itab from trdir as a inner join d010inc as b on apname = bmaster where apname = fmodname.</b>
    I hope this will help u.
    Thanks & Regards
    Santhosh
    Message was edited by:
            santhosh ds

  • Format weekly calendar to include day names

    Anyone know how to format the Ical weekly calendar to include the names of days?

    My apologies to all. I just figured it out. My problem was I was viewing the weekly calendar in a narrowly sized window.  When I broadened it, the day names appeared.

  • Decision should Not go to all SAP Users if no agent found in rule. How to ?

    I am determining user agents in rule , when agent is find decision is going to only the agent sap inbox which is fine.
    in some cases no agent is found , at that time decision is going to all SAP users in the system.
    I am using Generic Decision task with General task in agent assignment step.
    As per our requirement if no agent is found it should do nothing ( means no decision to all users ).
    Please help me how can i acheive this .
    Regards,
    VeeraBrahmam

    Hi VeeraBrahmam,
    Does you rule call a function or is it a rule with responsibilities?
    If it is a responsibility rule then you could create a catch all responsibility so if no user is found in the other responsibilities you could send the work item to a backup user or admin user who could take action.
    If you set the flag as Rick suggested it will set the work item to error so make sure you are aware of this and check work items in error on a regualr basis.
    You could copy the Generic User task TS00008267 and maybe set more restrictive users rather than have it set as general. However this means more maintainence.
    Regards,
    Eddie

Maybe you are looking for