Deleting CDS Contents
Use
You use this procedure to delete business data that is not required in the DOE. The contents of the CDS can be deleted based on defined criteria. When data is deleted from the DOE, the corresponding data in the mobile client or on the device is also deleted.
Prerequisites
You have created a software component version.
More information: Creating a Software Component Version
Procedure
1. Creating Deletion Criteria Groups
-
Log on to the SAP NetWeaver Application Server.
-
In the navigation pane, choose
-
Search the required SWCV.
-
Choose the SWCV from the search results.
-
In the Utilities menu, choose CDS Deletion and Retrieval .
-
Choose Create Deletion Criteria Group .
-
Enter the name and description for the deletion criteria group.
-
Select the required Category for the deletion criteria group.
Category
Description
Manual
You can manually create the DCG by adding or creating deletion criteria.
Import criteria definition from BAdI
You have to implement the back-end BAdI. All the criteria fields defined in the BAdI are imported to the DCG.
You cannot manually create deletion criteria.
Get keys to be deleted from BAdI
You have to implement an external BAdI. The SYNC_KEY values corresponding to the header node of the data object have to be provided.
-
Save the changes
-
2. Creating Deletion Criteria
-
Choose Create Criteria .
-
Enter the name and description for the deletion criteria.
-
Choose the Data Object .
-
Save the deletion criteria.
-
Choose Add Field .
-
Select the Node to which the deletion criteria should apply.
-
Select the Attribute corresponding to the node that you have selected.
-
Choose Continue .
-
-
Choose Selection Options corresponding to the field you have created.
-
Enter the required values for the deletion criteria.
-
-
Save the changes.
3. Deleting Content in the CDS
-
In the CDS Retention screen, select the deletion criteria group.
-
Choose Execute Deletion .

