Beruflich Dokumente
Kultur Dokumente
Abdul Hakim
Step: 1
1
For e.g. Z_IDOC_PATH
Step: 2
Step: 3
2
Step: 4
Go to transaction SARA.
Give the Object Name as IDOC and then select the Customizing Button:
Step: 5
3
Step: 6
4
Select the Option as Start Automatically under Delete Jobs otherwise you need to start the IDoc
Deletion Program Manually!!
Step: 7
5
Step: 8
Give the Variant Name and then press the Maintain Button:
Step: 9
6
I have maintained the Creation Date as 11.08.2004,Direction as 2 and the Message type as
DEBMAS. This would archive the Inbound IDocs for the message type DEBMAS created on
11.08.2004.
List of Inbound IDocs for the above specification is given below.
7
As you can see that there are 15 Inbound IDocs found for the above specification in WE02.
11 IDocs are in 53 Status and 4 IDocs are in 51 Status.
Step: 10
8
Select the Start Date Button:
And then select the immediate button or as required and then hit save
Step: 11
Step: 12
9
You can see that 3 jobs have been released by the System and processed!!
Job Logs
10
Now Checking the IDocs in WE02
You can see that all 53 Status IDocs have been Archived and deleted from the
system. But 51 Status IDocs remains as this status cannot be archived.
It is quite simple to archiving the IDocs, which are in statuses that are not meant
for Archiving. In our scenario I don’t want this 4 IDocs that are in Status 51
anymore.
11
Go to SE38 and execute the program RC1_IDOC_SET_STATUS. Give all the
IDoc numbers, which are in status 51.Specify the status as 51 and New Status
as 68.Also remove the Test Flag. Press execute button
Report Output:
12
Now you can archive these IDocs.
13
Appendix:
Transactions:
File Names that you specify in the system are Platform Specific. In order to make
your ABAP Programs portable across multiple Platforms you need to create a file
name independent of the Platform. This can be achieved by using the transaction
FILE. The Procedure used to create a platform independent file name is given in
the Steps 1 to 3.
1. Documents such as IDocs, Work items and Purchase Orders etc are
offloaded to an archive file at the OS Level.
14
2. Archive File is read and the Objects are deleted from the System
15
16