Skip to Content

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

DYNAMIC VARIABLE IN SELECT QUERY

hi all,

i m selecting a belnr from one table and want to fire another query on different table wherein this belnr falls somewhere in middle of the whole field.

eg: wa-belnr = 4000

select * from cdhdr where

objectclass = '%wa-belnr%.

i want to select records which contains this belnr.

but %wa-belnr% doesnt work.

pls suggest if theres any solution.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question