Project recording: Date and factory date [reprinted]

Source: Internet
Author: User

[Reference]: soaring clouds

142 views

Here I list the usage of the following two functions, they are about the conversion for date <=> factory date

Function Name: date_convert_to_factorydate
Factorydate_convert_to_date

parameters:
date_convert_to_factorydate
Import:
correct_option
+: if the specified date is not a working day, the first working day after the date is returned.
-: if the specified date is not a working day, the first working day before the date is returned.
date to be converted into factory calendar date
factory_calendar_id
factory calendar id

Export:
Date
Date to be converted into factory calendar date
Factorydate
Number of the workday in the specified calendar
Workingday_indicator

Factorydate_convert_to_date: The same parameter but conversed.

How to Get factory calender ID:
Maintained in plant table t001w
The field is: fabkl

Reference: http://www.abaptech.com /? P = 484

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.