Skip to Content

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

IN operator problem

Hi,

I have a function module.

FUNCTION z_read.

.

.

.

.

RANGES zmfrpn FOR zp-mfrpn.

CONCATENATE mfrpn '*' INTO zmfrpn-low.

zmfrpn-sign = 'I'.

zmfrpn-option = 'CP'.

APPEND zmfrpn.

CLEAR zmfrpn.

.

.

.

.

ENDFUNCTION.

FORM stock.

SELECT mfrpn matnr meins normt

INTO (tp-mfrpn, tpmatnr,tp-meins, tp-normt)

FROM mara WHERE mfrpn IN zmfrpn.

ENDSELECT.

ENDFORM.

And i receive following error: The IN operator with "ZMFRPN" is followed neither by an internal table nor by a value list.

What should i do?

Thank you!

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