cancel
Showing results for 
Search instead for 
Did you mean: 

Loading Invoice XML IDoc with digital signature via XI into R/3

Former Member
0 Kudos

Hi,

I received an Invoice XML IDoc with digital signature via Mail (for test purposes) and want to load it via XI into an R/3 systeme.

My idea is to load the Invoice XML IDoc file via the File Sender Adapter into XI and send it to the R/3 system via the IDoc Inbound adapter.

Due to the digital signature the file looks like this:

0‚ S *†H†÷

 ‚ D0‚ @ 1 0 + 0‚ ' *†H†÷

 ‚ ‚  ‚ –0‚ ’0‚ û  etc.

When I load the file like this with the File Sender Adapter, an error message occurs in the XI Monitoring as the XML Parser cannot read the file due to the digital signatur (as expected).

Has anybody an idea how I can configure the File Sender Adapter Communication Channel to be able to load only the XML IDoc and ignore the digital Signature strings?

Thanks in advance for your support.

Alex

Accepted Solutions (0)

Answers (3)

Answers (3)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>>Has anybody an idea how I can configure the File Sender Adapter Communication Channel to be able to load only the XML IDoc and ignore the digital Signature strings?

you would need to do this in a mapping

(java or abap) if you want to proceed this way

but why don't use use sender mail adapter

that can check the digital signature in standard way?

Regards,

michal

MichalKrawczyk
Active Contributor
0 Kudos

BTW

do use the second way you need:

Security Settings for the Sender Mail Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/27/c0524257a1b56be10000000a155106/content.htm

and

Key Storage Service

http://help.sap.com/saphelp_webas630/helpdata/DE/e9/a1dd44d2c83c43afb5ec8a4292f3e0/content.htm

apart from adapter module config

Regards,

michal

Former Member
0 Kudos

Hi Michal,

thanks for your feedback. The idea is that we load the file via FTP into XI. In order to simulate this we received the message via mail and I simply put the file in our XI File directory in order to load it. In addition to the described file we received a VerifyLog-File in the mail which seems to contain the digitital Signature information. I am not sure if I need this to verify the digital signature or not.

Concerning your proposal to use a mapping, how can this work if XI cannot even parse the file into XML at all when loading it into the Integration engine?

Best Regards.

Alex

former_member192798
Active Contributor
0 Kudos

Hi Alex,

I was going thro' the File Sender and Receiver Adapters to find how to play with digital signatures:-

Go thro' this link and refer to "Deploying the SAP Java Cryptographic Toolkit".

http://help.sap.com/saphelp_nw04/helpdata/en/e1/091640a991c742e10000000a1550b0/frameset.htm

I hope this provides you a solution.

Regards.

Praveen

former_member192798
Active Contributor
0 Kudos