19.1.11

SAP Note 18295 - Incorrect zip code or PO box in address

Symptom:

When printing the purchase order, the PO box or zip code is not printed correctly.

Cause and prerequisites

Error in SAPScript layout set MEDRUCK.

Solution
Correct layout set MEDRUCK as follows:
SE71 -> MEDRUCK -> Create/change -> Goto -> Windows -> Text elements Select ADDRESS -> Edit -> Text elements.
Make the changes and save and activate the layout set.
Then the text element should be as follows:
ADDRESS PARAGRAPH AS
TITLE &LFA1-ANRED&
NAME &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&
STREET &LFA1-STRAS&
POBOX &LFA1-PFACH& CODE &LFA1-PSTL2& (No comma before CODE)
CITY &LFA1-ORT01&, &LFA1-ORT02&
POSTCODE &LFA1-PSTLZ&
COUNTRY &LFA1-LAND1&
REGION &LFA1-REGIO&
FROMCOUNTRY &T001-LAND1&
ENDADDRESS

Note:
If the first line is ADDRESS DELIVERY PARAGRAPH AS, street and PO box are always printed, even if PO box and zip code are maintained in the vendor master.
If the first line is ADDRESS PARAGRAPH AS, PO box number and zip code are printed if they are maintained in the vendor master. If the PO box is not maintained in the vendor master, the street is printed.
The layout set can be generated from client 000 or the current client. You have to keep in mind that the correct key for the address setup is maintained in table T0005 and that the correct country key is maintained in table T0001-LAND1.

No comments:

Post a Comment