Print Alternative Fields
Hello,
we are using Bartender with SAP Idoc interface.
I have to design a label field which should alternatively print field a (E1EDL20-vbeln) or field b (E1EDL20-lifex)
If field b is filled, then field b should be printed, otherwise field a.
Thank you for support.
-
Permanently deleted user
★ BarTender Hero ★
In version 10.1, you can add both data sources to the same text object, and then using the Suppression transform, set a condition on the one you want to hide like "Suppress when <E1EDL2--vbeln> is not empty".
Versions older than 10.1 don't have those kind of conditions built-in to the UI, you would probably need to write a VB Script for it. In that case you could use field B (E1EDL20-lifex) as your data source, and then apply a VB Script Transform to it sort of like this:
If Value = ""Value = Field("E1EDL20-vbeln")EndIfI didn't try this with your exact situation but hopefully it points you in the right direction.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar