Hi Kumar,
Below the step to enhanced OrgUnitHierarchyDataElemen - /NAKISA/OC_OU_STRUCTURE .
Step1 - Get scenario
- Example : Org Hierarchy Access – Normal employees are only allowed to see their own org unit and positions but not reporting org units under their org unit. Only Chief positions in their respective org units are allowed to view reporting org units to the org unit.
Step 2 : Structure /NAKISA/NAK_OU append to Structure: ZNAK_OU_STRUCTURE (add the field name,description,data type, data table and sap field name )
Step 3 : Copy RFC
In transaction code SE37, copy RFC /NAKISA/OC_OU_STRUCTURE to a new custom RFC ZNAKISA_OC_OU_STRUCTURE (including its corresponding INCLUDE programs).
Step 4 : Test the RFC
Step 5 : Go to Data Center > Edit/Create new data element connecting to SAP RFC
Step 6: Check the checkbox to change the desired data element and click Next button.
Step 7: Search custom RFC by clicking on magnifying glass icon > click Ok to confirm.
*Note: Take a screenshot of ALL the configurations (import parameters, exported tables, field mappings, data field captions, data element properties etc) of the data element, changing to another RFC will refresh all configurations of the data element. Ensure that all configurations are the same as before, except that the RFC name has changed
Examples of configurations:
FYR –#1 Take a screenshot of the import parameters for all 3 pages, then do the same configurations after you’ve modified the RFC name.
FYR –#2 Take a screenshot of the exported tables, then do the same configurations after you’ve modified the RFC name.
FYR –#3 Take a screenshot of the data element properties for all 5 pages, then do the same configurations after you’ve modified the RFC name.
Regards
Mohamad Firhad Samuri