WF: determine appropriate agents based on sap org object

HI All,
how will i code this in my workflow:
i have a BSP wherein i could enter data to some fields.
these fields are the primary key(sap org object types in PO13) to my sap org struct.
now i need to determine the appropriate agents from an organizational structure using the data i entered in the BSP as primary keys.
how shall i do that?
please notify me if my question is not clear.
Your response is highly appreciated.

solved by myself. use FM RH_SAP_ORG_OBJEC_ACTORS_LIST to get the agents.

Similar Messages

  • Determination of country based on Sales Org

    Hi Friends,
    I have sales Organization , I need to determine the country (Land1 field )
    , which table I need to check to that,
    Is there any direct relationship to get this or please provide the path forward to get this.
    Cheers
    Prashant

    parameters : p_vkorg like tvko-vkorg.
    data : v_vkorg like vbak-vkorg.
    data:  v_bukrs like ekpo-bukrs.
    data:  v_land1 like kna1-land1.
           select single vkorg bukrs into (v_vkorg , v_bukrs)
                   from tvko where
                        vkorg = p_vkorg.
                        if sy-subrc eq 0.
                        write:/ v_vkorg, v_bukrs.
                        else.
                        write:/ 'Invalid sales org'.
                        endif.
           select single land1 into v_land1 from t001 where bukrs = v_bukrs.
           write:/ 'Country', v_land1.
    check this ..
    regards,
    vijay.

  • Dynamiclly assign responsible agent based on SAP role

    Hello Experts,
    I have users set up in SAP and specific roles assigned to these users. for less maintenance purpose, I would like to know:
    Is it a way, we can use roles to find SAP users, then assign these users as workflow responsible agents?
    I do not want to maintain orgnizaion structure. just want to call sap role to assign the users.
    Is it a SAP standard way to do it? I did not find too much information on my question, can you please give me some insights on how to do it?
    I appreciate your time!
    Estell

    Hi,
    in agent definition for workflow steps you are allowed to use roles.
    So just try it out.
    Kind regards, Rob Dielemans

  • Org determination in transaction based on custom Partner Function

    Hi All,
    I am trying to figure out how can I modify the partner determination procedure and org data profile to determine the sales area (org,dc,div,so,sg) in a transaction automatically without having to choose the sales org.
    Here is the set up:
    Sales Org ->Soff->Sales group are permitted for Org determination in ppoma_crm.
    Custom Partner Functions - Y1 and Y2 assigned to Sales Partner Function Category
    Access Sequence YXXX has the following set up:
          Source                        PF                 Function Category          Usage
    10  COM_PARTNER_A
    20 CRM_PARTNER_C  Sold to Party 
    30 CRM_PARTNER_C                         Activity Partner                 CRM
    40 CRM_PARTNER_C Sales Prospect
    50 CRM_PARTNER_C Activity Partner
    Partner Procedure YPP001 has the following setup:
    Function    Access Sequence
    14              User                         Recurring
    15              YXXX                       Recurring
    21              0001                        Recurring
    23              YXXX                       Recurring
    Y001                                           Recurring
    Y002                                          Recurring
    Y1            YXXX                       Recurring
    Y2            YXXX                        Recurring
    Org Data Profile YORGPROF01 is maintained for Scenario SALES with Org Model Deter Rule 10000177. Sorg and Dc mandatory set.
    The transaction type YOPP is configured as shown:
    Org Profile YORGPROF01
    Partn Func Org Activity Partner
    Partner Determination Proc YPP001
    Now here is the issue:
    We want that when we create transaction YOPP it should fill the Org data including Sales Office and Sales group from the partner associated with the PF Y1 which gets assigned automatically when the account is selected on the transaction.
    With the above setting, it populates all the sales offices and sales groups that have been marked for determination in ppoma_crm (which we don't want it to do). We need it marked for determination so the BP's master data associated with Y1 shows up the sales group and sales office.
    When the account is selected on the transaction and Y1 is determined via partner determination, we would want the sales Org also to get determined automatically from the Y1 partner's master data.
    Anything that can be changed in the above settings to make this happen?
    Thanks
    PC

    Hi
    Although i have no practical experience with this but an educated guess would be to use Partner function determination . If you have 'employee responsible ' PF , Then u can further use him for org determination.
    May be this helps...
    Regards
    Ruchi

  • How to determine the agent of workflow administrator

    In the workflow, when there is any exception raised, we need to send notification to workflow administrator. My question, how to determine the agent of workflow administrator.

    Hi jrockman li,
    No it is not like that, i mean that administrator for workflow will a single person so you can simply give his userid as the agent.
    As you told "YES SAP HAVE WORKFLOW ADMINISTRATOR ROLES"
    SAP_BC_BMT_WFM_ADMIN          Administrator for Business Workflow
    SAP_BC_BMT_WFM_GP_ADMIN   Role for Guided Procedure Business Workflow Administrators
    SAP_BC_BMT_WFM_UWL_ADMIN UWL: Administrator for Workflow Functionality
    You can use this roles for the agent determination purpose for the workflow administrators.
    Thanks and Regards
    Balaji K.

  • How to determine Organizational Data based on User Login

    Dear all,
    How to determine organizational data based on user login in Activity transaction, currently org determination is happening after entering customer number in the transaction.
    We have used 'Responsibility' determination rule for this configuration. Now the requirement is to determine org data based on user login.
    In Org model we have assigned user to org data through a business partner. But still org data is not getting determined in the transaction.
    Please help me to trace out the problem.. your suggestions will be highly appreciated.
    Best regards
    Raghu ram

    You just have to use other organization determination rule. In your case this would be rule 10000194 (ORGMAN_12). This determination rule delivers the responsible organizational unit of the user
    User is defined as a business partner in the container attribute 'PARTNER'. If not, the system user (sy-uname) is used.
    So you have to do the following:
    - use this determination rule
    - in BP link username with employee
    - assign in PPOMA_CRM employee or user to organizational unit
    This should solve your problem.

  • Departure country population in Customer Master based on Sales Org/dist chn

    Hi Experts,
    When I am creating sales view for a customer,  under the Billing Documents tab under Taxes I see the Departure country (country from which the goods are sent) is populated by SAP automatically and only Tax classification for customer
    field is open for input.
    For different sales org / distribution channel  combination some times there are two Departure country populated and some times it is three and some times it is five.
    Can you please help me to find out based on which configuration in SAP , the Departure country is populated for each sales org/ distribution channel combination.
    Thanks in advance.
    Soumya.

    Dear Wish,
    As per my knowladge it is not possible to make custm fields based on sales org.better u convence your client and go with customer account group.
    Can u please explain under wich scenario this requiemt is required.
    Regards,
    Caprin........

  • Work flow issue: Assign agent based on role

    Hi,
    We are facing an issue in SAP workflow.
    How to assign agent based on the role of an employee.
    Thanks for your input.
    Thanks
    Muthukumar

    Hi,
    Make sure that you have configured properly in transaction OMGS.
    If it is done, then we can not do much about it.
    I faced the similar issue and i had to convince the user that it is a porblem.
    PO release workflow has some problems.
    Hope it helps.
    Regards,
    Shashank

  • Connect peoplesoft org data to sap org

    hi gurus,
       Can any one help giving your suggestion for this issue
       I have to send the org data of the peoplesoft to sap org
    As you know that there will be concept of org unit in peoplesoft only positions and superiors will be available can any one suggest how do this what is the best way to connect these 2. plz help me out
    thanks in advance
    regards
    vikram

    Hello Vikram,
    I am working with a client who is interested in creating an HR mini master to support the use of CATS integration with Timelink for tracking indirect labor via activity types and internal orders. Peoplesoft is there system of record for HR data. They are interested in finding out what options are available to interface SAP to Peoplesoft to keep the HR mini master synchronized between systems. I owe my customer an estimate of what it will take to build this interface.
    Based on your research to resolve your issue, do you have any advice for me to resolve mine?
    Thanks,
    Gary

  • Can I use Lab view for agent based modelling?

    Dear All, 
    I have a project to do, It is optimisation of cost for maintenance management in special type of contract.
    I am looking to take an agent based modelling to do the project. I've just started using Labview and I'm not sure if I can do this type of modelling approach with Labview. Can someone please confirm that I can do it and also if its a familiar topic show me the first few steps.
    Thanks,
    Davood
    Solved!
    Go to Solution.

    SebSieros wrote:
    Hi Davood,
                       Could you please expand on what you mean by agent based modelling in detail and what exactly you are trying to accomplish?
                        I look forwoard to hearing from you.
    Kind regards
    Seb
    Hi Seb, 
    What I am trying to accomplish is an optimised cost by trading-off between 3 main different area(Labour, Spare part and logistic). each area has its individual sections and sub sections. the important part is that there are plenty interactions between sections and subsections of 3 main area. in simple word project is : changing the cost for training and see the impact of it on total optimised cost or selecting supplier A which is providing item x cheaper than provider B by considering that for supplier A there is another logistic plan and method or sometimes more training is required and finally  see what is going to happen to total optimised cost
    I draw a simple conceptual framework to present the project more clearly. please see attachment. I'll be happy to clear any point if you need.
    Attachments:
    Project.png ‏105 KB

  • Universe based on SAP HANA OLAP connection

    Can I create universe based on SAP HANA OLAP connection ?
    How can i access SAP HANA view which was created using OLAP connection in WEBI and Dashboard? It does not allow creating Universe on top of SAP HANA OLAP connection and give an error.
    SAP BusinessObjects query and reporting applications can directly connect to OLAP SAP HANA connections. No universe is required, only a published OLAP SAP HANA connection.
    Thanks

    OLAP connection are only meant for tools that make use of OLAP connectivity only like BEx ..and HANA analytic views and calculated views are also treated as OLAP cubes for them..
    So these connection is only available with analysis product like Analysis Office (which is meant to be used with Bex or OLAP cubes ) and Design studio which is again mainly built around OLAP paradigm..
    You can not create a universe or Webi on Olap connection on HANA as of now.. However it could be like exposed in a future release of BO which is not public yet...

  • Multiple Universes (based on SAP BI Query) & single WebI Report

    Hi,
    We build OLAP Universes on SAP BI Queries. One of the ways to consume multiple universes in a single WebI report is to "add query" from another universe into the same WebI page / another WebI tab for the report.
    Is there a possibility to pick and choose fields from different Universes (based on SAP BI Queries), into a single WebI report ... of course respecting their technical linkage.
    regards,
    Rajesh K Sarin

    Hi Ingo,
    We have created multiple subject Area Universes (based on SAP BI Queries). Is there a possibility to select a particular object from one of the Universe and another object from another Universe into the same grid eg. Notification Number from Work Management Universe (SAP BI Query based on Customer Service Data Flow / Multiprovider) and Invoice Number from Invoicing Universe (SAP BI Query based on Invoicing Data Flow / Multiprovider). Common aspects for both of these could be say a Customer Account Number.
    As per my understanding, we cannot do this if we have created Universes on SAP BI Queries.
    Nearest possible option is to display two tables on the same WebI report - one from Work Mgmt Universe and other from Invoicing Universe.
    Please guide.
    regards,
    Rajesh K Sarin

  • Custom Sort of Duplicated row walues in Webi based on SAP BW Universe

    It is a duplicate thread i have already posted in Integration kits - SAP section.
    This is regarding custom sorting of row value which are duplicated in Webi which is based on SAP BW Universe.
    I have created Webi Report based on Characteristic structure. Using Alerter I provide some space for child node to notify it as child node below a parent node.
    Please see a sample table below:
    AAAA
    onpeak
    midpeak
    offpeak
    BBBB
    onpeak
    midpeak
    offpeak.
    If I enable Avoid duplicate row aggregation, i will be able to see duplicate rows for "onpeak" etc. Since Webi does a default sorting, I have to make a custom sort to replicate the structure followed. And in custom sort i dont see duplicated rows, and i see only one "onpeak". Accordingly if I try to sort using custom sort, then the result will be
    AAAA
    onpeak
    onpeak
    midpeak
    midpeak
    offpeak
    offpeak
    BBBB.
    Please let me know if anyone has any solution for this.
    I have already created report with modifying the row names in backend by adding letter before its value for example "1offpeak" for the duplicated row and then removing the letter "1" in webi using substring. But i know this is the crude way of doing it.

    I have changed the naming convention in BI structure by introducing a white space before the name to avoid duplication and used it in report. Not a good solution anyway.

  • BO Production deployment of universes based on SAP BW query

    Hi there,
    We just set a scenario on a BO development machine, and would like to deploy all these created objects (webi/cr documents, universes based on SAP BW queries... ) to a BO Production machine.
    How can this procedure be performed?
    As far as I know, import wizard should be used, but what happens with universes that are referring to SAP BW queries? Obviously, universe in BO Production environment should point to the same BW query name, but from SAP BW Production system, not development.
    Is import wizard capable of doing this step? If not, what should be done in order to replicate your universes based on BW queries from BO Development to BO Production?
    Thanks and best regards,
    David.

    Hi David,
    which version of BOBJ are you using? The LifeCycle Manager (LCM) may be interesting for you. Runs only on Windows and only for BOBJ XI 3.1 though.
    Installation guide:
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi31_LCM_Install_en.pdf]
    User's guide
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi31_LCM_User_en.pdf]
    Regards,
    Stratos

  • SAP org chart on portal

    Hi,
    We have a test version of SAP ESS/MSS up and running. When I click on organizational unit it brings up the org chart. what is missing is that it does not bring up any vacant positions. Is is possible to display SAP org chart on portal? Is there any configuration that we can do to show positions also on the org chart?
    thanks
    Salim

    Hi,
    If your portal is configured to work with SAP ID Service (can be any other IdP which supports SAML2.0), and the portal site access level is set to 'Authenticated', only  registered users will gain access to the site. Others, will have to register in the respective landscape (trial/ productive).
    Regards,
    Ifat.

Maybe you are looking for