Skip to Content
0
Former Member
Dec 10, 2008 at 05:53 AM

Post Code formatting for BAPI_BUPA_CREATE_FROM_DATA

144 Views

Hello Friends,

I have made a program which uses the bapi BAPI_BUPA_CREATE_FROM_DATA to create a business partner. The program reads data from a file and creates a BP from this data. My problem is that the post code isn't always in the correct format, (when creating a BP through the Bapi, the bapi returns an error on the length of the post code) and the only way to format it, is in the program. i.e a norwegian post code 0435 might look like this 00435. And for other countries theres different lengths.. does anybody know where I can get the required length of the post code, so I can make this completely dynamic?

best regards Ballo