Skip to Content

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 05 at 07:25 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 15 at 09:58 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded