ES5地址群无效

2020-09-13 23:54发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我正在从ES5系统中检索BusinessPartnerContact,然后尝试对其进行更新。

我一直遇到"地址复合体无效"的问题。

错误:400错误的请求{"错误":{"代码":"/img/IWCOR/CX_DS_EP_PROPERTY_ERROR/005056A509B11ED1BF822D2D09171A04","消息":{" lang":" en","值":"属性'AddressComplex' 无效"}," innererror":{" application":{" component_id":" OPU-BSE-SDE"," service_namespace":"/img/IWBEP/"," service_id":" GWSAMPLE_BASIC"," service_version":" 0001"}," transactionid":" B9E0A2A100BE0050E005B8CFB3EAD730"," timestamp":" 20180903091801.0259130"," Error_Resolution":{" SAP_Transaction":"在SAP Gateway集线器系统上运行事务/IWFND/ERROR_LOG,并在上面带有时间戳的条目中搜索条目 更多详细信息"," SAP_Note":"请参阅SAP注释1797736进行错误分析( https://service.sap.com/sap/support/notes/1797736)"}," errordetails ":[]}}}

我不知道应该对更新进行什么更改(请注意,我必须将x更改为@,以防止Se @出现在论坛中)。

更新:{" DateOfBirth":null," BusinessPartnerID":" 0100000006"," AddressComplex":{" Building":" 2"," PostalCode":" 135-0064"," Street":" Aomi Chome-4-32","国家/地区":" JP","城市":"东京","地址类型":" 02"},"名字":"横河更新"," Se @":" F", " Title":""," MiddleName":""," Initials":""," EmailAddress":" yoko.nakamura@asia- ht.com ","语言":" EN"," FaxNumber":" 9078563004"," PhoneNumber":" 9078563412"," ContactGuid":" 0050568c-901d-1ed8-abe3-a81ca57320fa"," LastName":" Nakamura"," Nickname":""}}我在更新之前检索的BusinessPartnerContacts:{" d":{" results":[{" __metadata":{" id":" https://sapes5 .sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(guid'0050568c-901d-1ed8-abe3-a81ca57320fa')"," uri":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(guid'0050568c-901d-1ed8-abe3-a81ca57320fa')"," type":" GWSAMPLE_BASIC.Contact"}," Address":{" __metadata": {" type":" GWSAMPLE_BASIC.CT_Address"}," City":" Tokyo"," PostalCode":" 135-0064"," Street":" Aomi Chome-4-32"," Building":" 2" ,"国家/地区":" JP","地址类型":" 02"}," ContactGuid":" 0050568c-901d-1ed8-abe3-a81ca57320fa"," BusinessPartnerID":" 0100000006","标题":""," FirstName":" Yoko"," MiddleName":""," LastName":" Nakamura"," Nickname":""," Initials":""," Se @":" F"," PhoneNumber":" 9078563412"," FaxNumber":" 9078563004"," EmailAddress":" yoko.nakamura@asia-ht.com "," 语言":" EN"," DateOfBirth":null," ToBusinessPartner":{" __deferred":{" uri":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet( guid'0050568c-901d-1ed8-abe3-a81ca57320fa')/ToBusinessPartner"}}},{" __metadata":{" id":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(guid'0050568c-901d-1ed8-abe3-a81ca57340fa')"," uri":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(gu id'0050568c-901d-1ed8-abe3-a81ca57340fa')"," type":" GWSAMPLE_BASIC.Contact"}," Address":{" __metadata":{" type":" GWSAMPLE_BASIC.CT_Address"},"城市" :"东京","邮政编码":" 160-0004","街道":" Yotsuya Chome-3-1","建筑物":" 3","国家/地区":" JP"," AddressType":" 02 "}," ContactGuid":" 0050568c-901d-1ed8-abe3-a81ca57340fa"," BusinessPartnerID":" 0100000006"," Title":""," FirstName":" Hidehisa"," MiddleName":" Masaaki", " LastName":" Koshiishi"," Nickname":""," Initials":""," Se @":" M"," PhoneNumber":" 9078563413"," FaxNumber":" 9078563004"," EmailAddress" :" hidehisa.koshiishi@asia-ht.com ","语言":" ZH","出生日期":null," ToBusinessPartner":{" __deferred":{" uri":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(guid'0050568c-901d-1ed8-abe3-a81ca57340fa')/ ToBusinessPartner"}}}]}}

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我正在从ES5系统中检索BusinessPartnerContact,然后尝试对其进行更新。

我一直遇到"地址复合体无效"的问题。

错误:400错误的请求{"错误":{"代码":"/img/IWCOR/CX_DS_EP_PROPERTY_ERROR/005056A509B11ED1BF822D2D09171A04","消息":{" lang":" en","值":"属性'AddressComplex' 无效"}," innererror":{" application":{" component_id":" OPU-BSE-SDE"," service_namespace":"/img/IWBEP/"," service_id":" GWSAMPLE_BASIC"," service_version":" 0001"}," transactionid":" B9E0A2A100BE0050E005B8CFB3EAD730"," timestamp":" 20180903091801.0259130"," Error_Resolution":{" SAP_Transaction":"在SAP Gateway集线器系统上运行事务/IWFND/ERROR_LOG,并在上面带有时间戳的条目中搜索条目 更多详细信息"," SAP_Note":"请参阅SAP注释1797736进行错误分析( https://service.sap.com/sap/support/notes/1797736)"}," errordetails ":[]}}}

我不知道应该对更新进行什么更改(请注意,我必须将x更改为@,以防止Se @出现在论坛中)。

更新:{" DateOfBirth":null," BusinessPartnerID":" 0100000006"," AddressComplex":{" Building":" 2"," PostalCode":" 135-0064"," Street":" Aomi Chome-4-32","国家/地区":" JP","城市":"东京","地址类型":" 02"},"名字":"横河更新"," Se @":" F", " Title":""," MiddleName":""," Initials":""," EmailAddress":" yoko.nakamura@asia- ht.com ","语言":" EN"," FaxNumber":" 9078563004"," PhoneNumber":" 9078563412"," ContactGuid":" 0050568c-901d-1ed8-abe3-a81ca57320fa"," LastName":" Nakamura"," Nickname":""}}我在更新之前检索的BusinessPartnerContacts:{" d":{" results":[{" __metadata":{" id":" https://sapes5 .sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(guid'0050568c-901d-1ed8-abe3-a81ca57320fa')"," uri":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(guid'0050568c-901d-1ed8-abe3-a81ca57320fa')"," type":" GWSAMPLE_BASIC.Contact"}," Address":{" __metadata": {" type":" GWSAMPLE_BASIC.CT_Address"}," City":" Tokyo"," PostalCode":" 135-0064"," Street":" Aomi Chome-4-32"," Building":" 2" ,"国家/地区":" JP","地址类型":" 02"}," ContactGuid":" 0050568c-901d-1ed8-abe3-a81ca57320fa"," BusinessPartnerID":" 0100000006","标题":""," FirstName":" Yoko"," MiddleName":""," LastName":" Nakamura"," Nickname":""," Initials":""," Se @":" F"," PhoneNumber":" 9078563412"," FaxNumber":" 9078563004"," EmailAddress":" yoko.nakamura@asia-ht.com "," 语言":" EN"," DateOfBirth":null," ToBusinessPartner":{" __deferred":{" uri":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet( guid'0050568c-901d-1ed8-abe3-a81ca57320fa')/ToBusinessPartner"}}},{" __metadata":{" id":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(guid'0050568c-901d-1ed8-abe3-a81ca57340fa')"," uri":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(gu id'0050568c-901d-1ed8-abe3-a81ca57340fa')"," type":" GWSAMPLE_BASIC.Contact"}," Address":{" __metadata":{" type":" GWSAMPLE_BASIC.CT_Address"},"城市" :"东京","邮政编码":" 160-0004","街道":" Yotsuya Chome-3-1","建筑物":" 3","国家/地区":" JP"," AddressType":" 02 "}," ContactGuid":" 0050568c-901d-1ed8-abe3-a81ca57340fa"," BusinessPartnerID":" 0100000006"," Title":""," FirstName":" Hidehisa"," MiddleName":" Masaaki", " LastName":" Koshiishi"," Nickname":""," Initials":""," Se @":" M"," PhoneNumber":" 9078563413"," FaxNumber":" 9078563004"," EmailAddress" :" hidehisa.koshiishi@asia-ht.com ","语言":" ZH","出生日期":null," ToBusinessPartner":{" __deferred":{" uri":" https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ContactSet(guid'0050568c-901d-1ed8-abe3-a81ca57340fa')/ ToBusinessPartner"}}}]}}

付费偷看设置
发送
2条回答
软件心理学工程师
1楼 · 2020-09-14 00:41.采纳回答

你好,雅各布

我猜复杂属性的名称是" Address"而不是" AddressComplex"。 尝试调整您的请求。

最好的问候,
沃尔克

Haoba3210
2楼-- · 2020-09-14 00:43

感谢沃尔克,您向我指出了正确的方向。

我必须对从GWSAMPLE_BASIC元数据自动生成的Mendix数据模型进行一些调整。 对于遇到同样问题的Mendix工程师:我通过将关联" Addresscomplex_BusinessPartner_CT_Address"重命名为" Address_BusinessPartner_CT_Address"来解决了该问题。 必须与oData/domainmodel生成器有关。

一周热门 更多>