cancel
Showing results for 
Search instead for 
Did you mean: 

Unzipping & zipping of a file

Former Member
0 Kudos

Hi All,

Could someone tell me how to unzip the incoming file and zipping the outgoing file in XI?

Regards,

Ashish

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

U may use the adapter module for this purpose.

Regards,

Prateek

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ashish,

For Zipp & Unzip there is an XI module availbale like PaymentLoadZip module I am not sure abt this name but you can search this module and then add in your adaptor modules with specific parameters like zip or Unzip and then u will get the required functionality of Zip and UnZip

There is a blog by Stefen Grube where he has explained abt it

hi just found out the link in help.sap.com its mentioned below :

ttp://help.sap.com/saphelp_nw04/helpdata/en/45/da9358a1772e97e10000000a155369/frameset.htm

Module name :PayloadZipBean

Regards

**Grant points if info is helpful

Message was edited by:

Amit K Singh

Former Member
0 Kudos

Hey Ashish,

I havn't tried this but as suggested by RAJ you can specify the OS command in Command line of the Run Operating System.

Follow the steps.

<b>Run Operating System Command</b>

1) <b>Command Line</b> : Specify the Operating System Command to be Executed

2) T<b>imeout</b> : Specify the time out Duration.

3) <b>Terminate After Time out</b> : Set this indicator if you want to terminate program once time out exceeds else program will keep executing in the back ground.

**<b>Note</b> some OS default provides program for Zip/Unzip ex: XP. If you are using external program lyk Winzip then you need to find out the command executes at the OS level.

Further reference <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm">Sender File Adapter</a> , <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm">Receiver File Adapter</a>

Writing a Adapter Module is gonna be other way out.

Cheers,

*RAJ*

*REWARD POINTS IF USEFUL*

Former Member
0 Kudos

Hey Ashish,

I havn't tried this but as suggested by RAJ you can specify the OS command in Command line of the Run Operating System.

Follow the steps.

<b>Run Operating System Command</b>

1) <b>Command Line</b> : Specify the Operating System Command to be Executed

2) T<b>imeout</b> : Specify the time out Duration.

3) <b>Terminate After Time out</b> : Set this indicator if you want to terminate program once time out exceeds else program will keep executing in the back ground.

**<b>Note</b> some OS default provides program for Zip/Unzip ex: XP. If you are using external program lyk Winzip then you need to find out the command executes at the OS level.

Further reference <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm">Sender File Adapter</a> , <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm">Receiver File Adapter</a>

Writing a Adapter Module is gonna be other way out.

Cheers,

*RAJ*

*REWARD POINTS IF USEFUL*

justin_santhanam
Active Contributor
0 Kudos

Ashish,

I think you have to use the OS Commands at sender /receiver adapter to achieve the same.

Best regards,

raj.