cancel
Showing results for 
Search instead for 
Did you mean: 

OrgPublisher in MSS - Bala Duvvuri

Former Member
0 Kudos

Hi all,

We are on NW2004, EP6.0. We are using who's who application from ESS web dynpro. This service is having organizational chart link which will give the organizational structure based on the pernr.

The same link is used in MSS also.

Now we are going to use Org Publisher to dispaly the org structure. I came across with a forum which says we can change some parameters and display the org publisher.

The solution was given by BALA DUVVURI. But some how I could not find the specified code in the ess~org application.

Can anybody give me the solution for this.

Thanks in advance.

Points guaranteed for a good solution.

Edited by: rk reddy on Apr 16, 2008 8:45 PM

Accepted Solutions (1)

Accepted Solutions (1)

ChrisSolomon
Active Contributor
0 Kudos

Look at the documentation for the Org Chart application. Basically, SAP will generate an XML file of the org chart that you then will "feed" into your own Org Charting application (3rd party product) hence it needs the URL to that product and how it expects the data. If you simply "dump" the data out, you will see it as just the XML file.

Former Member
0 Kudos

Hi RK,

What Chris said is right .we are using a thrid party product to display the Org Chart

This is the code we are using to call the third party product

try

{

wdThis.wdGetOrgChartController().execute_bapi();//function module that gets the pernr of the person logged in

String pernr =

"0";

if(wdContext.currentOutputElement()!=null)

pernr = wdContext.currentOutputElement().getEmployeenumber();

if(!pernr.equalsIgnoreCase("0")){

// String url =

//

// orgChartUrl is the application parameter mentioned in the iview properties that points to third party product

String url = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter(

"orgChartUrl")"?id="pernr;

IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createNonModalExternalWindow(url,

"Organisation Chart");

window.setWindowPosition(WDWindowPos.CENTER);

window.show();

}

}

catch(Exception e){

}

Former Member
0 Kudos

Hi Bala and Chris,

Thank you for responding.

From your code , I am assuming you have developed a custom web dynpro application since you mentioned wdThis.wdGetOrgChartController() in your code. If not, please let me know whether I should add the code in wdDoInit of VcOrgChart or FcOrgBusinessLogic.

I appreciate your help.(ofcourse will give points also)

Thanks again.

RK

Former Member
0 Kudos

we developed a custom webdynpro application.

But in your case you dont need to create a custom one.you can add the code in wdDoInit of VcOrgChart or FcOrgBusinessLogic

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Bala/Chris/Pramod,

Thank you for your help. I gave the points.

We will be implementing orgpublisher after 3 weeks.

Former Member
0 Kudos

Hi Pramod,

Thanks for responding...

As far as i know, after defining the application parameter, we should get it in web dynpro application and send pernr as a parameter.

Do you think application parameter definition is sufficient?

Right now I cannot test it in Dev portal as some maintainance thing is going on.

Please let me know you thoughts.

pramod_gopisetty1
Active Contributor
0 Kudos

Hello Rk,

Can you be a little clear. As far as I see,

in the iView properties look for

Application Parameter and give as orgChartUrl=<URL>.

there is no code changes you need to do.

Hope this helps.

Pramod

award points if helpful.