Xpath for my partner function

Hi, guys:
I have a partner function created (ie. ZEMPLY), and i want to remove the value for the partner function once I dispatch the service request.
I want to use the xpath to get the entity.
get_entity_b_path( path = '//CURRENTBT/BTOrderHeader/BTHeaderPartnerSet/.......' ).
and then I do not know which one I can use after /BTHeaderPartnerSet. because it is not SAP standard partner function.
Can you guys know this?
Cheers,
Eric

Using BPath I would go for this
lr_col = lr_entity->get_related_entities_by_bpath( './BTOrderHeader/BTHeaderPartnerSet/BTPartnerAll[@PARTNER_FCT="ZEMPLY"]' ).
lr_entity = lr_col->get_first( ).
Be sure to read the great blogs by Jürgen Gatter on BPath: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/u/49754
You can also add the relationship you are missing into the GenIL model. Customizing is in SPRO and the relation would be BTPartnerSet -> "BTPartner_ZEMPLY" -> BTPartner.
cheers Carsten

Similar Messages

  • PFAC rule for detrmining partner functions in Actions of Opportunity

    Hi all,
    In Opportunity, we have scheduled the actions automatically for every phase.When we select phase in Opportunity transaction & save , the activities in that pahse would be created automatically based on conditions with person responsible same as in Opportunity transaction.
    Now I have changed the access sequence in partner determination procedure not to determine person responsible from preceding document means this partner function would be empty in Actions created & I have created rules in transaction PFAC with category 'Agent Determination-Responsibilitis' & responsibility & need the system to deterimine different user for this Person responsible for activities.(Not from preceding document).I have maintained this rule & Partner function in parameters of Actions.& action profile has been assigned to Activity transaction type( Actions). But this rule is not determining the users for the Partner function 'Person responsible'.In activities this partner function 'Person responsible' remains empty.
    Solution to this problem would be very helpful & maximum points would be rewarded for the useful answers.
    Reagards,
    Basavaraj Patil

    Hi Prashanth,
                          Thanks for your reply. I want the Rule  to determine Partner function 'Person responsible in Activity transactions  created in Phases of Opporunities not exactly partner function of Opportunity transaction.The procedure user( CRM Opportunity & Task) is maintained in Partner determination Procedure.
    For this I have assigned different Action profile with Method Call - CRM_DNO_PARTNER_1 containing Parameters for Rule(Structure - PDTASK & Field SEARK -  & Partner function(Structure - CRMD_PARTNER & Field - PARTNER_FCT).
    But still it is not determining Partner Determination in Activities.
    Regards,
    Basavaraj Patil

  • Actions creating task for multiple partner functions

    Hello Masters,
    Need help in below scenario.
    We are using actions in quotations. Different actions gets triggered as per status of quotation.
    ex: Status: manger approval request: Task to be create with action for manager
        Status: Manger approved: Task to be created with action for Sales employee.
    I have configured action profile. My actions are partner function dependent.
    Partner functions are different for manager and sales employee.
    But when action is getting triggered it is creating task for both partner functions.
    How can I avoid this? Does though we say action is pertner function dependent is it true or it is actually partner function catagory dependant. In my case partner function category is same for manager and sales employee. The partner function category is "Employee"
    looking for your guidence
    Thanks
    Kushal  

    Hi Kushal,
    The partner function category is same - employee and hence it is triggering actions at the same time.
    You may have to see if you can assign a separate partner function category to meet your requirement.
    Hope this will be useful
    Thanks and Regards
    DJ

  • Partner Function Queries Multiple Partners for Single Partner function SO

    Hi Experts
    Is it possible to  enter multiple partners  for Single partner Function in SALES ORDER
    For Ex : We have created Z1 as a Partner function for Sales Executives : and Sales Executive 1 , Sales Executive 2 Sales xecutive 3 etc as sales Partners for Z1 partner Function .
      Now Is it possibe to enter for Z1 -
    sales Exeutive 1
                                                Z1----
    Sales executive 2
                                               Z1----
    Sales Executive 3............
    I would be greatful if you repond the same at the earliest
    Thanks
    Rashmi K

    Hi Rashmi,
    The requested function is possible.
    In the customizing of partner function, you could set the field Unique as blank. Then you could enter multiple partners for same partner function.
    IMG->SD->Basic functions->Parnter determination->Partner Functions
    Hope it helps.
    Thanks and best regards,
    Smile

  • How to decide which access sequence goes for which partner function ?

    how to decide which access sequence goes for which partner function ?

    Hi Padmaja,
    If i understand your question correctly, below is my answer.
    Lets take a example : In your requirement ..while creating Sales / service order (for ex if you are creating from preceding document)
    you have to pick up the Contact person from preceding document & Employee responsible from responsible organization
    For this in partner function assign Access sequence as below.
    same way if the partner(here ex: Ship to party) has to be picked up from "Current partner" change the access sequence to "Current partner Sold to party"
    Hope this gives better understanding, still for better understanding check the below links
    http://www.guru99.com/partner-processing-in-sap-crm.html

  • Access Sequence for Vendor Partner Function

    The business requirement is to display Vendor name for a specific product on UI. Approach till now: Partner function for Vendor can be defined. Relationship between vendor and product can be defined. The following query remains:
    Can someone help me which access sequence (if any existing) can be used for determination of Vendor Partner Function for a Product?
    Any guidance related to the same is welcome.
    Thanks.

    thanks.

  • Determine profit center for a partner function or number

    Hi,
    How to determine profit center of partner function/number.
    Can any one help me on the above
    thanks in advance
    Message was edited by:
            Bobby G

    Hi,
    For geting the data as u desired ,U can make query by using and joining table VBPA and VBAK.
    Use SQVI t-code for creating Query,.
    Thanks,
    Raja

  • Output type maintained for same partner function.

    Hi Gurus,
    Can we maintain outupt type for different transmission medium like print output, EDI and special function with in same partner function ? Please explain also?
    Thanks in advance.
    Regards
    Hemat ghiya
    Edited by: Hemant ghiya on Oct 5, 2011 1:28 PM

    Hi Rags,
    Thanks for your quick reply but i am getting problem at the time of determination . Once i have determined for one medium and then i will determine for another medium with same partner function then it is giving error like this partner funcition alerady used.
    So i am not able to determined for the another transmission medium after determining for one medium.
    Can you give your valueable suggestion.
    Thanks in advance.
    Regards
    Hemant ghiya

  • Search help for SO partner function

    Hi All
    I need to change the search help DEBI such like that when the user press F4 it gives all the data( means no need to put the slection parameter value) at present selection paramenter is sales org, DC,Div, Sold to part partner function.First four I am ble to make default or from sales order but do not know how to capture partner function value as per partner in Header( being multiple partners).
    Second issue is can we control the various tab to appear as per sales org.i.e. particular tab should appear for particualr sales org or company code.
    Thanks in advance for the solutions
    Manoj

    Hi Manoj
    For a sales org you can find its partners in VBPA table, the join is VBAK-VBELN = VBPA-VBELN. If you want to get the partners at item level then
    VBAK-VBELN=VBPA-VBELN adn VBAP-POSNR=VBPA-POSNR where VBAK-VBELN=VBAP-VBELN
    To control the various tabs using sales org, you need to find out the correct user exit. If it is irrespective of sales org but just controlling teh general display, then it is configuration and a Functional Consultant can do it for you.
    Hope this helps you
    Reward if it helps.

  • Search for activity partner functions

    Hi,
    I need to search all activities which have as partner function (0000014 employee responsible) a specific bp number. It's possible to get this behaviour with one or two standard FMs?
    Thanks in advance
    Javier Merino

    Hi Javier,
    get Header GUIDs of all activities from table crmd_order_index.Use following query;
    select header
    from crmd_order_index
    where object_type = 'BUS2000126 (activities)
        and partner_no = BP_number (your input)
        and pft_8 = 'X' (this field is marked for employee responsible)
    Please reward points if this helps you.
    Regards
    Kaushal

  • Sales Area check for custom partner function

    When processing sales orders in our system, it does not check the sales area for the customer of a custom partner function.  Can this be setup via config or is there a an exit that can be used for this.
    Thanks,
    Roy

    Yogesh -- Thanks for your response. However, it does not address the functionality issue.
    Currently, I created new partner function ZZ (for example).
    I assigned this partner function ZZ to account group Z000.
    I created new partner XYZ in account group Z000, in sales area XX00/XX/XX.
    I created a sales order in sales area YY00/YY/YY.
    Problem is that system allows me to assign partner XYZ to this sales order.
    How do I prevent this?
    How do I enfore that system will only allow partner XYZ in the sales order, if the partner is created in the same sales area?
    Edited by: krist d on Dec 13, 2010 4:33 AM

  • Help for custom Partner Function

    Hi,
    I'm on SRM 5.0 ECS.
    I create two custom partner function and now I need to add they a search help.
    How can I do this?
    I will take data from R3, but I know how to build a search help, I need to know how give it to the partner function.
    thanks
    enzo

    I solved.

  • CRM Table for finding Partner Function for a Sales Order

    Hello everyone,
    I am trying to retrieve Ship-to-Party Customer Number for a particular Transaction (Sales Order) from a SAP CRM table.
    In SAP SD we have a table VBPA for the same.
    I would like to retrieve the same either from a single table if available or multiple linked tables in SAP CRM.
    I tried to link CRMD_ORDERADM_H & CRDM_PARTNER to retrieve the data .. But it dint work.
    I am new to CRM .. so Gurus, please share ur insight.
    Thanks
    Vin

    Hi,
    Select GUID_SET in table CRMD_LINK where GUID_HI = CRMD_ORDERAMD_H-GUID.
    Use the GUID_SET to select data in table CRMD_PARTNER.
    Best regards,
    Caíque Escaler

  • Partner functions  for vendor master in SRM

    Hi,
    We in SRM40 and extended classic scenario.
    we would like to implement Partner functionality in SRM.
    Do share the steps for configuration with details,
    Thanks,
    RK

    Hi
    Which SRM version are you using ?
    SPRO Path ->
    SRM SPRO - Configuration Path for maintaining Partner Functions
    SPRO -> Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Define Partner Functions
    Refer to following IMG Configuartion path and ensure that Goods Recipient entry is maintained in the system.
    Function Function_type Usage Description Abbrerviation Created by
    00000020 0002 B2B Goods Recipient GR XXX
    For maintaining Pricing conditions, see the related links ->
    Conditions for Pricing
    Pricing Conditions
    Condition types from SRM to backend
    Other related links ->
    Partner function Payee in SRM
    vendor partner functions EBP
    Re: Partner function not found
    Invoicing party ADDR_BILLT
    /message/4395909#4395909 [original link is broken]
    Hope this will definitely help. Do update me.
    Regards
    - Atul

  • Settign partner function for vendor

    Hi..
    I am trying to configure partner function for a vendor who has different  oredring adress,
    Can anyone explain me the stpes / details of how to configure a Partner function for vendor so that when i give the partner function in PO the adress of the partner function should be displayed.
    And secondly if i create different partner function where do i maintain the address for each partner function.
    Suggestions will be rewarded..
    Regards

    Hi,
    check this thread
    Partner function
    thanks
    suresh

Maybe you are looking for

  • Itunes blue screen error

    I recently installed itunes from the disk that came with the ipod nano. The problem I'm having is that when you open itunes with or without the ipod connected it crashed the computer. I rang apple and they said its a windows problem although they did

  • Fsck problem Diagnosis: Systemd dropping to emergency console

    Title says it all. I have no idea why. First, it said fsck was unable and I had to enter fsck /dev/sdaX manually. Then emergency console dropped on me. The thing is that if I continue without giving the password thus entering to console, computer loa

  • PKCS#11 - eToken Device problem

    Dear All, I have an urgent problem I have Aladdin eToken Pro USB device and I need to generate private key on it, I was able to load the KeyStore using the pkcs#11 dll file and I was able to generate private and public key from the KeyPairGenerator ,

  • Import Excel file to update project

    I'm trying to update my current project activities with codes in User Defined Fields created in another version of the project. Everything seems to be okay up to the point when I'm selecting the project to import the excel file to. I try and select a

  • Oracle table(s) data to INSERT(String) statements with JAVA

    Hi, How can I get sql inserts from a oracle table with JAVA? Is there a Oracle API for it? I need to store it in a file, the result file should have these examples lines: -- INSERTING into TEST Insert into "TEST" ("CODE","FAMILY","SUB_FAMILY","SEVERI