on 12-07-2010 7:41 AM
Hi Experts,
I have one requirement, in My application i designed selection-screen for VBELN field, i used WDR_SELECT_OPTIONS in my component , i want to validate VBELN field , can any one help me , thanks
Srini
hi srini ,
in Initialized the select option component and crete range table in the Method do init
in the event handler method get the values of select oftion using get range table method for checking vbeln
referr the belo piece of code .
method search .
FIELD-SYMBOLS: <fs_carrid> TYPE table.
rt_carrid = wd_this->m_handler->get_range_table_of_sel_field( i_id = 'S_CARR_ID' ).
ASSIGN rt_carrid->* TO <fs_carrid>.
CLEAR isflight.
REFRESH isflight.
SELECT * INTO CORRESPONDING FIELDS OF TABLE isflight FROM sflight
WHERE carrid IN <fs_carrid>.
if sy-subrc eq 0 .
return = abap_true .
endif .
endmethod .
regards
chinnaiya P
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,
U would have written code in some instance method which ll be triggering for getting the entries from the select-options..
In that before using the SELECT stmt, do the validation for that Fieldsymbol.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.