Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

After reading blog’s heading many of you might say – not again :wink: , but don't worry I am not going to explain XML validation and how to use it because it's already very well documented in numerous blogs.

The objective of this blog is to show how the modes of processing step "BI" (of Staging/logging) in PI7.3x (AAE) would impact archiving of erroneous files in case of sender FTP/NFS scenarios under "Archive" or "Error" directory when XML validation gets failed. For more details about staging and logging, refer below blog:

Message Staging and Logging Options in Advanced Adapter Engine of PI 7.3x

So let me show you how XML file validation behaves when we change modes of "BI" from ICO i.e. interface specific staging.

Note - I am using PI7.31 SP09 (PO), so the modes of processing steps can be modify either from NWA globally or directly from ICO using scenario specific staging/logging (depends upon PI version). But just to keep things simple i will be changing "BI" modes from ICO but the functionality shown below will behave in same manner even if we change "BI" modes from NWA globally.

For testing purpose, i have enabled XML validation in ICO and validating file against below structure created in PI:

and File adapter settings are as below:

A) Mode of "BI" is set to "Store":

The logical flow at runtime will be:

a) Sender file adapter will pick XML file and archive the same.

b) And then XML message will be validated against its corresponding XSD.

Error logs: Schema validation error logs can be viewed at PI's message monitoring level.

File is archived under "Archive" folder:

B) Mode of "BI" is set to "None":

The logical flow at runtime will be:

a) Sender file adapter will pick file and validate it against its XSD.

b) Depending upon the schema validation results file will either be send to archive or error directory.

Error logs: Mode of "BI" is set to "None", so schema validation error logs will be generated at sender adapter level.

File is dumped under "Error" folder:

References:

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/da/760a67857342d090199dd29a4ae343/content.htm

Message Staging and Logging Options in Advanced Adapter Engine of PI 7.3x

Labels in this area