cancel
Showing results for 
Search instead for 
Did you mean: 

FPM with different DC's

Former Member
0 Kudos

Hello,

has anyone developed a WebDynpro based ESS application using a central FPM DC and views from a multitude of different DC?

Please help.

Thank You

Tom

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

What kind of help are u looking @ ?

If you want to know how to do it.. I can give you an idea, Never tried it though !

1. You need VACs for perspectives.. And VACs have 1:1 relation with WD Components.

2. So you create as many components as the VACs.

3. In each VAC , add the interface view of the component you want to use.. (you have to make it and its related DCs as used DCs.. )

3a. Use buttons in this VAC to raise a FPM event for navigation.

4. In self service administrator... create views for each of these VAC and define the app flow.. !

But , have you thought abt the whole thing ? All standard components will have a process flow in itself... so how wud u handle that.. And why du u need such a application ?

Regards

Bharathwaj

Former Member
0 Kudos

Hi Bharathwaj,

thanxs for the speedy reply.

Some background:

we are going to develop a system that involves a large number of different tasks for a MSS application. A large number of steps within the different processes are identical therefore a reusability of certain parts would be higly wellcome.

we managed to create a generic list view appying technologie used in the reporting framework to show lists above the PDF frame.

the list view is but a small part of the overall process so we have to patch it together wit a selection view, a detail view etc. depending on the process involved. we want to put these together with a customizing in SAP R/3 since we do not have SAP Portal.

we need to feed the prcess events back to the master DC to control appl flow.

hope that clear it up. any help would be highly appreciated.

Tom

Former Member
0 Kudos

Hi,

Ok ! I had assumed that you are re-using standard components..

If you want to reuse the components you are developing.. in case its used FPM model , you need to use the above approach..

1. Make all related DCs as Used DCs.

2. Create as many VACs(WD Components) as the flow.. say 3 for selection ,list ,detail.

3. In each VAC say for selection , make use of Selection DCs components.. make it a used component .. get its interface view in your VAC s view..

4. On raising a FPM events, make sure that all data required the child DCs are provided and all events corresponding to the child DCs also appropriately handled..

The flow of application can then be controlled only in your code(read WebDynpro Master DC)...

And as far as I know , the app flow cannot be controlled in IMG customization.. but rather using self service admin (which is there only in portal) or using code.. !

Finally one word , why do you need FPM if you are not going to use self service admin.. You can create standard WD Dcs.reuse them.. . and create resource/service for the same in IMG..

Regards

Bharathwaj..

Former Member
0 Kudos

Sorry it took me a while to answer,

I think I have not really clear the fog.

We would like to have a cewntral DC. This DC contains the FPM and controls the process flow. The different perspectives contain multiple views and bl-components. Since the development is complicated we want to split the parts into different packages. Different DCs for the models and their respective VACs.

I just don't know how to create the dorrect instance of the dc containing the VAC during the loadConfiguration part of the FPM in dcCcMain. The VAC in VcSelection of dcselection is displayed correctly, but the method getData in FcSelection of dc~selection is not started althoug it is called in doModifyView of VcSelection.

help is appreciated.

Tom

Former Member
0 Kudos

Hi ,

A better approach would be to create each of them as different components in one DC.. and not as different DCs.

If you want to stick the same lines , from the way I understand..

1. You need to know how to create a VAC in Cc.. ?


VAC vacFoo = new VAC("namespace/proj name",
                 "component name");

2. How to access data from Fc component in Vc.. ?

You have to make the FC DC as a Used DC in your VAC DC.

Then add the FC component in used components of the VAC DC's VcComponent... Make the component life cycle as manual.

Now in the onInit method of the VC s component controller , declare component usage.


IWDComponentUsage componentUsage =

            wdThis.wdGetFc<Fc component name>();

fpm.attachComponentToUsage(wdThis.wdGetAPI().getComponent(), componentUsage);

Now you should be able to access the functions in Fc.

Regards

Bharathwaj

Former Member
0 Kudos

Thanks Bharathwaj,

the component usage does it. I did know how to use the VAC within FPM but the Fc part of the DC containing the VAC just was not created properly.

Know it does.

Thanks again

Tom

Answers (0)