cancel
Showing results for 
Search instead for 
Did you mean: 

Insert Sub Step in std configuration

Former Member
0 Kudos

Hi All,

I am trying to insert a substep for a standard configuration....it seems that it can not find that view...and give me null pointer message...

Are there any particular steps....to follow.... I followed the FPM guide...and added my code to activate the substep when i hit the main step....i can see the data is being populated in the uibb table...but i am keep getting this dump....


*---------Set Leadselection for the Sub-Steps according to the Target-State-------------
* Check substep variant node first
  lo_node = lo_main_element->get_child_node( name = wd_this->wdctx_substep_variant ).
  lo_element = lo_node->get_element( ).                         
  IF NOT ls_target_state-substep_variant IS INITIAL.
    lo_element->get_static_attributes( IMPORTING static_attributes = ls_substep_variant ). <----this is where it dumps....
    IF NOT ls_substep_variant-id = ls_target_state-substep_variant.
* Search Substep-Variant

the above code is from :

wda component: FPM_GAF_COMPONENT

method: MODIFY_VIEW_ASSEMBLY

appreciate the help...

AS...

here is my code to activate the substep:


          DATA: lo_fpm1 TYPE REF TO if_fpm,
          lr_event1 TYPE REF TO cl_fpm_event.
* get reference to FPM API
          lo_fpm1 = cl_fpm_factory=>get_instance( ).
* create event
          lr_event1 = cl_fpm_event=>create_by_id(
          cl_fpm_event=>gc_event_change_step ).
* fill event parameters

         lr_event1->MO_EVENT_DATA->set_value(
          iv_key = cl_fpm_event=>gc_event_param_mainstep_id
          iv_value = 'enter_data' ).
          lr_event1->MO_EVENT_DATA->set_value(
          iv_key = cl_fpm_event=>gc_event_param_substep_id
          iv_value = 'zterm_condition' ).

          lr_event1->mo_event_data->set_value(
          iv_key = cl_fpm_event=>gc_event_param_subvariant_id
          iv_value = 'SUBSTEPVARIANT_1' ).
*now raise event
          wd_this->MSP_FPM->raise_event( io_event = lr_event1 ).

Forgot to mention that the substep screen is coming from a custom component...it is just bunch of static text...

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi All,

I found a note for this issue...

Note 1358623 - FPM: Incorrect navigation behaviour in a GAF subroadmap

Hope this help all the other people as well..

Thanks...

AS

Former Member
0 Kudos

Hi J Are ,

I have seen your thread, and felt happy as I m facing same kind of issue.

Currently Working on

FPM GAF Configuration

My FPM Configuraiton too has substep.

I got to know from this thread that we have to add code for activating Sub Step

Please help me in making me understand the right place to add this code

Thanks in Advance.

Regards,

Srikanth.