Application Development 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: 

LPOS AND SPOS in search help

Former Member
0 Kudos

Hi,

Can anyone tell me whts the use of LPOS and SPOS in search help.

I have read the help but not getting it exactly.

Thanking u all.

Regards,

kavita

5 REPLIES 5

Former Member
0 Kudos

Hi

It is the Position of the Fields that appear in the Popup of the Search help when you press f4 on that field

See the doc

Position in the hit list of an elementary search help

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.

Note: In an elementary search help, at least one parameter should appear in the hit list. The only exception to this rule is the elementary search help, in which the display of the hit list is entirely copied from a search help exit.

Position in dialog box of an elementary search help

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.

<b>Reward points for useful Answers</b>

Regards

Anji

Message was edited by:

Anji Reddy Vangala

Former Member
0 Kudos

Hi!

LPOZ: Position of the parameter in the hit list.

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

Just press F1 for help on the given fields...

Regards

Tamá

0 Kudos

Where the parameter is appeared and where the search help parameter is appeared.

Plz explain.

Regards,

Kavita

Former Member

Former Member

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

<b>Explaination .</b>

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

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

<b>Explaination .</b>

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 .

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

<b>Example :</b>

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

<b>

1.MAKTX

2.MATNR

3.MEINS</b>

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

LPOS

<b>1.MATNR

2.MEINS

3.MATKX</b>

reward points if it is usefull....

Girish