Hi All,
I've encountered a strange problem on our system. I want to remove and add a UIBB dynamically, based on the users input. The "new" method using the interface IF_FPM_GUIBB_DYNAMIC_CONFIG and calling the corresponding event works like a charm. Sadly I have to maintain backwards compabilility with 7.02 and therefore I have to use the INSTANCE_ID import variable on the IF_FPM_GAF -> ADD_UUIB Method:
ls_uibb-component = 'FPM_FORM_UIBB'.
ls_uibb-config_id = 'ZHR_MY_CONFIG'.
ls_uibb-interface_view = 'FORM_WINDOW'.
ls_uibb-instance_id = '100000000'.
io_gaf->add_uibb(
is_uibb_key = ls_uibb
iv_index = 9999
).
But if I fill anything in there, the system dumps, because in the WebDynpro Component FPM_GAF_COMPONENT => View CNR_VIEW => PREPARE_NAVIGATION the field INSTANCE_ID is always initial. So the system does not find the created feeder (I've looked into the feeder factory, there the instance id is used) and crashes with the following text:
Has anybody experienced the same problem? Am I doing something wrong? Thanks for any Input.