Text Line Filter hook
Use this hook to define the text line filter of the specified text field.
Example: skip text lines with the text '<Internal>':
function extern tdsls400.txta.filter.text.line()
{
| Set lattr.print to true or false and/or adjust lattr.prline.
| By default lattr.print = true
if pos(lattr.prline, "<Internal>") > 0 then
lattr.print = false
endif
}
Example: replace the text '<BPN>' with the name of the business partner
function extern tdsls400.txta.filter.text.line()
{
| Set lattr.print to true or false and/or adjust lattr.prline.
| By default lattr.print = true
lattr.prline = str.replace$(lattr.prline, "<BPN>", tccom100.nama)
}