CRM and CX Blogs by Members
Find insights on SAP customer relationship management and customer experience products in blog posts from community members. Post your own perspective today!
cancel
Showing results for 
Search instead for 
Did you mean: 
chintaanitha
Newcomer
955
Purpose of the document is to enable change history for RA (Responsibility Area) when status is changed, and display the details in the Change history assignment block in the WEB UI. By standard any change in status of the RA(Responsibility Area)change history is not enabled for the and no entries are displayed in WEBUI. So to enable the change history for RA(Responsibility Area) when status is changed please check the below steps .

Login to WEB UI and search for Responsibility Area in UI.

Select any of the RA and change the status of it and check if any entry has been created in Change history assignment block.

Current status of the RA is active; Change history does not contain any entry right now.





Change the status of RA to inactive.



No entry is created in the change history assignment block.



To enable the change history entry in assignment block, following method needs to be changed.

Class: /JBPC/CL_CRM_RESP_AREA_API

Method: CHANGE_RESP_AREA_DEP_ATTR

In this method there is call of FM 'CRM_STATUS_CHANGE_FOR_ACTIVITY', make the importing parameter set_chgkz ('Activate Change Documents' Flag) so make this as ‘TRUE’



 

Another method that needs to be modified is

Class: /JBPC/CL_CRM_RESP_AREA_API

Method: READ_CHANGE_HISTORY

Get the change document no for the status changes

Data declaration





Call the FM ‘CRM_STATUS_NUMBER_CONVERSION’.



Now append all the details to change history buffer table



And then entries are sorted by date and time.

Change the RA status to active again and save.

Now you can see the entry in change history assignment block.





 

Conclusion :When the status is changed for the Responsibility Area , the changes are captured and are stored in the change documents manually by writing the logic in the above mentioned class interface methods and displayed in WEBUI.

Similarly if you want to capture the changes when a product group/Status is  changed, logic should be written in the class methods to capture them in change records and display in the change history assignment block.

 
1 Comment
Labels in this area