could not change product header data even after switching to change mode

92 阅读1分钟

Created by Jerry Wang on Jun 29, 2014

点了Edit button之后,仍然无法修改Product header 的field ( 如description ):

 

clipboard1

 

 

分析: 点了Edit button之后,会trigger一次REREAD操作:

 

clipboard2

 

 

逐一判断每个 header field的property:

 

clipboard3

 

 

 

就Product description来说,因为其是由set type COMM_PR_SHTEXT实现的,因此其属性判断由set type property handler class

 

CL_CRM_PRODIL_ATTR_PROP_SET完成:

clipboard4

 

由于当前system和该product的original system 不一致,

clipboard5

 

 

 

 

且BAdI implementation 返回的message type为A( Abort ), 因此该settype 无法修改( changeable = off )

clipboard6

 

The three entries in BAdI implementation could be maintained in customizing:

clipboard7

 

 

 

clipboard8

 

 

 

clipboard9

 

 

例如希望修改object的description:

 

clipboard10

 

 

添加一条新的entry:

 

clipboard11

 

 

之后object description就可以编辑了:

 

clipboard12