SAP Hybris的类型系统更改和ABAP的LOAD_PROGRAM_TABLE_MISMATCH
如果正在運(yùn)行一個(gè)transaction,這個(gè)時(shí)候系統(tǒng)有一個(gè)transport request import進(jìn)來(lái), 這個(gè)TR包含了一些DDIC object的change, 并且這些DDIC object正在被當(dāng)前transaction使用,就會(huì)出現(xiàn)這個(gè)exception:
SAP的建議是在晚上user很少的時(shí)候import TR。用SGEN只能通過(guò)在user launch transaction之前預(yù)先生成最新的ABAP LOAD來(lái)避免這個(gè)問(wèn)題,但是對(duì)于TR import之前已經(jīng)load到memory開(kāi)始執(zhí)行的transaction則無(wú)能為例。
Hybris不會(huì)遇到類(lèi)似的問(wèn)題,因?yàn)槠鋎ata type分為design time source和runtime artifact兩種:
(1) There is a file-based representation that is spread across in the various items.xml files of Hybris extensions. This representation is not actively used by Hybris at runtime. You can modify this representation at any time by modifying the items.xml file of an extension. However, modifications of the items.xml files only take effect after an initialization or an update of Hybris.
(2) The database of Hybris also contains a representation of the type system. This representation is actually in use by Hybris at runtime. The representation in use reflects the state the type system was in when Hybris was last updated or initialized.
直接修改items.xml不會(huì)對(duì)runtime transaction造成任何影響 - items.xml的change必須重新build整個(gè)Hybris之后才會(huì)生效.
要獲取更多Jerry的原創(chuàng)文章,請(qǐng)關(guān)注公眾號(hào)"汪子熙":
總結(jié)
以上是生活随笔為你收集整理的SAP Hybris的类型系统更改和ABAP的LOAD_PROGRAM_TABLE_MISMATCH的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: SAP云平台里两种类型的WebIDE
- 下一篇: 关于SAP CRM中间件系统搭建中遇到的