on 03-04-2011 2:12 PM
Hi All,
How to call this interface if_fpm_oif methods in button onAction.
Regards,
Sunaiana t
Hi Baskaran,
Thanks for your reply.
But my requirement is dynamically i have to call this method ADD_UIBB.
this method is available in this interface if_fpm_oif.
if i call this method in button onAction i am getting 'Accessing via null object reference' error.
so how can i call this method in button onAction.
Regards,
Sunaina reddy t
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I already gave you the link to the resources !!
See in this PDF [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50?quicklink=index&overridelayout=true]
Page 47, application specific events
Hi Baskaran,
we developed one fpm application using fpm_oif_component component. now we need to integrate 2 components into this application.
now my requirement is depend on button action dynamically i want to call UIBB and i need to pass component window dynamically to that UIBB.
Regards,
sunaina t
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can get the instance of fpm like this and the available buttons also in this way.
DATA: GO_FPM type ref to if_fpm.
DATA: GO_FPM_OIF TYPE REF TO IF_FPM_CNR_OIF.
go_fpm = cl_fpm_factory=>get_instance( ).
go_fpm_oif ?= go_fpm->get_service( iv_service_key = cl_fpm_service_manager=>gc_key_cnr_oif ).
CALL METHOD go_fpm_oif->get_buttons
* EXPORTING
* iv_variant_id =
IMPORTING
et_buttons = lt_buttons. .
Hi,
You may have to explain more in detail. what you want to do?
are you developing FPM application ?
if_fpm_oif is just a interface, at runtime you need to get the instance of the oif from the factory methods. You get this only when the application runs in FPM framework.
APB_FPM package has several demo applications on FPM. You also have a FPM developers guide HERE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.