As per my scenario I need to hide a sub-step when user selects a check box in before step, i troed the following code ..which throwing ab exception in override method , than I created a post exit to the override ...but still the same..please go through the code and scren shots and help me
IF LS_CURRENT_STATE-MAINSTEP = 'MAINSTEP_1' AND LS_CURRENT_STATE-SUBSTEP = '' AND ( IO_GAF->MO_EVENT->MV_EVENT_ID = 'FPM_NEXT_STEP' ).
IF LV_SUBSTP_2A eq 'X'.
CALL METHOD IO_GAF->HIDE_SUBSTEP
IV_VARIANT_ID = 'VARIANT1'
IV_MAINSTEP_ID = 'MAINSTEP_2'
IV_SUBSTEP_VARIANT_ID = 'SUB_STEP_VARIANT1'
IV_SUBSTEP_ID = 'SUBSTEP_2_1'.
catch CX_FPM_FLOORPLAN INTO EXCEPSTR. " Floorplan exceptions
Data strExce TYPE string.
STREXCE = EXCEPSTR->GET_LONGTEXT( ).
CALL METHOD lo_message_manager->REPORT_SUCCESS
MESSAGE_TEXT = STREXCE.
when I use the above code am getting Subview does not exist or cannot be accessed at the moment.error,
2.How to hide the Next/Previous buttons on conditional based