cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI 7.1 HTTP receiver adapter conversion problem

christian_pichler
Participant
0 Kudos

Hello!

I would like to send a EDIFACT file over HTTP to our partner. The problem is that I can not use any entries in the "module" tab to convert the EDIFACT XML message to a EDIFACT "text" message (X2E conversion normally made with help of Seeburger modules when using X.400, FTP,...).

Does anyone know how to send content other than IDocs over HTTP ?

Thank you for your help!

Regards

Christian

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Christian

You can try using the SOAP receiver adapter and set "Do not use SOAP envelope".

Rgds

Eng Swee

christian_pichler
Participant
0 Kudos

Hi!

Thanks a lot for your help! It worked!

Regards

Christian

engswee
Active Contributor
0 Kudos

Good to hear that!

Answers (1)

Answers (1)

christian_pichler
Participant
0 Kudos

Hello!

Now the partner receives the message in EDIFACT XML format. He should receive the message in EDIFACT "plain" (text format).

These are the modules I am using now:

Are there any other modules needed or do I have to change the order/position of the modules?

Thank you!

Regards

Christian

engswee
Active Contributor
0 Kudos

Hi Christian

The position of your module looks correct. Even the link below confirms it.

https://help.sap.com/saphelp_nw04/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm


In the receiver adapter, if you want to add your own modules to process the request message, you add them before the module specified below; if you want to add your own modules to process the response message, you add them after the following module:

sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

I tested this out with the module configuration below and it works fine.

From the audit log, you can see the BIC conversion is successful and the SOAP message successfully transmitted. I checked on the receiver side, and the EDIFACT flat file was received.

Can you add the "destTargetMsg" parameter = "MainDocument"? I think your BIC conversion is saving the converted document under a different attachment name, but the SOAP adapter is sending out the MainDocument (which is still the EDIFACT XML). This parameter should replace the MainDocument with the converted file.

Rgds

Eng Swee

christian_pichler
Participant
0 Kudos

Hi Eng,

thank you very much. The MainDocument setting solved my problems.

Have a nice day!

Regards

Christian

engswee
Active Contributor
0 Kudos

Good to hear that. Thanks for the update!

christian_pichler
Participant
0 Kudos

Hi Eng,

do you have a good documentation or howto for SOAP sender adapters?  I wondered why we received the message without valid sender agreement. Additionally I have to convert from EDIFACT to EDIFACT-XML.

Thank you!

Regards

Christian

engswee
Active Contributor
0 Kudos

Hi Christian

As this thread is already closed, can you open a new thread so that other SCN members can possibly chip in as well?

Can you also clarify exactly in the new thread what was the issue with the sender agreement and what your requirement is?

Rgds

Eng Swee

christian_pichler
Participant
0 Kudos

Hi Eng,

you are absolutely right - I created a new thread.

Regards

Christian