cancel
Showing results for 
Search instead for 
Did you mean: 

Register Custom WebDynpro to FPM (mapper)

Former Member
0 Kudos

Hi All,

I have a custom Webdynpro embedded to a Standard WebDynpro, in better words Standard WebDynpro has 3 standard tabs (each tab is a different webdynpro) and I added a 4 tab (custom).

I want to click Refresh (FPM button) and refresh my custom WebDynpro.

If I click Refresh the 3 standard tabs Refresh, but my custom one doesn't.

How I can register my custom WebDynpro to the mapper of FPM?

thanks!

Jason PV

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Try the following code in the init method of your wd.

* register the mapper to the component

*  READ TABLE wd_comp_controller->mt_mapper WITH TABLE KEY mapper = wd_this->mo_dodm_ctr_ov_bd TRANSPORTING NO FIELDS.

*  IF sy-subrc NE 0.

**  "add the mapper only one time (if several views use the same mapper)

*    ls_mapper-mapper ?= wd_this->mo_dodm_ctr_ov_bd.

*    INSERT ls_mapper INTO TABLE wd_comp_controller->mt_mapper.

*  ENDIF.

0 Kudos

Hi

on the fourth Tab added custom WD means whether its a normal wedynpro component or feederclass.

if feederclass means inside the process_event  you have to write logic for refresh ..if its is normal WD means you can write the codeings in hook methods also will trigger.

Regards

jayapraksh T