cancel
Showing results for 
Search instead for 
Did you mean: 

How to Embed FPM ABAP into a WebDynpro ABAP Application

ged_hurst
Participant
0 Kudos

HI all,

I've embedded a custom FPM component a custom WebDYnpro application and I've coded this:


      DATA: lo_usage TYPE REF TO if_wd_component_usage,
            ls_conf_key TYPE wdy_config_key.
      lo_usage = wd_this->wd_cpuse_po_manage_fpm_usage( ).
      IF lo_usage->has_active_component( ) = abap_true.
        lo_usage->delete_component( ).
      ENDIF.
      ls_conf_key-config_id = 'ZWD_SRM_PO_MANAGE_OIF'.
      TRY.
           CALL METHOD lo_usage->create_component
            EXPORTING
              component_name   = 'FPM_OIF_COMPONENT'
              configuration_id = ls_conf_key.
        CATCH cx_wd_runtime_api .
      ENDTRY.

My application is called (debug stops) but the screen that's rendered is an empty screen with Start and Close buttons (the initial screen which is normally displayed is not in this case).

What could the problem be?

Also, how can I pass parameters to my FPM application? (According to the PDF guide, app_parameters can't be used!)

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Did you find a solution to your problem?. I'm trying to do the same kind of thing and have the same problem.

Thanks.