Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to binding the same Data View Table item in several tables - SAP Cloud

Avatar

Avatar
Level 1
RenatoFraga1
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
RenatoFraga1
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
RenatoFraga1
Level 1

12-02-2021

Hello Experts,

I need to create an Adobe for Billing Document in SAP Cloud, with a items summary in the first page, and each item details in each next pages. So i will have to print Items table twice or more.

 

So, i am trying to binding the table for a first time in the first page and another time in the next page, doing page breaking by item. I tried to do a simple binding twice, but in the second page the table was printed as blank, it only print the content of table once, in the first time/page.

 

How can i binding the same table twice?

And how can i page break from second page now on, by FIELDS CONTENTS?

 

Remembering: it is for SAP Cloud, so, no interface option, and no chance to do some abap work before. I can only use LiveCycle resources && || javascript.

 

Forms Scheme nodes:

 

PrincipalFirstPage (Page - binding: $.BillingDocumentsNode)

---|formSummary (subform)

-----|table_Items (table binding first time - binding: $.Items)

-------|rowBillingDocumentItem(row - binding $.BillingDocumentItemNode[*])

---------|Material                    (field - biding: $Material)

---------|Material Description (field - biding: $.BillingDocumentItemText)

---------|Amount                     (field - Calculated)

 

 

NextPage (Page2 - binding: $.BillingDocumentsNode - AGAIN)

---|formSummary (subform)

-----|table_Items (table binding first time - binding: $.Items - AGAIN)

-------|rowBillingDocumentItem(row - binding $.BillingDocumentItemNode[*])

---------|Material                     (field - biding: $Material)

-------|rowBillingDocumentItem(row - binding $.ItemPricingConditionsNode[*])

---------|ConditionType           (field - biding: $.ConditionType)

---------|ConditionTypeName (field - biding: $.ConditionTypeName)

---------|ConditionAmount      (field - biding: $.ConditionAmount)

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

132 likes

Total Posts

311 posts

Correct Reply

87 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

132 likes

Total Posts

311 posts

Correct Reply

87 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Kosta_Prokopiu1
Employee

16-02-2021

Using the same data in an XML for >1 dynamic table in a form will not work as the data gets "consumed" by the first table and will not reset.

 

That is actually as designed. The data you use in your form gets consumed sequentially, once you are through (by rendering the original table) there is no way to "go back".

Simply coping the table design will not work. You will have to use scripting which force feeds the data into the second table OR you duplicate the data in the XML under a second tag which is then assigned to your copy. The second is a bit clunky, the first requires scripting skills.

A sample of how the coping could be done:

https://acrobatusers.com/forum/forms-livecycle-designer/how-duplicate-table-form-another-table/

Answers (0)