public static final class CostCenter.CostCenterBuilder extends Object
Modifier and Type | Method and Description |
---|---|
CostCenter |
build() |
CostCenter.CostCenterBuilder |
category(String category)
Constraints: Not nullable, Maximum length: 1
|
CostCenter.CostCenterBuilder |
companyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
CostCenter.CostCenterBuilder |
costCenterDescription(String costCenterDescription)
Constraints: Not nullable, Maximum length: 40
|
CostCenter.CostCenterBuilder |
costCenterID(String costCenterID)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
CostCenter.CostCenterBuilder |
costCenterName(String costCenterName)
Constraints: Not nullable, Maximum length: 20
|
CostCenter.CostCenterBuilder |
costCenterTexts(CostCenterText... value)
Navigation property CostCenterTexts for CostCenter to multiple CostCenterText.
|
CostCenter.CostCenterBuilder |
language(String language)
Constraints: Not nullable, Maximum length: 2
|
CostCenter.CostCenterBuilder |
lastChangeDateTime(LocalDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
CostCenter.CostCenterBuilder |
status(String status)
Constraints: Not nullable, Maximum length: 10
|
String |
toString() |
CostCenter.CostCenterBuilder |
validityEndDate(LocalDateTime validityEndDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
CostCenter.CostCenterBuilder |
validityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
@Nonnull public CostCenter.CostCenterBuilder costCenterTexts(CostCenterText... value)
value
- The CostCenterTexts to build this CostCenter with.public CostCenter.CostCenterBuilder companyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
this
.public CostCenter.CostCenterBuilder costCenterID(@Nullable String costCenterID)
Original property name from the Odata EDM: CostCenterID
this
.public CostCenter.CostCenterBuilder validityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
this
.public CostCenter.CostCenterBuilder validityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
this
.public CostCenter.CostCenterBuilder status(@Nullable String status)
Original property name from the Odata EDM: Status
this
.public CostCenter.CostCenterBuilder category(@Nullable String category)
Original 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
this
.public CostCenter.CostCenterBuilder language(@Nullable String language)
Original 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'
this
.public CostCenter.CostCenterBuilder costCenterName(@Nullable String costCenterName)
Original property name from the Odata EDM: CostCenterName
this
.public CostCenter.CostCenterBuilder costCenterDescription(@Nullable String costCenterDescription)
Original property name from the Odata EDM: CostCenterDescription
this
.public CostCenter.CostCenterBuilder lastChangeDateTime(@Nullable LocalDateTime lastChangeDateTime)
Original 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
this
.public CostCenter build()
Copyright © 2020 SAP SE. All rights reserved.