cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice data - IDoc and PDF in one single message

rosiesasidharan
Explorer
0 Kudos
1,150

Hello,

We have a requirement to send invoice data from SAP ECC as a single XML to external partner. This XML should contain the IDoc XML data along with the base-64 encoded PDF data.

We are aware that the IDoc can be sent through the ABAP connection and the PDF through ABAP proxy connection from SAP ECC to SAP PI. SAP PI receives these 2 messages and uses a cc-BPM to co-relate these messages and formulate a single output XML.

However, due to performance issues of cc-BPM threads waiting to be co-related, we would like this to be done from SAP ECC itself. Wanted to know if anyone you had the experience of generating an ABAP proxy message from SAP ECC containing both the IDoc and encoded PDF data?

Posting this here, since I thought of getting an opinion from SAP PI experts before reaching out to ABAP folks.

Thanks in advance for your replies,

Rosie Sasidharan

View Entire Topic
rosiesasidharan
Explorer
0 Kudos

Thanks Udo and Martin for your responses.

We have decided to go for the 2nd option mentioned by Martin.

  • Provide a service (SOAP/HTTP or via SAP Content Server) for retrieving the PDF, e.g. by billing document number. Send the IDoc as usual to PI. In a java mapping step, do a SOAP lookup to fetch the PDF.

Thanks,

Rosie Sasidharan.