1991391 - CRM_IC_703 - Issue with insert icon

简介: Sent: Thursday, June 21, 2012 10:11 PMhen you click insert button, an new empty partner entity will be created:

Sent: Thursday, June 21, 2012 10:11 PM

hen you click insert button, an new empty partner entity will be created:

image.png


The initial key for this new entity is an internal handle maintained by BOL Entity manager.


image.png

this handle will be used to populate object id, which is what you observed before handled.

image.png


object ID: FF06020101028000343130330000000001080000000004000000300300000000000000000000000000000000000000004B0045005900BC0000000408000000BD04


image.png

after you maintained for example 3271 and click enter:

image.png

since now you have not click save, so this partner is not persistent, still the object ID is determined via “dummy” key.

image.png

 Now the is_handled flag is empty.

image.png FF0602010102800034313033000000000100000000000A000000360300000000000000000000000000000000000000004B0045005900BC0000000A440075006D006D007900BD04

1 why there are two object ID before and after object being handled?


 

   Because the two object ID are determined from different key, in this case 11 ( before handled ) and dummy ( aft


2 why when inserting a new line in party involved AB, the framework wants to check whether where are error messages for this object ID, and make sure there are none?

   No, CL_CRM_UIU_IBASE_TOOL~CHECK_ERROR_MESSAGES will NEVER be called by framework, instead by our own code in save and insert case.

 

Solution

From my point of view it is not necessary to do check in insert case. If we remove line 25 everything will work. I have successfully tested it in debugger.


We are still safe after removing it since check logic still exists in save.

image.png



相关文章
SAP CRM One Order Text customizing 的读取代码
SAP CRM One Order Text customizing 的读取代码
|
6月前
|
Oracle 关系型数据库 应用服务中间件
Supplemental Readme - Grid Infrastructure Release Update 12.2.0.1.x / 18c /19c (Doc ID 2246888.1)
Supplemental Readme - Grid Infrastructure Release Update 12.2.0.1.x / 18c /19c (Doc ID 2246888.1)
68 7
SAP QM 执行事务代码QP01,系统报错 -Material type FOOD is not defined for task list type Q-
SAP QM 执行事务代码QP01,系统报错 -Material type FOOD is not defined for task list type Q-
SAP QM 执行事务代码QP01,系统报错 -Material type FOOD is not defined for task list type Q-
SAP PM入门系列31 - IW40 Display Orders (Multilevel)
SAP PM入门系列31 - IW40 Display Orders (Multilevel)
SAP PM入门系列31 - IW40 Display Orders (Multilevel)
SAP Fiori Elements - Smart table add button debug 2 setDirty
SAP Fiori Elements - Smart table add button debug 2 setDirty
128 0
SAP Fiori Elements - Smart table add button debug 2 setDirty
How to render S4 Code List extension field into CRM WebUI product search view
This question is asked by Wade. Suppose I have created one extension field in S4 with type CodeList which contains all possible queue type supported by JDK. This extension field must be exposed to CRM Product Search WebUI. POC is done in X3C/504:
How to render S4 Code List extension field into CRM WebUI product search view
How to put S4 extension field to CRM WebUI search view in the design time
How to put S4 extension field to CRM WebUI search view in the design time
115 0
How to put S4 extension field to CRM WebUI search view in the design time
S/4HANA Product edit button - draft node
Created by Wang, Jerry, last modified on Jan 03, 2017
105 0
S/4HANA Product edit button - draft node
|
数据挖掘
SAP CRM customer material info record
You can maintain customer material info record in ERP via tcode VD51(create) and VD52(change). This info record describes the relationship between customer and material.
SAP CRM customer material info record
PBS_HAS_CHANGED ~ GET_SAP_MENU_INFO
Created by Wang, Jerry, last modified on Apr 20, 2015
126 0
PBS_HAS_CHANGED ~ GET_SAP_MENU_INFO