Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Cay Rademann
SAP AG
SAP AG recovery.ppt 01/1997/ 1
IDoc status
After each processing step the IDoc gets a new status Restart on the actual status
ALE Recovery
3 possible kinds of error:
I. Communication error The communication line is down. II. Hard loss e.g. disk crash The system halts when the error occurs. III. Soft error User made important data useless The database ran for an indefinite time after the error occured, but the system must be brought back to a status before the error.
Inbound messages:
The messages are waiting in the queue of the sending system until the receiving system is available again.
!!! Worst
Case !!!
Problem Description
System A has to be set back to an earlier status, time T (Point in Time Recovery)
System B has got IDocs from A, sent after T System B has sent IDocs to A later than T
System A
System B
General Procedure
Available with 4.0
System A
1. Start (synchron) 2. Recovery Audit 3. Create list of missing IDocs; Write Status according Audit message; Cancel tRFC-Queueentries 4. List of IDocs and application documents to be cancelled; Resend IDocs
System B
Differentiation: A -> B
ABT. Transactional data: new documents have been created in B, original documents do not exist in A any more
This affects both business documents and IDocs
ABR. Master data / replicas: Copies of objects have been created in B, they differ from the originals in A ABI. After the recovery IDocs exist both in A and B, but the IDocs have not been sent from A
Differentiation: B -> A
BAD. Messages that depend on a previous message from A to B
E.g.: ORDRSP (order response) from B -> A depends on the message ORDERS (order) from A -> B
A:
T
B:
4711: n+100
Documents in B that depend on documents in A, which have been created after T, have to be canceled You can find these documents by looking at the IDoclinks
A:
B:
4711
Objects, that have been replicated, have a newer version in B than in A They have to be sent again
A:
I1: 4711
B:
4711
A:
I1: + 100
T I2: + 100
B:
4711
IDocs that have been sent to A after T have to be resent Change the status of these IDocs to 30 (IDoc ready for dispatch (ALE service)) and start resending (RSEOUT00)
A:
T
I1: 4711
B:
4711
IDocs that depend on messages, which are dependent on other messages sent after T, may not be sent / resent They have to get a status for deletion (e.g. 31) and have to be taken out of the TRFC-queue if necessary
4. ABT, ABR, BAM, BAD: all IDocs in B, for which the linked IDoc in A does not exist 5. ABI: all IDocs in B, for which the original IDoc in A has not been sent
In A: Status = 03 or earlier. At status = 03 the entry has to be removed from the tRFC-queue
SAP AG recovery.ppt 01/1997/ 18