on 2024 Feb 14 11:52 AM
Dear SAP Community,
My today's riddle is about the usage of the quote table tag in CPQ 2.0 Template documents.
Use case: I receive in a quote table a list of pdf file names I have to add into my quote template document.
This list can be different from quote to quote.
The files are already loaded in the Content Management Files section of CPQ.
Now I want to add the respective files to my document with document tags depending on whatever is listed in the quote table.
I made already first tests with the Table Tag but they haven't been successful:
<<QUOTE_TABLE(Datasheets)>>
<<QUOTE_TABLE_HEADER>>
Datasheet
<<QUOTE_TABLE_HEADER_END>>
<<QUOTE_TABLE_ROW>>
<<Q_TAG_FILE(<<QUOTE_TABLE_COLUMN(Datasheet_File_Name)>>)>>
<<QUOTE_TABLE_ROW_END>>
<<QUOTE_TABLE_FOOTER>>
<<QUOTE_TABLE_FOOTER_END>>
<<QUOTE_TABLE_END>>
# 2 ###########################
<<QUOTE_TABLE(Datasheets)>>
<<QUOTE_TABLE_HEADER>>
Datasheet
<<QUOTE_TABLE_HEADER_END>>
<<QUOTE_TABLE_ROW>>
<<Q_FILE_STATIC(<<QUOTE_TABLE_COLUMN(Datasheet_File_Name)>>)>>
<<QUOTE_TABLE_ROW_END>>
<<QUOTE_TABLE_FOOTER>>
<<QUOTE_TABLE_FOOTER_END>>
<<QUOTE_TABLE_END>>
# 3 ###########################
<<QUOTE_TABLE(Datasheets)>>
<<QUOTE_TABLE_HEADER>>
Datasheet
<<QUOTE_TABLE_HEADER_END>>
<<QUOTE_TABLE_ROW>>
<<Q_FILE(<<QUOTE_TABLE_COLUMN(Datasheet_File_Name)>>)>>
<<QUOTE_TABLE_ROW_END>>
<<QUOTE_TABLE_FOOTER>>
<<QUOTE_TABLE_FOOTER_END>>
<<QUOTE_TABLE_END>>
I have also checked the Additional Content Functionality in the Document Template Setup. I found no solution to add a dynamic created list into a entry. I can always just provide one file entry in one field.
I also can not use the Quote Items list and its C2 Loop for it because there would not always be a 1:1 relationship.
How could I achieve such a loop as I tried to describe?
I have a plan B but finding a solution for the described approach above would be connected with much less effort.
P.S: The content format could also be changed.
Look forward to your reply 🙂
Request clarification before answering.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.