on 05-07-2014 4:59 PM
Hi all,
I have to write a macro to do some calculation if we are in current week and for future weeks some different calculation.
My question is how to determine the current week.
Please help me on this.
Prabhat
Hi Prabhat,
Define a step loop with a single iteration user defined period for current week and mark the automatic adjustment.
regards,
Edgar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I'm not mistaken, Prabhat, it's:
WEEK ( TODAY ) = WEEK( BUCKET_BDATE() )
You can check other options in:
Date Functions - Planning Area Administration - SAP Library
regards,
Edgar
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.