Customer Num (Kunnr) using Partner Functions (PARVW) in MV45AFZZ

Hi all,
Is it possible to get the Customer Number(KUNNR) by using Partner Function (PARVW) in MV45AFZZ, how?
My requirement is to get the NAME1 and NAME2, for this i need the customer number and by passing only the partner function.
But in VBPA database table there is different customer numbers for same partner function.
Thanks iin advance,
regards,
NarsiReddy.

Hi,
maybe you have different customer for each items.
VBPA have two fields for the key : The Document number & the item number, because you could specify, for example, different delivery customer for each item.
regards
Fred

Similar Messages

  • Using Partner Functions to set up Person Responsible?

    Hello All,
    Can someone please advise what the best practice is for creating individual personnel entires for engineers within Plant Maintenance.
    In the past we have used work centres to identify individuals. This is causing issues with capacity planning and so I want to use an alternative method.
    I can see that Personnel No's can be created, however, this appears to require the use of the SAP HR module where the master data for these records are held, unfortunately we do not use SAP HR and so cannot use this here.
    Can I use Partner Functions to resolve this issue and if so how do I set it up?
    Essentially I want to create Work Centres for specific skill sets i.e Electician, Mechanic etc and then assign individuals to the appropriate groups. That way we can plan and record time against individual engineers.
    As always any help is appreaciated.
    Regards
    Chris
    Edited by: CGADMIN23 on Mar 30, 2011 2:18 PM

    Pete / Narasimhan
    Thankyou for your replys.
    I have not come across Mini HR Master previously so don't know how this works. We do not have the HR module installed and therefore I didn't think this would be a option.
    We have always set up individuals as Work Centres but having read through the 'Plant Maintenance with SAP' book I am lead to believe this is not best practice?
    Ultimately we would like to be able identify individuals so that we can assign jobs and plan capacity.  We also want to be able to assign individuals to specific work centres which would identify there particular skill set.
    Do we need to purchase an additional module to use HR Mini Master? How does this work?
    Regards
    Chris

  • How to use Partner function in Purchase transactions(Purchase cycle)

    Hi,
    My issue is related to partner function i have defined the following customize setting .
    1) Defined partner role
    2)Defined Permissible Partner Roles per Account Group
    3)Defined Partner Schemas
    4)Assigned Partner Schemas to Account Groups
    5)Assigned Partner Schemas to Document Types
    6)created Partner role for vendor in vendor master given defrent vendor code for one partner type i.e given different vendor number to Invoice party (IP)
    7) crated PO and GR during IR when i click Detail tab there is Inv. Party Field which shows all the vendor master  i want only my Partner type there. how to archive this.
    actually my question is after define the Partner function how to use them in MIRO or MIGO i am not able to understand if some one know pls reply
    regards,
    Ashish Vats

    Hi
    The use of Standard Parner functions are as follows:
    1. Ordering Address (OA): The PO will be sent this vendor and not the main vendor.
    2. Goods Supplier (WL): In case of return deliveries, Goods will be returned to thsi vendor's address
    3. Invoicing party (RS): The payment will be made to this vendor.
    Hope this clarifies.
    Thansk

  • Update partner function in KNVP table using FM sd_customer-maintain_all

    Hi All,
    I have to update Partner Function ‘PARVW’  in KNVP table using FM sd_customer_maintain_all.
    I had already created a BDC program for updating which is running successfully.
    But  my requirement is to create a BAPI using FM customermaintain_all.
    Ex:  Tcode VD02
              KUNNR          PARVW             KUNN2
    Old data      123          Z1          70006666
              123          Z2          70007777
    Req. output      123          Z1          70006666
              123          Z1          70007777
    PARVW ‘Z2’  should not exist after updation.
    When updating, I am getting the error message to my inbox as
    “ Error Info...   F2 802: System error in table KNVP ”
    The above error is triggered while committing work after execution of  ‘SD_CUSTOMER_MAINTAIN_ALL’.
    The options I tried while looping at internal table containing kunnr, parvw & kunn2
    CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
    EXPORTING
        I_KNA1                              = w_kna1
      I_KNB1                              =
        I_KNVV                              = w_knvv
      I_BAPIADDR1                         =
      I_BAPIADDR2                         =
      I_MAINTAIN_ADDRESS_BY_KNA1          = ' '
      I_KNB1_REFERENCE                    = ' '
      I_FORCE_EXTERNAL_NUMBER_RANGE       = ' '
      I_NO_BANK_MASTER_UPDATE             = ' '
      I_CUSTOMER_IS_CONSUMER              = ' '
      I_RAISE_NO_BTE                      = ' '
        PI_POSTFLAG                         = 'X'
      PI_CAM_CHANGED                      = ' '
      PI_ADD_ON_DATA                      =
      I_FROM_CUSTOMERMASTER               = ' '
    IMPORTING
      E_KUNNR                             =
      O_KNA1                              =
      E_SD_CUST_1321_DONE                 =
    TABLES
      T_XKNAS                             =
      T_XKNBK                             =
      T_XKNB5                             =
      T_XKNEX                             =
      T_XKNVA                             =
      T_XKNVD                             =
      T_XKNVI                             =
      T_XKNVK                             =
      T_XKNVL                             =
        T_XKNVP                             = I_XKNVP
      T_XKNZA                             =
      T_YKNAS                             =
      T_YKNBK                             =
      T_YKNB5                             =
      T_YKNEX                             =
      T_YKNVA                             =
      T_YKNVD                             =
      T_YKNVI                             =
      T_YKNVK                             =
      T_YKNVL                             =
        T_YKNVP                             = i_yknvp ***
      T_YKNZA                             =
      T_UPD_TXT                           =
    EXCEPTIONS
        CLIENT_ERROR                        = 1
      KNA1_INCOMPLETE                     = 2
      KNB1_INCOMPLETE                     = 3
      KNB5_INCOMPLETE                     = 4
      KNVV_INCOMPLETE                     = 5
      KUNNR_NOT_UNIQUE                    = 6
      SALES_AREA_NOT_UNIQUE               = 7
      SALES_AREA_NOT_VALID                = 8
      INSERT_UPDATE_CONFLICT              = 9
      NUMBER_ASSIGNMENT_ERROR             = 10
      NUMBER_NOT_IN_RANGE                 = 11
      NUMBER_RANGE_NOT_EXTERN             = 12
      NUMBER_RANGE_NOT_INTERN             = 13
      ACCOUNT_GROUP_NOT_VALID             = 14
      PARNR_INVALID                       = 15
      BANK_ADDRESS_INVALID                = 16
      TAX_DATA_NOT_VALID                  = 17
      NO_AUTHORITY                        = 18
      COMPANY_CODE_NOT_UNIQUE             = 19
      DUNNING_DATA_NOT_VALID              = 20
      KNB1_REFERENCE_INVALID              = 21
      CAM_ERROR                           = 22
        OTHERS                              = 23.
    IF sy-subrc eq ‘0’.
    Commit work and wait.
    Endif.
    All above tables have a field called ‘KZ’ which has options
    U-update
    D-delete
    I-insert
    E-………(I don’t know)
    Ex: T_XKNVP structure = KNVP Structure + Field ‘KZ’.
    Documentation for this FM is not Available in English or German
    1.  I tried sending Z2  KZ as ‘D’ first &  Z1 with KZ as ‘I’ with business partner of Z2 (KUNN2)
         as single update.
    Ex: T_XKNP table
    KUNNR          PARVW             KUNN2          KZ
    123          Z2          70007777     D
    123          Z1          70007777     I
    2.  I tried it as a separate delete record and insert record i.e calling the FM twice .
    3.  I tried passing table  T_YKNVP with old partner data + TXKNVP table new partner data
    Ex: T_YKNP table
    KUNNR          PARVW             KUNN2          KZ
    123          Z2          70007777     U or space (I tried both one after another)
    4. All combinations for field ‘KZ’  are tried.
    Please help me to overcome this problem.
    I )   I need which parameters are to be passed to FM for updating partner function in KNVP table .
    II)   Do I need to pass structure I_KNA1 or I_KNVV to FM ? (Blank or with values corresponding to   
         partner function ).
    III)  Any sample code which can guide me.
    Even a small hint or clue from you will certainly help me.
    Thanks in Advance.
    AJAX

    i have the same problem. I need to update the partner function PARVW thru a program that i created. I tried to use this FM but it didn't work. Anyone knows another FM that i can use to update the KNVP table?

  • How to find master data info objects. Partner function and customer class.

    hi,
    Can you please tell me what are the available extractors for Partner Function (PARVW from VBPA)and Customer Class (KUKLA from KNA1).
    I hope these fields are master data. I checked in 0customer. But I didn't find it. There is a info object (Business partner). Is it the same?
    pls reply

    I will admit that I am not familiar with ECC and there may be different interpretations of what KUKLA means and different means of extracting Customer information to/from ECC.
    However, for us, when extracting Customer Attributes using the 0CUSTOMER_ATTR datasource in R/3, we map KUKLA to 0CUST_CLASS.  They are both set up as 2 CHAR.  That is not to say that you should also.  You can map it to a custom infoobject in BW as long as you set it up as an attribute of 0CUSTOMER.  KUKLA is available in the standard datasource 0CUSTOMER_ATTR in R/3.  When looking at what is available in the infosource for 0CUSTOMER in BW, 0CUST_CLASS is a logical choice to map.
    As far as VBPA-PARVW, VBPA is not a source for master data for 0BPARTNER.  VBPA contains the business partners associated with Sales documents.  So if you are going to create a data provider (cube/ODS) in BW and VBPA-PARVW is part of the transactional datasource in R/3, the you can map it to 0BPARTNER in your cube/ODS.
    Hope this helps.

  • Account Group and partner functions in customer master records

    Hi Gurus,
    I need your help to confirm the following understand if correct:
    1. To create customer master record for partner function Ship-To, need to create a customer master record using the uniquely assigned account group for Ship-To , that is, 0002 . In this ship-to master record, define in its partner function tab, the other partner functions related to it. 
    2. To create the above, it cannot be achieved by just assigning the partner functions in the partner function tab of SOLD-To customer master record , created using account group 0001.
    Question:
    1. How does the system know or allow what codes a user can select (f4) or enter manually when defining in customer master record's partner function tab, the partner functions and their respective codes?
    How is this controlled? Is it by user authorization? or will user / sales administrator be able to select any codes tied to a partner function?
    2. Lets say there are 2 partner functions : Sales employee VE and 9E called Sales Representative. Both of these partner functions are of Partner Type PE.
    When defining in customer master record's partner function tab, how does the system know what codes is selectable for the administrator for each of these partner functions?
    best regards
    M Russo

    hi russo,
    this is to inform you that,
    1. yes you are right.
    2. you need to follow the steps as you said.
    Question:
    1. that you can find in the search basing on account group for partners.  that assignment we should know russo which SH to be assigned to which SP.  no need to have authorization for that, make a note of the list of SH and SP to be assigned that's all.
    yes, he will able to select any SH from the list but make sure that we assign the correct SH to the list of SP.
    2. that you will be defining it in Partner Determination Procedures.  at the time of CMR creation you have to select the correct code that will get populated in sales order.
    hope this clears your issue.
    balajia

  • What is the use of Source Partner function

    Dear Experts,
    Can you please explain me the exact use of Source Partner Function in Partner Functions in procedures in Customizing.
    Is it used to propose only sold to party partner function or any partner function from the master data of particular partner function.
    I read SAP standard help but I got confused because of its example. It is as below.
    Source partner function
    Partner function which serves as an alternative source for determining the sold-to party.
    Procedure
    If you don't want the system to propose a partner from the sold-to party master record, enter another partner function here. The system will then propose the sold-to party from the master record of your partner function.
    Example
    If you enter WE (ship-to party) in this field for the function VE (sales employee), when you create the sales document,  it determines the sold-to party from the VE partner function in the ship-to party's master document.
    kindly reply. thanks in advance
    sagar wagh

    Dear Sagar,
    While determining the partner functions you can define that particular partner should be determined from the source partner functions master data.
    For example you want to determine the Freight forwarder and you want to make sure that  this partner function should be proposed as per the ship to party then in customizing for freight forwarder partner function you will maintain the source as ship to party. Due to this customization when you will be creating the sales order for sold to party x and assume that for x you are having two different ship to party at two distinct locations. For these  two locations you have different freight forwarder  providing the services(one for each location). So to determine the right freight forwarder the above mentioned customizing will be required. Otherwise system will propose this partner function as per sold to and that will be same for all ship to.
    Hope this example will help you to understand the usage of source in partner determination.
    Thanks and regards,
    Atul

  • Whats the use of PARTNER FUNCTIONS node in NACE transaction

    hello
    i would like to know when a output type is selected as medium EDI or ALE what needs to be entered in the PARTNER FUNCTIONS node and what is the main purpose of this node. Pls help
    ~Suresh

    Hi Suresh,
    Partner Functions Uses
    You use partner functions in transactions, in all areas of partner processing and in some areas of business partner master data.
    ·        For example, you have a real estate business and define the function tenant to refer to your customers.
    ·        Tenant is then displayed in the header and Partner tab page in transactions, and on the Buying Center tab page, when relevant.
    ·        It appears in the Customizing settings for access sequences, partner determination procedures and partner teams
    ·        It appears in business partner master data when you assign partners to partner functions as part of maintaining sales area-specific data, and when you enter excluded partner functions.
    Nace Transaction
    The Tcode NACE is used to link the Standard SAP forms (SCRIPTFORM or SMARTFORM) or the customized form or the new form to its respective print programs. Also the output types, Form entry are linked with their forms and print programs. In short term, i can tell u that configuration or customization of forms to print programs, assigning output types, form entry to the forms are done using this Tcode.
    NACE is used to create output type while creating the output type you will mention forms, and driver program.
    that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
    so check in NAST, TNAPR table
    Reward if useful.
    Thankyou,
    Regards.

  • Sales District and Partner function relationship in customer master

    Hello there
    I am working on a report and need to know one table relation for sales District and Partner function 
    i have a requirement , where i want to list all the partner number/Partner function assign to the customer with ref to the sales District
    we have one partner function Tab at sales Area tab in customer master , and another when we click on Sales district tab at header will get another window where we maintain partner function relate to the sales District , i want to have all those partner function in report , can you please help me where i can find that in table ? when i do F1 its says  KNVP but that table maintain at the sales area leval , not for the Sales District !! if you can help
    thanks
    Sonam

    Hi Sonam -
    and another when we click on Sales district tab at header will get another window where we maintain partner function relate to the sales District
    Do you have custom table/maintenance for sales district? Are you not maintaining Sales District in Sales Tab of customer master.
    You have to look for the field and table where you have maintained sales distict along with Customer and join the customer with KNVP customers and get all the partners.
    For Example - if you have mainationed sales district in KNVV table of BZIRK field then you have to join KNVV -KUNNR with KNVP-KUNNR and extract all records of customer distict and associated partner functions.
    Let me know,if the given solution is not applicable for your case.
    Thanks
    Amit Gupta

  • 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

  • Contact Person in Customer Master to be linked to Partner function CP

    hi,
    My business scenario is that along with the address of the ship to party,the concerned persons name is also printed on the OR ,Deliver note and billing document.These names are changing alwayz,
    Can some one tell me how can i link the contact persons in the customer master to the Partner function CP.Also i need to maintained multiple contact persons which can be then choosen at the SO level.
    Kindly advise if there is some field in the sales order,which can be usd for the same(header level) and thereby the requirement be met.
    In case u need to send a mail, kindly send on   [email protected]
    Thanks

    Hello Priyanka,
    (1) go to: Sales and Distribution > Basic Functions > Partner Determination > Set Up Partner Determination > Set Up Partner Determination for Customer Master > Partner Functions
    Check whether the CP partner function exists or not. "CP" is SAP standard delivered Partner Function and must be there.
    (2) go to: Sales and Distribution > Basic Functions > Partner Determination > Set Up Partner Determination > Set Up Partner Determination for Customer Master > Partner Determination Procedures
    Check whether this partner function is included in your Customer Master Partner Determination Procedure for Sold-To Party or what ever account group you want.
    (3) Now go to your Customer Master Record and create a Contact Person Record and save it.
    (4) then go to Customer Master Record > Sales Area Data > Partner Functions tab and select the drop down list on Partner Fucntion to enter CP and select the drop down list for Customer Number and press enter then it should list your Contact Person Number then select it and save it.
    (5) To flow this CP into Sales Order Make sure that the Sales Document Header Partner Determination Procedure has this partner function included.
    Follow this path: go to: Sales and Distribution > Basic Functions > Partner Determination > Set Up Partner Determination > Set Up Partner Determination for Sales Document Header > Partner Determination Procedures
    Thanks and please reward points if helpful.
    Sree.

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

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

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

