Upload of Factory Calendars PDF
Upload of Factory Calendars PDF
Header Data
Released On 25.07.2011 16:59:10
Release Status Released for Customer
Component
FIN-FSCM-TRM Treasury and Risk Management
Priority
Correction with low priority
Category
Advance development
Symptom
Public holiday calendar as well as factory calendar can be maintained only using online transaction
SCAL.
But calendar information are provided by various data provider in text files, CSV files or excel
sheets.
With this new functionality calendar information provided in a special format in a file are uploaded
into public holiday calendar and factory calendar.
Other Terms
TRCUT_CALUPL Calendar Upload SCAL
Solution
Due to the amount of new objects (especially to be created manually) we strongly recommend to
implement the changes by applying the relevant support package.
When you nevertheless want to implement changes manually please follow correction instruction.
-----------------------------------------------------------------------|Manual Pre-Implement. |
-----------------------------------------------------------------------|VALID FOR |
|Software Component SAP_APPLSAP Application |
| Release 604Until SAPKH60408|
| Release 605Until SAPKH60503|
-----------------------------------------------------------------------Changes in the Data Dictionary
1. Create the package FTR_UTILS_CORE.
Call transaction SE80.
Select "Package".
Enter "APPL" in the relevant field.
Double-click the package APPL to open the package settings.
Choose "Change".
Choose the "Subpackages" tab page.
Choose "Create".
In the dialog box, enter or select the following values:
Package FTR_UTILS_CORE
Short Description Utilities: Treasury and Risk Management
Applic. Component TR
Software Component SAP_APPL
Transport Layer SCAP
Package Type "Not a Main Package"
Choose "Apply Values (Enter)".
If the system asks for the transport request, select your transport request and then
choose "Save".
2. Create the data element TRCUT_CENT_ID.
Call transaction SE11.
Select "Data type" and enter TRCUT_CENT_ID in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Financial Center ID".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 3.
Choose the "Field Label" tab page and enter the following values:
Short 10 CentID
Medium 15 FinCentID
Long 20 Financial Center ID
Heading 19 Financial Center ID
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
3. Create the data element TRCUT_CNTRY_CODE.
Call transaction SE11.
Select "Data type" and enter TRCUT_CNTRY_CODE in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Country Code".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 2.
Choose the "Field Label" tab page and enter the following values:
Short 10 CntryCode
Medium 15 CntryCode
Long 20 Country Code
Heading 12 Country Code
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
4. Create the data element TRCUT_CURR_CODE.
Call transaction SE11.
Select "Data type" and enter TRCUT_CURR_CODE in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Currency Code".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 5.
Choose the "Field Label" tab page and enter the following values:
Short 10 CurrCd
Medium 15 CurrCode
Long 20 Currency Code
Heading 13 Currency Code
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
5. Create the data element TRCUT_DATE.
Call transaction SE11.
Select "Data type" and enter TRCUT_DATE in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Holiday Date".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 10.
Choose the "Field Label" tab page and enter the following values:
Short 10 Date
Medium 15 Date
Long 20 Holiday Date
Heading 10 Date
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
6. Create the data element TRCUT_DAY.
Call transaction SE11.
Select "Data type" and enter TRCUT_DAY in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Holiday Day".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 10.
Choose the "Field Label" tab page and enter the following values:
Short 10 Day
Medium 15 Day
Long 20 Holiday Day
Heading 10 Day
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
7. Create the data element TRCUT_FACT_CALID.
Call transaction SE11.
Select "Data type" and enter TRCUT_FACT_CALID in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Factory Calendar ID".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 2.
Choose the "Field Label" tab page and enter the following values:
Short 10 FactCalID
Medium 15 FactCalID
Long 20 Factory Calendar ID
Heading 19 Factory Calendar ID
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
8. Create the data element TRCUT_FILE_TYPE.
Call transaction SE11.
Select "Data type" and enter TRCUT_FILE_TYPE in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "File Type".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 2.
Choose the "Field Label" tab page and enter the following values:
Short 10 FileTyp
Medium 15 File Type
Long 20 File Type
Heading 9 File Type
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
9. Create the data element TRCUT_FIN_CENT.
Call transaction SE11.
Select "Data type" and enter TRCUT_FIN_CENT in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Financial Center".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 20.
Choose the "Field Label" tab page and enter the following values:
Short 10 FinCent
Medium 15 FinCent
Long 20 Financial Center
Heading 19 Financial Center
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
10. Create the data element TRCUT_HOLIDAY_TEXT.
Call transaction SE11.
Select "Data type" and enter TRCUT_HOLIDAY_TEXT in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Holiday Text".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 128.
Choose the "Field Label" tab page and enter the following values:
Short 10 Holiday
Medium 15 Holiday
Long 20 Holiday Text
Heading 55 Holiday Text
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
11. Create the data element TRCUT_LOC_CODE.
Call transaction SE11.
Select "Data type" and enter TRCUT_LOC_CODE in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Location Code".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 5.
Choose the "Field Label" tab page and enter the following values:
Short 10 LocCd
Medium 15 LocCode
Long 20 Location Code
Heading 13 Location Code
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
12. Create the data element TRCUT_MAX_TASK.
Call transaction SE11.
Select "Data type" and enter TRCUT_MAX_TASK in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Number of Parallel Tasks Per Server Cluster".
Choose the "Data Type" tab page and enter as predefined type INT2 with length 5.
Choose the "Field Label" tab page and enter the following values:
Short 10 No. Tasks
Medium 18 No. of Tasks
Long 32 Number of Parallel Tasks
Heading 32 Number of Parallel Tasks
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
13. Create the data element TRCUT_PUB_CALID.
Call transaction SE11.
Select "Data type" and enter TRCUT_PUB_CALID in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Public Calendar ID".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 2.
Choose the "Field Label" tab page and enter the following values:
Short 10 PubCalID
Medium 15 PubCalID
Long 20 Public Calendar ID
Heading 18 Public Calendar ID
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
14. Create the data element TRCUT_WP_SIZE.
Call transaction SE11.
Select "Data type" and enter TRCUT_WP_SIZE in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Work Package Size".
Choose the "Data Type" tab page and enter as predefined type INT2 with length 5.
Choose the "Field Label" tab page and enter the following values:
Short 10 Pack. Size
Medium 15 Package Size
Long 20 Work Package Size
Heading 17 Work Package Size
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
15. Create the data element TRCUT_YEAR.
Call transaction SE11.
Select "Data type" and enter TRCUT_YEAR in the relevant field.
Choose "Create".
In the dialog box, choose "Data element" and confirm the entry.
As the short description, enter "Holiday Year".
Choose the "Data Type" tab page and enter as predefined type CHAR with length 5.
Choose the "Field Label" tab page and enter the following values:
Short 10 Year
Medium 15 Year
Long 20 Holiday Year
Heading 5 Year
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
16. Create the structure TRCUT_CAL_DATA.
Call transaction SE11.
Select "Data type" and enter TRCUT_CAL_DATA in the relevant field.
Choose "Create".
In the dialog box, choose "Structure" and confirm the entry.
As the short description, enter "Calendar Data from file".
Choose the "Components" tab page and enter the following values:
d) Field FIN_CENTRE
Key indicator set
Initial Values indicator set
Data element TRCUT_FIN_CENT
e) Field LOC_CODE
Key indicator set
Initial Values indicator set
Data element TRCUT_LOC_CODE
f) Field HOLIDAY_YEAR
Key indicator set
Initial Values indicator set
Data element TRCUT_YEAR
g) Field HOLIDAY_DATE
Key indicator set
Initial Values indicator set
Data element TRCUT_DATE
h) Field HOLIDAY_DAY
Key indicator set
Initial Values indicator set
Data element TRCUT_DAY
i) Field HOLIDAY_TEXT
Key indicator set
Initial Values indicator set
Data element TRCUT_HOLIDAY_TEXT
j) Field FILE_TYPE
Key indicator set
Initial Values indicator set
Data element TRCUT_FILE_TYPE
Choose "Save".
In the dialog box, enter the package FTR_UTILS_CORE and choose "Save".
Choose "Activate".
22. Create the function group FTR_TRCUT_UTILS.
Call transaction SE80.
Select object type Packege
Enter package name FTR_UTILS_CORE, hit enter
Mark Function Groups, right click and choose Create
In the popup window enter the function group name FTR_TRCUT_UTILS and the Short Text:
Treasury Utilities functions
Save and Activate the changes
-----------------------------------------------------------------------|Manual Post-Implement.|
-----------------------------------------------------------------------|VALID FOR |
|Software Component SAP_APPLSAP Application |
| Release 604Until SAPKH60408|
| Release 605Until SAPKH60503|
-----------------------------------------------------------------------Postprocessing tasks in the programs
1. Create the text for the program FTR_TRCUT_CAL_UPLOAD.
Call transaction SE80.
Select "Program".
Enter FTR_TRCUT_CAL_UPLOAD in the relevant field.
Double-click the program FTR_TRCUT_CAL_UPLOAD to open it.
Choose "Goto -> Text Elements -> Text Symbols" to navigate to the text symbols.
Choose "Change".
Enter the following texts:
001 Input File
002 Upload Mode
003 Parallel Processing
Choose the "Selection Texts" tab page.
Validity
Software Component From Rel. To Rel. And Subsequent
SAP_APPL
604
604
605
605
Correction Instructions
Correction Instructions
References
This document refers to:
SAP Notes
1624779 Factory calendar upload: CSV file format