cancel
Showing results for 
Search instead for 
Did you mean: 

Copy standard application to Z - configuration issue

alex_marc
Explorer
0 Kudos

Hello,

I copied a standard application (HAP_PMP_MAIN) to a Z application (ZHAP_PMP_MAIN). I've made all the changes on the configuration (FPM_OIF_COMPONENT), but when I try to call the application from the Portal, it's still called the standard one.

Can you tell me please what changes must be done ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

alex_marc
Explorer
0 Kudos

Solved, it was a hardcoding in the standard code.

*---get road map screen as FPM header

lo_aca_api = io_oif->get_aca_api( ).

uibb-component = 'HAP_PMP_MAIN'.

uibb-interface_view = 'WDW_PROC_ROADMAP'.

lo_aca_api->add_uibb( iv_aca_location = if_fpm_constants=>gc_aca_locations-ii3

iv_index = lv_index

is_uibb_key = uibb ).

Former Member
0 Kudos

Hi kripco,

We also customizing this process, we manage to copy component HAP_PMP_MAIN to Custom, How do you manage to call your custom object when you click in application HAP_A_PMP_OVERVIEW?

lo_aca_api = io_oif->get_aca_api( ).

uibb-component = 'HAP_PMP_MAIN'.

uibb-interface_view = 'WDW_PROC_ROADMAP'.

lo_aca_api->add_uibb( iv_aca_location = if_fpm_constants=>gc_aca_locations-ii3

iv_index = lv_index

is_uibb_key = uibb ).

I think this part of logic we are calling in OVERRIDE_EVENT_OIF method in HAP_PMP_MAIN component.

As per my understanding it should call from HAP_A_PMP_OVERVIEW, can you explain how you call your custom component.

alex_marc
Explorer
0 Kudos

Hi,

First you must to configure your custom component in FPM_OIF_COMPONENT (rename all standard applications with Z ) also the changes must be done in Portal (remove the standard application from the iView with the Z application).

The hardcoding from the standard, must be replaced with your Z application.

alex_marc
Explorer
0 Kudos

It should be :


lo_aca_api = io_oif->get_aca_api( ).
uibb-component = 'ZHAP_PMP_MAIN'.
uibb-interface_view = 'WDW_PROC_ROADMAP'.
lo_aca_api->add_uibb( iv_aca_location = if_fpm_constants=>gc_aca_locations-ii3
iv_index = lv_index
is_uibb_key = uibb ).

Answers (1)

Answers (1)

alex_marc
Explorer
0 Kudos

Another issue, is that application FPM_CFG_HIERARCHY_BROWSER doesn't exist in the system. I can't find it in SE80.