Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: How do I filter Calendar Date by Fiscal Period?

$
0
0

Hi Derrick,

 

Create a user exit for the filter of your CALENDAR DATE..Let's say, the variable used were VAR_FP and VAR_CD for FISCAL PERIOD and CALENDAR DATE, respectively..This will be your user exit..

 

 

*there is a code here something like this.....WHERE VARIABLE = 'VAR_FP'

*sorry, i'm at home so I can't remember exactly the codes

*just check the user exit in your system to know what i'm talking

 

data: temp_date like sy-datum.

 

CONCATENATE your_variable_low(4) your_variable_low+5(2) '01' into temp_date.

 

CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'

  EXPORTING

  day_in = temp_date

  IMPORTING

  last_day_of_month = VAR_CD

  "EXCEPTIONS

  "DAY_IN_NOT_VALID = 1

 

 

Just post here if you have query regarding my post..

 

Regards,

 

Loed


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>