cancel
Showing results for 
Search instead for 
Did you mean: 

Refreshing View/Assignment Block after update

Former Member
0 Kudos

Dear all,

we have the Standard Business Partner merge functionality (DQMS) in SAP CRM running. When I execute the account merge, some are marked as "To be Archived" and some are left blank. This assignment block should show the current Status (To be Archived or blank) but this does not happen, a refresh does not work as well. The user Needs to logoff and Login again to see if the execution has worked. See the attached screenshot for the flag.

The "Do_prepare_Output" is currently running the attached code.

Anyone having a idea, where and how a refresh needs to be done to have the updated Status of the

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tariq,

You should redefine account merge event handler and call the super method first. At the end after calling super method you should try re-reading the entity.

lr_entity->reread( ).

if this does't work, try reading the related entity which you want to be updated by bypassing the buffer as below:

LR_ENTITY->GET_RELATED_ENTITY(

IV_RELATION_NAME = <relation name>

IV_MODE = CL_CRM_BOL_ENTITY=>BYPASSING_BUFFER ).

Former Member
0 Kudos

Hi Sagar,

thanks for the reply.

Should this refresh not be part of the Standard?

Thanks,

Tariq

Former Member
0 Kudos

Hi Tariq,

You are right. This should be part of standard. But just to be sure you may try doing this by enhancing your component/view and then redefining the methods. If it works you may raise it to SAP using OSS. If you exactly show them where it is going wrong, they will either release note for you or will let you know negative side of why it is not done that way.