Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SEARCH HELP

Former Member
0 Likes
579

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
547

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.

6 REPLIES 6
Read only

Former Member
0 Likes
547

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

Read only

Former Member
0 Likes
547

Hi

Yes you can, it can inserts a default value for field F2 in your search help.

Max

Read only

Manohar2u
Active Contributor
0 Likes
547

You create a <b>view with your selection conditions</b> and use them in your search help.

Regds

Manohar

Read only

Former Member
0 Likes
548

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.

Read only

Former Member
0 Likes
547

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

Read only

Former Member
0 Likes
547

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.