Further custom analysis types can be added to standard out of the box ShiftLeft analyzers to allow customer specific functionality to be implemented.

In order to do this the relevant analysis table entries need to be maintained in:

  • /BTI/TE_ANLTYPE
  • /BTI/TE_ANLTYPEP
  • /BTI/TE_ANREASON
  • /BTI/TE_ANREAS_P
  • /BTI/TE_ANRELINK

It is recommended to number any custom analysis types and reason codes starting with a ‘9’ to distinguish them from standard ones and to prevent them from being overwritten during upgrades. E.g. 9001

To implement an analysis type one of the standard TE analysis function modules should be copied to a Z version so the framework and parameters can be copied and utilised.

The recommendation is to copy function module /BTI/TE_ANALYSIS_CHECKDATE as this utilises analysis parameters and custom field processing both of which are likely to be required in any custom analysis types.

Once the table entries and function module are available they will appear for use within the Transport Expresso configuration alongside the standard TE ones.

Procedure
The activities must be done in the TE Domain Controller.

Create the function module.
Use an existing function module and copy it to your own namespace.
This will give you all the required import and export parameters.

Maintain the tables
Enter a new line in the table /BTI/TE_ANLTYPE using transaction SE16.
All custom entries must begin with a ‘9’.

Example:

Enter new lines with parameters in table /BTI/TE_ANLTYPEP (optional).
The parameters can be referred in your function module source code.

List of parameter types
01 BOOL TRUE or FALSE
02 COMBO Combination
03 COMBOLIST Combination list
04 DATE Date value
05 STRING String value
06 MEMO Multi-line
07 NUMERIC Numeric value

Enter a new reason in table /BTI/TE_ANREASON (optional).
Unique identifier of the reason code must begin with Y or Z.

Assign the reason in table /BTI/TE_ANREAS_P.
This connects the reason code to the analysis identifier.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment