Skip to Content

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

Exit variable for multiple characteristics

Hi,

What would be the syntax for an exit variable to populate a variable defined with multiple characteristics (which are independent)?

I tried to adjust the code used for a single characteristic variable without success.

ls_varsel-seqno = 1.

LOOP.

ls_varsel-sign = 'I'.

ls_varsel-opt = 'EQ'.

ls_varsel-chanm = characteristic 1

ls_varsel-low = variable value (for characteristic 1)

APPEND ls_varsel TO eto_charsel.

ls_varsel-sign = 'I'.

ls_varsel-opt = 'EQ'.

ls_varsel-chanm = characteristic 2

ls_varsel-low = variable value (for characteristic 2)

APPEND ls_varsel TO eto_charsel.

ls_varsel-seqno = ls_varsel-seqno + 1.

ENDLOOP.

Thanks for any help.

David

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