cancel
Showing results for 
Search instead for 
Did you mean: 

Custom OrgChart

former_member206624
Active Participant
0 Kudos


Hi ,

I want to add additional fields to Org unit and position boxes, followed the below steps

Created RFC Functional Modules in SAP – below are the FM

          /NAKISA/OC_EMPLOYEE_INFO

     
           /NAKISA/OC_OU_DETAIL

            /NAKISA/OC_POSITION_DETAIL

In Nakisa I have created the Data Connection and Data Element (created only one with FM- /NAKISA/OC_OU_DETAIL)

I have referred VSN40 - 7.3.2 and Custom Org chart sessions but still I have the below queries

How to link the New data elements to Org chart, can I create one data element for all the 3 FM (SAP RFC FM) or do I need to
create it individually .

If i do the changes will it be reflected in the standard org chart.

It would be really helpful if some can provide how to add the custom fields to the standard Orgchart.

Thanks

Rag

Accepted Solutions (1)

Accepted Solutions (1)

StephenBurr
Active Contributor
0 Kudos

Personally if I was looking to extend the content in the OU or Pos nodes I would use a structure append and enhancement functionality to extend the capability of the standard functionality rather than create copies of the /NAKISA/xxxx functions.

Does that make sense? 

Once you have the function module extended and the new fields being populated you can extend the data elements to show the data in the OrgChart application. 

Stephen

Former Member
0 Kudos

Yes, it's better to extend the FMs and corresponding Nakisa dataelements, if at all possible. Creating linked data elements or linked details can always result in performance issues since you are increasing the number of RFC calls which must be made to load the final dataset, and the multiple tables returned by the multiple FMs must be merged in application server memory to produce that final dataset. At the end of the day, you'll end up with a lot of data processing inefficiency if you don't follow Stephen's sound advice.

former_member206624
Active Participant
0 Kudos

Hi Stephen/Matthew,

Thanks for the Reply,Your inputs are really very helpful.

I think our technical team has extended the FM's , i will check this and confirm. I could see the new content being populated while creating the new Data elements.Since i did not know the Corresponding data elements i tried to create new data elements.

Could you please let me know how to identify the Corresponding data elements so that i can enhance, would be really helpful if you can provide the steps i should follow .

Thanks

Rag

StephenBurr
Active Contributor
0 Kudos

Data elements are found in the AppResources\dataelementconfiguration folder.

You will need to locate the correct one. e.g. For Position details panel it is "PositionDetailDataElement.xml" (notice that the RFC "/NAKISA/OC_POSITION_DETAIL" is referenced in the data element). Any modifications to this file should be put into a copy of the file in your .delta area of your own build. Then reload the AdminConsole and Publish.

A small note, if you change a standard data element then you will need to restart the application via the NW Administrator (using Start/Stop Applications).

Once you've done that then you can test (use the AdminConsole to trace as you use OrgChart to open the Pos details panel).

After that, you can use the Details Designer to output your new data into the correct section.

Regards,

Stephen

former_member206624
Active Participant
0 Kudos

Hi Stephen,

Thanks for the inputs. Will check this and update my findings.

Thanks

Rag

Answers (0)