Skip to Content
Mar 08 at 11:44 AM

Postal code validation in incoming sales order doc


Hi Team,

May I know if it is possible to do a validation check for a partner's postal code length during an incoming doc sales order creation? For example, for the country LU, there are only maximum 4 postal codes are allowed as per the standard country configuration and this is working perfectly in XD01, VA01 codes that when we add more than 4 postal codes, system is throwing a standard error message.

But in an incoming IDOC, when there is a postal code of more than 4 digits, still idoc is successfully processing and creating a sales order though with the existing customer postal code (ie just 4 digits as in the master data). We would like to know if we can restrict the idoc with an error message when the correct digits of postal codes are not found in the incoming idoc! Could you please help?