Human Capital Management Blogs by SAP
Get insider info on HCM solutions for core HR and payroll, time and attendance, talent management, employee experience management, and more in this SAP blog.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert
Document generation based on different address types

We maintain different types of addresses in Employee central.Customers may be 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 for the same.


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

  1. Home Address 1

  2. Home Address 2

  3. City

  4. Business Address 1

  5. Business Address 1

  6. 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.

  • Only 1 set statement can be added in the rule.

  • Highlighted values in below screenshot should be exactly same.Its case sensitive too

Below screenshot is a sample rule to fetch address line 2 from home address portlet.

Business Rule



Try this rule in your system and let me know your comments.