on 2014 Mar 25 8:19 PM
Hi All
we have Custom tab added for incident admin work list along with other tabs(basic information , Investigation etc ) . where in user enters some values and set a flag A,B or C .
now based on the flag set i have to change the F4 values of the employees dynamically .
for this i have created a singleton class and reading the context value from the custom web dynpro and passing it to the attribute in singleton and reading it in the get_data method of CL*PERSON*FRM* passing the search help dynamically to the investigation lead field .
the issue is the enhancement which is written in the get_data method is not triggered always i am missing this for some of the incident categories say "minimal accidents" etc .
is there any way where i can set the search help in the webdynpro level accesing the fpm~getdata tables ?
like process_events ?
please suggest me some input so that the dynamic population of search help functions irrespective of actions ( events ).
Thanks ,
Venkat Ratnam Naidu
Request clarification before answering.
Hi Chetan ,
We don't have any option to change value help at this level get_data CT_FIELD_USAGE .
can i trigger any event on F4 HELP.
OR contrl the values from any ddic search help levels ?
Thanks ,
Venkat Ratnam Naidu .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chetan,
here i am able to change the radio buttons properties.changing fixed values for field . with the fixed values changed property for the radio-buttons of a screen .
but unable to change Input fields are there any flags to be set for input field properties .
i see some UI related property attributes in CS_DATA . with the boolean and required data types .
i have tried using ev_datachanged ev_data changed.can i control over there ? .
thanks .
Hi Venkat,
Put following code into the PROCESS_EVENT method and define
MO_FPM type ref to IF_FPM, MO_GROUP_NODE type ref to CL_EHFND_ENA_NODE in attributes.
METHOD process_event .
DATA:
lt_keys TYPE /bobf/t_frw_key,
ls_keys TYPE /bobf/s_frw_key,
wd_this->mo_fpm = cl_fpm_factory=>get_instance( ).
IF wd_this->mo_group_node IS NOT BOUND.
wd_this->mo_fpm->mo_app_parameter->get_value( EXPORTING
iv_key = /bofu/if_fbi_runtime_c=>sc_application_parameters-key
IMPORTING
ev_value = ls_keys-key ).
ENDIF.
ENDMETHOD.
Here you will get root key in ls_keys-key field for that instance.
Then using service manager you can retrieve respective data, and check respective value.
After that using OVS method you can populate required data on F4.
Thanks and regards,
Chetan P. Patil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat! I´m looking for examples about the implementing a Freestyle GUIBB inside an EHS Incident Report Screen. I´m new in EHS development, and I don´t understand how to implement /BOFU/CL_FREESTYLE_BOPF_HELPER class to handle the data referred to the incident.
I recently created a thread: FBI Freestyle Helper Sample Implementation
The Freestyle GUIBB has been implemented, but I can´t access any data of the BOPF Data Model.
I appreciate some help, thanks!!!
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.