cancel
Showing results for 
Search instead for 
Did you mean: 

[CPQ] Conditions in Document Generation Templates

0 Kudos
606

Dears,

I have a problem with conditions in Document Generation Templates. I found information in SAP Help Portal but I do not understand how to create a condition I need.

Customer requirements:

Phrase: Subject: price quotation for CustomFieldABC should only be visible on printouts if CustomFieldABC is not empty. If it is empty, we want to delete this line (client doesn't want empty lines in printouts).

I saw that there is list of Tag Condition but I do know where to put them (and how to create condition with those tags).
Examples could be useful, but any of them work: Example Templates

Do you have any idea how to create such a condition or do you have access to examples so I can check the construction of these conditions?

Thanks in advance!

Paweł

Accepted Solutions (1)

Accepted Solutions (1)

patrick_latour3
Explorer
0 Kudos

Hi Pawel,

If this is not in a table, you should use something like:

<<Q_TAG((<*CTX( Quote.CustomField(CustomFieldABC) )*>),=D>>

This will delete the whole line.

Thanks,

Patrick

0 Kudos

It works!

Thanks.

Answers (0)