on 09-10-2014 7:01 AM
HI:ALL
How to achieve Freely programmed help in ALV?
Hi Huang,
Nothing special we need to do for freely programmed search help in ALV. i.e. it is the same concept and procedure as we do it for normal fields in Webdynpro
You just need to choose search help type "Freely Programmed help" for the context attribute which is used in alv table.
Please find the below link
Creation and Usage of Freely Programmed Search Help In Web Dynpro for ABAP
You can achieve your requirement as below
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
On APPLY buttton action, write the below code
*Fire the event to indicate that data selection is done
wd_comp_controller->fire_vh_data_selected_evt( ).
wd_comp_controller->value_help_listener->close_window( ).
*Raise Event
cl_fpm_factory=>get_instance( )->raise_event_by_id( EXPORTING iv_event_id = '<custom event name>').
And in PROCESS_EVENT of your webdynpro component(where Freely Programmed search help is implemented) write the code as per your requirement to set the values back to the table.
CASE IO_EVENT->MV_EVENT_ID.
WHEN '<CUSTOM EVENT NAME>'.
write code as per your requirement.
ENDCASE.
Thanks
KH
hi:Katrice
Thank you for your reply!
And in PROCESS_EVENT of your webdynpro component(where Freely Programmed search help is implemented) write the code as per your requirement to set the values back to the table.
CASE IO_EVENT->MV_EVENT_ID.
WHEN '<CUSTOM EVENT NAME>'.
write code as per your requirement.
ENDCASE.
The upper part,can you say in detail?
thanks
hi:Katrice
My probelm is put the value of date and time into the corresponding ALV Cell,
by Freely Programmed Value Help .
how to do?
Thanks!
HI:Katrice
According to your approach,the result is failed.
My application can get the values from Freely Programmed Help by node 。
Similar methods:http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ae749c-87c9-2d10-87bd-821b5e92e...
but I don't kown how to get the values from Freely Programmed Help to ALV CELL!
thanks.
Hi,
Follow this steps,
1)In your actual webdynpro component, create nodes i.e the nodes which you've created in your freely programmed search help component.
2)In you freely programmed search help component create the same nodes as interface nodes.
3) Now when you raise the event in your freely programmed search help component and catch that event in process_event of your actual webdynpro component, just read that node values using code wizard. Then you'll get the values which you've selected from freely programmed search help component into your actual webdynpro component.
Thanks
KH
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.