Automation Engine Script Guide > AE JCL for Applications > SAP > R3_IMPORT_CALENDAR

R3_IMPORT_CALENDAR

Imports calendarsShows a calendar overview of activities, releases or reservations. from SAP to an AE system.

Interface:AE and Standard

Syntax

R3_IMPORT_CALENDAR

CALENDAR_ID=...
[,TYPE=...]
[,FOLDER=...]
[,UC4_CALE=...]
[,UC4_KEYWORD=...]
[,YEAR_FROM=...]
[,YEAR_TO=...]

Syntax

Description/Format

CALENDAR_ID= 

The ID of the SAP calendarAn Automation Engine object type that defines a set of days based on calendar keywords. that should be imported.
Format: script literal or AE name

The SAP calendar's ID includes exactly 2 characters.

TYPE=

The type of the SAP calendar.
Format: scriptA particular Automation Engine object type. literal or AE name

Allowed values: "FACTORY" (default value) or "HOLIDAY"
"FACTORY" - The type factory calendar.
"HOLIDAY" - The type holiday calendar.

FOLDER=

The folderTop level entities such as Environment, Deployment Target, Activity, … are stored in folders. The permissions a user has on an entity depend on the permissions that are set on the folder for the entities. in the AE clientA closed environment within an Automation Engine system where you can create and run objects. A client name consists of a 4-digit number that must be indicated when a user logs on to the Automation Engine system. Users and their rights are also defined in clients. A particular Automation Engine object type. in which the Calendar objects should be stored.
Format: script literal or AE name

You must specify the folder path without a leading root folder in the following format:
/<sub-folder>/.../<folder>
Example: /JOBS/TESTJOBP

Default value: The root folder of the AE client in which the jobAn Automation Engine object type for a process that runs on a target system. was started.

UC4_CALE=

The name of the Calendar objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task.
Format: script literal or AE name

If the specified object does not yet exist, it will be created. Otherwise, the calendar keywordThe attribute of a Calendar object that defines which days included in the calendar. will be entered or renewed.

Default value: CALE.FROM.%SID%

UC4_KEYWORD=

The name of the calendar keyword for the AE calendar that is used to store the days of the SAP calendar.
Format: script literal or AE name

If the calendar keyword already exists in the Calendar object, it will be overwritten. When you use YEAR_FROM and YEAR_TO, the system will only delete the days that lie within this period.

Default value:
The ID of the SAP calendar.

YEAR_FROM=

The year as of which the SAP calendar entries should be imported.
Format: script literal or AE name

Default value: No limit

YEAR_TO=

The year until which the SAP calendar entries should be imported.
Format: script literal or AE name

Default value: No limit

Comments

This script element imports a certain calendar from a SAP system to an AE system. You can use factory calendars and holiday calendars.
The days of the SAP calendar are stored in a keyword of a certain Calendar object.

Examples

The following example imports the SAP holiday calendar US to an AE system and enters the days of the keyword USA to the Calendar object CALE.US. Only the day of the year 2012 will be used.

R3_IMPORT_CALENDAR CALENDAR_ID='US',TYPE='HOLIDAY',FOLDER='/TEST/CALE',UC4_CALE='CALE.US',UC4_KEYWORD='USA',YEAR_FROM='2012',YEAR_TO='2012'

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH