I am posting document via FB60 and we are getting warning when posting date and invoice date are in different fiscal year.
But when i use the FM DOCHEADER_PERIOD_FIND_CHECK standalone in custom program, it is throwing error for the above case.
FB60 also calls the same FM.
What could be the reason for this FM to behave differently in FB60 and custom program.
The passing parameters are same in both the cases. i also checked if there is any global variable being used in case of FB60 which makes it as warning instead of error. but there is none.