Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    how to recognize an empty segment and not output data

Read-Only Read-Only Topic
Go
Search
Notify
Tools
how to recognize an empty segment and not output data
 Login/Join
 
Member
posted
First of all, I am new to iway and the transform mapping process.

my question is about how to recognize an input data segment and or fields as being empty (thinking about the 'null' and then not output any data.

in other words, if an sap idoc segment had data present then output that data else if the sap idoc segment does not have any data then output nothing.

when the segments are empty my transform is still outputting empty data that just takes up room and makes the entire process inefficient when you are looking at processing thousands of segments


iWay 5.5 smsp1

windows 2003
 
Posts: 6 | Registered: October 19, 2007Report This Post
<Pete Webster>
posted
You can do this globally for the entire output document or locally by element or parent.

Global: Output items properties > Data tab > Optimisation. You can set to remove empty tags, this will reduce the size of your output document

Local: Right click on the element or parent > properties > Filter tab. You can set some conditional logic here so if it returns true you define the action as ‘show’ or ‘hide’.
 
Report This Post
Member
posted Hide Post
We've handled the problem in the actual process and not in a transform. If you prepars all inputs to XML, as recommented, in you process then you can and a desition switch using XPATH that will route the input document to a set flow or to not continue processing the document if a speicifc filed is NULL.

If you are processing standard documents you can block them from the listener by adding Document rules under the document section. This is all in the Programmers manual.
 
Posts: 16 | Location: Cape Town, South Africa | Registered: July 03, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    how to recognize an empty segment and not output data

Copyright © 1996-2020 Information Builders