cancel
Showing results for 
Search instead for 
Did you mean: 

Zip-file to IDOC/file

Former Member
0 Kudos

Hi

I have a possible scenario here which I do not know if is possible using standard PI (7.0). Can this be done, and especially can this be done without using BPM?

1. I receive a zip-file containing 1 XML-file (invoice) and n-image files

2. The XML-file should be mapped to an IDOC and sent to SAP using an IDOC-adapter. The image-files should just be placed in a folder using a file adapter.

Is this possible?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You need to write Java Mapping to Unzip the file and write the extracted files on the File Server.

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Yes I have read that blog earlier.

But I don't see how I can assure that only the XML-file will use the mapping I define, and is sent to the IDOC adapter, and the other files to the file-adapter.

prateek
Active Contributor
0 Kudos

Interface determination step would ensure the correct usage of the structures.

Can't u configure separate scenarios for file to idoc and file to file (image).

Regards,

Prateek

prateek
Active Contributor
0 Kudos

Yes, this is possible without BPM.

For unzipping the incoming file, u may use the adapter module at source file adapter.

Now for other requirement, u just have to configure multiple receiver determination steps.

Regards,

Prateek