Vendor master creation (XK01)

Dear Experts
                     At teh time of vendor master creation i have entered company code as AAA and purchase org is CCCC and accounting group. and all i have created the vendor master.
Here my problem is CCCC purchase org is not Assigned to AAA company code.
CCCC purchase org is belongs to other company code . but it is allowing as per derivation
AAA company code belongs to BBBB purchase org only
and CCC company code is belongs to CCCC Purchase org.
I want to control this as per purchase organization to company code assignment CCCC purchase org is not assigned with AAA company code but it is allowing to create vendor master with AAA company code and purchas org is CCCC.
is it possible to control standard configuration
Regards
Anand

Hi,
Please check the following standard rules:
1. If the P Org is assigned to a company code, then that Porg is responsible for all the plants assignesd to that company code only provided Plant - Porg assignment is done. This is company code specific
2. If the P Org is not assigned to a company code, At the time of vendor master creation, system will ask for the company code and you have enter the same assignesd to that company code provided Plant - Porg assignment is done for the Porg you are working with. This is cross company P .Org.
3. Assignment of POrg with Plant is must.
REgards
Ram

Similar Messages

  • BAdi for Vendor Master Creation XK01

    Hello All ,
    I want to have a new subscreen in XK01 transaction .
    So i include it by implementing the Badi VENDOR_DATA_CS
    Now i can get a subscrenn in my transaction .
    But i couldn't transfer the value of the field from my subscreen to my main program ...
    Could someone guide me how i can proceed ...
    If the you know the exact coding what should be done and where should be done , Kinldy guide me
    DO i need to set some customization also ?

    Hi,
    Go thru this thread, this will help u with example...
    BADI ME21N
    Reagrds,
    Kumar

  • Regarding vendor master creation using xk01,fk01,mk01.

    hi
    i have created vendor master using xk01.what is the diffeerence between creation of vendor master using xk01 and FK01,MK01.

    Hi
    You can split vendor master data into two parts - purchasing (MK01) and accounting (FK01).
    Purchasing veiw (MK01) is important if you want to create purchase documents like PO on vendor. This veiw is created for purchase organization with bank details and partner functions.
    Accounting view (FK01) is important for finance people to post invoice and pay to vendor. This view is created for company code. The terms of payment which purchase dept specifies will be entered in accounting view again and bank details entered by purchasing people will be confirmed by accounting team.
    You can create collectively these two views in XK01.
    Thanks

  • Unable to make Postal code as required field in Vendor master creation

    Hi,
    We have a requirement of making Postal code (POST_CODE1) field under street address of new vendor master creation/change as a required field.
    In the configuration settings of vendor account group (OBD3), SAP provided Postal code City combined as only one field.
    Even after making the Postal code&City field as required in the configuration of a particular Vendor group (OBD3), the system is allowing to create new vendor master under that particular group with out the input of Postal code.
    The system only making the city (CITY1) as required filed but not the Postal code (POST_CODE1) even after setting Postal code&City field as required in OBD3.
    Could you please provide  the activities to be performed apart from the above so as to make Postal code as required filed at the time of the vendor master creation/change
    Regards
    Mani Prasad

    Yes, it is country specific. It will affect in vendor masters as well Customer masters.
    You have two options now :
    Create a Transaction variant using SHD0 and Make Postal code field as required and create a custom transaction code in SE93 (Transaction with Variant (Variant transaction) and assign here and save. Your requirement will be fulfilled.
    Else you can go for Enhancement using EXIT_SAPMF02K_001 Vendors: User Exit for Checks prior to Saving
    The following user exits exist for vendor master records:
    o   Check entered data before saving
    Please refer to the interface description of the function module to see which data is available.
    If we found any other solution we will let you know the same.

  • Delete Vendor Master Data xk01

    I have created Vendor Master in XK01 including purchase organization.
    I want to delete it permanently.  I have not made any POS and data.

    Go to Tcode : SARA, enter the Object FI_ACCPAYB
    Then :
    1 Maintain write variant, it depends, if the vendor data only create for Purchasing Level only,than you can choose MM data.
    When you archive MM data for vendor master records, the system automatically checks whether the following conditions have been met:
    · The deletion flag is set.
    · Dependent data of the following types no longer exists in the system:
    Purchasing documents
    Purchasing info records
    Vendor partner roles
    2. Maintain Deletion variant--> start deletion process --> this step will completely remove data from table.
    If then some dependent data of above mention still exist,then you need also to close /archive the dependent data also.
    Read below link also
    http://help.sap.com/saphelp_erp2005/helpdata/en/8d/3e4c11462a11d189000000e8323d3a/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ba/4b68b8327911d2a25c0000e8a5f24f/frameset.htm

  • BAPI for Vendor Master Creation

    Hi,
    I've seen alot of messages regarding Vendor Master Creation but I didnt find any clear answer.
    What Bapi can we use for Vendor Master Creation?
    I saw the BAPI_VENDOR_CREATE (for online) but there are no parameters given.
    Pls help.
    Thanks!

    Hi Donna.
    I would like to suggest my opinion,
    1. Go To Transaction BAPI.
    2. In the Alphabetical (Window).
    3. Vendor.
    4. Click the Node, Go To Create.
    5. Click the Create Node.
    6. Vendor and return will be seen.
    7. Check the dictionary references for both Vendor Node and Return node.
    8. Fields of the structures will be observed.
    Hope this works out well.
    Good Luck & Regards.
    Harsh Dave

  • I want IDOC for Vendor master updation ( XK01 &XK02 )

    Hi
    I want to do LSMW in IDOC method for this vendor updation.
    So I want IDOC for Vendor master updation ( XK01 & XK02 ).
    I want to do both create vendor and change also.
    Regards,
    Ravi
    Edited by: kandukuri ravi on Dec 1, 2008 2:56 PM

    Hi,
        For Vendor Master using IDoc's for LSMW,Use Message Type = CREMAS and Basic Type = CREMAS05.
    For Basic type 01,02,03...05 are versions which includes more fields in basic type so better use latest version.
    Hope it will help you.
    Regards,
    Sudhakar Reddy.A

  • Name field in FK01 vendor master creation/ table LFA1 lengths are different

    Hi Experts,
    We have an issue with FK01 vendor master creation.
    The vendor Name field in FK01 has length of 40 char, however in Vendor Master table LFA1 field Name1 has length 35 char.
    So when the user inputs a name of 40 char in FK01 it does get truncated in LFA1 table.
    Guyz any idea how we can handle this scenerio.
    Need your help.
    Thanks
    Jaif.

    Please undesratnd the desciption I have given.
    The issue is with FK01, when u create vendor in FK01, If you use a name of 40 char length in the NAME field.
    After creating the vendor if you check the vendor in LFA1 table you'll find the name truncated to 35 char length in the NAME1 field.
    How can we solve this problem. Is there any BADI/User exit available to fix it.
    Thanks
    Jaif

  • Why I cannot input Recon. acount when I create vendor master in XK01

    The field of Recon. acount is greyed out when I create vendor master in XK01. Can any expert help?
    BR, Eda

    Hi Eda,
               in the vendor account group, the field selection is guided by three different config.
    The path is IMG>Financial Accounting(New)>Accounts Receivable and Accounts Payable>Vendor Accounts>Master Data-->Preparations for Creating Vendor Master Data........
    1  Define Account Groups with Screen Layout (Vendors)
    2  Define Screen Layout per Company Code (Vendors)
    3  Define Screen Layout per Activity (Vendors).
    Please check at the given following 3 places, in any one of them it must be defined in the display mode.
    Hope it helps.
    Regards,
    Yawar Khan
    Edited by: 1234_abcd on Jun 10, 2011 7:33 AM

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

  • Remote Function Module for Vendor Master creation

    Dear Forum Members,
    There is a BAP function module BAPI_VENDOR_CREATE which calls SAP transaction XK01. Due to this, this Remote Function Module (RFM) cannot be called from a Java Application that uses SAP Java Connector.
    Is there any other remote function module available in SAP for creating vendor master record so that it can be called from non-SAP development tools such as Java using SAP Java Connector or Microsoft Visual Studio .NET tools using SAP .NET Connector?
    Eagerly expecting favourable reponse.
    Regards,
    K. Rangarajan
    SAP ABAP & Java Programmer

    Hi Prakash,
    you can use FM 'VENDOR_INSERT' , However its not remote enabled you need to copy to Custom BAPI and make it as remote enabled. 
    Apart from the Vendor creation BAPI, you may need to use some other BAPI's for Adress updation and Bank details Updation.
    Please refer the link for some more information [Re: Create Vendor;.  The same problem is mentioned there and was solved.

  • 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

  • Error Message WY 030 . Vendor master creation

    Hi all
    The Error Messgae *WY 030 :Purchasing organization &1 assigned to company code &2, not &3*:+ Need to activate as a ERROR MESSAGE.+
    During Vendor creation ,if the wrong purchase organisation is selected, system is allowing to create the vendor master.
    Even though ,I have done the Setting in the following , the error message is not reflectiog
    1. Message Control for Vendor Master Data
    2.T.code : OBMSG
    3.T.code : OBA5
    Thanks & Regards
    DP

    strange.
    in my system WY 030 message is this: Entry & in table & does not exist
    what do you call a wrong purchasing organisation?
    I guess you have several organisations in the system.
    lets make an example:
    purchasing PORG1 is assigned to company code CC1
    purchasing PORG2  is assigned to company code CC2
    purchasing PORG3 is assigned to company code CC3
    and I guess
    you want prevent a user to create a vendor master with company code CC1 and purchasing org PORG2
    You just cannot do this.
    All company codes are valid and all purchasing orgs are valid.
    It is just to combination that would logically not make sense while creating.
    but if this vendor is used in all companies, then you have 3 CC views: for CC1, CC2 and CC3,
    and you have 3 purchasing views for PORG1, PORG2 and  PORG3
    would you still say that a vendor master with CC1 must not have PORG2 ?

  • Workflow for Material Master and Vendor Master Creation

    Hi
    Has anyone mapped creation of Material Master & Vendor Master through SAP Workflow.
    Seek your valuable inputs.
    Best Regards
    --Vikas

    You may not get the complete standard form which will match this functionality. But you can develop your business logic in custom code for fetching the data and the interface and use the standard templates for layouts if any template matches your requirement. You can see the complete lest of templates in : "transaction SFP->Form->Layout->Tools->Template Manager
    Most of the common templates are available here.

  • Customer Master / Vendor master Creation

    Hi Folks,
    I have a requirement that the whenever Customer / vendor is created or changed, then there needs to be a mail sent for the same.
    We are currently using the user exit : EXIT_SAPMF02D_001  for customer creation and user xit : EXIT_SAPMF02K_001 for vendor.
    The issue :
    When the new Cust / Vend is created, the user exit is called. The issue is that the "Customer number" / "Vendor number " is blank as the number is generated by the system after the user exit is over. So the mail sent is having Blank Ven / Cust number which is not desired.
    IF anyone knows any other User exit / Badi that can be used for this purpose. Or if there is a business object for the Customer abd vendor master, whose event is raised by the SAP transaction when Cust / vendor is created with the customer number passed to the event, then kindly let me know. I can then create a workflow for the same.
    P.S: There is no issue when the customer is changed as the customer number comes in the above exit.
    Thanks and Regards,
    Anuj.

    Hi,
    I think you can use Business transaction events for this.
    BTE 1320 and 1321 for Customer Master
    BTE 1420 and 1421 for Vendor Master
    And FYI,
    http://help.sap.com/saphelp_46c/helpdata/en/63/ed2c7dd435d1118b3f0060b03ca329/frameset.htm
    Hope this helps..
    Sri

Maybe you are looking for