Skip to Content
avatar image
Former Member

Want to bypass postal code check for country via BADI ADDRESS_CHECK

Hi,

After upgrade postal code mask have been NNNNN instead of NNN-NNN for postal code check in Customer/vendor and employee master.

We are getting error 'Postal code 514-XXX must have the length 5'.

We want to bypass/deactivate country check by implementing BADI ADDRESS_CHECK.

Can it be done?

If somebody has any idea about this, please highlight on this.

Warm regards

Srimanta

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Nov 29, 2016 at 01:18 PM

    first of all I would try to find out what the real current postal code rules for a country are, unfortunately you hided about which country are you talking.

    SAP is not error free, and a typo can be made easily, I recently reported the error that the FM checks with country code RA for Argentina, just as evidence that there can be errors. And if you have an error then you should better try to get a fix from SAP than changing the coding yourself with an implicit enhancement.

    If you want to keep your length as is, then just change in OY07 the field T005-PRPLZ from 9 to 5, which allows to accept any entry up to your maximum of 7 characters (from field T005-LNPLZ = 7). So you users can enter the "new" 5 character postal code and still you can have and maintain the old 7 character postal code with the dash in the middle.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Jurgen,

      Thanks for your solution. It is for country South Korea(KR)

      We tried this as you said to change in OY07. It is bypassing 5 char check correctly.

      However it fails to check subsequent validation which we have in our system i.e 7 Numeric field only with dash in middle, no alphabet in suffix and prefix.

      We are going ahead with the implicit enhancement at the very start of PERFORM formatcheck.

      Thanks and Regards

      Srimanta

  • Nov 28, 2016 at 06:29 AM

    Why don't you correct the country parameters?

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Raymond Giuseppi

      Dear Raymond,

      Many thanks for all your suggestions. It is for country South Korea(KR).

      We tried with BADI ADDRESS_CHECK enhancement.

      It was bypassing very first check. But in subsequent Regional check, it was giving same error.

      We tried with OY07 change as you said. It was bypassing 5 char error.

      However it fails to check subsequent validation which we have in our system i.e 7 Numeric field only with dash in middle, no alphabet in suffix and prefix.

      We are going ahead with the implicit enhancement at the very start of PERFORM formatcheck which we already analysed as one of the solution.

      Changing CHECKMASK field to NNN-NNN, it is working perfectly in Customer Master/Vendor master/BP/Employee Master address data.

      Once again I appreciate your suggestion.

      Thanks and Regards

      Srimanta

  • avatar image
    Former Member
    Nov 30, 2016 at 04:21 AM

    Hi,

    Thank you all.

    It is solved by implicit enhancement.

    Thanks and Regards

    Srimanta

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 30, 2016 at 08:43 AM

    The change of postal codes in Korea was August 1st, 2015.

    the SAP changes are described in OSS note 2204501 - LC2015: Postal Code Length Change for South Korea

    and a few other referenced OSS notes: 2161581 and 2179708

    "After the reform, the length of postal code changes to 5 digits (NNNNN) from 6 digits (NNN-NNN). The new postal code system is effective on August 1, 2015. Since the effective date, the old 6-digit postal codes are no longer used."

    The Korean Post has a website with a postal code finder: http://www.epost.go.kr/roadAreaCdEng.retrieveRdEngAreaCdList.comm

    you should probably initiate a project to replace the old postal codes within a few months, as wrong postal codes will usually cause problems, the post people have to determine the new postal code and comes to delays with the delivery. A purchase order may arrive to late at the vendor and in turn you get your materials late and may have interruptions in production. Your company may have to wait longer for a payment from their customers if the bill is delivered later because of wrong postal codes.

    Add comment
    10|10000 characters needed characters exceeded