Ansicht
Dokumentation

BSD_ESA_GENERAL_IDPS - Define Settings for Idempotent Services

BSD_ESA_GENERAL_IDPS - Define Settings for Idempotent Services

Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Enterprise Services for which you need to ensure that every service call is executed precisely once are called idempotent services.

You use this IMG activity to define how long the system keeps stored response messages or details about query messages (the message IDs) for which responses have already been sent for synchronous Enterprise Services. You have to define this for each client in which you wish to use synchronous Enterprise Services.

In order not to burden the database by storing the response messages or message IDs unnecessarily long, the system schedules two background jobs to regularly delete stored response messages and message IDs:

  • SAP_BC_IDP_WS_SWITCH_BD for response messages
  • SAP_BC_IDP_WS_SWITCH_BDID for message IDs

The system uses table pairs to ensure that the response message or the ID of the answered query message is deleted as soon as possible once the set retention period has expired:

  • One table pair for each client for the response messages
  • One table pair for each client for the message IDs that have been stored

The two tables of a table pair are entered alternately. When switching from the first table to the second, the data in the first table is retained and that in the second table is deleted before the system generates new entries.

You decide how ofter the system switches back and forth between the tables of a table pair. The result is the minimum retention period for the stored data.

This function is available to you as of SAP NetWeaver 2004s SP09 and ECC SE 600 SP03.

  1. In the Document section, define the minimum retention period for the response messages. You do this by specifying how often you want the system to switch between the two tables.
  2. In the Document ID section define the minimum retention period for the message IDs. You do this by specifying how often you want the system to switch between the two tables.
SAP recommends you define a longer retention period for the message IDs than for the response messages. Bear in mind that a repeated query message leads to an error if the corresponding response message has already been deleted but the message ID is still available.
  1. To save what you have defined, choose Schedule.
  2. Repeat steps 1 to 4 for all clients in which you wish to use Enterprise Services.

You have defined the time for switching between the two tables in which the response messages are stored as two hours. This means that the response messages are kept for at least two hours but for no more than four hours.

You have defined the time for switching between the two tables in which the message IDs are stored as one day. This means that the message IDs are kept for at least one day but for no more than two days.






PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3180 Date: 20240523 Time: 222530     sap01-206 ( 62 ms )