Idocs Archive and Puring

Embed Size (px)

Citation preview

  • 8/19/2019 Idocs Archive and Puring

    1/16

     Archiving and Deletion of IDocs–

    (Intermediate Document)

  • 8/19/2019 Idocs Archive and Puring

    2/16

    Part-1 :Archiving Object- IDOC

    Archiving data from intermediate documents (Idoc)

  • 8/19/2019 Idocs Archive and Puring

    3/16

    Intermediate Documents Archiving

    Archiving Object – IDOC

    Intermediate documents (IDOC) can be archived depending upon the status

    In transaction !"#$ % the status va&ues are defined that are re'uired b an IDOC (received or sent) so that it can beconsidered for archiving

    Archived IDOCs can be re&oaded into the database (though the genera& recommendation from AP to not to re&oad

    an archived data)

    As of *asis +e&ease ,.% object &in/s are a&0as archived but are not de&eted 0ith the corresponding idoc 0hich

    means that 0e need to use repot ++2D+"23 to de&ete the object &in/ages

    It is genera&& recommended 4 sufficient to archive IDOC data b se&ecting the creation date% current status% and4or

    &ogica& message (message tpes)

    5here are no direct residence time that can be set for an IDOC 6o0ever% 0e can use the start date and end date inse&ection criteria as an indirect residence time for the archive runs

    In order to vie0 the archived IDOC specific data% either transaction !"1. or report +"7A+C+ can be used

  • 8/19/2019 Idocs Archive and Puring

    4/16

    Archiving Object Dependencies

    5he Archiving Object does not have an direct dependencies to other archiving objects

    5here is a&so not a reference chec/ done to app&ication documents generated from IDOC

    6o0ever% indirect dependencies e8ist to the de&etion reports for A2" change pointers (tab&es *DCP and *DCP) and

    object &in/ages(5ab&es IDOC+"2 and ++"2+O2") A2" Change pointers(+eport-+*DCPC2+) and object &in/ages

    (+eport-++2D+"2) must be de&eted after the IDOCs are archived

    In re&eases ear&ier than *asis +e&ease ,.%object &in/ages are not archived Object &in/ages can be de&eted (+eport-++2D+"2) if either the IDoc or the app&ication document is archived

    In *asis +e&ease ,. %object &in/ages can be archived but not de&eted 0ith IDocs 5he +eport ++2D+"2 is re'uired to

    de&ete the object &in/ages

    9or re&eases &ater than ,.%the object &in/ages are a&0as archived but not de&eted 0ith the corresponding IDocs

    5he IDocs can be archived depending on the customied status in !"#$ transaction 5he status of an IDoc can be

    ana&ed 0ith tab&e 5AC;5 for fie&d A+C6923

  • 8/19/2019 Idocs Archive and Puring

    5/16

    Check Archiving Object Dependencies – Network Graphic

    !hen an archiving object is disp&aed as be&o0 0ithout

    an other archiving objects it means from a technica& perspective there are

    no dependencies on an other archiving object

    Check Archiving Object Dependencies- IDOC

  • 8/19/2019 Idocs Archive and Puring

    6/16

    Perorm Customi!ing

    *efore an archiving can be performed% certain customiing must be performed 5he Customiing ettings are

    accessib&e via transaction A+A

      Cross-archiving object Customiing 5echnica& settings

      Archiving object-specific Customiing5echnica& settings

      *asis Customiing Cross-C&ient 9i&e

  • 8/19/2019 Idocs Archive and Puring

    7/16

    Perorm Archiving object-speciic Customi!ing%echnica" settings

    Chec/ Customiing ettings ? 5ransaction A+A

    Archiving object-speciic Customi!ing %echnica" settings

  • 8/19/2019 Idocs Archive and Puring

    8/16

    Data Content Ana"&sis or Outbound IDocs

    5here are fe0 parameters 0e can perform the ana&sis:

    • Year: 5he annua& distribution in the "DIDC tab&e for the outbound IDocs ("DICDC-DI+"C5@1) is measured

    • Status: 5he number of entries per status are ca&cu&ated in tab&e "DIDC5he majorit of IDocs are in archivab&e status

    • Message type:

    5he number of entries is ca&cu&ated for each message tpe in tab&e "DIDC(top . message tpes that are used in thesstem are considered)

    5he number of entries is ca&cu&ated for top five message tpes for inbound IDocs b status and annua& distribution(on& the message tpes 0ith highest number of entries)

  • 8/19/2019 Idocs Archive and Puring

    9/16

    Outbound IDocs

    • Obso&ete IDocs can be removed from the database if 0e se&ect the archiving indicator temporari& for a particu&ar

    status (transaction !"#$)%restrict the date se&ection for the Idoc %archive it and remove the archiving indicator againafter archiving

    • In case of outbound IDocs% the Idoc processing can be defined in t0o 0as:

      1 5he receiver sstem sends a status message for the Idoc  5he receiver sstem does not send a status message for the Idoc

    • In both the cases the Idoc passes through status .3

    • If the receiver sstem sends a message the Idoc ends in a different status (status 13 if it 0as processed

    successfu&&)In this case the Idoc shou&d on& be archived 0ith status 13uch IDocs are recommended to bearchived b message tpe

    • If the receiver sstem does not send a message bac/ % the Idoc remains in status .3 permanent& and these IDocs a&so

    have to be archived

    • 5he report +*D=OI

  • 8/19/2019 Idocs Archive and Puring

    10/16

    Data Content Ana"&sis or Inbound IDocs

    5here are fe0 parameters 0e can perform the ana&sis:

    • Year: 5he annua& distribution in the "DIDC tab&e for the inbound IDocs ("DICDC-DI+"C5@) is measured

    • Status: 5he number of entries per status are ca&cu&ated in tab&e "DIDC5he majorit of IDocs are in status 3 0hich is

    an archivab&e status

    • Message type:

    5he number of entries is ca&cu&ated for each message tpe in tab&e "DIDC(top . message tpes that are used in the

    sstem are considered)

    5he number of entries is ca&cu&ated for top five message tpes for inbound IDocs b status and annua& distribution(on& the message tpes 0ith highest number of entries)

    IDocs 0ith an error status can on& be archived 0hen the have been migrated to an archive status(post processing) ormanaged as obso&ete IDocs

    Obso&ete IDocs can be removed from the database if 0e se&ect the archiving indicator temporari& for a particu&ar status(transaction !"#$)%restrict the date se&ection for the Idoc %archive it and remove the archiving indicator again afterarchiving

  • 8/19/2019 Idocs Archive and Puring

    11/16

    'va"uation o a"" IDOCs

    • A&& the IDocs 0ith the archivab&e status cou&d be archived after . das

    • 9or IDocs in error status 0e 0ou&d recommend sco to revie0 the set up for these and revie0 the error correction

    strateg 5here shou&d be no IDoc in error status o&der than 1 months

    • Ana&sis sho0s that IDocs 0ith an archivab&e status that are o&der than eptember shou&d be archived ie E

    (.4FFF)

    • AP best practices recommend that 0e archive Intermediate documents after months since the probab& no &ongerneed to be accessed fre'uent& after this time period

    • If a&& the intermediate documents that can be archived are archived after a residence time of . das %this 0ou&d

    &ead to savings of E in this tab&e or F G*

  • 8/19/2019 Idocs Archive and Puring

    12/16

    Part-()%ransaction Code–*'++

      De&ete IDocs through !"11 transaction code (+eport +"5"5D )

  • 8/19/2019 Idocs Archive and Puring

    13/16

    De"etion o records rom tab"es

      Condition: 5"5 +;

  • 8/19/2019 Idocs Archive and Puring

    14/16

    Checkbo,) GPIN%$.) De"ete Interace Data

      1 If the chec/bo8 is activated:

    Gets a&& tas/ entries from tab&es 5"D" ("DI process tpes (inbound))% 5"D" ("DI Process codes for errorhand&ing)% and 5"D", (IDOC process codes for inbound statuses) for &ater processing

    Prepares a &ist 0ith a&& object tpes occurring in the tas/s in G5O*J"C55>P"

      If the chec/bo8 is activated:

    earches for an re&ated 0or/f&o0 0or/ items 9or each entr of Interna& tab&e G5O*J"C55>P"

    Gets the records into G5!O+BI5"= based on the Object tpe and Object Be

    De&etes the 0or/ items if an e8ist if the 5"5 +;< is not activated

  • 8/19/2019 Idocs Archive and Puring

    15/16

    Check bo,) GP%$.C) De"ete t$.C 'ntries  If the chec/bo8 is activated:

    If the direction of the idoc is O;5*O;

  • 8/19/2019 Idocs Archive and Puring

    16/16

    Check bo,) GP/OGD/) De"ete App"ication /og /ogs  If the chec/bo8 is activated and not 5"5 +;