As a BW Consultant, in your project you may require to enhancement the standard master data info objects as per your business requirements. This happens more often in HR space. Here I am providing you with an example of how easily you can enhance 0HRPOSITION_ATTR data source with additional attributes.
As you can see in the above picture(Pic-1), I need to enhance few attributes whose information is available in various info type tables in SAP.
I will not list all the necessary steps involved in this process. but i will provide you a working ABAP user exit code which you can use as a reference in your projects.
I've the requirement to enhance 0HRPOSITION_ATTR data source in ERP side to extract the following additional information.
| Pic-1. RSA6 - Enhanced fields |
As you can see in the above picture(Pic-1), I need to enhance few attributes whose information is available in various info type tables in SAP.
in the next step i will write ABAP code in CMOD to populate these fields with correct attribute values.
Note:If you have BADI implementation active in your landscape, you can use the same code with some minor adjustments as per your requirement.
| Pic-2 - CMOD Code |
I did not write entire code in CMOD. instead I created an include program and placed all my code related to 0HRPOSITION_ATTR in ZBW_EXIT_0HR_POSITION_ATTR program.