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.

Similar Messages

  • Make Sort Key a required Field in Vendor Master & default values in it

    Dear Experts ,
    I need to make the sort key field  a required entry in vendor master .
    Also i want the system to default a particular value in this field .
    How can i achieve it ?
    Regards
    Anis

    Hi,
    Sort Key can be made as mandatory through SPRO settings.
    SPRO > Financial Accounting New > Accounts receivable and accounts payable > vendor accounts > Master Data > Preparations for creating vendor master data > Define Account groups with screen layout > Double click on your account group > Double Click on company code data > Double clcik on account management  > Make the field sort key as required entry.
    Regards,
    Prabu

  • Unable to make postal code as Optional in Customer Master

    Hi,
    I am unable to make postal code as Optional in Customer Master.
    I have defined it in customizing that the postal code is Optional (Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Define Account Groups with Screen Layout Customers)
    see screenshot attached.
    But then when I go to créate a customer for that account group the system asks for the postal code as mandatory.
    Any help??
    Thanks!!!

    Hi,
    Go to T-code: OY17
    Select your country then check if “Postal code required entry” maintained with check mark in further checks section
    Thanks,
    Krishna.

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

  • How to Make u0091Contactu0092 Profile a required field in BP Maintenance?

    We are using "status" tab in the Tcode: /nBP- BP Maintenance and trying to do following two things:
    1.     Make ‘Contact’ filed as REQUIRED fields in BP Master in under ‘Status’ tab, and
    2.     Restrict one or more communication method(s) as ‘Disallowed’ while others remain Allowed. Here is the scenario: BP chooses NOT TO BE CALLED on Phone but agrees to receive Letters and/or Emails.
    We believe this would require development, but wonder if there are other options, or if anyone has done something similar and would be willing to share?
    Thanks in advance,
    Purush Chitkara

    Hi,
    Sort Key can be made as mandatory through SPRO settings.
    SPRO > Financial Accounting New > Accounts receivable and accounts payable > vendor accounts > Master Data > Preparations for creating vendor master data > Define Account groups with screen layout > Double click on your account group > Double Click on company code data > Double clcik on account management  > Make the field sort key as required entry.
    Regards,
    Prabu

  • Vendor master creation postal code mandatory through LSMW

    Dear Expert
    Postal code is mandatory while create vendor master record through LSMW,
    but while create manually system is not asking the postal code,
    mean not mandatory. please can tell why?
    Regards
    karan

    you did not tell if you are speaking about a vendor in the same country
    you did not tell what import method you are using in LSMW
    if recording, then you may have missed to activate the small box for "use central address management"

  • 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

  • IDoc Error 51 - Make Entry in All Required Fields

    hi,
    I am using a scenario where an idoc is being posted into an R/3 system from a legacy application. For some reason I keep getting Idoc error 51 (Document not posted).
    Once I drill down further, the specific error states "Make entry in all required fields". Have checked to make sure all mandatory fields have been mapped and proper constant values have been specified.
    But cannot seem to get rid of the problem. Could anybody help out in determining how else to troubleshoot this and identify the possible cause?
    thx,
    Manpreet

    Manpreet,
    What IDoc Type you are trying to post ? One way is debugging the inbound function module using WE19. The second option is talking to a functional consultantor who worked, what fields are needed for that particular IDoc.
    I wouldn't care much about whether the IDoc is posted or not because, it is the ABAP ALE/EDI consultant's job to do that. The only way XI Developer is concerned is when it is not posting, ABAPer would tell what's missing.
    Hope this info helps.
    regards
    SKM

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

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

  • 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

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

  • 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

  • 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

Maybe you are looking for