2013 Dec 17 11:27 AM
Hi friends,
I have to assign mblnr fields with both low and high values using f4 help.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR DOCNO where docno = mblnr
Here i shall give both high and low. Pls help.
2013 Dec 17 11:31 AM
hi swapna,
if you want to select option to hold only one value , then create a range table as below.
BEGIN OF ty_select,
sign TYPE char01,
option TYPE char02,
low TYPE char40,
high TYPE char40,
END OF ty_select.
then pass the value as
lx_vbeln-sign = 'I'.
lx_vbeln-option = 'EQ'.
lx_vbeln-low = i_vbeln. "value
APPEND lx_vbeln TO lt_vbeln. " append values to internal table
2013 Dec 17 11:31 AM
hi swapna,
if you want to select option to hold only one value , then create a range table as below.
BEGIN OF ty_select,
sign TYPE char01,
option TYPE char02,
low TYPE char40,
high TYPE char40,
END OF ty_select.
then pass the value as
lx_vbeln-sign = 'I'.
lx_vbeln-option = 'EQ'.
lx_vbeln-low = i_vbeln. "value
APPEND lx_vbeln TO lt_vbeln. " append values to internal table
2013 Dec 17 11:34 AM
Hi ganesh
I need to give a range of values in the field mblnr. I have to use select options.
2013 Dec 17 11:47 AM
then for range of values write the option as 'BT' and also pass the high value.. for placing a search help,
try creating search help in se80 and use matchcode object keyword to link it with select options.
2013 Dec 17 11:34 AM
Hi Swapna,
If you want to keep both the numbers same means
docno-low = docno-high = mblnr.
or if you want to keep more values then also same procedure.
and also we can follow like this also.
at selection-screen on value request for docno-low.
some code...
etc
at selection-screen on value request for docno-high.
some code..
etc.
try this .
Regards,
Krishna
2013 Dec 17 11:34 AM
Hi Swapna,
Can you describe more clear, what is your requirement ??
Thanks
Deependra
2013 Dec 17 11:46 AM
Hi dependra,
My input screen has initially from date to to date. Using that date value , I shall select the werks. Once the werks is selected , that particular mbln (range of mblnr) is selected. Then the subsequent matnr is selected.
-Regards,
Swapna
2013 Dec 17 11:53 AM
what is ur question exactly .. you want to select values based on previous search help value???
if so Create POV for each field .
and use the FM F4IF_INT_TABLE_VALUE_REQUEST pass the internal table based on the previous select values.
2013 Dec 17 12:00 PM
hi,
you just give your low and high values in intialization part and then try.
SELECT-OPTIONS: creat_dt FOR nast-erdat.
INITIALIZATION.
creat_dt-low = sy-datum
creat_dt-high = sy-datum.
APPEND creat_dt.
the above is just sample u just try like this
Regards
gopi
2013 Dec 17 12:43 PM
2013 Dec 17 12:06 PM
HI Swapna,
You need to create value range table.
Data : it_werks type table of range_c18,
w_werks type range_c18.
w_werks-sign = 'I'.
w_werks-option = 'BT'.
w_werks-low = '2100'.
w_werks-high = '3000'.
append w_werks to it_werks. " append to value range table
you can select MBLNR field value from required standard table conditon ( where werks in it_werks ).
Thanks ,
Janardhana
2013 Dec 17 12:08 PM
hi,
you just fix your range in at selection screen. you just try this.
AT SELECTION-SCREEN ON docno.
IF ( docno-low not between '0049000001' and '00490000099' ) AND ( docno-HIGH not between '0049000001' and 00490000099' ).
from this you can filter the mblnr.
Regards,
gopi
2013 Dec 17 12:43 PM
2013 Dec 17 12:45 PM
hi swapna,
wat happen whether your issue solved????
regards,
gopi
2013 Dec 17 1:05 PM
Hi Gopi,
I am trying with all the inputs given in the forum by other friends. I guess my work will be done. Thanku
-Regards,
Swapna