Rule Modeler - Automatic assignment Partner Function based on PC of IBASE

Hi Experts,
I have the following requirement. The IC Agent when receiving a call has to create a Service Ticket (Service Order). By creating the Service Ticket the responsible Service Partner has to be assigned to solve the service incident based on the Postal code of the IBase (Installed Base).
The following steps I have done:
1. I have created the Service-ID Z_RE_RULE_EXEC (Rule Invocation) with the following properties:
    CONTEXT               Context
    DEF_ROUTING    Default Routing
    LOG_LEVEL        Logging Level
    POLICY                Root Policy
2. Under Repository I have defined a new context: Z_TICKET_ASSIGMT with the following properties:
Context Properties: No Customizing
Authorization Groups: No Customizing
Attributes: 
Name: ZPOST_CODE1_IB
Show Attribute: Flag marked
X Path Expression: /parts/currentIbase/ComponentAddress/POST_CODE1/text()
Fact Gathering Service: FG_IC_REF_OBJ
Attrib. Ext. Class: CL_CRM_ERMS_ATXT_TEXT_NCAT
Actions:
Action-ID: Z_PARTNER_ID
Show Action: Flag marked
Action Service ID: DD_AH_PARTNER_ID
Action Parameters:
Parameter-ID: PARTNER_ID
Display Mode: O
Inp Spt Class: CL_CRM_DD_F4_BP
Afterwards I created the Rule Policy: Z_PRUEBA2 with the condition that if the Postal Code of the IBase is 08030 or 08035
the Partner Function ID 56 has to be assigned to the Service Ticket. I have released the Rule Policy afterwards.
Into the standard Service Manager Profile SAP_ORDERROUTING I have added the created
Service-ID Z_RE_RULE_EXEC with the following properties:
CONTEXT:     Z_TICKET_ASSIGMT
LOG_LEVEL:     0
POLICY:     Z_PRUEBAS2
Now I want to test the rule policy by entering with the ROle SAP_CRM_UIU_IC_MANAGER (IC Manager) but I can not see any possibility to do that. So my questions is how I can test the rule policy Z_PRUEBAS2? Do I have to assign the Service Manager Profile to the IC Center Agent Role?
Best Regards
Oliver

Solution: Problem solved. Error was the name of the attribute. It has to be POST_CODE1_IB
and not ZPOST_CODE1_IB.

