on 04-11-2006 2:25 AM
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
Sorry, by independent I meant one is not a compound or an attribute of the other one.
My variable exit is returning a unique combination but it does not populate the variable values.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I created a dummy function module and here's how I have coded for it.
***general logic for fetching the various values....
loop at the data from the above table.
Loop at internal table ITO_CHANM into a work area.
populate the characteristic selection as you have mentioned in ur post. Just making sure that the sequence number is same for a set of values. so increment it outside this loop.
endloop.
increment ur counter for sequence
endloop.
Hi,
Actually with variables for multiple characteristics is a unique set of values for the characteristic attached to the variable.
These are not independent...
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.