on 03-04-2011 10:53 AM
Hi gurus,
I'd like to filter values in a standard dropDownByIndex on the basis of certain conditions.
In details:
we are working on SRM 7, specifically in the standard comp/IF webdynpro /SAPSRM/WDC_UI_PO_DOTC_IT, view V_PO_DODC_BASIC. This view contains a table showing an overview of the Purchase order items. A toolbar is available for the user and allows to add a position or a subposition.
By standard, a position can be a Material (goods) or a Structure (which is a node that can contain other structure or service items), while a subposition can be a service line, a limit or a structure itself.
Now, if the user press an ADD_SUBPOSITION button on a STRUCTURE item, the field PS_IPT -which contains the item's type- for the added position can either be filled with:
- service line;
- limit;
- structure.
In our scenario however, we don't want that a structure can itself contain another structure. So basically we'd like to have PS_IPT dropdownbyIndex showing only:
- service line;
- limit
for an added subposition.
I searched for fixed values binded to PS_IPT but cannot find any useful information on the view, also because that dropdownbyIndex field is already dynamic: for example, when we add a position only structure and material are available.
It changes on a subitem, allowing the three values above described.
How can I influence that behaviour in order to remove Structure from the values in a subposition?
Thanks in advance.
>How can I influence that behaviour in order to remove Structure from the values in a subposition?
I don't have advice on your specific application. In general, however, DropDownByIndex get their possible values from a context sub node. There must be some logic somewhere in the component that is filling this context node the DDLB is bound to. I would suggest searching through the component for any usage of this context node name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.