06-25-2007 11:17 AM
Hi there
I'm currently doing a dialog programming
lets say I have a custom table Z_ABC with MATNR field.
When i get this field from dictionary at layout, it shows as a normal single input field.
Can I make this field a range?
06-25-2007 1:28 PM
hi
good
i dont think you can create a field range using a single field.
go through this link
http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa0331493111d182b70000e829fbfe/content.htm
thanks
mrutyun^
06-25-2007 11:22 AM
Hi,
You need to use a Report Program with Selection SCreen to get the range options
You need to use SELECT-OPTIONS: opt for Z-abc-matnr.
Regards,
Sesh
Message was edited by:
Seshatalpasai Madala
06-25-2007 1:28 PM
hi
good
i dont think you can create a field range using a single field.
go through this link
http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa0331493111d182b70000e829fbfe/content.htm
thanks
mrutyun^
06-26-2007 2:39 AM
but can I display an ALV grid even if I use select option? any suggestions?
my layout is like this
Four buttons for functionaliy at Application Toolbar
<button1 to button 4>
Input Plant < FIELD >
Input Material <FIELD >
___________________________
ALV GRID DISPLAY HERE |
___________________________ |
06-26-2007 3:09 AM
You can code this yourself - below is a simple example but you can expand the idea to have the "low" and "high" values on the screen (or even just the low value) and place a button on the screen with (say) ICON_ENTER_MORE which triggers the complex selection logic for the user.
report zlocal_jc_complex_search.
start-of-selection.
perform complex_selections.
*--------------------------------------------------------------------
* FORM complex_selections
*--------------------------------------------------------------------
form complex_selections.
*
* Invoke complex search criteria popup
*
ranges:
lr_datum for sy-datum.
call function 'COMPLEX_SELECTIONS_DIALOG'
exporting
text = 'Some text'
tables
range = lr_datum
exceptions
cancelled = 0
others = 1.
if not sy-subrc is initial.
clear: lr_datum, lr_datum[].
endif.
endform.
07-09-2007 3:56 AM
thanks guys
I've manage to solved this.
Created 2 custom text field and appended them into a range table.
its working now.
points awarded to all. thanks for helping.
07-09-2007 3:56 AM