안녕하세요
Creating Custom Inbound API in SAP S/4HANA Cloud, public edition | Tutorials for SAP Developers
위 링크에 있는 절차에 따라 표준 api를 활용하여 bp조회 cds뷰를 만들려고 합니다
그런데 적힌대로 진행하니 몇몇개 필드에서 에러가 unknown이라는 에러가 나더군요
쿼리에 문제가 있는가 수정을 해보았지만 이제는 "{" 부분에서 unexpected word라는 에러가 납니다 무슨 문제가 있을까요?
수정한 코드는 아래와 같습니다
@EndUserText.label: 'Business partner api'
@AccessControl.authorizationCheck: #NOT_REQUIRED
define root view entity zbizp_001
provider contract transactional_query as projection on I_BusinessPartnerTP_3
{
key BusinessPartner,
BusinessPartnerForEdit,
BusinessPartnerCategory,
BusinessPartnerUUID,
CreatedByUser,
CreationDate,
CreationTime,
LastChangedByUser,
LastChangeDate,
LastChangeTime,
BusinessPartnerIsBlocked,
FirstName,
LastName,
OrganizationBPName1,
OrganizationBPName2,
OrganizationBPName3,
OrganizationBPName4,
LegalForm,
OrganizationFoundationDate,
OrganizationLiquidationDate,
Industry,
IsNaturalPerson,
IsMale,
IsFemale,
IsSexUnknown,
FormOfAddressPerson,
FormOfAddressOrganization,
AcademicTitle,
NameFormat,
NameCountry,
InternationalLocationNumber1,
InternationalLocationNumber2,
InternationalLocationNumber3,
ETag,
IsBusinessPurposeCompleted,
AuthorizationGroup,
GenderCodeName,
BusinessPartnerGrouping,
BusinessPartnerType,
CorrespondenceLanguage,
AddressID,
Name,
AdditionalName,
FullName,
BusinessPartnerName,
SearchTerm1,
SearchTerm2,
AssetRedesignSwitchIsActive,
BPFirstNameSearchHelp,
BPLastNameSearchHelp,
BirthDate,
BusinessPartnerBirthDateStatus,
BusinessPartnerBirthplaceName,
BPHasEmployeeRoles,
IndustrySystemType,
TradingPartner,
BusinessPartnerIDByExtSystem,
IsMarkedForArchiving,
IndependentAddressID,
DataProvider,
Score,
/* Associations */
_AcademicTitleText,
_AcademicTitleValueHelp,
_BPAdditionalCustomer,
_BPAdditionalSupplier,
_BPAddressIndependentEmail,
_BPAddressIndependentMobile,
_BPAddressIndependentPhone,
_BPCustAddressDependentInfo,
_BPCustDepartmentAddrDepdnt,
_BPCustomerTaxGrouping,
_BPCustRcvgPtAddrDepdntInfo,
_BPCustReceivingPoint,
_BPCustUnldgPtAddrDepdnt,
_BPDataController,
_BPEmplWorkplaceAddr,
_BPIdentificationNumbers,
_BPIndustry,
_BPSupplierTaxGrouping,
_BusinessPartnerAddrDepILN,
_BusinessPartnerAddress,
_BusinessPartnerBank,
_BusinessPartnerContact,
_BusinessPartnerCustomer,
_BusinessPartnerCustomerCo,
_BusinessPartnerCustomerTxt,
_BusinessPartnerLongText,
_BusinessPartnerPurgOrg,
_BusinessPartnerRole,
_BusinessPartnerSalesArea,
_BusinessPartnerSupplier,
_BusinessPartnerSupplierCo,
_BusinessPartnerSupplierTxt,
_BusinessPartnerTaxNumber,
_BusinessPartnerTaxNumberAdr,
_BusinessPartnerUnloadingPoint,
_BusPartRelationship,
_CreatedByUser,
_CustAddrDepdntExtIdentifier,
_CustomerDepartment,
_LastChangedByUser,
_PaymentCard
}