Skip to Content

Archive an invoice in a ZIP format

Hello ,

Can we archive an invoice with a ZIP format ?

and display it under the attachement list of VF02 transaction ?

Thanks ,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 11, 2017 at 05:23 PM

    Yes.

    From ABAP point of view:

    You can create zipfile with class CL_ABAP_ZIP, archive zipfile with FuMoARCHIVOBJECT_CREATE_TABLE and create Business object link with FuMo ARCHIV_CONNECTION_INSERT.

    From configration point of view:

    You can create a documenttype for ZIP in transaction OAC2 and link it to your business object in transaction OAC3. Then your are able to upload zipfile to attachment list.

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Tibor for ur answer ,

      i tried to zip my invoice during the archiving process but i suppose that i add the enhancement to zip in the wrong place ,

      for example in my case i add the enhancement in this : SAPLSTXBC->OTF_ARCHIVE->CONVERT_OTF_AND_ARCHIVE -> ARCHIV_CREATE_OUTGOINGDOC_MULT ( in the top of this FM i placed the enhancement with cl_abap_zip ) but after excution i still have the PDF in the attachement list you see ?

      and thanks again for ur response,

  • May 17, 2017 at 01:56 PM

    this is the FM ARCHIVOBJECT_CREATE_TABLE , where can i put the CL_ABAP_ZIP ?

    Thank u ,

    Add comment
    10|10000 characters needed characters exceeded