Order Partner Functions for VENDORs

Hi All,
We are using CRM 5.0 and ECC 6.0. We successfully replicated all the VENDORs from ECC to CRM BPs with BBP000-VENDOR role as this features is supported from CRM 5.0.
We are now trying to get the VENDOR Partner functions replicate from ECC sales order to the Partner Functions for the CRM ORDERS. Looks like SAP doesn't support this feature yet. I am getting the Partner Functions (say Z1 - Freight Carrier ) but the partner data is BLANK. So i am working on a workaround.
My Issue I am using ORDER_SAVE BADI to enter a BP from CRM to this Partner Function that is coming empty to CRM. For some reason my code is not working. Below is my code
Data declarations for VENDOR Partner Function*********
  data: lt_partner_ref           type CRMT_PARTNER_EXTERNAL_WRKT,
          ls_partner_ref          type CRMT_PARTNER_EXTERNAL_WRK,
          lt_partner                type CRMT_PARTNER_COMT,
          ls_partner               type CRMT_PARTNER_COM,
          lt_partner_act          type CRMT_PARTNER_COMT,
          lt_partner_attributes type CRMT_PARTNER_ATTRIBUTE_COM_TAB,
          ls_partner_attributes type CRMT_PARTNER_ATTRIBUTE_COM.
  data:lt_header_ref   type crmt_object_guid_tab,
         guid                type crmt_object_guid.
  guid =  iv_guid.
  insert guid into table lt_header_ref .
  call function 'CRM_ORDER_READ'
    EXPORTING
      it_header_guid       = lt_header_ref
    IMPORTING
      et_partner            = lt_partner_ref                 
    EXCEPTIONS
      document_not_found   = 1
      error_occurred            = 2
      document_locked       = 3
      no_change_authority  = 4
      no_display_authority  = 5
      no_change_allowed   = 6
      others                      = 7.
Start of the code to VENDOR PARTNER FUNCTIONS for ORDER Heafer/Item ***********
    Read table lt_partner_ref into ls_partner_ref with key partner_fct = 'Z0000007'.
    if ( sy-subrc = 0 ).
        ls_partner-kind_of_entry = 'C'.
        ls_partner-partner_fct = 'Z1'.
        ls_partner-partner_no = '0010060331'.
        ls_partner-display_type = 'BP'.
        ls_partner-no_type = space.
        ls_partner-REF_HANDLE = '100'.
        INSERT ls_partner INTO TABLE lt_partner.
        ls_input_names-fieldname = 'KIND_OF_ENTRY'.
        ls_input_names-changeable = ' '.
        INSERT ls_input_names INTO TABLE ls_input_field-field_names.
        ls_input_names-fieldname = 'PARTNER_FCT'.
        ls_input_names-changeable = ' '.
        INSERT ls_input_names INTO TABLE ls_input_field-field_names.
        ls_input_names-fieldname = 'PARTNER_NO'.
        ls_input_names-changeable = ' '.
        INSERT ls_input_names INTO TABLE ls_input_field-field_names.
        ls_input_names-fieldname = 'DISPLAY_TYPE'.
        ls_input_names-changeable = ' '.
        INSERT ls_input_names INTO TABLE ls_input_field-field_names.
        ls_input_names-fieldname = 'NO_TYPE'.
        ls_input_names-changeable = ' '.
        INSERT ls_input_names INTO TABLE ls_input_field-field_names.
        ls_input_names-fieldname = 'REF_HANDLE'.
        ls_input_names-changeable = ' '.
        INSERT ls_input_names INTO TABLE ls_input_field-field_names.
        ls_input_field-ref_guid = ls_partner_ref-ref_guid.
        ls_input_field-objectname = 'PARTNER'.
        ls_input_field-ref_handle = '100'.
        ls_input_field-logical_key = '0000'.
        ls_input_field-ref_kind = 'B'.
        INSERT ls_input_field INTO TABLE lt_input_field.
      Endif.
  call function 'CRM_ORDER_MAINTAIN'
    EXPORTING
      it_partner           = lt_partner                         "I added this for VENDOR PF
    CHANGING
      ct_input_fields   = lt_input_field
    EXCEPTIONS
      error_occurred         = 1
      document_locked    = 2
      no_change_allowed = 3
      no_authority           = 4
      others                   = 5.
endmethod.
Could anyone check my code and suggest any changes?
Thanks,
Karuna.

