cancel
Showing results for 
Search instead for 
Did you mean: 

Archive an invoice in a ZIP format

former_member421809
Participant
0 Kudos

Hello ,

Can we archive an invoice with a ZIP format ?

and display it under the attachement list of VF02 transaction ?

Thanks ,

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member421809
Participant
0 Kudos

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

Thank u ,

Former Member
0 Kudos

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.

former_member421809
Participant
0 Kudos

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,