2528143 - Document generation based on different address types

SAP Knowledge Base Articles - public

2528143 - Document generation based on different address types


How to generate document based on different address types?


Employee Central - Document Generation


  • We maintain different types of addresses in Employee central.
  • Some customers are interested in fetching data based on address types in document generation.
  • Its not possible to achieve this via direct mapping. We have to use business rules to achieve the same.



To generate a document containing Address 1, Address 2 and City of type home and business addresses.

  1. Home Address 1
  2. Home Address 2
  3. Home City
  4. Business Address 1
  5. Business Address 1
  6. Business City
  • We have to create 3 different rules and 3 place holders to populate address 1 , address 2 and city for home address
  • Same is the case to generate different address fields of type business. We need to create 3 more rules.
  • Create separate placeholders as below:


  • Create separate rules for each address placeholders. Only 1 set statement can be added in the rule:
  • Highlighted values in below screenshot should be exactly same (case sensitive).

Below screenshot is a sample rule to fetch address line 2 for home address:


  • Add the rule mapping onto document mapping:



Address document generated based on new placeholders and rules:



 address document generate address generate document address proof address letter

Create Separate rules for each Address Placeholders ( Note : Only One Set Condition is supported) , KBA , LOD-SF-EC-DOC , Document Generation , LOD-SF-EC , Employee Central , How To


SAP SuccessFactors HCM Core 1708