Analysis of the name sequence when double-clicking on the contact person's partner function in a sales order.
Sometimes, the sequence of names displays the customer's name first and the contact person's name last.
Sometimes, the sequence of names displays the contact person’s name first and the customer's name last.
Analysis: Set break point at FM SD_PARTNER_ADDR_DIALOG_INTERN, in this case, system then call FM ADDRESS_INTO_PRINTFORM.
The name sequence get determined by each address layout. When the address layout is 011, we can see that the customer's name is listed first.
When the address layout is 022, we can see that the contact person’s name is listed first.
For different address layout, you can refer to this help portal. https://ift.tt/EgRnTb7
The address layout key is determined by the receiver's country. By using transaction code OY07, we can identify the country for which the layout key is defined.
from New blog articles in SAP Community https://ift.tt/Wsn3l2f