Skip to Content
0

How to ZIP multiple files into one single file in SAP PO ?!

Jan 05 at 06:24 AM

48

avatar image
Former Member

Hello experts,

I'm here hoping you guys can help me with my situation.

Current scenario :

SAP PO picks up multiple .PDF files from a directory and place them in a different directory.

Requirement:

1. SAP PO to pick up multiple .PDF files from source directory.

2. SAP PO to ZIP all the .PDF files and place a single .ZIP file in the target directory.

Can this be achieved without OS scripts in SAP PO ?

If so, How ?

Thanks in advance for your time and support.

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

2 Answers

Frederick-Claud Dimmer Jan 05 at 07:25 AM
1

Hi @Sam Anish!

In java mapping you create class that extends AbstractTransformation class. By default you should implement method "transform" that has parameters of type TransformationInput and TransformationOutput.

Using these parameters you can get access to main payload and attachments.

Regards, Frederick

Share
10 |10000 characters needed characters left characters exceeded
Xavier San Sebastián Jan 15 at 09:58 AM
1

It's possible using a NWBPM (I supose that you are in single stack). You can't handle all pdf files in a single SAP Message. You should do the typhical ccBPM with a timeout followed by a javamapping to zip them.

Share
10 |10000 characters needed characters left characters exceeded