Human Capital Management Blog Posts by SAP
Learn directly from SAP experts through blogs that deliver practical guidance and opportunities to deepen your expertise.
cancel
Showing results for 
Search instead for 
Did you mean: 
shameer
Product and Topic Expert
Product and Topic Expert
1,735
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.

Requirement

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.