cancel
Showing results for 
Search instead for 
Did you mean: 

if_fpm_oif,How do i get the instance for "IF_FPM_OIF_CONF_EXIT->OVERRIDE_EVENT_OIF"

Former Member
0 Kudos

Hi Experts,

I want to hide some of my form UIBBs in my FPM application.I want to use IF_FPM_OIF_CONF_EXIT->OVERRIDE_EVENT_OIF Remove UIBB method.

But i am not able to instantiate the reference for if_fpm_oif_conf_exit   and nor if_fpm_oif.

Please help me figuring out how to use these utilities.

Kind Regards,

Rupesh

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member219762
Contributor
0 Kudos

Hi,

This will help you http://scn.sap.com/docs/DOC-47092

Regards,

Sreenivas.

Former Member
0 Kudos

Hello Rupesh,

Refer following thread,It might useful to you,

http://scn.sap.com/thread/1935143

BR,

Katrice

former_member193369
Active Participant
0 Kudos

Hello Rupesh,

you find an explanation in for your question in section "The Application-Specific Configuration Controller" of the FPM developer guide (page 242ff in the newest version)

Best regards,

  Christian

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Check this thread and FPM Cookbook:

http://scn.sap.com/people/kuncham.k/blog/2011/11/27/dynamic-header-in-fpm-oif-application

http://scn.sap.com/community/web-dynpro-abap/floorplan-manager/blog/2012/04/08/dynamically-modifying...

It is very similar to what you can to achieve.

To retrieve the reference use this:

wd_this->mo_oif ?= cl_fpm_factory=>get_instance( )->get_service( if_fpm_constants=>gc_service_key-cnr_oif ).

Best regards,

Guillaume

Former Member
0 Kudos

Hello Guillaume,

Thanks for you valuable reply, but the problem is the place where i am trying to implemnt, i am not getting the reference of wd_this.how do i get the WD_this refrence??

Kind Regards,

Rupesh

guillaume-hrc
Active Contributor
0 Kudos

Hi,

You implement this in the Component Controller.

wd_this simply refers to the component controller, itself. It is a reference variable given by the standard.

http://help.sap.com/saphelp_nw70/Helpdata/en/35/447741b0d6157de10000000a155106/content.htm

Yet, you have to create the mo_oif as an attribute of this component controller declare it as a TYPE REF TO IF_FPM_OIF.

Best regards,

Guillaume