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
426

plz tell in search help why we give LPOS and SPOS?

4 REPLIES 4
Read only

former_member188829
Active Contributor
Read only

Former Member
0 Likes
396

hi,

<b>LPOS:</b>

Position of the parameter in the hit list.

If the parameter should not appear in the hit list, leave this field empty. No position number may occur more than once in this column, but gaps are allowed. They do not affect the design of the hit list.

Example: An elementary search help contains parameters PAR1, PAR2, PAR3 and PAR4. Field LPos is defined as follows:

Parameter LPos

PAR1 3

PAR2 0 or ' '

PAR3 1

PAR4 7

Parameters PAR3, PAR1 und PAR4 appear in this order in the hit list.

<b>SPOS:</b>

Position of the search help parameter in the dialog box for limiting the hit list.

If the parameter should not appear in this dialog box, leave this field empty. If no such dialog box appears while making possible entries as defined by this elementary search help, leave this field empty for all parameters.

No position number may occur twice in this column, but gaps are allowed. They do not affect how the selection screen looks.

Example: An elementary search help contains parameters PAR1, PAR2, PAR3 and PAR4. Field SPos is defined as folllows:

Parameter SPos

PAR1 3

PAR2 0 or ' '

PAR3 1

PAR4 7

Parameters PAR3, PAR1 and PAR4 then appear in this order in the dialog box for restricting values.

Read only

Former Member
0 Likes
396

LPOS -> Position of field in search help results report/table.

Explaination .

when you data is displayed in the F4 help that time it will be based on the LPos position .

SPOS-> Position of field in search help restriction screen.

Explaination .

When you press the F4 button the selection screen will be displayed with fields of the Search attached to that Field ....there the order of the field in the selection screen was determined by the SPOS .

Note: If you read 10 time again and agani slowly you will better understand the Definition of the line of LPOS & SPOS

Example :

search help ztest

1. matnr spos = 2 , lpos = 1

2. maktx spos = 1 , lpos = 3

3. meins spos = 3 , lpos = 2

Then

use the above search help for table field or for report parameter .

then when you press F4 ... the selection screen will be displayed with

SPOS

1.MAKTX

2.MATNR

3.MEINS

When press enter you will see the data displayed for above fields as

LPOS

1.MATNR

2.MEINS

3.MATKX

reward points if it is usefull....

Cheers,

Chandra Sekhar.

Read only

Former Member
0 Likes
396

Hi Srinath,

LPOS, SPOS is used to display the order of the fields in ur search help.

for example if u have 2 fields MATNR & MAKTX on ur search help screen, then here you can fix the position of these fields.

reward if needful.

Thanks,

Sreeram.