SAP Archiving Idocs
Transcript of SAP Archiving Idocs
-
8/18/2019 SAP Archiving Idocs
1/16
IDoc Archiving
Abdul Hakim
Step: 1
Creation of Logical File Path:
o to tran!action FIL" and enter the logical file path#
1
-
8/18/2019 SAP Archiving Idocs
2/16
For e#g# $%ID&C%PA'H
Step: (
A!!ignment of Ph)!ical Path! to Logical Path:
Step: *
Logical File +ame Definition:
2
-
8/18/2019 SAP Archiving Idocs
3/16
Step: ,
o to tran!action SA-A#ive the &b.ect +ame a! ID&C and then !elect the Cu!tomi/ing 0utton:
Step:
Select the 'echnical Setting! 2nder Archiving &b.ect3Specific
Cu!tomi/ing:
3
-
8/18/2019 SAP Archiving Idocs
4/16
Step: 4
Specif) )our Logical File +ame and other cu!tomi/ing parameter! a!-e5uired and then !ave:
4
-
8/18/2019 SAP Archiving Idocs
5/16
Select the Option as Start Automatically under Delete Jobs otherwise you need to start the IDocDeletion Program Manually!!
Step: 6
Come back to the initial !creen of the tran!action SA-A#
ive the &b.ect +ame a! ID&C and then !elect the 7rite 0utton:
5
-
8/18/2019 SAP Archiving Idocs
6/16
Step: 8
ive the 9ariant +ame and then pre!! the aintain 0utton:
Step: ;
aintain the 9ariant a! re5uired and then !ave it:
6
-
8/18/2019 SAP Archiving Idocs
7/16
I have maintained the Creation Date as "#$""%&Direction as $ and the Message type asD'(MAS )his would archive the Inbound IDocs *or the message type D'(MAS created on"#$""%+ist o* Inbound IDocs *or the above speci*ication is given below
7
-
8/18/2019 SAP Archiving Idocs
8/16
As you can see that there are , Inbound IDocs *ound *or the above speci*ication in -'"$ IDocs are in ,. Status and % IDocs are in , Status
Step: 1<
8
-
8/18/2019 SAP Archiving Idocs
9/16
Select the Start Date 0utton:
And then select the immediate button or as re/uired and then hit save
Step: 11
Select the e=ecute 0utton:
Step: 1(
Select the >ob&vervie? 0utton:
9
-
8/18/2019 SAP Archiving Idocs
10/16
@ou can !ee that * .ob! have been relea!ed b) the S)!tem and proce!!ed
>ob Log!
10
-
8/18/2019 SAP Archiving Idocs
11/16
0ow Chec1ing the IDocs in -'"$
2ou can see that all ,. Status IDocs have been Archived and deleted *rom thesystem (ut , Status IDocs remains as this status cannot be archived Ho? to archive 1 Statu! IDoc!B
It is /uite simple to archiving the IDocs& which are in statuses that are not meant*or Archiving In our scenario I don3t want this % IDocs that are in Status ,anymore
11
-
8/18/2019 SAP Archiving Idocs
12/16
4o to S'.# and e5ecute the program -C1%ID&C%S"'%S'A'2S 4ive all theIDoc numbers& which are in status ,Speci*y the status as , and 0ew Statusas 6#Also remove the )est 7lag Press e5ecute button
-eport &utput:
o to 7"
-
8/18/2019 SAP Archiving Idocs
13/16
0ow you can archive these IDocs
IDoc Statu! Code! that Permit Archiving:
4o to transaction -'%89:select a particular status code and then select theMagni*ying glass button
Chec1 the radio buttons under Archiving (loc1Poss indicates archiving is possible'5cluded indicates archiving is not possible
13
-
8/18/2019 SAP Archiving Idocs
14/16
Appendi=:
IDoc Archiving Program!:
;S'
-
8/18/2019 SAP Archiving Idocs
15/16
$ Archive 7ile is read and the Ob=ects are deleted *rom the System
15
-
8/18/2019 SAP Archiving Idocs
16/16
16