Similar Messages

  • Rule Modeler, Order Routing -  Partner function to update ?

    Hi,
    I have configured order routing in rule modeler based on categories to determine the org unit to which the order should get routed too.
    On execution, the partner function 'SLFN0003 - Support Team' gets changed to the BP for the org unit.
    My question is - I cannot find any link between Order routing and Partner function SLFN0003 - How does the system know that it needs to update this partner fucntion only ?
    If I create my own Z Parnter function, how can I get the order routing to change this partner function type ?
    Any help will be appriciated.
    Thanks,
    Raj

    Solution: Problem solved. Error was the name of the attribute. It has to be POST_CODE1_IB
    and not ZPOST_CODE1_IB.

  • Error Message: Assign partner functions to 0010

    Hello All,
    When i confirm the BP in IC WebClient I get the following error message
    Customizing settings missing. assign partner functions to 0010
    Please suggest me how to solve this error message.
    Cheers Raj.

    Hi Raj
    Did u managed to fix this?
    Jogi

  • Determining Partner Function based on Status of Transaction

    Hello
    I have a requirement in which parties involved needs to be determined based on the status of the Transaction.
    Please let me know how we can fulfill this requirement. Is there any BADI for the same and if yes what code do we need to maintain.
    Thanks

    Hello Jatin,
    You can always do order related modifications on Action profile. Based on the condition whether the header status is changed or Item status You can configure an action profile & assign a start and schedule condition for same.
    The logic in the badi can be to update the partner function as per your needs.
    Regards,
    Ravi

  • Automatically Assign to user based on email

    Hi Guys
    One of our IT managers would like to be able to have service requests automatically assigned to members of his team based on emails he sends.
    At the moment we have an exchange connector set up that logs Service Requests for his team, and assigns it to the their support group. I'm trying to figure out the best way to further refine it to then assign it to a support person based on some criteria
    within the email itself. The way i figure it, I'll need to to do it via Orchestrator. 
    I'm thinking something like:
    Email generated Service Request triggers a runbook, that either pulls the email attachment out of the SR and then does (something) to resolve the AD User from the CC field and assigns it to that person. Then he can just CC the team member and it will assign
    it. The hard bit is figuring out how to resolve an AD user from a field in a *.eml file. 
    or
    He types the AD name of the user on say line 1 of the email, then orchestrator reads that line and looks up the AD user based on that. Seems easy enough but then he will need to make sure he uses either the absolutely correct spelling of their name, or type
    their SAMAccountName out. 
    By email CC field is the more user friendly option but I have no idea if that's even possible.
    Does anyone have any thoughts about how to go about this?
    Cheers

    OK so he has changed his request now after I spoke to him.
    He now wants any emailed service request to be automatically assigned to the sender.
    So basically I need to create a runbook to set the Assigned To user to be the same as the Affected User.
    Sounded easy enough, but the "assigned to" field is not present in the orchestrator update object action. I think this is now a question for the Orchestrator forum so i'll mark this off and start a new thread there.
    Thanks.

  • Problen in assigning partner function at the time of creation of lead .

    Hi ALL ,
              I have requirement , where as soon as bp will be created a lead has to be generated mentioning the BP as sales prospect (partner function) . I have to assign  employee reponsible partner  function too in lead , at the same time .
    I have used BAPI :BAPI  BAPI_LEAD_CREATEMULTI  to create the lead .
    But its not accepting the partner function as well as organisation details , giving error like Ref field for  Partner ,Orgman are not allowed.
    Can any one tell me where and how can I assign the Partner function in case of my reuirement .
    Thanks & Regards
    Debasri sarkar

    Hi Debasri,
    I am able to develop a code to add a partner
    Check this:
    *- Data
      DATA: lt_partner            TYPE crmt_partner_comt.
      DATA: ls_partner            TYPE crmt_partner_com.
      DATA: lt_input_fields       TYPE CRMT_INPUT_FIELD_TAB.
      DATA: ls_input_fields       LIKE LINE OF lt_input_fields.
      DATA: ls_input_fields_names TYPE LINE OF CRMT_INPUT_FIELD_NAMES_TAB.
      DATA: LV_Guid type CRMT_OBJECT_GUID.
      DATA: LV_AddPartner type NOTES-UDATE.
      DATA : lt_orderadm_h TYPE CRMT_ORDERADM_H_COMT,
             ls_orderadm_h like line of lt_orderadm_h,
             gt_obj_guids TYPE  crmt_object_guid_tab.
       LV_Guid = '96CB40512AA2BD4C95EEE26BFD8E6187'.
       LV_AddPartner = '00000012'.
    *- Partner info
      ls_partner-ref_kind = 'A'.
      ls_partner-kind_of_entry = 'C'.
      ls_partner-no_type = 'BP'.
      ls_partner-display_type = 'BP'.
      ls_partner-ref_guid = LV_Guid.
      ls_partner-ref_partner_fct = LV_AddPartner.
      ls_partner-partner_fct = LV_AddPartner.
      ls_partner-PARTNER_NO = '0000409993'.
      INSERT ls_partner INTO TABLE lt_partner.
    *- Input Fields info
    *  ls_input_fields-ref_handle = '1'.
      ls_input_fields-ref_guid = LV_Guid.
      ls_input_fields-ref_kind = 'A'.
      ls_input_fields-objectname = 'PARTNER'.
      CONCATENATE ls_partner-ref_partner_handle LV_AddPartner
                  INTO ls_input_fields-logical_key.
      ls_input_fields_names-fieldname = 'PARTNER_FCT'.
      INSERT ls_input_fields_names INTO TABLE ls_input_fields-field_names.
      ls_input_fields_names-fieldname = 'NO_TYPE'.
      INSERT ls_input_fields_names INTO TABLE ls_input_fields-field_names.
      ls_input_fields_names-fieldname = 'DISPLAY_TYPE'.
      INSERT ls_input_fields_names INTO TABLE ls_input_fields-field_names.
      ls_input_fields_names-fieldname = 'PARTNER_NO'.
      INSERT ls_input_fields_names INTO TABLE ls_input_fields-field_names.
      ls_input_fields_names-fieldname = 'KIND_OF_ENTRY'.
      INSERT ls_input_fields_names INTO TABLE ls_input_fields-field_names.
      INSERT ls_input_fields INTO TABLE lt_input_fields.
    *- Make the changes in memory
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          IT_PARTNER        = lt_partner
        CHANGING
          ct_orderadm_h     = lt_orderadm_h
          CT_INPUT_FIELDS   = lt_input_fields
        EXCEPTIONS
          ERROR_OCCURRED    = 1
          DOCUMENT_LOCKED   = 2
          NO_CHANGE_ALLOWED = 3
          NO_AUTHORITY      = 4
          OTHERS            = 5.
      IF SY-SUBRC <> 0.
          Write 'Error!'.
      ENDIF.
    * Get guids
      LOOP AT lt_orderadm_h INTO ls_orderadm_h.
        INSERT ls_orderadm_h-GUID INTO TABLE gt_obj_guids.
      ENDLOOP.
      CALL FUNCTION 'CRM_ORDER_SAVE'
        EXPORTING
          it_objects_to_save = gt_obj_guids
        EXCEPTIONS
          document_not_saved = 1.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Hope this solves the issue.
    Regards,
    Saumya

  • Assigning Partner Function to Ship to party.

    Hiya
    How could we assign a partner function[sales employee] to a ship to party and call it in an order...
    Thanks

    Hi Rajendra,
                 You fallow these steps this may help you to full fill your requirement.
    1.Define the partner function in the IMG-->Sales and Distribution >Basic functions>Partner Dterminatin.
    3.You pur that partner function in your ship to party procedure then chek the mark as mandatory.
    3.you assign that partner function to your ship to party account group
    4.You assign that ship to party procedure to your ship to party account group.
    5. Now you create master data with that account group here you enter the sales employee in the Partner functions tab in the sales area data.
    (Bur you need to main tain the master data for that sales employee).
    6.if you create sales order with that ship to party sales employ also will come in the sales order.
    I hope this will help you
    Regards,
    Murali.

  • Regarding finding out Partner function based on Sales Order/Output Type

    Hi All,
    <b>I have a issue in finding out Partner function[PARVW],  Message partner[PARNR], Message transmission medium[NACHA], Teletex number[TELTX], User name[USNAM], Message processed manually[MANUE], Country Key[TLAND] and some other fields all are related to NAST table.</b>
    Actually we have one script which is already working when we run from from <b>VA02/03</b> for single order.
    When we execute from <b>VA02/03</b> all <b>NAST</b> table entries are filled up and by using those entries we are fetching remaining entries and displaying them in Output.
    Now we are developing another program where we will have a selection screen with <b>Sales order, Output Type & Order Type</b> and execute the program and then we will get list of sales orders in <b>ALV list output</b> with check boxes before every record.
    Now if we select one (or) multiple records from there and click on Print Prevview button i am calling above <b>SAP Script Print Program</b> but now in that P.Program we will not have any <b>NAST</b> table entries other than Sales Order and Output Type those can be moved to [<b>NAST-OBJKY, NAST-KSCHL</b>].
    But here what about other fields in <b>NAST</b> table like <b>PARVW, PARNR, NACHA, TELTX, USNAM, MANUE, TLAND</b> etc.
    How can we get them as we are exclusively using those other <b>NAST</b> table entries in above <b>SCRIPT/Print Program</b>.
    Can anybody solve this issue!
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Check this FM
    WFMC_MESSAGES_SELECT
    example
    tables : nase.
    constants: appl     like nase-kappl value 'V2'.
    select-options:
      rg_nacha  for nase-nacha default '1',
      rg_kschl  for nase-kschl.
    ranges: rg_objky for nast-objky.
    data:
    msgs_1 like msg0   occurs 100 with header line.
    *-Fill Object Key
    *-Execute fm
    call function 'WFMC_MESSAGES_SELECT'
         exporting
              pi_application = appl
              pi_processing  = '1'
         tables
              ri_medium      = rg_nacha
              ri_type        = rg_kschl
              ri_object      = rg_objky
              tx_messages    = msgs_1.

  • Data modeler - howto assign process/function to data model

    Hello all
    Problem path:
    sd11 (data modeler)
    i.e model: UNIMODELL (this is the model used as training in help.sap.com)
    There is [functions/processes] button (F8)
    When using UNIMODELL there is a process assigned to model and I can choose it (goes to Display Module: A.... screen)
    But:
    when I create my own data model -> when clicking [functions/processes] i get:
    "No functions assigned" infrmation
    Where can I add fun/proc to my data model?
    Thx4anyHelp
    Mateusz

    What method did you use?
    If FK is created and not removed then no scope clause is added - no need for that.
    It works for me:
    CREATE TABLE TABLE_2
    Column_2 REF StructuredType_1 ,
    Column_3 REF StructuredType_1
    ALTER TABLE TABLE_2
    ADD ( SCOPE FOR ( Column_2 ) IS TABLE_1 )
    ALTER TABLE TABLE_2
    ADD ( SCOPE FOR ( Column_3 ) IS TABLE_3 )
    table_1 and table_3 are of StructuredType_1
    Philip

  • Rule modeler - Automatic Routing

    Hi
    I am working on WEB UI CRM 5.0
    I did all the necessary steps as describes at the blog:
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c010e354-940b-2a10-28ad-fb63ec0c2744]
    but after the agent clicks on Escalate Button he get the massage "no rule found for automatic routing"
    what could be the reason for this massage?
    points will be rewarded.
    Thanks in advance
    Tal

    Hey Tal,
    Check with the following steps
    1.Create the context
    SAP IMG --> CRM -->E-Mail Response Management System -->Define Repository (Order -- Order routing)
    2.Add the BSP application in your favorates
    BSP application -->CRMM_ERM_RULES
    Open it
    Select order routing in the context drop down
    3.define the policy, rule, condition, actions
    Once done release the rule.
    This should get you through!!
    Regards
    Raj
    Do reward if helpful

  • Existing partner functions can be assigned to new partner det. procedure

    Hi,
    Can i assign the already existing partner functions(created by others) those already assigned to other partner determination procedure to new partner determinatin procedure?
    If so whether it will cause any problem.
    Please help me on this issue.
    Thanks and Regards,
    Venkat

    Hi Venkat,
    Yes you can assign already assigned Partner Function to your Partner Function.
    It will not have any effect, niether on your Partner Determination procedure nor to the other Partner Determination procedure.
    Reward if helpful.
    Regards
    PAVAN

  • Partner function not working when creating PO with ref to PReq

    Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
    But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
    however it works when i create the PO directly ( without the PR ref )
    I am using the same material & Plant for both manual PO & PR to PO.
    Any idea what could be wrong .
    I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
    Thanks
    Dkmurthy

    Hi,
    I have also an issue that seems similar to one you are discussing.
    When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
    When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
    Company code is assigned to purchase organization, and so is purchase organization to plant.
    Any idea why there is no automatic message determination in the case of the transaction: ME21N
    Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
    VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
    Any input is wellcome.

  • Assign Partner number on Field (SAPLEKPA)WRF02K-GPARN

    Hi experts
    This program is on the Badi ME_PROCESS_PO_CUST in the PROCESS_HEADER method, but when the program return to Purchase Order, the value that I need don't appear on the field Partner number (SAPLEKPA)WRF02K-GPARN.
    someone know how to send this value to PO Partner field ?
    this is the correct code:
    DATA: v_gparn(22),
    gs_gparn TYPE wrf02k-gparn.
    FIELD-SYMBOLS: <fs_gparn> TYPE ANY.
    v_gparn = '(SAPLEKPA)WRF02K-GPARN'.
    ASSIGN (v_gparn) TO <fs_gparn>.
    if <fs_gparn> is assigned.
    <fs_gparn> = it_ekpo-zzlifnr.
    endif.
    tks
    Edited by: Flavio Ferreira on Dec 30, 2010 12:49 PM

    Hi Surender
    GTS alllows varous assignment at system and system group level
    When you are transferring documents from more than one feeder systems to the GTS system, in that case this config allows u to reduce the data u maintain , you first create the system logic group which contains all the connected logical system to GTS system . This allowa u to assign the partner from different system in onshot.
    If you have only one system feeding to GTS you can use the config Assign at system level.
    BS Partner Role is the Partner function from feeder system, All the partner function  which get transferred in your transaction data has to be assigned to GTS partner function.
    If you want ot the automatic assignemt you can choose the option Automatically Transfer Partner Function which will assigen the allthe partner function from feeder system to corresponding function type of GTS.
    Kind regards,
    Sameer

  • Customer Partner Function

    Hello Experts,
    I am from EHS Module.. I am creatig Scenario for report Shipping.
    In that I am creating Customer.
    I am using Account Group: 0002 Goods Receipts
    As per SAP Guide,
    "If User created the customer in the account group 0002, the SR (MSDS Recipient) and WE ( Goods Receipient) functions will appear automatically in Customer Partner Function.
    But when I am creating Customer in My system using account group 0002, those mentioned Customer Partner Funcition are not getting cretaed Automatically instaed SH ( GOods Receipt) is getting created.
    Could you please guide me what setting I need to do in order to create Customer Partner Function SR (MSDS Recipient) and WE ( Goods Receipient)  Automatically while creating Customer.
    Thanking You
    Regards
    Amol

    Hi,
    IMG >>> SD >>> Basic functions >>> Partner determination
    First you create partner determination procedure or copy from std. AG
    Then double click on partner functions in procedure
    Include your two partner functions in procedure and tick mark to mandatory (Also remove tick marks of other partner functions which u don't need)
    Now double click partner determination procedure assignment
    Assign partner functions in front of account group - 0002
    Now double click on Account group - Function assignment
    Assign account groups in front of your two partner function
    Then create customer partner functions will come automatically
    Kapil

  • Customer Master - Partner Function

    Hi,
    I have created customer by using T-code xd01 and maintained partner functions for the same. But now when am trying to change partner function through the t-code xd02 it is showing me error as "In table TPAER, the entry AG AG  is missing"
    i tried to maintain the key in VOPA but still not resolved. Can you please suggest.
    Thanks
    Ashwini

    Hi,
    Can you please explain briefly so based on that i can give the guidance
    other wise follow the steps which is related to partner Determination procedure
    Hi,
    SPRO / Sales & Distribution / Basic Function / Partner Determination / Set up Partner Determination
    in that path we have to maintain the partner Determination
    1. Setup partner determination for Customer Master
    2.Setup partner determination for Sales Document Header
    3. Setup partner determination for Sales Document Items
    4.Setup partner determination for Delivery
    5. Setup partner determination for Billing Header
    6. Setup partner determination for Billing Item
    Each and every step we follow the five steps which i mentioned previous answer
    Step 1: Define Partner Functions
    Step 2: Assigning Partner Functions to Account Group.
    Step 3: Define Partner Determination Procedure.
    Step 4: Placing Partner Functions in Procedure.
    Step 5: Assigning Procedure to Account Group.
    based on your Requirements we have to do settings
    Revert if you get any error
    I hope your Clear
    Regards,
    Prasanna

Maybe you are looking for

  • Can't open re-installed Firefox - get this message: Error: platform version5.0 is not compatible with minVersion = 6.0 maxVersion = 6.0

    Had to uninstall Firefox as it stopped working. The went to website and downloaded Firefox once more. Pressed the .exe and the file went through the installation okay, but when I tried to open Firefox I get: Error: platform version5.0 is not compatib

  • Connecting SB Audigy 2 ZS to my old ste

    I have an old stereo for my dorm (non-surround w/ no digital/optical inputs...only RCA inputs) and I want to be able to hook up my soundcard to my stereo so I can listen to music @ night when I sleep. I could use desktop speakers, but would prefer ot

  • CS3 freezes in Full Screen Mode

    CS3 was fine until today when it started working extremely slowly/freezing when using any tool in Full Screen Mode. No problems in the other three screen modes. Fairly large problem as I prefer Full Screen on Apple 30" display. Using MacBook Pro 2.4

  • How to extract a part of text using utl_file

    hi, I have a small requirement which goes as follows. I have a text file which is a resultof the sql query and it contains 16 columns as TAB delimited text . I am using the UTL_FILE package concept to read the data. In general when we use the UTL_FIL

  • Windows 2008 R2 Std SP1 - firewall reports packets dropped...

    Hi, 1) I'm trying to harden the Windows firewall on standalone (non AD) Windows 2008 R2 Std SP1 server, and restrict outgoing packets to known rules. What I'm seeing is firewall log entries showing dropped packets, and the dropped packets are always