Quantcast
Viewing all articles
Browse latest Browse all 9190

Re: FPM LIST GUIBB - 1st Dropdown value sel. sets the value for 2nd dropdown enumeration

Hi Abhinav,

 

I will try to explain my assumption on example.

 

Example:

I have list with two column: C1 (drop down) and C2 (input field). I want to make fields in column C2 read-only in depending on selected value in field C1 in the same row. As a result in the table I can have several rows where state of fields in column C2 will be read-only and several in editable state.

For realizing this scenario I will use additional field (for example CR2) in data structure which will be marked in ET_FIELD_DESCRIPTION parameter (GET_DEFINITION method in IF_FPM_GUIBB_LIST interface) as READ_ONLY_REF for column C2. This field will allow me dynamically change state of fields in column C2.

As a result scenario with different values sets in drop down lists must be realized by the similar approach. But as you can check ET_FIELD_DESCRIPTION parameter does not have parameter FIXED_VALUES_REF.

 

P.S. Of course you can get access to dynamically created context of component configuration on which list based on and realized your requirement as in simple WebDynpro component. But this is some kind of hack.

 

Kind regards, Aliaksandr.


Viewing all articles
Browse latest Browse all 9190

Trending Articles