Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

Dynamic Infopackage Date Selection

$
0
0

Hi experts,

 

I have created a routine in the Fiscal Year/Period field in an infopackage, that dynamically determines the current and previous months based on sy-date.

 

My code has been working perfectly, however, now that we turned the new year, my code is correctly determining that the range to select is 012.2015 - 001.2016, but in practice it's selecting date out of that range, like 2005 - 2014.

 

Below is a screenshot of my load indicating how the range was correctly defined:

1.png

 

This infopackage is for datasource 0FI_GL40.

 

Any reason why the infopackage would select those additional dates? What would the resolution be to get it to work correctly? Instead of having a BT I would have two rows, one with the previous and one with current month with the EQ statement?

 

Appreciate your feedback.

 

Regards,

 

Marcelo


Viewing all articles
Browse latest Browse all 3363

Trending Articles



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