Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FM DATE_CONVERT_TO_FACTORYDATE

call function 'DATE_CONVERT_TO_FACTORYDATE'

exporting

correct_option = '+'

date = sy-datum

factory_calendar_id = 'U2'

importing

date = lv_date

factorydate = lv_factory_lrmdt

EXCEPTIONS

CALENDAR_BUFFER_NOT_LOADABLE = 1

CORRECT_OPTION_INVALID = 2

DATE_AFTER_RANGE = 3

DATE_BEFORE_RANGE = 4

DATE_INVALID = 5

FACTORY_CALENDAR_NOT_FOUND = 6

OTHERS = 7.

after the fm is executed , i am not understanding how the lv_date and lv_date_lrmdt is calculated in fm. especially i nned to understand how lv_factory_lrmdt i calculated. please help

Former Member
Not what you were looking for? View more on this topic or Ask a question