on 09-23-2014 1:42 PM
Hi All ,
I have 2 plant fileds(werks) in the form UIBB , Dropdown list
If the user selects some input from 1 st dropdown
If user selects the 0003 from site and if the company code is 0001 , then i need to take the store which has company code as 0001 and display in the dropdown list of the house.
But here i am facing a problem ,I am populating the fixed values in the form class get definition , I have build the fixed values for the Site field , and after i select a value 0003 in site ,
How can i populate the fixed values for the house field , ? I think i need to create actions for site , but anyway i may need to write the logic in process event , but the fixed values we can build in the get definition ,
My question is where i can write the code for house field fixed values ?
Thanks,
Pradeep.
Hello Pradeep,
you need to assign a FPM event Id to Site Dropdown, say DD_SITE. create this action in get_definition.
When you select any value from Site, get_data will be triggered for event_id DD_SITE.
on this event, you need to populate the fixed values for house dropdown in table CT_FIELD_USAGE and also mark FIXED_VALUES_CHANGED as X in CT_FIELD_USAGE.
also, mark EV_FIELD_USAGE_CHANGED as X in get_data.
Regards,
Jitin Kharbanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitin ,
Thanks for your reply ,
A you said i have created a action for drpodown list which is correct .
In the get definition method we will build the fixed values and we have the exporting parameter ET_FIELD_DESCRIPTION, but in the Get data method we do not have the ET_FIELD_DESCRIPTION paramter.
Hi Jitin ,
I have implemented the code in get data , and i n debug i noticed the parameter CT_FIELD_USAGE has no values for the house fixed values .
Rather another ne entry added to the CT_FIELD_USAGE and there i ca see the fixed values populated ,
Actually i have appended the fixed values to the CT_FIELD_USAGE, i think i need to modify CT_FIELD_USAGE.
Hello Pradeep,
on this event, you need to populate the fixed values for house dropdown in table CT_FIELD_USAGE and also mark FIXED_VALUES_CHANGED as X in CT_FIELD_USAGE.
also, mark EV_FIELD_USAGE_CHANGED as X in get_data.
have you marked these two flags as 'X'?
also, in debug mode, after populating fixed values for house, are you able to see in CT_FIELD_USAGE?
Regards,
Jitin Kharbanda
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.