cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member192897
Active Contributor
0 Kudos

Postal code can be set mandatory using the following path :

SPRO-General Settings-Set countries-Set country-specific checks and tick postal code as mandatory for which country you want to make this field mandatory.

Please note after ticking this field here as required here you must fill atleast one field street address then only this setting works.

Former Member
0 Kudos

Hi Ashok,

Thank you for the info.

This country level setting is at client level and it effects not only the vendor masters but also the customer master records.

Is there any setting that takes makes the postal code as required entry in Vendor master records (Specified account groups) only?

Mani

former_member192897
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

You can control it via a transaction variant in SHD0 or via a enhancement SAPMF02K in transaction SMOD

Regards,

SDNer