Skip to Content
0

Archive an invoice in a ZIP format

May 11, 2017 at 05:12 PM

58

avatar image

Hello ,

Can we archive an invoice with a ZIP format ?

and display it under the attachement list of VF02 transaction ?

Thanks ,

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

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

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.

Show 1 Share
10 |10000 characters needed characters left 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,

0
rachid ankri May 17, 2017 at 01:56 PM
0

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

Thank u ,


create-table.png (22.1 kB)
Share
10 |10000 characters needed characters left characters exceeded