SAP Knowledge Base Article - Public

2967785 - Address Sequence in Form Template is not same for all Customers

Symptom

Business Scenario:

You are using form template to generate PDFs for sales documents, using the contactPerson FormAddress which is based on the structure below, nevertheless you see that this form address data is not always build up the same way.

 $.FormQuote.BuyerParty.ContactPerson.FormAddress
 $.FirstPostalRegulationsCompliantAddressLine.Description
 $.SecondPostalRegulationsCompliantAddressLine.Description
 $.ThirdPostalRegulationsCompliantAddressLine.Description
 $.FourthPostalRegulationsCompliantAddressLine.Description
 $.FifthPostalRegulationsCompliantAddressLine.Description
 $.SixthPostalRegulationsCompliantAddressLine.Description
 $.SeventhPostalRegulationsCompliantAddressLine.Description
 $.EighthPostalRegulationsCompliantAddressLine.Description

As an example for sales quotes, we can consider the examples below

For a German customer this form address information is delivered as followed
• Account Name
• Additional Account Name
• Contact Name
• Address information

For a Chinese customer, this form address information is delivered as followed
• Contact Name
• Function
• Account Name
• Address information

Environment

SAP Cloud for Customer

Cause

The order of the name fields in a contact address is country/region dependent and arranged according to local customs. Currently there is no published documentation about which country/region has which ordering. A full documentation of the formatting routine for each address would be rather be complex and dynamic with based on their regulations. So this is hardcoded for a reason that there is numerous logic depending on the address country/region.

Resolution

This is the designed system behavior as this is regulated and controlled by the the local customs.

Switching the order via customizing is currently not possible. Nevertheless there is a BAdI (buisnes add-in) with the name CustomerQuoteOutput  and this is available for the customers to do changes of the form address data in the form XMLmessage.

1.  If you are a partner: please use cloudsolutionpartner@sap.com or the Partnerfinder

2.  If you are a customer:

  1. Contact your Account Executive
  2. Check the link https://www.sap.com/uk/services/advisory-development/application-development.html#contact-us

 An alternative option may be to check the SAP Cloud for Customer Ideas Forum to submit an idea: https://influence.sap.com/SAPCloudforCustomer

Keywords

Address, Form, Template, Order, country/region, Sequence, not same , KBA , form template , address , sequence , LOD-LE-CQP-CO , Lean Sales Orders , LOD-LE-CQP , Customer Quote Processing , Problem

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions