Skip to Content
0
Former Member
May 11, 2007 at 01:27 PM

Developing Web dynpro FPM application

18 Views

Hi All

I need to implement "Exit" functionality in my component similar to the standard ESS components which uses IFPM interface.

1) I created a view

2) Added a button

3) On click of button i called a method say "<b>cancel</b>" of Component Cntroller

4) Added xssutils and xssfpm in used DCs

5) I have declared a variable <b>fpm</b> of type <b>IFPM</b>

6) The "cancel: method contains

fpm.navigate(wdThis.wdGetFcNavigationInterface().getNavigationTargetExitApplication());

When i deployed this application, it gives me

NullPointerException

at com.sap.pcuigp.xssutils.navi.FcNavigation.getNavigationTargetExitApplication

Please let me know where do i have to initialize the variable fpm ?

Does it get initialize on its own by the framework ?

Please help in solving the problem

Thanks in advance

Regards

Sonal Mangla