Head Office field in Vendor Master

Hi,
   We have entered a Head Office Vendor in the Vendor master ( Branch).
Now at the time of PO creation system has correctly fetched the Branc Vendor address.
When we are trying to post the Vendor Invoice we are getting error "Different invoicing party 400065 planned in purchase order xxx
Message no. M8286.
As the Head office Vendor is fetched at the time of Invoice we are facing this error.
How to resolve this? The Invoice is to be posted to the Head Office Vendor only.
Rajesh

Hi Venkat,
   Is maintaining the partner function ,mandatory for using the Head Office field in Vendor master?
What I can observe is, during MIRO system is able to fetch the Head Office Vendor even if the PO is for the Branch Vendor.
The error which I mentiond appears due to this only as there is a conflict between two Vendors.
Rajesh

Similar Messages

  • Head Office field error in Vendor Master

    Hello,
    I am trying to extend an existing vendor master in new company code. But I am getting an error that the "Head Office and CCN combination does not exist". However the same combination is valid in another company code. Please tell me where is Head Office linked with the Company code?
    The system asks for the Head Office field only when I use certain Acct Group, since the Field status variant is set up as "required" for this field in SPRO settings. But I cannot change this global settings. I have to choose appropriate Head Office number to be able to create the Vendor master. Please help !!!!!
    Thanks !!!!!!!!!
    SP

    Hello,
    Copy the account group to another account group.
    Field Status for that new copied account group - change from "required" to "optional".
    Create vendor on new account group.
    Regards
    Ravi

  • Need exit to add new fields for Vendor master creation

    Hi All,
            I have to add a new screen with some fields in Vendor master (Xk01) creation. Can any one suggest me
    any screen exit / user exit through which I can add these fields.
           Please explain the procedure to add the fields through exit.This will be of great help.
    Thanks
    Vinod.

    run the following program which ggives available exits for tcode
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • Head Office field

    Good morning!
    I´m facing problems regarding acconunt document creation. In the customer master 100100 I input another customer in head officer field, like 100101, and try to invoice against the 100100. As far as I understand, the account document should be created to 100101, but the system is creating to 100100.
    What can I be possibly missing?
    Thanks in advance.
    Adriano Cardoso

    Hi
    I hope, you have specified the Customer 100101 in the "Head office" field in the Company code data of the Customer master.
    You must have also specified the PAYER in the Sales Area data > Partner Function tab for the Sold-to-party 100100.
    I hope, the Payer in the Sales area data is the Sold-to-party himself (i.e. customer 100100).
    Which Payer system will take (i.e, the Payer specified in the Sales Area data or Payer specified in the Company code data), depends on the value in the field "Branch/Head office" in the Billing document type.
    Check your Billing document type (VOFA), suppose your Billing type is F2, then the Billing type F2 with t.code VOFA.
    If the field "Branch/Head office" is blank , then system ignores the settings in the Company code data otherwise the Payer in the Company code data will always be preferred by the system.
    Therefore, I think, in your case, in your Billing Type, the field "Branch/Head office" is probably blank.
    That is why system is ignoring the Payer 100101 specified bu you in the Company code data and Payer from the Sales Area data > Partner Function tab (i.e, Payer 100100) is taken by the system.
    So, in my view, do not leave the "Branch/Head office" field as Blank, put the value in this field in the Billing Type and I hope, your problem will be solved.
    Regards

  • Added new fields in vendor master in xk01 but data is not getting saved

    Hi experts,
    To add new fields in vendor master i have followed the following steps :
    1.) Appended a structure ZRTGS in LFA1 table with required fields and activated
    2.) Added new button in xk01( vendor master ) using spro -> logistics-general -> business partner -> vendors ->
    control ->adoption of customer's owaster data fields -> prepare modification free-enhancement of vendor master record
    Created a screen group ZR and defined label tab pages with function code ZRTGS and saved entries
    3.) Created a implementation for BADIs VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS.
    4.) Created a program with my own subscreen for the required fields
    The button is getting displayed in XK01, XK02 and XK03 respectively. Whenever the button is clicked the subscreen with
    the fields is also displayed. But whenever i try to save the data in either XK01 or XK02 it is not getting saved in to the
    database table LFA1.
    Request your help in this regard.
    Thanks in Advance.

    Hi,
    You may need to check this include .
    EXIT_SAPMM06E_008  -->Import Data from Customer Subscreen for Purchasing Document
    Thanks,
    vamshi

  • Withholding tax fields in Vendor master is not avbl to config as sensitive

    Hi,
    I need to configure, fields in Withholding tax accounting as sensitive fields in Vendor Master.
    Table reference for Withholding tax is LFBW.
    But the fields from this table are not avbl for configuring in SPRO.
    It gives an error message as: This field is not allowed.
    Is there any other method to add the required fields from LFBW table to configure them as sensitive fields.
    Or adding the fields as sensitive is restricted for few fields only.
    Pls do the needful.
    Regards,
    Radha

    Hi Radha,
    I finally found development we did for a customer. Below you can find sampler code. You can use exit ZXF05U01.
        FIELD-SYMBOLS : <FIELD_VALUE> TYPE ANY.
        DATA : SENSITIVE_FIELD(30).
        FIELD-SYMBOLS : <FIELD_VALUE2> TYPE ANY.
        DATA : SENSITIVE_FIELD2(30).
        TABLES : T055F .
        IF LN_LFM1 NE I_LFM1.
          REFRESH KRITAB.
          SELECT * FROM T055F WHERE KOART = 'K' AND
                                    FELDN LIKE 'LFM1%'
            SPLIT T055F-FELDN AT '-' INTO KRITAB-TABNAME KRITAB-FNAME.
            APPEND KRITAB.
          ENDSELECT.
          LOOP AT KRITAB .
            CONCATENATE 'LN_LFM1' '-' KRITAB-FNAME
            INTO SENSITIVE_FIELD.
            CONCATENATE 'I_LFM1' '-' KRITAB-FNAME
            INTO SENSITIVE_FIELD2.
            ASSIGN (SENSITIVE_FIELD)  TO <FIELD_VALUE>.
            ASSIGN (SENSITIVE_FIELD2) TO <FIELD_VALUE2>.
            IF <FIELD_VALUE> NE <FIELD_VALUE2>.
              <FS_LFA1>-CONFS = '1'.
              IF SY-TCODE = 'XK01' AND <FS_XASEG> = ' '.
                DATA : LFM1CONFS(1) TYPE C .
                EXPORT LFM1CONFS LFM1CONFS2 FROM '1' TO MEMORY ID
          'LFM1CONFS'.
                UPDATE LFA1 SET CONFS = '1'
                                UPTIM = SY-UZEIT
                                UPDAT = SY-DATUM
                          WHERE LIFNR = <FS_LFA1>-LIFNR .

  • Masking Certain Field in Vendor Master Data

    We have a Enhancement which involves conversion of Vendor Numbers.,It so happened that a category of Vendor Codes were the Social Security Numbers.
    Now that due to Privacy Laws etc they are converting that number logic which is throwing challanges.
    The first Step is to convert Vendors from XSSN to Y123 and the second is also retain the social number in a encrypted field as it is used for 1099 reporting.
    I am aware that there is a standard functionality for Credit Cards Numbers Masking but not sure if there is any thing for special fields on Vendor Master.
    If you are aware of any options to handle the switchover or masking certain fields pls share them with me.
    Thanks,
    Praveen

    Praveen,
    Did you try 'Define Screen Layout per Activity (Vendors)' and suppress/hide the fields?

  • Solved - Group Fields for Vendor Master Records in IMG

    This was the solution.
    The new field's data element I added to LFB1 did not have the "change document" field checked.  I made that change and now that field shows up in IMG.
    Hello all,
    I added an append structure to the table LFB1.  This structure has 1 field.  I then created a "Modification-Free Enhancement of Vendor Master Record" to add the new LFB1 field to the vendor master screen, edit and display screens.  This is the 3rd time I have done this.  So far so good.
    Now our functional analyst went into IMG to add this new LFB1 field to a "Group Fields for Vendor Master Records" which we have done 2 other times.
    The new LFB1 field does not show up in the list of possible Table-fields.  
    There must be some other step I am missing.
    Does any of this ring a bell?  We are on version 4.7.
    Thanks
    Bruce
    p.s.
    This is the IMG path for adding 'Field Groups' to vendor master fields.
    Financial Accounting/
    Accounts Receivable and Accounts Payable/
    Vendor Accounts/
    Master Data/
    Preparations for Creating Vendor Master Data/
    Group Fields for Vendor Master Records
    Edited by: Bruce Tjosvold on Nov 21, 2008 1:18 PM

    Hi Vandana,
      There are several tables that are contain Vendor Master related data which can be used for extraction to BW. Some of the tables which can be useful for you are:
    LFA1 :  Vendor Master (General Section)
    LFM1 :  Vendor master record purchasing organization data
    LFBW : Vendor master record (withholding tax types) X
    WYT3 :  Partner Functions
    LFBK : Vendor Master (Bank Details)
    LFB1:  Vendor Master (Company Code)
    ADRC: Addresses (Business Address Services)
    ADR3: Fax Numbers (Business Address Services)
    ADR6: SMTP Numbers (Business Address Services)
    ADRT: Communication Data Text (Business Address Services)
    You may use the Data sources mentioned in the previous update from Venky above namely :
    0VENDOR_ATTR --- for master data attributes
    0VENDOR_TEXTS -- For texts
    Since the fields that you are using are from different tables so its better if you go for a Generic Data source where you can use the fields as per your requirement.
    Thanks
    Pawan
    Edited by: pawan190187 on Aug 19, 2011 12:40 PM

  • Custom field in Vendor Master - track field changes

    Hi Experts,
    I have a requirement to enhance vendor master (XK01) by adding custom fields. I did this, but now the customer needs to track changes made to this field. He expects to see the changes made to this custom field using menu path 'Environment -> Field Changes' from vendor master transactions (XK01, XK02, XK03). I have enabled the track changes in the data element, so that field changes can be tracked in CDPOS, but that is not enough. Please help to find solution. Thanks.
    Regards
    Arun

    Hi Brad,
    I added the new fields to vendor master using the SPRO option:
    'Prepare Modification-Free enhancement of Vendor Master Record' in the following path:
    Logistics-General -> Business Partner -> Vendors -> Control -> Adoption of customer's own master data fields. This created a button on vendor master, and my field is in a pop up box which is generated on click of this button.
    This field is stored in LFM2 table.
    I have enabled the change flag in the data element of the custom field, and it is showning the field changes in CDPOS table.
    But the problem I face is how I can avoid going to the CDPOS table and instead use the menu option :
    'Environment -> Field Changes'
    Regards
    Arun

  • PAN No as madatory field in Vendor Master CIN Details

    Hi,
    I want to make PAN No as madatory field in Vendor Master CIN Details.
    Can anyone help.
    Regards,
    Anurag Khanna

    OK, I guess you are referreing to J1ID T code where we maintain the PAN # for vendor
    is it possible to create an ERROR message if PAN # is NOT updated?..This is just a thought or workaround

  • Add additional field in Vendor master data for VAT Reg. No.?

    Add additional field in Vendor master data for VAT Reg. No.?
    Hi I need to add one additional field for other VAT Reg. number in vendor master data FK01, We currently have two field
    Current Settings:
    Country : LFAS-LAND1
    VAT registration no.: LFAS-STCEG
    I need to add one additional field for text information. Is this possible?
    Thanks you very much
    Luis G.

    If you want to add new fields that are not possible from config (check with your consultant) you need to implement BADIs
    In SPRO, go to:
    >Logistics-General
    ->Business Partner
    -->Vendors
    --->Control
    >Adoption of Cusomter's Own Master Data Fields
    and read the documentation provided there.
    You will need to implement following BAPIs
    Processing Master Data Enhancements: VENDOR_ADD_DATA
    Customer Subscreens: VENDOR_ADD_DATA_CS
    I am not aware of any other way to add new fields to Vendor master (however, check with your consultant for config related screen modifications)
    Should you need any further info to implement it, post back (read it thoroughly first, it's quite self-explanatory).
    regards,
    Aabhas

  • Creating additional screen field in Vendor Master at Company Code Level

    Hi All,
    I have to add some custom fields in Vendor master at Company Code Level.I have alraedy implemented a BAPI suggested by the system to add additional fields.
    A  new Button is coming after implementing the BAPI , which gives me a space to add new custom fields , which i have appended at LFA1.
    My problem is that , the new Button is visible at each screen, i.e Button is coming at Address tab, Control tab, all screen correspond to company code and all tab correspond to purchasing.
    While i want that Button should only be visible at screens correspond to company code.
    Please suggest how to acheive the same.
    Regards,
    Subhash

    Hello Karidhal Subhash -
       I'm facing a similar problem. I've got my BADI working properly with the exception of...
    I only want my custom button to appear if they've input a Company code on the selection screen. Did you find a way to solve this problem?
    regards.

  • Additional Fields in Vendor Master

    Hi All,
    I am using ECC5 version my client wants Other Country, Other City, Other Region fields in Vendor Master.
    So can some one help me out how to add those fileds in Vendor masters. I saw in my Account group could not find it.
    So if some knows the solution for same kindly let me know.
    Thanks in Advance.
    Regards,
    Kiran.

    Hi,
    You can add ZZ-fields with the BADI 'VENDOR_ADD_DATA'  and 'VENDOR_ADD_DATA_CS'.
    But if you need store other address or alternative addresses, perhaps you can create a partner function for this role.
    I hope this helps you
    Regards,
    Eduardo

  • Addtional fields in Vendor Master

    Hi All,
    I am using ECC5 version my client wants Other Country, Other City, Other Region fields in Vendor Master.
    So can some one help me out how to add those fileds in Vendor masters. I saw in my Account group could not find it.
    So if some knows the solution for same kindly let me know.
    Thanks in Advance.
    Regards,
    Kiran.

    Hi,
    You can add ZZ-fields with the BADI 'VENDOR_ADD_DATA'  and 'VENDOR_ADD_DATA_CS'.
    But if you need store other address or alternative addresses, perhaps you can create a partner function for this role.
    I hope this helps you
    Regards,
    Eduardo

  • Adding Pre. account no. field from vendor master to PO header screen

    Hi,
    I want to add the field lfb1-altkn (Pre.acct.no.) to the purchase order header screen under org structure tab. This field has to contain the value from the Vendor Master Accounting Information View Prev.acct no. field.
    Please let me know how to proceed.
    Thanks and regards
    Durai

    you can not add to the Org tab but if you use this user exit MM06E005
    then you can add the field to the customer tab on PO header and add the logic in the user eixt to read the value from vendor master

Maybe you are looking for