When MARA-SCM_MATID_GUID16 is filled
Created by Wang, Jerry on Jan 05, 2017
As discussed, we will use MARA-SCM_MATID_GUID16 instead of COMM_PRODUCT-PRODUCT_GUID.
However, the field prefix SCM gives us impression that the change of appending this field to MARA belongs to SCM addon.
If this is true, suppose the scenario where the SCM addon is not installed into S4 system, then this field is not available. It means all direct access on MARA-SCM_MATID_GUID16 will cause syntax error.
So we need to figure out the change of appending this field to MARA belongs to SCM addon, or S4Core? The answer is: S4Core.
The code below is the implementation how SCM_MATID_GUID16 is created when we create material via MM01 in S4 system. From the code we can see the field is directly accessed without any dynamical programming.
If the change of this field belongs to SCM addon, the code should be written as:
ASSIGN COMPONENT ‘SCM_MATID_GUID16’ OF STRUCTURE MARA TO FIELD-SYMBOL(<GUID>).
IF sy-subrc <> 0. “ it means SCM addon is not installed!
However it is not the case, so it is safe for we CRM to directly use this field in CRM code.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- ORA-19569: no device is allocated to this session ORACLE 报错 故障修复 远程处理
- ORA-19691: string is from different database: id=string, name=string ORACLE 报错 故障修复 远程处理
- ORA-24385: Application context size or index is not valid ORACLE 报错 故障修复 远程处理
- ORA-24406: API mode switch is disallowed when a call is in progress. ORACLE 报错 故障修复 远程处理
- ORA-24429: External authentication is not supported in this mode. ORACLE 报错 故障修复 远程处理
- ORA-24808: streaming of lob data is not allowed when using lob buffering ORACLE 报错 故障修复 远程处理
- ORA-24820: Differnt LOB function called while another OCI LOB call is in progress ORACLE 报错 故障修复 远程处理
- ORA-30136: Drop-in compatibility is not supported for this application ORACLE 报错 故障修复 远程处理
- ORA-30356: the specified refresh method is not supported in this context ORACLE 报错 故障修复 远程处理
- ORA-30731: scope constraint not allowed on nested table column when the nested table is being created ORACLE 报错 故障修复 远程处理
- ORA-38787: Creating the first guaranteed restore point requires mount mode when flashback database is off. ORACLE 报错 故障修复 远程处理
- ORA-39016: Operation not supported when job is in string state. ORACLE 报错 故障修复 远程处理
- ORA-39710: only connect AS SYSDBA is allowed when OPEN in UPGRADE mode ORACLE 报错 故障修复 远程处理
- ORA-45905: deleting instantly restored data file string is not supported ORACLE 报错 故障修复 远程处理
- ORA-01881: timezone region ID is invalid ORACLE 报错 故障修复 远程处理
- MySQL Error number: MY-011055; Symbol: ER_INNODB_MONITOR_IS_ENABLED; SQLSTATE: HY000 报错 故障修复 远程处理
- ORA-03205: partition name is required when partitioned type is specified ORACLE 报错 故障修复 远程处理
- ORA-07456: cannot set RESOURCE_MANAGER_PLAN when database is closed ORACLE 报错 故障修复 远程处理
- ORA-15270: disk string is not a quorum disk ORACLE 报错 故障修复 远程处理
- @Override is not allowed when implementing interface method详解程序员
- nginx配置C compiler cc is not found详解程序员
- nullOracle中使用IS NULL代替NULL值(Oracle中is)
- MySQL中的When语句条件控制的神器(mysql中when语句)
- 子句利用Oracle中的When子句处理条件性逻辑(oracle中的when)
- Oracle IS变量动态应对各种市场需求(oracle is 变量)