Question:
hi
how do you check the value which a charcteristic takes in the fox editor.
for eg
if I want to check the value which the characteristic takes in a for loop in each iteration and then execute a particular formula according to the value then how should I do it.
please note that the characrteristic is my own defined and not a standard SAP characteristic.
please its a little urgent
thanks
Answer:
You can use execute with trace or put message commands in the FOX
message Tnnn (Tnnn) with XXX XXX XXX XXX.
where T is the type and you can have up to 4 operands XXX of text or characteristic
Check the help documentation or F1 in the FOX editor.
Mary
Answer:
Hi
I guess you can restrict your calculation based on any particular characteristic master.
for ex. Zmanpower is characteristic and ONSITE & OFFSHORE are two masters for this. and i want to calculate foreign travel for only ONSITE copnsultants.
I can say
Data z1 type zmanpower.
Data z2 type zallowances.
FOREACH z1
{ZAMT(key fig), 'FOREIGN TRAVEL'} = {ZNUMBERS(key fig), 'ONSITE'} * ZRATE (key fig).
ENDFOR.
and it would work. use # wherever required.
regards
Sanju
Answer:
sorry for the late reply
thak you for your timely reply
it was of great help
Answer:
does not matter /
tell me if it worked .. that is most important !!
sanju
_________________
Sanju
Answer:
Is this what you have in mind?
foreach wk_fyperiod, wk_costcener.
foreach mychar.
if mychar = "ONSHORE.
<do something>
elseif mychar = "OFFSHORE".
<do something else>
else.
<whatever>
endif.
endfor.
endfor.