on 09-28-2015 4:26 PM
Hi ,
I have a Form UIBB containing 2 Input fields assigned with data dictionary value search help . Now depending on the Value of the first field the value
search help for the 2nd field need to be filtered . say For Example 2 Fields like Country & States are added in the form GUIBB . Now which ever
country is selected in the first field its corresponding states need to be loaded in the search help of other field .
My Issue is when the form is loaded none of the method like process event , get_definition or Get_data is triggered . The Value search help for all the
fields are initialized in the get_definition method when the form is loaded initially for the first time .
I am not sure which interface need to be added in the feeder class of my Form GUIBB .
Regards,
Vicky
Whenever a GUIBB is initialized GET_DATA is always called. You can then minipulate your fields with that. If the form gets initialized at the start of you application you will get FPM_START event in GET_DATA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vaibhav,
I have embedded the Form UIBB in a dialog box . So the GET_DATA method is triggered just once
initially when the dialog box is loaded . Search Help for all the fields are initialized and it is static .
Now I need to channge the value search help of one of the fields in the runtime . Search help of the
fields need to be dynamic. My issue is I cannot find any methods of FORM interface getting triggered
during runtime.
Hi Vicky,
Have you implemented Interface IF_FPM_GUIBB_OVS.
There you will find 4 different methods as follows you can write your logic in.
IF_FPM_GUIBB_OVS~HANDLE_PHASE_0
IF_FPM_GUIBB_OVS~HANDLE_PHASE_1
IF_FPM_GUIBB_OVS~HANDLE_PHASE_2
IF_FPM_GUIBB_OVS~HANDLE_PHASE_3
Hope this will help.
Thanks-
Abhishek
Hi Vicky,
If your requirement is to replace the standard search help you can provide a custom search help in ET_FIELD_DESCRIPTION for your field using the field DDIC_SHLP_NAME.
If you want to suppress the search help, i would suggest you creating a custom types replacing the field with domain without any search help. For. e.g if the field is country use char02.
Best Regards
Vaibhav
Hi Vicky,
use a DDIC structure with these two fields and assigned value help, using both components as parameters. (If such a DDIC structure does not exist yet, create your own one.)
In GET_DEFINITION, create the field catalog out of the entire DDIC structure, but not out of single components. (Use e.g.
EO_FIELD_CATALOG ?= CL_ABAB_TYPEDESCR=>DESCRIBE_BY_DATA( LS_DATA )
or similar.)
Then the context sensitive F4 help will work out of the box.
Regards, Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jens,
I dont have such value search help in my DDIC structure . I have mainted two different value tables
for both the fields . I can create such structure with both components . But How Can I restrict the
Values of value search help of the 2nd Field During runtime ? Can you please elaborate further ?
Regards,
Vicky
Hi Vicky,
if the DDIC search help has this restriction logic (e.g. if the import parameter COUNTRY has value 'US' it only provides the US states for REGION results) and it is assigned correctly with these parameters to the DDIC structure, you don't need to do anything in the feeder class. This is done automatically by the Web Dynpro F4 processor, and it would work the same way with a freestyle WD component if the DDIC structure is attached to the relevant context node.
Regards, Jens
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.