Skip to Content

CODE TO CALL FPM OVP PROBLEM

Hello people. I created a copy of an FPM_OVP_COMPONENT and inside it has a FORM_WINDOW AND I COPIED IT TOO. SEE IMAGE:

I CREATED AN WEB DYNPRO APPLICATION TO CALL THIS ovp MY PROBLEM IS: WHEN I CALL THIS OVP THE FORM WINDOW IS NOT SHOWED IN SCREEN ONLY THE HEADER SCRREN IS SHOWED. THIS IS MY CODE .

METHOD wddoinit .

DATA lr_ovp_usage TYPE REF TO if_wd_component_usage.
DATA ls_config_key TYPE wdy_config_key.
DATA lr_ovp_ifctrl TYPE REF TO iwci_fpm_ovp_component.

lr_ovp_usage = wd_this->wd_cpuse_ovp( ).

IF lr_ovp_usage->has_active_component( ) = abap_true.
lr_ovp_usage->delete_component( ).
ENDIF.

ls_config_key-config_id = 'ZZBS_MAT_OVP_INIT_LAYOUT_04'.
lr_ovp_usage->create_component( component_name = 'FPM_OVP_COMPONENT'
configuration_id = ls_config_key ).

ENDMETHOD.

ONLY THE HEADER SCREEN IS SHOWED.

WHAT'S WRONG?

WHY DID THE FORM WINDOW DONT NOT APPEARS.?

THIS IS THE FORM WINDOW CONFIGURATION:

34.png (48.1 kB)
35.png (13.4 kB)
36.png (12.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 10 at 06:59 AM

    Hello Ronaldo,

    please have a look at note 1779104. Simply adding the line

    CL_FPM_UTILS=> SPECIAL_INITIALIZATION_MODE = 'X'.

    before you create the embedded OVP component might solve the issue.

    Best regards,

    Christian

    Add comment
    10|10000 characters needed characters exceeded