Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SEARCH pattern

Hello Experts,

I have text parameter on selection screen. if the text entered as ad then it should give all possible strings which will containg "ad".

I am using SEARCH statement but it is not working with ad or ad or ad. It is giving me blank output.

I have all the data in the internal table and just want to display records which will have this kind of pattern.

Appreciate your help.

Thanks in advance

Saurabh

Former Member
replied

Hi,

I donot think search is required here. Instead of parameters declare it as select option with no intervals and extension ( looks similar to parameter ). Then use a loop statement like.

loop at it where field in s_so1.

endloop.

BR

keshav

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question