Skip to Content
Technical Articles
Author's profile photo Jigang Zhang 张吉刚

About change log at case management of FSCM

Maybe you’ll be a little bit surprised that the change history of the case at FSCM is not relevant to the history table CDHDR/CDPOS.

 

Instead, the change history of cases is stored at table SRMPROTOCOL (SRM protocol entries). The key field to link the case master table (SCMG_T_CASE_ATTR), DCD case attribute table (UKM_DCD_ATTR), and dispute case attribute table (UDMCASEATTR00) is CASE_GUID.

Very likely but the SRMPROTOCOL-POID_ID is not the same as CASE_GUID.

We can get the POID_ID/sub-object ID of SRMPROTOCOL from BAPI_CASE_READLOG by CASE_GUID:

Below is an example of an entry for one case attribute change at table SRMPROTOCOL:

There’re several types of changes that will have accordingly entry at the above table for cases at FSCM:

  1. Manual changes of any fields inside CASE management;
  2. Changing attributes at the program through BAPI like ‘BAPI_CASE_CHANGE’, ‘BAPI_CASE_CHANGEATTRIBUTES’ or ‘BAPI_DISPUTE_ATTRIBUTES_CHANGE’;
  3. Changing attributes by method ‘attribute_change’ of cl_scmg_case_api at BADI like ‘SCMG_CASE_FCODE_S’.
  4. Automatic Document Changes from Dispute Case.

 

Unfortunately, the change history will not store all fields changes (same as SCASE->Attributes->Logs). For example, if implement BADI ‘UKM_SE_UKM_DCD_MNTNO’ and change attribute through method IF_UKM_SE_UKM_DCD_MNTNO~INBOUND_PROCESSING.

Please correct if something wrong and kindly let me know if you know how to trace back attribute changes which no history entry against it at the mentioned table : D

 

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Nico Dewaele
      Nico Dewaele

      hi,

       

      SRMPROTOCOL-POID_ID is not the same as CASE_GUID in UDMCASEATTR00/SCMG_T_CASE_ATTR

      How do you handle this?

      kr

      Nico

       

      Author's profile photo Jigang Zhang 张吉刚
      Jigang Zhang 张吉刚
      Blog Post Author

      nico dewaele

      Thanks for the reminder.

      Yes, it's very likely but the SRMPROTOCOL-POID_ID is not the same as CASE_GUID. We can get the changes logs along with POID_ID/sub-object ID of SRMPROTOCOL from BAPI_CASE_READLOG by CASE_GUID.