cancel
Showing results for 
Search instead for 
Did you mean: 

How to Get YTD Range

Former Member
0 Kudos
53

Hello All,

Simple Q. Given a user input Cal.Year/month or Cal Day or Posting Period what is the quickest way to get the Cal YTD Range.

Thanks a lot.

Arun Pond

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Arun,

If the selection is going to be in the current year only, then set the variable to less than equal to and also set cal year equal to current year.

Alternatively, determine the year for which the user has given an input through an exit and then use the logic above.

Cal Year Month =< User Entered value

Cal Year = User entered year (fixed or through customer exit)

Cheers

Aneesh

Former Member
0 Kudos

Hi,

Use CMOD routine to get it from the Company Calendar table maintained.

Thank you

Arun