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: 

Select-options ...as search pattern

IanStubbings
Active Participant
0 Kudos

Is this construct available in 46B? The help file mentions it but it never syntax checks. Would anyone be able to post some code of it? I wish to assign a specific sarch help to my select option (an elementary search help as part of a collective one defined at data element level).

Thanks

Ian

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Here is the code to attach a search help to a select-options

SELECT-OPTIONS S_MATNR FOR MARA-MATNR MATCHCODE OBJECT MAT1_A.

NB : donot enclose the matcode name within quotes.

Best Regards,

Vijay

3 REPLIES 3

Former Member
0 Kudos

Hi,

Here is the code to attach a search help to a select-options

SELECT-OPTIONS S_MATNR FOR MARA-MATNR MATCHCODE OBJECT MAT1_A.

NB : donot enclose the matcode name within quotes.

Best Regards,

Vijay

0 Kudos

Thanks for the help guys but my main question is still unanswered - can you use the AS SEARCH PATTERN construct? It seems not as everything I have seen points to the matchcode object option. I guess I'll just have to rename my search help!

Cheers

Ian