Skip to Content

Inbound IDOC failling due to space/character/Wrong in address

Mar 12 at 08:52 PM


avatar image


I have a scenario where inbound IDoc is failing on a daily basis due to wrong address or space in address format or any special characters mentioned in address which SAP does not support.Currently we are reprocessing all the failed idocs by making changes into them.

We need a solution where I can directly check the address and fix it and then reprocess idoc through BD87. Solution in terms of ABAP logic is also welcome. Currently I am cross-checking address from google maps.

Any help would be highly appreciated.


Komal Bhutada

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L
Mar 12 at 10:59 PM

Why is the address wrong? Why can the sender of the Idoc not provide a correct address? What exactly is wrong, do you have an example?

Show 1 Share
10 |10000 characters needed characters left characters exceeded

we have random customers purchasing from the site so it depends on the customers how they enter the address. And it is highly unpredictable how the address will come into SAP.

Postal code, city, country, Region might be wrong or incompletely entered and more additional space will be entered so that Region might be shifted up or down.

Do we have any solution for this. Currently I am changing address manually and re-processing IDOCs.



Jürgen L
Mar 13 at 03:40 PM

The solution has probably to be in the interface where the customers maintain their address.

A region usually does not shift into other fields. This must be bad programming. Contact your local developer team to discuss this matter

This sounds anyway as if you are using a user interface which is totally different to the SAP customer master screen.

Unfortunately without knowing the whole application it cannot really be said where one should do a fix.

Of course it is possible to find and correct unwanted characters with with a bit of program coding. But better than fixing is to prevent wrong data from being entered.

10 |10000 characters needed characters left characters exceeded