Configuring Idempotent Web Services
Context
You use this procedure to set how long the system stores saved response messages or saved information about responses that have been sent. An initialization process takes you through the steps the first time you make these settings.
The initialization process incorporates the following steps:
-
The system creates several database objects that are necessary for saving response messages.
-
The system schedules the following background jobs for the regular deletion of saved response messages and message IDs:
-
SAP_BC_IDP_WS_SWITCH_BD
-
SAP_BC_IDP_WS_SWITCH_BDID
-
To ensure, for performance reasons, that the responses or the information about sent responses are deleted as soon as possible after the desired period, the system uses table pairs:
-
Two tables per client for response messages
-
Two tables per client for information about response messages that have been sent
The two tables are filled alternately. When changing from the first table to the second table, the data in the first table is kept, but the data from the second table is deleted before the system adds new content. You decide how often the background jobs change tables using the procedure described here. This results in a minimum storage duration for the data.
Procedure
Example
You use a time period of two hours for changing the document tables. This means that response messages are stored for at least two hours but at most for just less than four hours.
You use a time period of one day for changing the document ID tables. This means that information about sent response messages is stored for a maximum of just less than two days.