Maybe you are looking for

  • Tomcat doesn't find servlet

    (I apologize for the strange formatting of this message. I don't know exactly how to control it.) I'm trying to deploy a basic "Hello World" servlet into Tomcat (6.0.18) on Mac OS X Server (10.5.6). When I try to access it. I get 404 (not found) erro

  • Duplicate pricing conditions printed in the invoice

    The values returned in the table parameter "TKOMVD" of the function module "'RV_PRICE_PRINT_HEAD"used in the program RVADIN01, causing some duplicate pricing conditions in the script printing. Also this table parameter is not always returning the sam

  • Issue with Lockout Duration in Password Policy in OAM

    Hi, We are facing an issue with the lockout duration configuration in the password policies in the identity manager interface for our OAM setup. Oracle Access Manager 10g version 10.1.4 User/Policy Store: ADAM Ldap [Microsoft ADAM 2003] After we lock

  • Oracle BI general Question

    Hi guys, I am a certified and experienced PL/SQL developer and I want to switch to Oracle BI. Starting to look over the Internet for the documentation, I was quickly overwelmed by the multitude of tools Oracle provides. Basically what I identified as

  • Unit Price in Bulgarian(BG) language is printing as ##

    Hi, In BG language the Unit price (ST) is showing as ##, any inputs. Rest all are showing perfect.