How to define Partner function!

I want to create a customer as a sold-to party in order to create a sales order.I have set up a account group name is internal sold-to party and use it by this customer,but at the tab of sales data I can't assign the partner function to this customer because of no possible entries exist for the field of PF!
    What can i do ?THKS
                                                          Brian

Create your customer with the account group 0001-sold-to party.
In case, you have created your own account group, check as to how the same is created/maintained and assigned in Sales and Distribution-Basic functions-Partner Determination-set-up partner Determination.
Here one defines the rules that should be used to perform for automatic partner determination.
When a customer master record is created, the SAP system proposes the allowed partner functions for maintenance. The partners are copied from the sold-to party's customer master records into the sales documents, according to the rules one has defined.
Regards,
Gaurav.
Reward Points if solution is appropriate.

Similar Messages

  • How to define partner functions in ECC 6.0

    Hi All,
    I'm using ECC 6.0. I tried the IMG path "Sales and Distribution -> Basic Functions -> Partner Determination". My document says I can find "Define Partner Functions" here. But actually there's only a "Set Up Partner Determination" under this foloder. Could somebody give me a clue?
    Best Regards
    Jerome

    Thanks for the help!
    Best Regards
    Jerome

  • How to update partner function in PO.

    Hi guys,
      Please help me, How to update partner function in PO.(Transaction ME23N),BAPI_PO_CHANGE is not updating this.it gives error like partner roles not change.

    DATA :  li_return         TYPE TABLE OF bapiret2 WITH HEADER LINE,
                 li_popartner    TYPE TABLE OF bapiekkop WITH HEADER LINE,
                 lv_error           TYPE  FLAG  .
    li_popartner-partnerdesc = X1.
      li_popartner-langu       = sy-langu.
      li_popartner-buspartno   = 'vendor1'.
      APPEND li_popartner.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder = ebeln
        TABLES
          return        = li_return
          popartner     = li_popartner.
      LOOP AT li_return.
        WRITE / li_return-message.
    Check error
        IF li_return-type = lc_E OR li_return-type = lc_A.
          lv_error = 'X'.
        ENDIF.
      ENDLOOP.
      IF lv_error IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    Is there any config issues are there And also I am going to pass any values .
    HI,
      How to update the confirmation tab in PO item level.
    I write this code tell me i am going to pass any values or not.
    DATA:
        li_ekes               TYPE STANDARD TABLE OF uekes .
      CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
                          EXPORTING
                            I_EBELN = lwa_z1confirmations-ebeln
                          TABLES
                            XEKES   = li_ekes.
                        IF sy-subrc EQ 0.
                        ENDIF.

  • How to link Partner function with EDI ?

    Hi all,
    While sending PO thourgh EDI i am getting some error message...Partner function is not assigned with EDI..this message is not coming with ALE.
    Can any body help me to "How to link Partner function with EDI "?
    Thanks in advance.
    ankush

    Hi Ankush,
    Perhaps unintentionally, you are not rewarding points for correct answers, instead of clicking on the radio button"AWARD POINTS", you are clicking  "SOLVED BY OWN".
    and no points are being given from your side.
    Please award points if you find the answers helpful.
    Now also you can award points first, unassign by clicking again and then assign to whomsoever you think deserves.
    Regards,
    Sachendra Singh

  • 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

  • How to update partner function in ME_PROCESS_PO_CUST

    Hi,
    does anyone know how to update the partner function in PO? transaction ME22N or ME21N.
    I have checked the BADI ME_PROCESS_PO_CUST and there is no way for me to set the partner.. there is a method get_partners but i didn't find a way to set it..
    I cannot just modify the table EKPA since when creating PO, there is no PO number yet.
    Can anyone help? Please.
    Thanks

    Hi Esaki,
    1) Define new field selection in configuration "Define screen layout at Document level"
    2) write code in fieldselection_item_refkeys as follow
    get item data
    if your condition
      ch_key0 = new field selection
    endif
    Hope it can help u.
    Grace

  • How to Add Partner function in the main screen of the Sales order???????

    Hello All,
    I am working on ECC 6.00 SD module
    I want to add partner function in the main screen of the sales order, that mean add more partner function beside Sold to party and the ship to party to be in the order header, Is it possible and how?
    Regards
    Jacopo Françoise

    Hi
    If you want in the sales order , above the sold to party as the  box then you need to go for enhancements
    Regards
    Srinath
    Edited by: sri nath on Jun 11, 2008 6:56 PM

  • How to define recursive functions in JSP

    Hi,
    If anybody knows, how to to define recursive functions pls help. I am using an XML file for the creation of a tree menu. In order to display the menu, i have to use recursive functions...Also out.println throwing error in the function..
    Thanks,
    Philips

    I do not have my Java book at work with me today so you'll have to bear with me. The following routine assumes that you can get some sort of branch object from your tree menu object (also assuming you have something like this). Furthermore, it assumes that the branch object can return some sort of collection of all leaves and branches on a particular branch through a made-up getLeaves() method call.
    <%!
              public void displayLeaves(Branch branch)
                   Iterator branches = null;
                   branches = branch.getLeaves().getIterator();
                   Object leaf = null;
                   while( branches.hasMoreItems() )
                        leaf = branches.nextItem();
                        if(leaf instanceof branch)
                             displayLeaves((Branch) leaf);
                        else
                             out.println( ((Leaf)leaf).getValue() );
    %>This code fragment should be just the logic you need to expand a tree as JSP output. To invoke this method all you have to do is pass the root branch element to the method from within your JSP. Please let me know if you need additional info.

  • How to define Excel function using BEx formula

    Hi experts,
    May I know how to define the following Excel function using BEx formula?
    IF(AND(Revenue<0,Cost<0),"N/A",(Profit/Lost/ABS(Revenue)))
    Thanks!

    for me its easy to implament logic with * and + rather than  AND and OR respectively
    ((Revenue<0)(Cost<0))Value +((Revenue>0)(Cost>0)) ( Profit&Lost / ABS(Revenue))
    As i have mentoned already,for Else case i have considered (Revenue>0) and (Cost>0)  only.
    Value can be a KeyFigure/Formula/formula variable/CKF/RKF
    its not possible to type characters in the formula window so 'N/A'
    Regards.
    Message was edited by:
            Murali c

  • How to update partner functions in customer master

    Hi all,
    I want to update the partner functions for the customer master using transaction code XD02. I created the LSMW by means of recording but it doesn't work because the partner functions for the customer changes.
    for example , certain customers have shipto paty, sold to party , bill to party payer and forwarding agent. some customers wont have all the above mentioned category.they may have only ship to party, sold to paty & bill to party.
    Is there any other alternative way to update the partner functions for the customer. 
    Regards,
    A.Rathinaprakash

    Hi A.Rathinaprakash,
    Please use the FM 'SD_CUSTOMER_MAINTAIN_ALL' to maintain the partner functions in the customer.
    Pass the partner details in the TABLES parameter T_XKNVP.
    Regards
    Chetan

  • How to populate partner function for stock transport order in ME21n/ME22n

    Please advise is there any way we can determine the partner functions to be populated in ME21n.
    I have gone through sap note 117537 they said it is not required and not available in SAP standard way.
    Then tried implementing user exit EXIT_SAPMM06E_013 and populating the required partner functions in XEKPA[].
    It is getting triggered and i can see the values in table but after save i go and see in display ME23N i can't find any partner functions.
    Later i found some interesting thread in SDN use exit: EXIT_SAPMM06E_012 and get the values from (SAPLMEPO)XEKPA[] in case of ME23N.
    even this is not working.
    DATA it_ekpa LIKE ekpa OCCURS 0 WITH HEADER LINE.
    DATA name(50) VALUE '(SAPLMEPO)XEKPA[]'.
    DATA name1(50) VALUE '(SAPMM06E)XEKPA[]'.
    FIELD-SYMBOLS <f1> TYPE any .
    IF sy-tcode+4(1) = 'N'.
       ASSIGN (name) TO <f1>.
    ELSE.
       ASSIGN (name1) TO <f1>.
    ENDIF.
    it_ekpa[] = <f1>.
    Any idea ?
    Thanks,
    Mahesh gattu

    I got it fixed my self.
    here is the solution.
    in user exit :EXIT_SAPMM06E_012.
    call below FM: MM_CALL_UPDATE_PARTNERS
    Trick is pass the partner values the one you wanted to below table: x_mmpa and xuekpa.
    you can calculate partner records from wyt3 table depends on your logic/requirement.
    CALL FUNCTION 'MM_CALL_UPDATE_PARTNERS'
         EXPORTING
           ebeln       = wa_ebeln
           bstyp       = 'F'
    *     knuma       = wa_knuma
           application = 'P'
         TABLES
           x_mmpa      = it_mmpa1
           y_mmpa      = it_mmpa2
           xuekpa      = it_uekpa1
           yuekpa      = it_uekpa2
           i_mmpa      = it_mmpa3
           u_mmpa      = it_mmpa4
           d_mmpa      = it_mmpa5.
    Thanks,
    Mahesh

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

  • How to control partner function through security objects ??

    Hi, theres any way to control witch Partner function are avalilable to assign in support messages ??
    Theres any security object to control that ??
    I have configured rules for automatic determintation, but in certains cases i need to assign manually.
    I need to control this asignation Partner function
    Any ideas ?? CRM_ORD_OP ??
    Best Regards

    I got it fixed my self.
    here is the solution.
    in user exit :EXIT_SAPMM06E_012.
    call below FM: MM_CALL_UPDATE_PARTNERS
    Trick is pass the partner values the one you wanted to below table: x_mmpa and xuekpa.
    you can calculate partner records from wyt3 table depends on your logic/requirement.
    CALL FUNCTION 'MM_CALL_UPDATE_PARTNERS'
         EXPORTING
           ebeln       = wa_ebeln
           bstyp       = 'F'
    *     knuma       = wa_knuma
           application = 'P'
         TABLES
           x_mmpa      = it_mmpa1
           y_mmpa      = it_mmpa2
           xuekpa      = it_uekpa1
           yuekpa      = it_uekpa2
           i_mmpa      = it_mmpa3
           u_mmpa      = it_mmpa4
           d_mmpa      = it_mmpa5.
    Thanks,
    Mahesh

  • How to define a function with table type parameter

    Hello All,
    Here is the requirement ..
    cursor c is select first_name, last_name , ssn from employee ;
    TYPE employee_type IS TABLE OF c%rowtype;
    tbl_employee_type employee_type;
    I want to pass the parameter to a function the ssn -: tbl_employee_type(1).ssn
    how the formal parameter should be declared
    ===========================
    function chk_notnull_blank ( ? ) return boolean is
    BEGIN
    if ( colname is NOT NULL and colname in ( -8E14, -7E14, -6E14, -5E14, -4E14, -3E14, -2E14, -1E14, -1E9 )) then
    RETURN TRUE ;
    else
    RETURN FALSE ;
    end if;
    END chk_notnull_blank;
    ======================
    pls advice
    thanks/kumar

    You cannot define a generic argument in a function,
    but you can overload several funtions with the same name and different types of arguments in a package,
    in this way (not tested):
    create table employees as
    select employee_id ssn, first_name, last_name from hr.employees;
    create or replace
    PACKAGE chk
    IS
      cursor c is select first_name, last_name , ssn from employees ;
      TYPE employee_type IS TABLE OF c%rowtype;
      TYPE employee_ssn_type IS TABLE OF employees.ssn%TYPE;
      TYPE employee_num_type IS TABLE OF number;
      FUNCTION chk_notnull_blank ( colname  employees.ssn%TYPE) RETURN boolean;
      FUNCTION chk_notnull_blank ( colnames  employee_type) RETURN boolean;
      FUNCTION chk_notnull_blank ( colnames  employee_ssn_type) RETURN boolean;
      FUNCTION chk_notnull_blank ( colnames  employee_num_type) RETURN boolean;
    END chk;
    create or replace
    PACKAGE BODY chk
    IS
      FUNCTION chk_notnull_blank ( colname  employees.ssn%TYPE) RETURN boolean IS
      BEGIN
        if ( colname is NOT NULL and colname in ( -8E14, -7E14, -6E14, -5E14, -4E14, -3E14, -2E14, -1E14, -1E9 )) then
          RETURN TRUE ;
        else
          RETURN FALSE ;
        END IF;
      END chk_notnull_blank;
      FUNCTION chk_notnull_blank ( colnames  employee_type) RETURN boolean IS
      BEGIN
         FOR i IN colnames.FIRST .. colnames.LAST LOOP
            IF NOT chk_notnull_blank( colnames( i ).ssn )
            THEN
               RETURN FALSE;
            END IF;
         END LOOP;
         RETURN true;
      END chk_notnull_blank;
      FUNCTION chk_notnull_blank ( colnames  employee_ssn_type) RETURN boolean
      IS
      BEGIN
         FOR i IN colnames.FIRST .. colnames.LAST LOOP
            IF NOT chk_notnull_blank( colnames( i ) )
            THEN
               RETURN FALSE;
            END IF;
         END LOOP;
         RETURN TRUE;
      END chk_notnull_blank; 
      FUNCTION chk_notnull_blank ( colnames  employee_num_type) RETURN boolean
      IS
      BEGIN
         FOR i IN colnames.FIRST .. colnames.LAST LOOP
            IF NOT chk_notnull_blank( colnames( i ) )
            THEN
               RETURN FALSE;
            END IF;
         END LOOP;
         RETURN TRUE;
      END chk_notnull_blank; 
    END chk;I assumed in this example that if the argument of the function chk_notnull_blank is of the table (collection) type,
    then the function returns true if all table elements pass the check, otherwise it returns false.

  • How to define a function that returns a void?

    Hi all,
    How can I define a custom function that returns a void?
    My understanding is simple UDF can only return a string.
    Is there any way around this limitation?
    Thanks.
    Ron

    > Hi,
    > User Defined Function in XI always return a String.
    >
    > If you requirement is that you want to perfrom some
    > operation in an user defined function, one option is
    > to move it to the Java Section in your mapping and do
    > it in the intialization / clean up section.
    >
    > Else, wite a UDF that will return a Blank string as
    > the output, and map it to the root node of the
    > target.
    >
    Hi all,
    Thank you all for your kind responses.
    The scenario I have is I need to insert the value of a particular field into a database table. E.g. MessageId, to keep track of the messages going through XI.
    Naturally, such operations return void. These operations are already encapsulated in a custom jar file.
    My purpose of using a UDF is solely to invoke the operation.
    But I realized I each UDF has to have a return type, and the output of this UDF must be mapped to a node in the outgoing message.
    Currently, my UDF returns an empty string, by using the implementation as below, I manage to perform my desired operation without affecting the result:
    MessageId -- UDF -- CONCAT -
    InstitutionCD_Transformed
    InstitutionCode_____
    But as you can see, this is not an elegant way of doing things.
    That's why I'm seeking alternative solutions for this problem.
    Bhavesh, you mentioned something about doing the operation in the initialization/cleanup section.
    Can you please explain more?
    Thanks.
    Ron

Maybe you are looking for