Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

How to hide multiple Mainsteps/substeps

$
0
0

Hi All,

 

Am trying to hide multiple substeps in my scenario where am using FPM GAF, could able to hide a single step nicely...but not the same case with multiple steps

 

 

       io_gaf->GET_SUBSTEPS(

        exporting

         IV_VARIANT_ID         'VARIANT_1'   " Mainstep Variant ID

         IV_MAINSTEP_ID        'MAINSTEP_2'   " Mainstep ID

         IV_SUBSTEP_VARIANT_ID 'SUBSTEPVARIANT_1'   " Substep Variant ID

         importing

         ET_SUBSTEP            = LT_SUBSTEP    " List of mainviews

     ).

 

LOOP at LT_SUBSTEP INTO LS_SUBSTEP.

       if LS_SUBSTEP-ID EQ 'SUBSTEP_2_5' OR LS_SUBSTEP-ID EQ 'SUBSTEP_2_6'.

      IO_GAF->HIDE_SUBSTEP(

         exporting

           IV_VARIANT_ID         LS_SUBSTEP-VARIANT   " Mainstep Variant ID

           IV_MAINSTEP_ID        LS_SUBSTEP-MAINSTEP   " Mainstep ID

           IV_SUBSTEP_VARIANT_ID LS_SUBSTEP-SUBSTEP_VARIANT  " Substep Variant ID

           IV_SUBSTEP_ID         LS_SUBSTEP-ID   " Substep ID

       ).

        endif.

       ENDLOOP.

here it is always hiding the SUBSTEP_2_6 substep only

Thanks in advance

Rajesh


Viewing all articles
Browse latest Browse all 1726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>