Quite often, real time SAP XI/PI interfaces involve dynamic configuration which will originate from source system using a sender adapter and during mapping program we manipulate dynamic configuration what is required by target systems. It is also possible there can be sequence number validation/generation in XI during mapping stage. Any mapping errors occurring for such scenarios in production needs to be simulated in quality system end to end to understand the error behavior and its remediation. The testing might involve various teams e.g., source, XI/PI, target system teams etc.. in quality system. This is basically a time consuming process. With classical RWB test message tool we can send message to Integration Engine but there is no provision to include SOAP headers or attachments. One way to test such mapping errors in quality system is using interface mapping by changing the corresponding message mapping to temporarily accommodate static dynamic configuration values.
The below concept will help you in testing at least some such situations without having a source system sending the message. We all know that using SOAP client (SOAP UI) we can post the messages to Integration Engine. Please refer Stefan’s blog “Using the SOAP inbound channel of the Integration Engine” : http://scn.sap.com/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integra... .
What all things we require for simulation?
Sample SOAP Header with dynamic configuration for file adapter,
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">bin</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">\\rootdir\xyzfolder</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">1024</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">xyz011.xml</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileTimestamp">20120330T115514Z</SAP:Record>
</SAP:DynamicConfiguration>
</soapenv:Header>
<soapenv:Body>
PAYLOAD DATA HERE
</soapenv:Body>
</soapenv:Envelope>
SOAP UI Tool
Message in XI
Similarly, we can try with dynamic configurations related to other technical adapters.
Created an idea to have this feature in standard RWB test message tool. Link: https://cw.sdn.sap.com/cw/ideas/9909
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
37 | |
10 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 | |
2 |