2006 Jun 09 1:18 PM
hi,
when creating a search help , is it possible that we can get the value of f1 where f2 = constant.
f1,f2 are fields in the same table.
finally i want the values of f1.
please help
2006 Jun 09 1:24 PM
Hi surendrakumar,
1. Simple
2. while making the search help,
see the column 'DEFAULT VALUE'
3. For that particular field,
in your case F2,
<b> enter some value in default value
(note : enter in SINGLE QUOTES)</b>
if its a text value.
regards,
amit m.
2006 Jun 09 1:21 PM
Hi Surendra,
Guess u can define this in the selection method. There is a option to define a constant value.
Take a look at the selection method definition screen in search help creation.
Good luck
Cheers
VJ
2006 Jun 09 1:21 PM
Hi
Yes you can, it can inserts a default value for field F2 in your search help.
Max
2006 Jun 09 1:21 PM
You create a <b>view with your selection conditions</b> and use them in your search help.
Regds
Manohar
2006 Jun 09 1:24 PM
Hi surendrakumar,
1. Simple
2. while making the search help,
see the column 'DEFAULT VALUE'
3. For that particular field,
in your case F2,
<b> enter some value in default value
(note : enter in SINGLE QUOTES)</b>
if its a text value.
regards,
amit m.
2006 Jun 09 1:29 PM
HI SURENDRA ,
AT SELECTION-SCREEN ON VALUE-REQUEST FOR F1 .
DATA : BEGIN OF ITAB OCCURS 0,
F1 TYPE .. ,
END OF ITAB.
SELECT F1 FROM DTABLE INTO TABLE ITAB WHERE F2 = <CONSTANT> .
CALL FUNCTION POPUP_WITH_TABLE_DISPLAY
EXPORTING
ENDPOS_COL = 45
ENDPOS_ROW = 25
STARTPOS_COL = 10
STARTPOS_ROW = 1
TITLETEXT = TEXT
IMPORTING
CHOISE = Some Integer Variable
TABLES
VALUETAB = ITAB
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
REGARDS
Naresh
2006 Jun 09 1:30 PM
Hi Surendra,
You can do that in search helps.
Just go through this screenshot.
http://www.esnips.com/doc/dbee726b-e7df-456f-b634-5b1ec95cbf26/SCREENSHOT.jpg
Here You can create a search help for AUFNR field where AUART = '0100'.
Hope your query is solved.
Regards,
SP.