on 05-20-2013 12:08 PM
Hi Ishaan,
Are you using the SAP_Live_RFC or SAP_Staged build? You need to edit your data source (SAP function module if using SAP_Live_RFC or database table if using SAP_Staged) so that the field is available there. Once that is done you need to update the data element in the AdminConsole Data Center so the field is showing in the application. It should then be possible to add the field to your view in the View Designer. After this you can edit your view template XSL to add the code to display the field. If you cannot add the new field in the View Designer then you can also do it directly in the XSL (it is straightforward - just look at the other fields that have been added).
This is not such a straightforward task if you don't have experience of customizing the application via XML and XSL.
Best regards,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ishaan,
That is correct. You first need to ensure the field is returned by function module /NAKISA/OC_OU_STRUCTURE as it is not by standard. You can follow the logic used for the field MANAGER_PERSONNEL_ID to add your logic for the Employee Group of the manager. Once this is done you need to update the data element OrgUnitHierarchyDataElement in the AdminConsole Data Center or directly in the data element configuration (OrgUnitHierarchyDataElement.xml).
If your field does not show up in the AdminConsole after you have added it to the function module then you will need to restart the application in the NW Admin as sometimes the function module fields get cached.
Once the field is in the data element then I would add it directly to the view XSL template ou_manager_c4f0c2cd93064be.xsl. You can copy an existing field definition and add your own. For example:
<xsl:variable name="ManagerEEGrp" select="/cds/sections/section[@name='ou_manager_TopLevelDetailc4f0c2cd93064be']/detail[@name='ou_manager_TopLevelDetailc4f0c2cd93064be']/record/field[@name='MANAGER_EEGRP']"/>
Best regards,
Luke
Hi Ishaan,
Either you can create a Z copy (which will require more customization on the Nakisa side) or you can use an enhancement point in the function module. While usually I would recommend creating a Z copy, Nakisa have released a few bugs fixes recently and if they release more you will have to manually add all changes to your Z copy of the function module. Using an enhancement point should be a safe way to enhance the Nakisa function module without affecting the standard delivered code.
Best regards,
Luke
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.