on 07-12-2012 9:41 AM
Hi all,
I added two custom fields through AET to General Data of the BP. Both the fields are dropdown boxes. Based on the value selected on field 'A' then the dropdown values have to enabled or disabled.
My question is when I selected the dropdown value, I am getting the below error
CX_BOL_EXCEPTION - Access Previously Deleted Entity
Class : CL_CRM_BOL_ENTITY
Method : reread_entity
Line = 169
I referred to the existing forums, which are similar to mine but could not able to exactly figure out the issue. Could anyone help me?
Thanks,
Baasanthi.
Hi Basanthi,
Can you provide more details where this exception is being raised . Is it in your server event of the first drop down field ?
Also post the code.
Regards,
Nithish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks of for your reply. Actually they(not me) added one custom attribute in General Data of the Business Partner screen. I think they added through AET( I dont know whether they added through rapid tool since ours is EHP version). They set the values for this attribute. This attribute type is dropdown. There is no 'V' method defined for this attribute. Till yesterday I was fighting with the issue like this attribute setter method is not being triggered whenever value is selected from dropdown. Now I resolved the issue by uncommenting the below code in 'P' Method. Now the new issue is whenever value is selected from the dropdown, I am gettting the above issue.
Method GET_P_ZZMEMBER_TYPE.
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>FP_SERVER_EVENT.
rv_value = 'MEMBERTYPE'.
ENDCASE.
**************
Code in the above Issue class(CL_CRM_BOL_CORE) and method is reread_entity, where exactly the issue is coming.
I am not deleting the entry anywhere but just selecting the dropdown value.
if IV_ENTITY->MY_MANAGER_ENTRY is not bound or IV_ENTITY->CONTAINER_PROXY is not bound.
* entity does not longer exist
raise exception type CX_BOL_EXCEPTION
exporting
TEXTID = CX_BOL_EXCEPTION=>ENTITY_ALREADY_FREED.
endif.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.