Ad-hoc agent selection

Our purchase req release workflow requires the creator to select the approver, ad-hoc agent selection seems to be the obvious option. I had a go using the 'Ad hoc: Include 'Select Editor' wizard, but it didn't work as hoped.
Could someone please take me through the major steps I should take using this function?
Many thanks,
Kathryn

I found the way.

Similar Messages

  • How to display list in Agent Selection Screen?

    Hi,
    I am using DISPATCH method in Agent Selection screen ( obj. type WF_TASK ).
    In description it says that this method could display a list of users but
    in reality it displays only one item.
    If anyone was able to display a list would you share how to do it?
    Thank you.

    I think you will need to give more information. What does your binding look like, what are the possible agents for the task you give in the binding? This last one if you get a list or search functionality.
    Regards,
    Martin

  • Wrong speech agent selected

    Hi all,
    I feel sort of stupid posting this, but here goes. In
    converting text to speech, I accidentally selected the "don't show
    this again" box in the speech agent selection dialog box. Only
    problem is, it was pointed to Kate, and I prefer Paul.
    Now the only way I see to change it is to go to Audio >
    Speech Management and change it slide by slide.
    Is there a way to change my 'default' speech agent to Paul,
    since it now doesn't show me the selection dialog box when I
    convert text to speech?
    Thanks!

    Hi Melissa
    Perhaps try looking in this location:
    Click Edit > Preferences... > Global node > General
    Settings node and click the Confirmation messages... button.
    See if the check box in the lower left corner labeled "Speech
    selection" has been cleared. If so, click it and dismiss the
    dialogs.
    Hopefully that will bring back the choice.
    Cheers... Rick

  • ESS Leave request - Agent selection @  &Agent_0001.Agents&

    Hi,
    when i apply a leave request from ESS it triggers workflow WS12300111. In the agent selection of the task TS12300097 use the expression &Agent_0001.Agents& to send the work item to UWL. I just want to know where  this container is populated from.
    The container BOR of AAGENT has &Agent_0001.Agents& to send the workitem.
    Please clarify.
    Thanks!
    Richard A

    Ok. I will try to clarify it. Try the following,
    Goto PFTC -> Choose "Workflow Template" from the drop down -> Enter the workflow template id "12300111" in the text box -> now click on "change" button -> Now goto the menu addional data -> agent assignment -> maintain -> select the task text -> and set it as general task.
    I guess you have done the same for the standard task TS12300097 but failed to do it for the workflow template (WS12300111). Or have you done it already?
    I hope this shud be the problem as you have problem in initiating the workflow and not while approving the workflow.
    Also once you make this change "Refresh your buffers" once before checking it out.
    Thanks,
    Prasath N

  • Document Owner as Ad hoc Agent

    Hi there,
    I have a problem with the process controlled workflow within SRM 7.
    The Situation is:
    When a purchaser creates a shopping cart it triggers the automatic approvel workflow. Means the shopping cart autimaticaly is approved by the system after ordering.
    In some cases the puchaser will add an Ad hoc Agent to approve his shopping cart. When this happens the purchaser have to add himself as last approver because the last approver has to be a purchaser.
    The Problem is, the purchaser can't add himself as Ad hoc Agent because the system does not allow when he is the document owner/creator.
    Is there any solution in customizing or badi where I can make it happen that the purchaser can add himself as ad hoc agent when he is the document owner?
    In SRM 4 I now it is possible to add myself as ad hoc agent when I am the document owner.

    >
    Arghadip Kar wrote:
    > Are you using a Standard Workflow?
    >
    > If yes and if you cannot add yourself as one of the approver then you have to customize it. Probably once the AD-hoc agent is added and after the approval you can put some code in the BADI to add the Purchaser as one of the approver. Again you might have to remove the Purchaser User Id from the Excluded list in the workflow if it is maintained.
    >
    > I will request you to check the SRM Workflow Forum for more help on this.
    >
    > Thanks
    > Arghadip
    Thanks for answer, Arghadip.
    I'm using my own BRF expressions and so on.
    Where can I remove the purchaser from the excluded list?
    Where can I customiz to add myself (document owner) as ad hoc approver?
    Or which badi do you mean?
    Edited by: Rico Stoll on Aug 5, 2010 9:46 AM

  • Ad-hoc agent not found ??? :-(

    Hi everybody,
    I was trying to activate the workflow por PO Approval (1 step):
    - Event Linking: WS14000089
    - Agent Assignment: TS14007970
    I assigned the agents without any problem, but.. when I want to test my config, I receive this error:
    "Ad-hoc agent not found "
    I have no clue about this =(    I dont know if this behavior is due to a configuration or the abap guy modified the standard WF   =(
    Any idea ?
    Thank you !
    Diego

    Diego,
    As Pierre explained, the PO standard WF in SRM assigns agent dynamically in the WF.
    You have to define the task as a general task to "allow" the WF to assign the right agent (purchaser's manager in your case).
    In fact if you want yto define the approver yourself, use the n-level WF based on BADI for PO.
    Regards.
    Vadim

  • No Agents selected

    Hello All,
    I have a Decision task in my workflow, for that decision task agent, i have s container field  "Agent"  and i am mentioning it through expression.
    Now  i am  triggering  the workflow through 'SAP_WAPI_START_WORKFLOW' and setting the agent value through 'INPUT_CONRAINER'.
    But when i check for the agents for this decision task, it is saying 'No Agents selected'.
    Please help.
    Thanks,
    Krish.

    Hello,
    Probably the field that you added in the Workflow container is empty and does not contain any value. Make sure that the binding is generated properly from the Workflow container to the decision task. Also, ensure that the Import / Export checkbox is checked in the properties of the Agent container element.
    Hope this would fix your issue.
    Regards,
    Venkata Phani Prasad K

  • Can anybody tell me whats Ad Hoc agent assignment ?

    hi experters
    Im learning WF now, and really get confused at Ad Hoc agent assignment , can anybody specify what is Ad Hoc agent assignment exactly? and whats the plus of Ad Hoc agent assignment ? when should i use it?
    many thanks
    wanlei

    Hello,
    It's for specifying an agent during the running of the workflow, because it's not known before the run who the agent should be.
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5023ddbd-de8d-2a10-d7a2-c9910d1ed6ad
    PS Searching this forum, or google, would get you the answer much quicker.
    regards
    Rick Bakker
    Hanabi Technology

  • Agent selection question

    Hi,
    when I use wizard to create an Agent selection dialog it asking for Task ID. This task should be with the program that has GUI.
    What if I need to create agent selection screen to select an agent for the step without the task
    ( Yes, No selection step for example ).
    I tried to use Dispatch function from WF_TASK in custom TS but it doesn't popup.
    May be there is FM that can display my custom list and return selected item?
    Any advise will be appreciated.
    Thatk you.

    Hi Mike,
    I have Yes/No selection task. I need to assign an agent to whom this Yes/No selection task will go.
    When I use Wizard to insert Agent Selection screen it creates activity step which screwing up
    my work flow. I need to jump to Yes/No selection task not to activity step created by wizard.
    If i delete that activity step Agent Selection screen stops working.
    Is there a workaround for this problem?
    Thank you.

  • Agent Selection/Routing Question

    Hello:
    I wanted to run a question by the group to get some feedback on a question I have surrounding Agent routing within UCCX (8.5 su4).
    Here is the setup of the environment:
    CSQ1: General
    Routing Criteria: LAA
    CSQ2: Spanish
    Routing Criteria: Most Skilled
    Agent1
    has Skills of General and Spanish. 
    Their competency is the same within both skills.
    Question: Calls are in queue for both CSQ's, although the call in the spanish CSQ has been in queue longer.  And agent 1 goes ready.  Whats currently happening is that agent 1 is getting another call from the General Queue as opposed to getting it from the spanish queue.
    How do I ensure that agent 1 gets the call from the spanish CSQ over the general CSQ?  Each CSQ needs to keep the Routing Criteria the same.
    My thought is that it has to be one of these two items, if not a combination of both.
    Decrease the Competency of all General agents to a (5) and Making the Spanish competency higher then 5.
    in the script, for Spanish Calls use the Set Priority Node to increase Spanish queued calls to be at like a 5, to ensure all spanish calls have a higher priority then general Calls.
    Any feedback would be appreciated! 

    Hi Sean
    All calls on the system if you are not using priority steps already should be answered FIFO... provided that there are agents available in the queue that the first call came in (i.e. they meet the minimum competency). Competency, skills/LAA and all those algorythms only affect who gets the call, not which one is served first. The exception to that is if the competency excludes some agents from the CSQ completely.
    So a call that arrives in 'Spanish' first should be routed to agents first, as long as there are agents available. Does the same apply if the agent is 'ready' but on a call for example? E.g. call voicemail as the agent, then put a call in to spanish, then one in general, and see which one comes through first.
    Priority will work, but will mean that Spanish calls alway queue jump. Priority is absolute, so a p2 call will jump in front of all other lower-priority calls regardless of how long they have been there.
    If you just want first-come-first-served, then that's what you should have by default.
    Aaron

  • Agent Selection Criteria

                Is it possible to assign an agent with both the resource group and resource skills at the same time ?
    and does this affect their working in any way ?

    ok... thanks
    Bit i think if we assign an agent with both the resource group and skill, it will do the routing with resource group only.

  • Adjust Search Help for Ad Hoc Agent

    I am wanting to implement the Badi  /SAPSRM/BD_WF_ADHOC_AGENT_F4, and was wondering if anyone could tell me what would be the best class to copy.
    Many Thanks
    Claire

    I am wanting to implement the Badi  /SAPSRM/BD_WF_ADHOC_AGENT_F4, and was wondering if anyone could tell me what would be the best class to copy.
    Many Thanks
    Claire

  • How to get the SQL Signon that Agent Jobs "Run As" or "Executed as User"

    How to get the SQL Signon that Agent Jobs "Run As" or "Executed as User"?
    I have an install SQL scripts that creates a Linked Server. I want to put some security on the Linked Server and only grant the Agent Job Signon (the "Run As" or "Executed as User") access to the linked server. I need to retrieve the
    Agent Job Signon (something like "NT SERVICE\SQLAgent$FIDEV360BI02").
    I could query certain jobs and SUBSTRING the Message column - using some form of the query below, which would return "Executed as user: NT SERVICE\SQLAgent$SSDEVBI02. The step succeeded." But that is pretty imprecise.
    use msdb
    SELECT [JobName] = JOB.name,
    [Step] = HIST.step_id,
    [StepName] = HIST.step_name,
    [Message] = HIST.message,
    [Status] = CASE WHEN HIST.run_status = 0 THEN 'Failed'
    WHEN HIST.run_status = 1 THEN 'Succeeded'
    WHEN HIST.run_status = 2 THEN 'Retry'
    WHEN HIST.run_status = 3 THEN 'Canceled'
    END,
    [RunDate] = HIST.run_date,
    [RunTime] = HIST.run_time,
    [Duration] = HIST.run_duration,
    [Retries] = HIST.retries_attempted
    FROM sysjobs JOB
    INNER JOIN sysjobhistory HIST ON HIST.job_id = JOB.job_id
    -- CHANGE THIS
    -- WHERE JOB.name like '%GroupMaster%' or Job.name like '%etlv%'
    ORDER BY HIST.run_date, HIST.run_time

    by default all sql jobs are executed as sql server agent account, unless otherwise a proxy is setup.
    you can get the proxy information as Olaf mentioned, if the proxy_id is null for the step, it implies that the job step was executed as sql server service account and in such case it will be null
    so, if it is null, it ran as sql server agent account.
    so, one work around is get the sql server agent service account and if the proxy is null, that means it ran as sql server agent account, so, use isnull function. the disadvantage would be if the sql server agent account was switched, you might not get the
    accurate information as the new account will show up though the job really ran as old account, to get this information, you need to  get this from the logmessage column as you mentioned above.
     try this code...
    /*from sql 2008r2 sp1, you get the service accounts using tsql,otherwise you have to query the registry keys*/
    declare @sqlserveragentaccount varchar(2000)
    select @sqlserveragentaccount= service_account
    from sys.dm_server_services
    where servicename like '%sql%server%agent%'
    select message,isnull(name,@sqlserveragentaccount) as AccountName
    from sysjobhistory a inner join sysjobsteps b
    on a.step_id=b.step_id and a.job_id=b.job_id
    left outer join sysproxies c on c.proxy_id=b.proxy_id
    Hope it Helps!!

  • Select Query for Report

    Hi All
    I have a table called Agent. Each Agent processes requests.
    So accordingly Request is another table.
    Now the Agent can process the request successfully, fail or it could be
    in progress.
    So accordingly I have a status column in the Request table which can have the following values
    New - when the request is allocated to the agent
    Open- When the agent opens the request
    Action- when the agent acted upon the request
    Sold - when the agent was successful in processing the request
    Fail - when the agent could not process the request
    In the Request table there is column called requestDate which is the
    date when the Request was first inserted (i.e when its New)
    Now whenever the agent acts upon the request from the front end
    the status change is logged in a RequestLog table.
    So when the agent changes the status to Open, an entry is logged into
    RequestLog table.
    So when the agent open the request an entry in the RequestLog table
    would go with the status as open , the reference of the requestId &
    the date on which the status is changed
    Similar entries will be logged for each request when the agent acts on
    the respective requests like if its Sold then the status will be sold,
    the date of sale & the corresponding request Id will be logged into the
    RequestLog table.
    In the Request table the status will be changed to "Open" or "Sold" but the
    requestDate will not change & it will remain the date when it was inserted
    Now I want to generate a Report which shows the list of all agents within a state
    with all total number of requests they have handled, how many are in Opened status,
    how many are in Sold status & how many are in Fail status. I also have to show the
    average time(in days) it took for each agent to Open the request, make the sale or qualify it
    as Fail. This average time I want it for an agent & not request specific.
    & In the end I have to show the grand total of all the requests handled by all the agents,
    grand total of opened status requests,grand total of Sold status requests,grand total of Fail status requests as well as the total average time it took to Open ,total average time it took to sale & total average time it takes to Fail
    I have dabbled with simple SQL but not a complex report type like above. So I would need help from all you experts.
    Here is what I plan to do
    my from clause would include the Agent, Request, RequestLog table
    where Request.requestdate between <fromDate> and <toDate>
    group by agent.agentname,
    Select would have count(agent.requestid),
    Now how do i show the list of Open requests, sold requests & fail requests in different columns since all these values are in the same column.
    Also I am aware of the average fnction but I need help on how to use the same in such a scenario.
    Do post your thoughts on the same.
    Regards

    Hi All
    I have made some queries to fetch the Report data. I would want you to post your comments on the same.
    This is my first query which returns the total count of request per dealer, how much are in open, sent & dead state & total per status.
    select AGENT.COMPANY_NAME,count(REQUEST.REQUEST_ID) TOTAL ,
    sum(decode(REQUEST.status,'Open',1,0)) OPEN,
    sum(decode(REQUEST.status,'Sent',1,0)) SENT,
    sum(decode(REQUEST.status,'Dead',1,0)) DEAD
    from AGENT, REQUEST
    where
    AGENT.STATE='ACT'
    and REQUEST.REQUEST_TYPE='B'
    and REQUEST.CONFIRMATION='Y'
    and AGENT.DEALER_ID = REQUEST.DEALER_NUMBER
    group by grouping sets(AGENT.COMPANY_NAME, ())
    Then I have to retrieve the average number of days it takes to change the request to Open, average number of days it takes to change the request to Sent & average number of days it takes to change the request to Dead
    per Agent. The base date is stored in REQUEST table (request_date column) & the subsequent change of status is stored in activity_date column
    of ACTIVITY table
    Here is what I do get the average number of days it takes to change the status for the Agent
    select AGENT.COMPANY_NAME,
    avg( decode (REQUEST.status,'Open',ACTIVITY.ACTIVITY_DATE - REQUEST.REQUEST_DATE,0)) AVG_OPEN,
    avg( decode (REQUEST.status,'Sent',ACTIVITY.ACTIVITY_DATE - REQUEST.REQUEST_DATE,0)) AVG_SENT,
    avg( decode (REQUEST.status,'Dead',ACTIVITY.ACTIVITY_DATE - REQUEST.REQUEST_DATE,0)) AVG_DEAD
    from REQUEST, ACTIVITY, AGENT
    where
    AGENT.STATE='ACT'
    and REQUEST.REQUEST_TYPE='B'
    and REQUEST.CONFIRMATION='Y '
    and REQUEST.dealer_number = AGENT.DEALER_ID
    and REQUEST.STATUS = ACTIVITY.STATUS
    group by grouping sets(AGENT.COMPANY_NAME, ())
    I hope this is the right way for calculating average number of days
    Since most part of the queries is the same
    I tried to merge both the queries into one because I need to render the report in that fashion. But the moment I merge the query its giving absurd results.
    Do post your thoughts on the same
    Regards

  • Transaction Code to AD Hoc Query

    I have created an Ad Hoc Query and Given it a name and saved it.
    Next Time when I wanted to execute that query I go to S_PH0_48000510 - Ad Hoc Query , select that query and press on Output to get the result. In between I have selected the setting "Start via selection screen" in Extras>Settings.
    Hence I get into the selection screen and while I execute, I go to the output result.
    What I am looking for is how to assign a transaction code to this query that I have created, so that I execute that transaction code I am directly into the selection screen. By means of this I can skip some of the steps like going to S_PH0_48000510 - Ad Hoc Query and then selecting the query and then the other steps.

    Both the ad-hoc and the SQ01 queries create a program that can be assigned to a transaction.  However, the program name that is generated contains a 2 digit code that is specific to the client you are working on.  This makes it hard to run the same transaction in DEV, QAS, and PRD.  Instead, create a parameter transaction that runs the START_REPORT transaction with parameters set that run the D_SREPOVARI-REPORTTYPE=AQ, D_SREPOVARI-EXTDREPORT=<sap query name in SQ01>, D_SREPOVARI-REPORT=<user groups belonging to the query>

Maybe you are looking for

  • Headphones not working after a complete new installation

    Hello, After wiping the harddisk of my laptop and  a new installation of Windows 7 every thing works fine, except the headphones. I tried installing new driver, but the ones from windows update are not working and on the official hp driver site there

  • Asha 201 - Memory

    Hi, this is my first post n i reeally need sum help..iv previously had nokia 201 on vodaphone network i wanted more memory on the phone so got a mini sd 2 store everything on..then the mob crashed doesnt get passed the intro wen i turn it on just goe

  • Changing deployment ID when changing to master license file

    We are using HFM 9.2.0 and am having license server problems due to duplicate users in the database. Can anybody tell me what I would need to do to repleace our existing license file with the master license file? I know the Deployment ID will need to

  • 1 SAP Console for 2 clients (on the same system)

    Hi, We are merging two business units on 1 SAP system. In the beginning they will both have their own client on the same system. Within both BU's SAP Console is being used. Can we use one SAP Console for both clients? Or are separate SAP Consoles nee

  • More items for next release

    I read that another user would like to be able to alphabetize their bookshelves and I could not agree more.  But I have one other request. When you load a book you don't have the option of changing the title or the author.  No complaints about that -