Class CostCenter.CostCenterBuilder
- Enclosing class:
- CostCenter
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Constraints: Not nullable, Maximum length: 1companyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4costCenterDescription(String costCenterDescription) Constraints: Not nullable, Maximum length: 40costCenterID(String costCenterID) (Key Field) Constraints: Not nullable, Maximum length: 10costCenterName(String costCenterName) Constraints: Not nullable, Maximum length: 20costCenterTexts(CostCenterText... value) Navigation property CostCenterTexts for CostCenter to multiple CostCenterText.Constraints: Not nullable, Maximum length: 2lastChangeDateTime(LocalDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 10toString()validityEndDate(LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0validityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0
-
Method Details
-
costCenterTexts
Navigation property CostCenterTexts for CostCenter to multiple CostCenterText.- Parameters:
value- The CostCenterTexts to build this CostCenter with.- Returns:
- This Builder to allow for a fluent interface.
-
companyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
this.
-
costCenterID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenterID
- Returns:
this.
-
validityEndDate
@Nonnull public CostCenter.CostCenterBuilder validityEndDate(@Nullable LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
this.
-
validityStartDate
@Nonnull public CostCenter.CostCenterBuilder validityStartDate(@Nullable LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
this.
-
status
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Status
- Returns:
this.
-
category
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: Category
The master data of an activity type includes one or more cost center categories. The activity type may be used only by cost centers of the appropriate categories.You define categories in Customizing. For each category, you can define default values for the "Lock" and "Record quantity" indicators, for transfer to cost center master data. Maintain these indicators only if the entry diverges from the default cost center category.In addition, you may use the categories for reports and evaluations.Production cost centerService cost centerAdministration cost center
- Returns:
this.
-
language
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
It corresponds to:1) All languages according to ISO 639.22) Languages assigned to specific countries or scripts1) Persian = 'FA'2) EnglishEnglish Australia = '1E'English Canada = '3E'English Ireland = '8E'English New Zealand = '1N'
- Returns:
this.
-
costCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CostCenterName
- Returns:
this.
-
costCenterDescription
@Nonnull public CostCenter.CostCenterBuilder costCenterDescription(@Nullable String costCenterDescription) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CostCenterDescription
- Returns:
this.
-
lastChangeDateTime
@Nonnull public CostCenter.CostCenterBuilder lastChangeDateTime(@Nullable LocalDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
To normalize local times in a UTC time stamp and make them comparable, they must be converted using their time zone and the ABAP command convert.Although the time zone for the conversion can be fetched from customizing or master data, you should save it redundantly.The internal structure of the UTC time stamp is logically divided into a date and time part in packed number format
. There is also a high resolution UTC time stamp (10^-7 seconds). - Returns:
this.
-
build
-
toString
-