Table regarding crm lead partner function

HI All,
I am implemanting badi for authorization ( CRM_ORDER_AUTH_CHECK ) so i am getting the partner number based on guid from crmd_order_index next i have to find the partner function assigned to and person responsible based on the guid so that i can implement the authorization.
any help will be given highest points

Hi Amiya,
If you need the Partner functions for Partners mentioned in crmd_order_index, try using view CRMV_LINKPARTNER.
The GUID_HI of this view is the guid of crmd_order_index.
also, in order to improve performance, you can alo look at crating a zcopy of this view with only those partner functions which are relevant to your authorization check. this will reduce number of records and thus, database read performance.
Hope this helps.
Saurabh Agarwal
Edited by: Saurabh Agarwal on Jan 15, 2009 2:02 PM

Similar Messages

  • 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.

  • Replicating partner function (VE=sales employee) from CRM to ECC

    Hello, we managed to replicate the ECC customers and contact persons to SAP CRM.
    Now we also want to replicate to CRM the partner functions (VE = sales employee) of ECC that are linked to the customer in the sales view. When I replicate the object customer_rel they are not synchronised to CRM. I have maintainted the 'distribution of partner functions from SAP ECC into CRM and vice versa in SPRO.
    What are the different steps that I need to do? What am I missing?
    Should we be alble to see those relationships on BP in CRM once synchronised? If yes, in which relationship? Since the employee responsible is already filled manually for another function.
    Thanks for your help on replicating partner functions from CRM to ECC?
    Kr, Anouck

    Hi Anouck.
    If I've understood correctly, for that you must pass the employees from ECC to CRM first.
    You can do this by running report RHALEINI at ECC side, but you must configure some things first (like creating a CRM grouping to indicate the number range for employees, and to activate at CRM side this integration)
    Kind regards,
    Garcia

  • Partner function replecation from CRM to R/3

    Hi ,
    Can any one tell me whats the Object to replecate Partner functions from CRM to R/3
    Thanks in Advance.
    Shaan

    Hi,
    if you mean the customizing: the setup of partner functions on the R/3 & CRM system needs to be done seperately.
    --> in CRM, the partner functions are dependent on relationships.
    if you mean transfer the data: object/bdoc bupa_rel is used to transfer data between CRM & R/3.
    Michael.

  • Whats the relationship between oppurtunies and Partner function in table?

    Hi,
    I have to generate a dynamic Query for Search to filter based on Partner function.
    I got crmd_partner_fct table which has the codes assigned to the Partners But how do i relate it to
    crmd_orderadm_h so that I can filter based on the partner number i select?
    George

    i have so many partners under pft_5 (Employee) and all are giving value pft_5 in the CRMD_ORDER_INDEX table for the same GUID in header.. How can i  find out the oppurtunities searching by partner function  of PFt_5 group .. (Not sure what to ask since We have this new partner functiions added to the dropdown and i dont see any difference in the table based on the Partner Function selected in the screen.Each function has a different number assigned but I dont see that in the table)

  • Partner function AP is not defined in partner procedure N ()

    Hi,
    Error: Partner function AP is not defined in partner procedure N ().
    I am getting above error in CRM service orders for Contact person replication from CRM  ECC.
    In debugging Middleware queue and we found that it is getting triggered from FM SD_PARTNER_EXECUTE_CHECKS.  In some cases contact person is getting replicated to ECC successfully but in some it's not ! And in both the cases this error is getting passed to CRM service order.
    Can anyone please help me on this exactly whatu2019s wrong with partner procedure and partner function customizing? Or do I need to add some code logic to stop this.
    Kindly help ASAP.
    Because every day we are getting thousands of CRM service orders which are affected by this Error.
    Regards,
    Amol.

    Hi Dipesh,
    Thank you very much.
    I have verified both the things.Means partner procedure is same in both the system. Also contact person is replicated to ECC with same order.
    As i mentioned this is happening with some service orders. Also there are some service orders where contact person is successfully replicated to ECC but there is error on CRM side:Partner function AP is not defined in partner procedure N () .
    Kindly let me know what are the further checks i need to do.
    Regards,
    Amol.

  • Partner Function  BAPI_INQUIRY_CREATEFROMDATA2

    I am using BAPI_INQUIRY_CREATEFROMDATA2 For creating RFQ.
    I am facing one problem,I am sending in BAPI Tables I_PARTNERS
    with Three Partner Function,But it takes all Contact Person reference to Customer Matsre Data and updating all Contact Person with Sold to Party and Ship To Party in to Header Level.
    Could you any help y this happened and how to resolve that.
    Thanx
    VIjay

    Resolved

  • Any report or Table to see orders with BP partner functions  in SAP CRM?

    Hello All,
    Could anyone help me  in getting  the table or any report  for orders with BP partner functions in SAP CRM?
    Would appreciate replying at the earliest.
    Cheers
    Sreedhar

    Hello Bruno,
    Thanks very much.
    It is somehow helpful for my need but  not completly. This is ok when the orders are less in number.
    My requirement is how to check the first name , last name and number for  contact persons in a list of  CRM orders(simply who is the contact person for a list of orders).Let me know for any additional info.
    I would apprecaite if you could help me in getting any other way.
    Cheers
    Sreedhar
    Edited by: sreedharhazari2 on Jun 8, 2010 9:18 AM

  • 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

  • New Partner Function in CRM (Solution Manager Service Desk)

    Hi CRM Gurus!,
      Even if this problem is present in my Solution Manager Service Desk I'm creating this thread here in CRM Forum because I thin'k I need the experience of one CRM Expert. Í´ve created this question in Solution Manager Forum also but I hadn´t solved my problem yet.
    We add the partner function called "Additional Partner", but I don't know why in the tab "Partners" in the CRM transaction we want to add a new partner but in the partners combo the new one does not appear in the list.
    The procedure that I did was: I created a new business partner function and I added this new function to my partner determination procedure, then in SPRO: "Define Partner Determination Procedures" -> I set the option "Only Functions Assigned in Procedure". 
    These are the values. fro my new function:
    Function: ZSLFN004
    Text: Additional Processor
    Abbrev.: ZAMS
    Function Cat.: 0008 Person Responsible
    Usage: CRM Customer Relationship Managem.
    Relatshp Cat: CRMH06 Is Responsible BP For
    The partner functions in my procedure are:
    00000001 Sold-To Party (CRM)
    00000046 Approved by (CRM)
    SLFN0001 System Administrator (CRM)
    SLFN0002 Reported by (CRM)
    SLFN0003 Support Team (CRM)
    SLFN0004 Message Processor (CRM)
    ZSLFN004 Additional Processor (CRM)
    But in the transactions when I try to add a new partner in the partners tab only the follow functions appears in the combo:
    00000001 Sold-To Party (CRM)
    00000046 Approved by (CRM)
    SLFN0001 System Administrator (CRM)
    SLFN0002 Reported by (CRM)
    SLFN0003 Support Team (CRM)
    SLFN0004 Message Processor (CRM)
    I don't know why my ZSLFN004 is not listed in the combo.
    By the way, my function was created as a copy of SLFN0004.
    Any help would be appreciated.
    Regards
    Gustavo Balboa

    Hi Vishant,
      Thanks for your answer, but some one in the Solution Manager forum gave me the answer few minutes ago :). The problem was that in some transaction types (I don't know wich ones or if it aplies to all) the category 0008 - Person Responsible can only appear once, my partner function was a copy of the function SLFN0004 - Message Processor and that function is defined with the category 0008, so I had 2 partner functions defined in the category 0008.
    To solve the problem I just adjust my Z function and put the category 0016 - Service Team and let the relationship empty. Then the partner function is now showing in the combo at partners tab.
    Again, thanks anyway for the time that you take to answer my question.
    Regards
    Gustavo Balboa

  • In CRM relationship appends the Changed partner function in R/3 -Middleware

    Hi Experts,
    Partner functions in R/3 are mapped as relationship categories in CRM and the transfer is happening through middleware.
    However if I change the BP for an existing partner function in R/3, it is not changing the BP in corresponding relationship in CRM.Instead it is adding a new relationship category.
    Currently we are in CRM2007(6.0 version).
    Ex.
    - An account in R/3 has a partner function "Sold to Party" as BP Id "01234". This does create a relationship category in CRM "has sold to party" with BP Id 01234. -- it is working fine.
    - Later if I "change" the BP id 01234 to a new BP Id "05678" in R/3 for Sold to Party partner function, it does not update the relationship category in CRM. Instead it adds a new relationship category for "Sold to Party" with BP Id 05678.  This is issue now.
    We dont want to create a new relationship, instead we would like to update the relationship for new BP Id.
    If anyone has any any clue how to resolve this, please share your thoughts. It is a very critical requirement.
    Appreciate your help on this.
    appends relationship in CRM
    Regards,
    Srini

    Hi Shourav,
    Thanks for your reaply. I agree with you for the general scenario. But my question is littlebit different what you understand.
    I try to explain little bit detail this time.. Hope you undrstood my issue.
    We are facing issue in partner relationship deletion  functionality from ECC to CRM.
    Issue: Partner functions in R/3 are mapped as relationship categories in CRM and the transfer is happening through middleware.
    However if I change the BP for an existing partner function in R/3, it is not changing the BP in corresponding relationship in CRM. Instead it is adding a new relationship category.
    Ex.
    - An account in R/3 has a partner function "Sold to Party" as BP Id "01234" and a partner function relationship as ship to party with BP id  u201C05678u201D  and it is replicating this relationship correctly in CRM .
    - Later if I "change" the BP id 05678 to a new BP Id "05679" in R/3 for Sold to Party partner function, it does not update the relationship category in CRM. Instead it adds a new relationship category for "Sold to Party" with BP Id 05679. This is issue now.
    Any notes or work around solution for this issue is helpfull.
    Regards,
    Srini

  • What is the table for partner functions in Billing document

    Hello Experts,
             As per the business requirement my functional consultant included Fright agent (created as a vendor) in  billing document  partner functions,
    so they want to display the name fright agent on the invoice,
    i have checked all the tables related to Billing document, i was unable to find the fright agent  
    I checked in VBPA table (partner function table) (remaining partner functions are there in vbpa table  but fright agent is not there, Is there any function module is available to pick these information ,Please help me in this.

    Read some documentation like [Partner Functions|http://help.sap.com/saphelp_crm40/helpdata/en/3c/92eceb484a11d5980800a0c9306667/frameset.htm], also be aware of the conversion exit on the field PARVW. (check via SM30 on view V_TPAR_SD)
    Regards,
    Raymond

  • R/3 Partner Function missing in CRM

    Hi Guys,
    There is partner function in R/3 called SR (Material safety sheet reciepient). This partner function is assigned as mandatory in R/3 while creating customers in R/3.
    However in the CRM system there in Role similar to that one. How do I get around this issue. Even if i create a new role how will I link this new role to the R/3 partner function?
    Ani

    Hi Ani,
    You need to map R/3 Partner funtion to CRM partner funtion and vica versa.
    Please perform the partner funtion data transfer settings as below
    In IMG settings,
    Customer Relationship Management>Basic Functions>Partner Processing-->
    Data Transfer
    Here in you have two mappings to be done
    1) Distribution of Partner Functions from SAP ECC into CRM
    2)Distribution of Partner Functions from CRM into SAP ECC
    Please read the help associated to IMG to get the clear picture.
    And see the example for mapping of partner funtion 'Sold-to-Party'
    i.e partner funtion in R/3: 'AG'
    and Partner funtion '00000001' in CRM
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Middleware: Changed partner function in R/3, appends relationship in CRM

    Hi Group
    Partner functions in R/3 are mapped as relationship categories in CRM and the transfer is happening through middleware.
    However if I change the BP for an existing partner function in R/3, it is not changing the BP in corresponding relationship in CRM.Instead it is adding a new relationship category.
    Ex.
    - An account in R/3 has a partner function "Sold to Party" as  BP Id "1234". This does create a relationship category in CRM "has sold to party" with BP Id 124.    -- Works fine. No issues.-
    - Later if I "change" the BP id 1234 to a new BP Id "5678" in R/3 for Sold to Party partner function, it does not update the relationship category in CRM. Instead it adds a new relationship category for "Sold to Party" with BP Id 5678.   ISSUE.
    We dont want to create a new relationship, instead we would like to update the relationship for new BP Id.
    If anyone has any any clue how to resolve this, please share your thoughts. It is a very critical requirement.
    Answer will be suitably rewarded with points.
    Thanks & Regards
    Vishal Mani

    Hi Michael,
    Thanks for asking . This Dinesh ( Vishal's colleague ) ..We found that the Dumps are because of the implmentation of the SAP Note 497146 which provides a enhancement to the existing FM BUPA_MWX_BDOC_MAP_REL_CENTRAL . This is throwing the short dump.
    We raised a OSS message and SAP replied back saying the behivour of the sytsem is as per standard and its not a bug .
    Can you please us to achive the following !!
    We want to avoid the replication of BP relationship ( sold to party to Z Custom A/c group  ) which does not have a Sales area ? Do  you know a BADI which can help us to achive this functionility ??
    I mean we want a control of the BP releationship replication via Middleware using BADI  .. Can you please help us here . Also please provide any list of BADIs which can help us on this ?
    Please get back at the earliiest , as we have a Go-live tommorow .
    Thanks and Regards
    Dinesh

  • Partner function AP is not def in partner procedure in ECC - CRM complaint

    Hi,
    There is an error occured while creating credit memo request from the service complaint in the CRM. It is not stopping the process but it happens several times. The error message is always in the document but not able to fix it. There is no partner function called AP in both CRM and ECC but how come the system is looking for this new partner function in the partner determiination procedure in ECC. The detail error message as below
    An error has occurred in the system RP9CLNT020 while copying the document
    Message no. CRM_ORDER_MISC 020
    Diagnosis
    Errors have occurred while transferring the document into another system. Refer to the enclosed log to view the error messages.
    Transmission log
    Partner function AP is not defined in partner procedure ZUK () (Notification E VPD 003)
    ORDER_HEADER_IN has been processed successfully (Notification S V4 233)
    ITEM_IN has been processed successfully (Notification S V4 233)
    Sales document 0350002869 was not changed (Notification E V4 219)
    Any clue in fixing this issue will be great.
    Regards,
    Ram.

    Hi,
    There is no problem in creating credit memo in ECC even with these error message.  the credit memo document is created in ECC. Actually thiis is not happening for all the complaint documents in CRM. It happens only for few customers/complaints.
    My doubt is with contact person mismatch in crm and ecc, but that is also perfect. pls let me know solution for this issue.
    Regards,
    Ram.

Maybe you are looking for

  • MacBook Air: the right choice for a College student?

    Hello there! I'm buying my first Apple laptop in the near future (probably tomorrow as I like to buy things in store and not online and I live roughly 75 miles from the nearest Apple store and am heading to the mall it's located in on a shopping trip

  • Trying to update iPhone4 to 5.1 but getting an "ineligible to update" error. What does this mean?

    I'm a very novice iPhone user but am tired of getting update requests to install newer apps. So I've tried to install the newer 5.1 iOS update from my current 4.2.1 version. However, I get an error that states I'm "ineligible" to update this version.

  • Creating Domain at 0% - Oracle PFRD 11g - Windows Server 2008 64-bit

    1.I want to install and configure Oracle FMW version 11.1.1.2.0 in Windows server 2008 64 bit. 2.I have followed the steps too as described here in these two forum links: 1.http://cn.forums.oracle.com/forums/thread.jspa?threadID=2245015 2.Creating Do

  • How to embed  a advance table region in a seeded page

    Dear Friends I need to add a custom region in a seeded page { (po requisition page in worklist)--   /oracle/apps/fnd/wf/worklist/webui/NotifDetailsPG  } I want to create a advance table region as custom region. CAN IT BE DONE THROUGH PERSONALIZATION?

  • Problem with an add-on donwloaded

    Hi, I have a problem with an application for iPhone. I downloaded the application OLD MAGIC and I bought an add-on Old Booth Magic level 1 After 3 or 4 uses, I lost the add-on and I don't know how I can redownload it. Have you got any idea to help me