Data Archiving in Social Services
The Social Services
component provides you with the following data archiving scenarios for Social Services data that can be archived:
If you want to use this function, you must activate the CRM business function Social Services, 2011 (CRM_IPS_4S_3
) and the ERP business function Social Services, 2011 (ERP_IPS_4S_3
).
If you want to use DBA archiving, you must activate the CRM business function Social Services, 2013 (CRM_IPS_4S_4
) and the ERP business function Social Services, 2013 (ERP_IPS_4S_4
).
SAP CRM-Controlled Data Archiving
If you are using this scenario, you determine archiving-relevant Social Services data using the preprocessing program in SAP CRM. The objects that are to be archived with the status Archivable
and Can Be Deleted
are replicated to the SAP ERP System using the CRM Middleware. These Social Services business objects that are flagged here for archiving are used as the basis for triggering archiving of the associated Social Services business objects in ERP. A separate initial archiving run in SAP ERP is not required for this archiving scenario for SXP documents, decision basis data (DBA data), gross entitlement and gross payment documents (GED and GPD). You must schedule a separate archiving run for net calculation documents (NCD) in SAP ERP.
We recommend using this archiving scenario to archive Social Services data.
Separate SAP CRM and SAP ERP Data Archiving
If you are using this scenario, you perform Social Services data archiving separately in SAP CRM and in SAP ERP. SAP ERP provides the preprocessing program for the archiving object PSSC_SXP that you can use to determine the SAP ERP Social Services business objects to be archived. The archiving object PSSC_SXP also supports the archiving of DBA data. In this scenario, CRM Middleware cannot be used to transfer any archiving status to the ERP System. You must schedule a separate archiving run for net calculation documents (NCD) in SAP ERP.
This archiving scenario should be used if you want to archive datasets in SAP ERP and SAP CRM that are not mutually dependent.
Caution
You should not switch between these two archiving scenarios in the production system.
The following diagram shows you a simplified process overview of CRM-controlled archiving of Social Services transaction data in SAP CRM and SAP ERP:

Figure: SAP CRM-Controlled Social Services Data Archiving
In SAP CRM, preprocessing programs for Social Services archiving objects determine both the social applications, social service plans and social deduction plans that can be archived, and the DBA data. Social Services business objects that meet the archiving criteria are assigned the archiving status Archivable
and Can Be Deleted
.
The write and deletion programs for Social Services archiving objects replicate data records to the data archive and delete Social Services business transactions and DBA data from the application data tables.
For more information about the archiving process in SAP CRM, see Carrying Out Data Archiving.
CRM Middleware replicates the business transactions for social service plans and social deduction plans that are flagged for archiving with the status Archivable
and Can Be Deleted
) to SAP ERP. The status of social applications that can be archived is not replicated to SAP ERP.
In SAP ERP, the write program for the archiving object PSSC_SXP uses the CRM Social Services service transactions (status Archivable
and Can Be Deleted
) to check whether the associated SXP documents (social service plans and social deduction plans), DBA documents and the gross entitlement documents and gross payment documents that are linked with these SXP documents can be archived. If the prerequisites (residence time) are met, the system writes data records to the data archive.
The deletion program checks whether the data archive contains archived data records and deletes the associated documents from the application data tables.
Net calculation documents (NCD) are archived separately from SXP documents in SAP ERP. The write program for the archiving object PSSC_NCD checks whether net calculation documents can be archived. If NCDs meet the prerequisites to be archived (residence time has been reached, NCD header status is not open
and revised
), the write program replicates the NCD data records to the data archive (see also: Status Change for NCDs).
The deletion program checks whether the data archive contains archived NCD data records and deletes the associated documents from the application data tables.
In CRM Customizing, you have made basic settings to define data archiving for your Social Services business transactions (including decision bases). For more information, see the Prerequisites
section under Archiving of Business Transactions.
In the ERP Customizing settings for Social Services, you have made the basic settings for data archiving. You have specified which of the archiving scenarios described above is to be used for SXP/DBA documents (including GED and GPD) in SAP ERP. You have defined a separate archiving run for net calculation documents.
For more information, see the ERP Customizing settings for Social Services under .
Archiving Social Services business transactions (including decision bases) is based entirely on the archiving functions that SAP CRM provides for CRM business transactions. For more information, see the application help for SAP CRM under .
The following archiving objects are available in SAP CRM for archiving Social Services objects:
Business Transaction Category |
Archiving Object |
Social application |
CRM_4SAPPL |
Social service plan |
CRM_4SSRVP |
Social deduction plan |
CRM_4SSDP |
Decision basis |
CRM_PSDBA |
The following archiving objects are available in SAP ERP for archiving Social Services documents:
Social Services Documents |
Archiving Object |
|
PSSC_SXP |
Net calculation document (NCD) |
PSSC_NCD |