Set Partner function to 'ZT' in the migo transaction

Dear all,
I have a requirement wherein the PO is raised in background at the time of GR through MIGO.
I am supposed to pass the partner function as 'ZT' when the MIGO is done and partner function should be set as 'ZT'
during auto PO generation. Is there any BADI/user exit which can help to achieve the same.
Thanks in anticipation.

Define Account Groups with Screen Layout (Customers)   OBD2
SPRO > Financial Accounting(New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master  Data  > Preparation fro Creating Customer Master Data > Define Account Groups with Screen Layout (Customers)
Set Up Partner Determination for Customer Master
Define new Partner Function
SPRO > Sales and Distribution > Basic Functions > Partner Determination > Set Up Partner Determination
Account Groups u2013 Function Assignment
Set up partner Determination for Sales Document
Sales and Distribution > Master Data > Business Partners > Customers > Customer Hierarchy > Set Partner Determination For Hierarchy Categories
do not forget to create and assign number range
Assign Number Ranges for Customer Account Group OBAR
SPRO > Financial Accounting(New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master  Data  > Preparation fro Creating Customer Master Data > Assign Number Ranges for Customer Account

Similar Messages

  • Another partner function is derived from the partner types than was entered

    Hi Dear SRM Experts,
    I am sending  Purchase Requisition to SRM and it gives the error on SRM side Transaction SLG1
    "Another partner function is derived from the partner types than was entered from external source"
    Experts please reply me iIt is very urgent.please suggest any ideas.
    Regards
    Ilhan Ertas

    Hello,
    Check:
    A. RFC user has been assigned to Local Purchase org & local purchase group.
    B. RFC user is consistent in BBP_ATTR_CHECK.
    C. Plants have been replicated properly into SRM and have been assigned the proper GUID's.Check table BBP_LOCMAP for this.
    D. Also check the SRM RFC destinations and the SRM RFC user assigned in both the Systems.
    SAP Note might be useful. 801133 - Interface used to transfer external requirements is adjusted
    Thanks
    Ashutosh

  • Issue with the MIGO transaction recording

    Hello All,
    I am working on the MIGO transaction(Goods receipt purchase order) and i am doing the recording for this transaction but it is not recorded properly, the same screen information is recording twice even though i was given only one entry for that  item.
    what i am doing is i am just entering the document number and then the document date . After entering this header information i am
    entering the quantity in  unit of entry field and then clicking on the distibute qty icon.Later after distributing the quantity i am saving the data.
    This is what i am recording but the same code is repeting twice in the recording. Can anyone suggest what will be the reason.
    Thanks.

    Hi,
    MIGO is use Enjoy transaction so there will be always problem with BDC.
    I will suggest you to use BAPI for same.
    Thanks.
    Dhiraj,

  • Partner function SP determine in the sales order

    Dear SD Gurus,
    I want to determine the partner function SP in the sales order, when not entered anyvalue, the sales should give incopleteness check.
    But what the client here wants is that, sometimes the client wont enter any value on the sales order,so he will deleted the automatcally determined part function on the partner tab of the sales order header.
    Here the partner function should be not mandatory (because when the client wants to deleted the line ofn the header tab,system doesnt allow to do it). Also the partner function should not be not modifiable, because he may want to change it when sth wrong has been entered.
    So to automatically determined the partner function on the sales order,either modifiable or mandatory should be selected as I know.But when both are selected, this is not a good way for usage.
    Do you have any suggeston to make this partner functon automatically determine on the sales order and when wanted, deleted?
    Thanks
    Jack

    Hi,
    Try this way and see whether it's what is require by the customer.
    First of all what is this Partner function your talking about?
    Can you maintain this Partner function for each customer? If possible you can try this method.
    Go to below IMG path:
    Sales and Distribution / Basic Functions / Partner Determination / Set Up Partner Determination / Set Up Partner Determination for Customer Master
    Then highlight the "Partner Determination Procedure"
    Double click on "Partner Functions in Procedure" node
    If you haven't maintained your partner function there, add it
    Set it Mandatory if you want it to be set mandatory for each customer.
    Save
    Then go to below IMG path:
    Sales and Distribution / Basic Functions / Partner Determination / Set Up Partner Determination / Set Up Partner Determination for Sales Document Header
    Highlight the relevant Partner Determination Procedure for Order Header
    Double click on "Partner Functions in Procedure" node
    Add If you haven't maintained your partner function there, add it
    Don't Mark it as mandatory or not modifiable
    Save
    Now go to you customer master from XD02 transaction.
    System will ask you to add new partner function as it is Mandatory.
    Now create a Sales order from that customer.
    System will automatically copy that Partner function to you Order Header.
    If user wants to delete it, he can delete it from there.
    If user want to change it, he can change it from there.
    Hope this helps !
    Best regards,
    Anupa

  • Set partner function for STO

    Hi experts,
    Currently there is a requirement from the customer that we need to set the partner function CR(forwarding agent) mandatory when we create STO. I have defined partner schema 0004, set CR mandatory and assign 0004 to the STO document type, but it doesnu2019t work, when I create STO, I can save the STO without input of CR.
    Do we need to do enhancement on this requirement? Thanks.

    Receiving plant is assigned a customer number in SPRO.
    This partner function will be maintained in customer master of receiving plant. Use transaction VD02/ XD02.
    This will work.

  • Partner Function "Vendor" missing when the sales order is replicated to ECC

    Hi Gurus,
    We are facing a problem on replication of functions partners between
    sales order of CRM and ECC.
    We have downloaded vendors (partners of table LFA1) from ECC to CRM
    following note 883162 and this replication was ok!
    We have mapped all partner functions from ECC to CRM and from  CRM to
    ECC for distribution of partners between systems.
    We must include a vendor using partner function '0000092 - Carrier' on
    our sales order, which is transferred to ECC. However, when the sales
    order is transfered to ECC, the vendor (which was included on CRM) is
    missing.
    When the sales order is created on ECC and the partner (type carrier)
    is included in,  the order arrives on CRM missing only the partner
    number, because the partner function is there.
    How to fix this problem?
    Best Regards,
    Nivea Faria

    Hi,
    See this Note : 975195
    Hope this helps.
    Best Regards
    Shiven

  • Can the same partner function be entered in the sales order more than once.

    Hi
    I know that as per standard same partner function cannot be entered more than once in Sales order.
    If somebody has tried ways to do this please share.
    THanks
    Alags

    Yes. You can have multiple Ship to Party, Bill to Parrty & Payer in Sales Order. But Sold to Party will have to Unique & single.
    This functionality of having multilpe Partners is widely used & just follow as Deepak suggested above & you too can have multiple Partners of same type in single Sales Order.
    But there has to be a strong Business case in doing so... say different Ship tp Party for different line items in Sales Order or different BIll to Party for some line Items in Sales Order.
    Hope this helps,
    Thanks,
    JIgnesh Mehta

  • Function Module to get the MMBE transaction Data

    Hi All,
    My requirement is to calculate the open stock of a given part number in all the plants. I was told that the MMBE transaction in SAP can give me the data. So, I was searching for a function module or Bapi which could get this data which I can call in my program. Can anyone help me out?? Thanks.

    Hi Mohan,
    You can try this code..with slight modifications.. (to work for all PLANTS)
    Regards,
    Raj
    FUNCTION ZMM_ISSUES_PER_YEAR_POWER.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(I_MATNR) LIKE  MARA-MATNR
    *"     REFERENCE(I_PLANT) LIKE  T001W-WERKS
    *"     REFERENCE(I_GJAHR) LIKE  MSEG-GJAHR
    *"  EXPORTING
    *"     REFERENCE(E_STK_OPBAL) LIKE  BSIM-MENGE
    *"     REFERENCE(E_STK_VAL) LIKE  BSIM-DMBTR
    DATA : V_STK_OPBAL LIKE BSIM-MENGE,
           V_STK_VAL   LIKE BSIM-DMBTR,
           V_GJAHR     LIKE MSEG-GJAHR.
    DATA : BEGIN OF IT_BSIM OCCURS 0,
              MATNR LIKE BSIM-MATNR,
              SHKZG LIKE BSIM-SHKZG,
              MENGE LIKE BSIM-MENGE,
              DMBTR LIKE BSIM-DMBTR,
           END OF IT_BSIM.
    TYPES: BEGIN OF ST_MSEG,
              MATNR LIKE MSEG-MATNR,
              SHKZG LIKE MSEG-SHKZG,
              MENGE LIKE MSEG-MENGE,
              DMBTR LIKE MSEG-DMBTR,
              BWART LIKE MSEG-BWART,
              LGORT LIKE MSEG-LGORT,
           END OF ST_MSEG.
    DATA : IT_MSEG  TYPE ST_MSEG OCCURS 0 WITH HEADER LINE,
           TMP_MSEG TYPE ST_MSEG OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF IT_MBEW OCCURS 0,
              MATNR LIKE MBEW-MATNR,
              LBKUM LIKE MBEW-LBKUM,
              SALK3 LIKE MBEW-SALK3,
           END OF IT_MBEW.
    *V_KEYDT = I_KEYDT + 1.
    SELECT MATNR
           SHKZG
           SUM( MENGE )
           SUM( DMBTR )
      INTO TABLE IT_BSIM
      FROM BSIM
    WHERE MATNR EQ I_MATNR
       AND BWKEY EQ I_PLANT
       AND GJAHR EQ I_GJAHR
       AND BLART IN ('RE','WE','WA','PR')
    GROUP BY MATNR SHKZG.
    *SELECT MATNR
          SUM( LBKUM )
          SUM( SALK3 )
    INTO TABLE IT_MBEW
    FROM MBEW
    WHERE MATNR EQ I_MATNR
      AND BWKEY EQ I_PLANT
      AND VPRSV EQ 'V'
      AND BWTAR EQ ''
    GROUP BY MATNR VPRSV.
    SELECT A~MATNR
           A~SHKZG
           SUM( A~MENGE )
           SUM( A~DMBTR )
           A~BWART
           A~LGORT
      INTO TABLE IT_MSEG
      FROM MKPF AS B
      JOIN MSEG AS A
        ON BMBLNR EQ AMBLNR
       AND BMJAHR EQ AMJAHR
    WHERE A~MATNR EQ I_MATNR
       AND A~WERKS EQ I_PLANT
       AND A~KZBEW IN (' ','B')
       AND A~BWART NOT IN ('541','542','321','322','121')
       AND A~KZVBR NOT IN ('A')
       AND A~GJAHR EQ I_GJAHR
    GROUP BY AMATNR ASHKZG ABWART ALGORT.
    LOOP AT IT_MSEG WHERE BWART EQ '544' AND LGORT EQ ''.
       TMP_MSEG = IT_MSEG.
       APPEND TMP_MSEG.
    ENDLOOP.
    DELETE IT_MSEG WHERE ( BWART EQ '309' AND DMBTR EQ 0  ).
    DELETE IT_MSEG WHERE ( BWART NE '543' AND LGORT EQ '' ).
    LOOP AT TMP_MSEG.
       IT_MSEG = TMP_MSEG.
       APPEND IT_MSEG.
    ENDLOOP.
    *READ TABLE IT_MBEW WITH KEY MATNR = I_MATNR.
    *V_STK_OPBAL = IT_MBEW-LBKUM.
    *V_STK_VAL   = IT_MBEW-SALK3.
    LOOP AT IT_MSEG.
       IF IT_MSEG-SHKZG EQ 'H'.
          V_STK_OPBAL = V_STK_OPBAL  - IT_MSEG-MENGE.
          V_STK_VAL   = V_STK_VAL    - IT_MSEG-DMBTR.
      ELSE.
         V_STK_OPBAL = V_STK_OPBAL  + IT_MSEG-MENGE.
       ENDIF.
    ENDLOOP.
    LOOP AT IT_BSIM.
       IF IT_BSIM-SHKZG EQ 'H'.
         V_STK_OPBAL = V_STK_OPBAL  - IT_BSIM-MENGE.
         V_STK_VAL   = V_STK_VAL    - IT_BSIM-DMBTR.
      ELSE.
         V_STK_OPBAL = V_STK_OPBAL  + IT_BSIM-MENGE.
         V_STK_VAL   = V_STK_VAL    + IT_BSIM-DMBTR.
       ENDIF.
    ENDLOOP.
    E_STK_OPBAL = V_STK_OPBAL.
    E_STK_VAL   = V_STK_VAL.
    ENDFUNCTION.

  • 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

  • How to get the Partner Function of the corresponding index

    Hi experts,
    We have a requirement where in we need to fetch the corresponding partner function(PARTNER_FCT value) , when we click on the value help icon of a Partner_No_descr field of the component BTPARTNER.
    For eg:- When we click on the value help icon of second entry in the assignment block 'parties involved',
    we should fetch the Partner Function (PARTNER_FCT)value of the second entry.
    We tried using the GET_CURRENT ( ) ,GET_BY_INDEX ( ) etc method , but to no avail.
    Any helpful pointers would be rewarded.
    Kindly help.

    This thread remains closed.

  • Partner function relevant for the credit management.

    Hi,
    Which partner function is relevant for the credit management.
    Regards
    Prabudh

    Hi Prabudh,
       Check this link.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0fde72f-8216-2a10-6e87-e69ab79cb24f
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0780530-bf03-2b10-d5ad-e9e8a53def23
    Much Regards,
    Amuktha.

  • 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

  • Partner function in purchase

    Guru
    I have set the Partner function for Vendor In Migo
    It is showing the  vendor name on which  PO is given & Supplying Vendor Name  & Reeving Vendor Name is also showing Name of the Vendor on which is the PO is given is correct or  actually the their name of the receiver name ( Plant)
    Is their any Setting require
    Thanks
    Sudhir

    The procedure for setting partner functions:
    Step 1
    Vendor Account Group
    IMG->LOGISTICS GENERAL->BUSINESS PARTNER->VENDOR->CONTROL ->DEFINE
    ACCOUNT GROUPS AND FIELD SELECTION
    Step 2
    Defining Partner Schemas
    IMG->MATERIALS MANAGEMENT->PURCHASING->PARTNER -> DETERMINATION -
    PARNER SETTINGS IN VENDOR MASTER RECORD
    ->DEFINE PARTNER SCHEMAS
    Step 3
    Assign Partner Schema
    IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER DETERMINATION->PARTNER
    SETTINGS IN VENDOR MASTER RECORD->DEFINE PARTNER SCHEMA
    u201E« THEN ASSIGN PARTNER SCHEMA
    Step 4
    Define Permissible Partner Role Per Account Group
    IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER DETERMINATION -
    PARTNER ROLES ->DEFINE PERMISSION PARTNER ROLES
    If you want a partner schema for your own document type then define your partner schema and assign to document type using the below mentioned path.
    IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER ->DETERMINATION -
    PARTNER SETTINGS IN PURCHASING DOCUMENTS ->DEFINE PERMISSION
    PARTNER SCHEMAS
    And then
    ASSIGN PARTNER SCHEMAS TO DOCUMENT TYPE
    Once you have this configuration then you change your vendor in easy access menu (XK02-select partner function) define the partner roles.
    Prashant

  • Vendor master - Partner functions

    Hello Team,
    There is a vendor master with partner functions maintained for OA (Ordering address) There are 4 different ordering address vendors maintained in this vendor master.
    Let us say Vendor A ---> has OA's - 1,2,3,4
    Now when a PO is created a screen pops up to choose the reqd OA's for the vendor and only one will  be chosen by the user.
    Now this is changeable at PO level - ME22N
    Let me get straight to the question
    CAN WE RESTRICT THE ICHANGE OF OA's IN THE PO ONLY TO THE EXTENT OF WHAT IS MAINTAINED IN THE VENDOR MASTER.
    Right now the system is allowing to change in the PO any  OA vendor other  than what is maintained in the vendor master.
    I know this is because OA account group, let us say W1 is assigned to other 4 account groups W2,W3,W4,W5.
    I don't want to change this config to retsrict this by changing the above setting.
    As told in on line above, Issue is,  any vendor from these 4 account groups W2,W3,W4,W5 , if input in the partner functions at PO level, the system is picking up and I do not want that to happen.
    My requirement is to change in the PO only to the extent of OA's maintained in the Vendor master.
    Thanks for your patience on this  lengthy explanation, TRYING TO BE AS CLEAR AS POSSIBLE.
    Best Regards

    Hello Jürgen!
    Thanks!
    Do you know of any user exit which will help on this.
    Best Regards

  • Partner Function Issue

    Dear all,
    I have an issue wherin the system is allowing me to change the Ship To in the sales order and this Ship to is not a part of the Partner to sold to and the order is allowing me to enter any SHip To and getting Saved. Can you pls let me know where is the setting for this and not to allow any other ship to's to be manually entered in the SO.
    Thanks
    Srikkanth

    Dear Srikkanth,
    There are two issue in your qestion:
    1. Not allow any other **** to party then the one mentioned in Sold to party
    2. Do not allow to change the Ship to party.
    Now the solutions to the above issues are as follows:
    1. IMG - Sales and Distribution - Basic Functions - Partner Determination - Set Up Partner Determination - Set Up Partner Determination for Sales Document Header - Select TA - Standard Order & click on " Partner Functions in Procedure" on the left hand side.
    Here for combination of TA & SH (Ship to party) Maintain "SP" in the source feild.
    2. In the same menu path mentioned above - Put Tick mark in the check box of Not Modifiable so that user cannot change the Ship to party proposed by the system from the Sold to party.
    Hope this solves...
    Thanks,
    Jignesh Mehta.

Maybe you are looking for

  • Web Dynpro Application is not openeing from Portal UWL

    Hi, I have developed a WD application which is integrated in the portal. This WD application navigates through several levels of approval by triggering the workflow. Initially USER will create the request launching the WD application from portal and

  • AARP games requires plug-ins but they will not install to play games

    Every time I go on the AARP games site (http://games.aarp.org), it notes that my plugins need to be updated. I agree and go thru all the procedures of installing the plugins. They download but the steps of installing the plugins never become active.

  • Suppliers which are active and not being involved for a long time

    Hi All, Is there any way we can find suppliers which are active but not being used for a long time (for a specific duration) . i.e being involved in no open POs or no invoices processed or no payments made. Please advice. Thanks

  • Problem with the Code in exercise 1.3

    Can you provide the final code for the exercises so we can see where we went wrong. I keep getting an undefined error.

  • That darn "My Touch opened as a camera!" problem

    Now it's happened to me too! Before I upgraded to 2.0, this never happened before. Now that I'm all updated and upgraded, a little thing comes up asking if I want to open up my ipod to look at the pictures. I can still go into iTunes and use my Touch