on ‎2011 Jan 04 5:56 AM
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
Request clarification before answering.
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~
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
can you then please elaborate more ...because i m not getting you about "floor plan manager"
thanks and regards,
sahai.s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
http://wiki.sdn.sap.com/wiki/display/WDABAP/SimpleapplicationtochangepropertiesofUIElementsduringruntimeinWebDynpro+ABAP
this link above will lead you to an article where you will find how to get an UI element enable and disable on the action of an radio button.
now the only difference is that you are using a checkbox for generating an event so when you are creating a method for this event remember to make it as an event handler where event will be on_data_check.
thanks and regards,
shitanshu sahai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
http://wiki.sdn.sap.com/wiki/display/WDABAP/SimpleapplicationtochangepropertiesofUIElementsduringruntimeinWebDynpro+ABAP
this link above will lead you to an article where you will find how to get an UI element enable and disable on the action of an radio button.
now the only difference is that you are using a checkbox for generating an event so when you are creating a method for this event remember to make it as an event handler where event will be on_data_check.
thanks and regards,
shitanshu sahai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.