23.9.11

SAP Note 27967 - Address printing: Mandatory blank line unwanted

Symptom:

When printing addresses, a mandatory blank line is output between the line for P.O. Box / Street and the line for the city.
This is not required for the current destination country.

Cause and prerequisites

The country-specific formatting routines are coded in the function module ADDRESS_INTO_PRINTFORM.
The formats were set up according to official requirements.
For all countries, with the exception of USA (routine 004), Canada (005), Great Britain / Ireland (006), Switzerland (011) and Austria (014), a mandatory blank line is output between the line for P.O. Box / Street and the line for the city, providing the number of available lines is sufficient.

Solution
As of 3.0C, you can use customer enhancement SZAD0001 in development class SZAD (-> transaction CMOD) to store country-specific formatting routines (for each recipient country) as a Customer Exit (see notes 40485 and also 38922, if necessary).
The following applies up to and including 3.0B:
It is not possible for customers to modify the formatting routines.
If the mandatory blank line should also be left out for other countries, the function module ADDRESS_INTO_PRINTFORM must be modified.
However, this is only a temporary workaround that is generally not recommended.
For Australia, for example, a line would have to be inserted in the program code as follows:

Additional key words

Address, print, mandatory blank line
BAS_PRINT
BAS_EXITS

No comments:

Post a Comment