cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Toggle enabled/disabled on FloorPlan Manager step

Former Member
0 Likes
548

Hi Experts

I am enhancing one of the standard ABAP WebDynpros for Travel Management.

In the Overview screen I have added a checkbox which the user selects to indicate that he/she accepts the terms and conditions.

The checkbox is linked to a WDYBOOLEAN in the controller context.

I want this checkbox to control the enablement of the "Review" button as well as the "Review and Send" step in the FloorPlan Manager breadcrumb.

Could somebody please explain to me how I can do this?

Thanks

Anton Kruse

View Entire Topic
Former Member
0 Likes

hi, you should process FPM Toolbar element programlly.

For example, you can use "Process_Event" method, in which you can modify the enable/disable of the standard toolbar element in FPM header.

1) You should know the Event-ID of the toolbar element

2) You should use the following example coding:


method PROCESS_EVENT .

*Check the incoming Event ID
  CASE IO_EVENT->MV_EVENT_ID.
    "Disable/Enable the Editable
    WHEN 'EDIT_NOT'.  "You desired Event ID

3) in that method, you should modify the enable/disable according to the context attribute which you mentioned been bound to the Check box.

For example, you can also bind one WDYBOOLEAN to the toolbar element "Review and Send""

In addition, you should know that OIF and GAF are different for toolbar element, you should differentiate them.

Hope it can help you a little.

Best wishes~

Former Member
0 Likes

Thanks Edison

that looks more like what I want to achieve.

Kind Regards

Anton Kruse