IDocFormat Publishing Mode
The IDocFormatPublishingMode example shows how to use the adapter for sending and receiving IDocs without any significant mapping. This is useful in cases where there are systems or applications that understand the SAP IDoc format.
In addition to demonstrating the usage of the IDocFormat publish mode, this example also shows the usage of JMS properties for the Publication Service service and the IDoc confirmation for the Subscription Service service.
This example contains four processes, ReceiveIDocFromSAP, SendCREMASToSAP, SendDEBMASToSAP, WaitIDocConfirmation. The configurations of the SendCREMASToSAP and SendDEBMASToSAP processes are the same except for the IDoc type.
Then, the SendCREMASToSAP or SendDEBMASToSAP process is triggered. The received IDoc is published back to the SAP system.
Finally, the WaitIDocConfirmation process is triggered to wait for the IDoc confirmation message report after the Subscription Service service receives the IDoc.