Hi ROshan,
  Open customer master in XD02  sales view and save it then check in XD03 it should display the partner functions.
As you said the account group has been changed I think the records needs to be saved again.

Similar Messages

  • Creation of new partner function for VENDOR

    Hi,
    I've a requirement to create some Partner functions for vendors while creation of vendor. Some Partner functions are available by default and some we need to add. but while doing a BDC we are not able to find how many of them are available or where to put the new Partner function?
    Please let me know, if there is any BAPI availble..
    Regards,
    Anupam

    Try below LSMW batch input method its very esay to upload data
    Object               0040   Vendor master
    Method               0001   Standard
    Program Name         RFBIKR00
    Program Type         B   Batch Input

  • 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

  • Classic Scenario PO has multiple OA Partner Functions for Vendor

    Hi,
    I have a 'design' issue. My R/3 Vendor has many OA Partner Functions for the different Branches they have and the PO needs to be Faxed to the OA Partner Function number, but the PO needs to be created against the VN Partner Function.
    So, how do i do this in SRM? I was going to have a seperate Catalog link for each OA Partner function, but this is not creating the R/3 PO with VN Partner Function of the 'core' Vendor number.
    Does anyone have any advice for this?
    regards Adam
    Using SRM 5.0 (Server 5.5) SP 8 and R/3 4.6C in Classic Scenario - my catalogs are external vendor.

    Hi
    Please see these links, which might help ->
    Partner function missing in backend PO
    Re: Error in transmission while PO cration
    "Multiple" partner data at PO header
    Partner functions in plan driven MM-SUS
    Re: Partner function not found
    Number range for business partner
    Re: Problem with BP. Assignment: Business partner person to user not unique
    Error in creation of Employee for Business Partner
    Re: enter exactly one partner of type vendor
    Re: Business partner as Vendor and Invoicing Party
    Partner functions in EBP for extended Classic Scenario
    Regards
    - Atul

  • Partner Function for Vendor

    Hi Friends,
    I have requirement in partner function, when I configured a new partner function ZH and create vendor it auto picks up the this PF and same vendor number... but my requirement is number needs to blank and it should not be mandatory.. is it possible to achive this
    Thanks in adv
    Bhargava

    Hi
    I require typically like this by default
    PF          Name              Number        name
    VN         Vendor              12546           xxxx
    OA         ordering add     12546        xxxx
    ZH         Head office       ______          
    here for ZH number needs to blank but system expects if some thing is there in the PF then corresponding entry needs to be there in the number column.
    How to achive this
    With regards
    Bhargava
    Edited by: Bhargava ms on Mar 12, 2008 2:29 PM

  • 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

  • Partner Function for Vendor Like UI

    Hi All,
    Version EHP7 , Vendor Like UI
    I am not able to find the Partner Functions tab in the Purchase Org Menu .
    But i can find it in the Customer Sales Org menu .
    Can any one help on this ??
    Regards,
    Vag Vignesh Shenoy
    PS : For the same vendor i see that in the ECC system the partner functions are updated perfectly.

    Hi Vag
    You  need to perform below settings
    Run transaction NWBC, enter the role SAP_MDGS_MENU_03 and choose Start NetWeaver Business Client for HTML.
    Choose Search Vendor.
    Choose (Customize Page).
    Note
    If an error message is displayed concerning missing object component Customizing proceed as follows:
    End of the note.
    Choose New.
    In the Create Customizing dialog box enter a description and choose OK.
    In the Select Transport Request dialog box choose OK.
    Mark Main Page BS_BP_OVP.
    On the Overview Page Schema tab, click on Section: BP_SECTION to open the UIBB structure.
    Mark UIBB: ERP Vendor: Sub-Ranges BS_SP_SUBRANGES.
    In the Hidden Element field in the Attributes of UIBB section select Visible and choose Save.
    Repeat the procedure as of step 4 using the following values:
    Edit Page BS_SP_PURCH_ORG
    UIBB: ERP Vendor Purchasing Organization: Different Purchasing Data BS_SP_PURCH2_ORGS
    UIBB: ERP Vendor Purchasing Organization: Partner Functions BS_SP_FUNCTIONS
    Edit Page BS_SP_COMPANY_CODE
    UIBB: ERP Vendor Company Code: Withholding Tax BS_SP_COMPANY_CODE_WITHHOLDING
    UIBB: ERP Vendor Company Code: Dunning Areas BS_SP_DUNNING_AREAS
    To show the corresponding UIBBs within Block and Mark for Deletion change requests, mark an existing vendor in the search result list, choose Block or Mark for Deletion and proceed as described above as of step number 3.

  • Partner Function for Vendor through IDOC

    Hi All,
    I have a requirement in which I need to create the vendor master through IDOC. I am using CREMAS basic type for that. In its functionality, I need to assign different partner functons to it. I identified the segment as E1WYT3M in it at hierarchy level 3. I passed the partner function like OA or PI in the PARVW field of it and provided the vendor number which I want to assign as partner function in the LIFN2 field.
    Vendor is getting created but Partnering details are not getting updated when I am seeing in the XK03 Txn. Am I missing something.
    Please help me on this.
    Thanks
    Natasha

    Hi All,
    Moving further, I got another issue in changing the partner details of a vendor. Changing includes assigning another partner function to an existing vendor or deleting any already assigned partner function. I am doing this through IDOC. I am getting an error message 'Deletion of mandatory partner function 'VN' is not possible.'
    I tried changing the msgfn also.
    How should I proceed here.
    Thanks
    Natasha Garg

  • Partner func for vendor/cust. in inventory mangment

    hi,
    for partner function for vendor /customer in inventory management ,i found one note: SAP Note 193250
    the note details
    Summary
    Symptom
    In inventory management, the partner functions of vendors or customers are
    not taken into account for goods movements.
    Additional key words
    MB01, MB1A, MB1C, MB1B, output determination
    Cause and prerequisites
    This function is not supported. The inventory management does not work in
    the standard system with vendor or customer partner functions.
    Solution
    You can look up the partner roles of the vendor master record or customer
    master record in the user exit routine USER_EXIT_KOMPBME_PARTNER (program
    RVCOMFZ2) and fill table COM_PART. You can find the vendor or customer
    number in structure COM_MSEG.
    I found user exit USER_EXIT_KOMPBME_PARTNER in Program RVCOMFZ2,
    FORM USEREXIT_KOMPBME_PARTNER.
    COM_PART-PARVW =
    COM_PART-PARNO =
    APPEND COM_PART.
    ENDFORM.
    what changes i have to in this program ,please give the solution
    Thanks and regards
    Vijay.

    Hi,
    You wont be able to access COM_MSEG using SE11.
    It actually fetches values from MSEG if you check the function module - KOMPBME_FILL, you can see COM_MSEG is like MSEG hence it will act like a internal table.
    Hence you will get the values in COM_MSEG dynamically from MSEG.
    Hope it helps.
    Thanks & Regards,

  • Creating multiple partner function for a sale order @ header level

    Hi All,
    I have a requirement where in i have to create more than one partner funtion for a sale order @ header level. But the system did not allow this sort of scenario and i got the error,
    Partner function ZZ can only occur  1 times in procedure TA (Sales Document Header)
    the function module that was giving this error was SD_PCHECK_PARVW_COUNT_OK
    here the function module checks if a partner function already exists if so it throws that error. This also updates the VBPA table where partner function is one of the key fields.
    Our issue is that we have to allow the system to enable posting 2 or more partner function for the same sale order. It was also verified that the unique key was unchecked during configuration.
    is there any other way of over coming this issue as we are updating the standard table. Is it possible??
    Thanks a lot in advance for your reply....

    I believe this is a configuration setting, based upon the details of your post.  Typically, a sales order can have multiple partner functions, but usually the partner type is not duplicated at a single level (header or one item).  For example, it would not be logical to have multiple ship-to partners at the header level...these would be unique at the item level, if required.
    Speak to your SD functional specialist about the configuration controls for partners, if you must have more than one partner with parvw = ZZ, for the entire order (header level).
    Edited by: DaveL on Aug 23, 2011 3:00 PM

  • Rg: How to upload Partner Functions in vendor master

    Hi All,
    I am doing LSMW batch input for vendor master. Since the client has different address for a single vendor, we use partner functions. So two lsmw are used, one for the different address and the lifnr is system generated. another lsme for the original vendor master witl the partner functions like Ordering Address, Invoicing party. The vendor number which is cretaed in first lsmw will be provided in the partner numbers for vendor the field is gparn. But while uploading the datas the partner numbers are not getting updated..
    so does any one have solution..
    thanks
    srivatsan

    Hi,
    You can make use of this Tgt Structure BWYT3,
    BWYT3 - Vendor Master Record: Partner Functions (Batch Input)
    In this you need to  pass the combination values of
    PARVW           Partner function
    PARNR           Number of contact person (batch input only),
    In field mapping you need use Conversion exit for both.
    Reward for helpful answer.
    Regards,
    Sivaram.

  • Partner Function in Vendor master

    Hi,
      I want to know what is partner functions in Vendor master  , what configuration settings required for it  and is it necessary to maintain  what can be the problem or why it use .
    regards,
    zafar

    Hi Zafar,
    Basically Vendor partner functions allowed you to define the rights and responsibilities of business partner in a business transaction. The R/3 standard partner functions are :
    AZ     Alternative payee
    OA     Ordering address
    VN     Vendor
    CR     Carrier
    PI     Invoice presented by
    CA     Contract address
    GS     Goods supplier
    DP     Delivering site
    Accordingly the vendor is first the ordering address, then the supplier of good and after that Invoicing party and finally the Payee. You can determine which of the partner roles are optional and which are mandatory in the customization. If no roles have been maintained, the data of the vendor role applies
    Now the Vendor partner function will work after few Setting in Customization :
    1) Maintain seprate vendor master record for each partner
    2) Activate partner function by ASsign Partner Schema to Account Groups
    SPRO ; Material Management > Purchasing > partner Determination > partner Settings in Vendor Master REcord > here choose and account Group to active partner Function and from Field PS EKORG Select L1
    3)Define Permissible Partner Roles Per Account Group
    In this step, you can specify for each account group of the vendor which roles the vendor may assume.
    I.e. you can specify that certain vendors may only serve as an ordering address, not as an invoicing party.
      Maintain Partner roles, which is to be used in Account Group
    GS - DIMP
    PI-DIMP
    OA-DIMP
    4) Maintain partner function - Now in the Vendor master record you can maintain Vendor partner function .
    or can assign partner at the Time of PO Creation ME21n, When GR will be done you can See partner Details.
    Regards,
    Vraj

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • Partner function in vendor sub-range

    in vendor master data, we can maintain different partner function for each sub-range, but if to create PO, the partner is at header leavel, and vendor sub-range is at item level, then how the system copy partner in sub-range to PO? in header level, it always using partner function from main vendor. if the sub-range partner function can not copied to PO, then what this partner function used for?

    make sure you have the small box "higher level " checked in customizing of partner determination.

  • Partner function for notification processing in SPRO.

    Hi Gurus,
    I have to know that what is the use of settings for Partner function for notification processing in SPRO(implementing dptmnt,person responsible,function for paging,Task processor,partner function approver).what is the function for these?
    2'nd in while creating/changing the notification in the notification screen in standard tool bar there are two Icons one for partners(ctrl+F1) and another for determine partner(F7).Pls explain what is use of this icon determine partner.???
    Pls explain in details....

    hi
    1.Refer the below threads,links
    [Partner determination procedure and partner function;
    [http://help.sap.com/saphelp_46c/helpdata/en/42/51b39b4a1211d182b80000e829fbfe/content.htm]
    2.Partner are determined from master datas like equipment,functional location during notiifcations,order creation.
    you can have defualt and mandatory partners
    Regards
    Seenu

Maybe you are looking for

  • Logout, restart, shutdown all get stuck

    After Quicksilver G4 has been idle for a few hours and I come along to shut it down or log out, it starts the process but gets stuck at the blue screen and spinning doohickey. (not the beachball). I've let it sit for over a half hour. I can SSH into

  • There is a problem with the proxy server's security certificate (internal Outlook 2013 users)

    I am receiving the above message for internal Outlook 2013 users when they open Outlook. Despite this message, Outlook is fully functional. External OA users do not see this message. We are using an SRV record for our autodiscover and pointing it to

  • Need to set values in the configurator

    Hi people, Im a workflow consultant and need a bit of advice regarding updating the configurator values. I know about the function module "vc_i_get_configuration" gets the values in the configurator and the parameter for that would be cuobj. But is t

  • Creating index for standard SAP tables

    Hi! What are the advantages and disadvantages of creating addtional indexes for tables with massive amount of data (BSEG, BKPF, COEP, etc...). If I create a new index it supposed to make the table access faster, for the cost of hard disk space. Am I

  • How can i edit function of function keys ?

    I just want to assign a function to my function key. For Eg:  by default f6- is assign to mute audio,  f3-is assign to increase screen brightness but f5 doesn't have any function , so i would like to assign a funtion to it, like when i press f5 my sc