on 05-26-2009 1:42 PM
Hi Experts,
I need to write FOX for following logic:
I am using 3 char. in row & 0FISCPER, 1 kf in column of input ready query. I have assigned this query to analysis item in web template. kiyfigure data is displayed in accordance with 0FISCPER.
eg. JULY2009 AUG2009 ...... JUN2010
CHAR. KF value KF value ...... KF value
1. Now, if user enters any value in kf cell of analysis item I need to pass this value to a button which holds FOX function.
2. Also, in FOX I have to write code for below logic.
If user enters any value in Aug2009 column i want to copy this value to other cells for months after AUG2009 till June2010. It should not copy kf value for months coming before Aug2009.
Kindly let me know how to achieve this.
Thanks,
Shamkant
Hi Shamkanth,
Ty this..
DATA VAR TYPE 0FISCPER.
READ CURRENT MONTH OR PERIOD FROM WHERE YOU WANT TO COPY FROM
VAR = VARV ( VAR ) .
*IN YOUR CASE
DO 2 TIMES.
{KEYFIGURE TRGT,VAR} = {KEYFIGURE SOURCE,VAR}.
TMVL ( VAR ,1).
ENDDO.
**NOTE :
PLEASE CHAGE LOGIC ACCORDING TO REQUIREMENT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.