Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Subforms: Dynamic column header texts are NOT displayed

Avatar

Level 1

I have 2 subforms for a table as header(columns) and body(rows).

During overflow of data into the next page, column headers are displayed along with the body rows.

Problem is, only the static texts(as column headers) are displayed NOT the texts which am bringing dynamically to column headers.

Would appreciate any help regarding this issue. Thanks.

I have done the below Design settings:

ParameterColumn(header)Row(body)
AccessibilityHeaderrowBodyrow
Object->subformPositionedFlowed(Checkbox 'Allow page break
within content' is active)
Object->Pagination->Overflow leader-< Column Subform name>
Object->BindingBound to table's column
data
Bound to table's row data

-Swami

10 Replies

Avatar

Level 8

How are you bringing the text into the column headers dynamically?

Avatar

Level 1

First, i must mention that this problem is in SAP context.

I have internal tables(for columns & rows) with data which am binding separately to the relevant subforms.

Subform in turn has fields for each cell of column & row.

Problem is, only the static texts are overflowed to subsequent pages and not the dynamic texts which appears only in 1st page.

I posted this query in SAP SCN forum too. Please have a look for details:

http://scn.sap.com/thread/3205664

Thanks,

Swami

Avatar

Level 10

Hi,

what is the dynamic part of your header?

Do you use any scripts? If so, which and in what event?

Avatar

Level 1

Column header <texts> are the dynamic part. I mean, this is not statically defined in LCDesigner instead brought from bound internal table data.

I do not know any JS coding and didnt use in this form. We do the coding in SAP ABAP lang and use LCD for form designing.

Avatar

Level 10

Hi,

sorry but I don't understand how your header is designed.

Is it a text object with a floating field?

Avatar

Level 1

Yes it is a text field bound(mapped under 'binding' tab) to a data source. So data comes over to the header column(text field) during runtime.

Avatar

Level 1

Hi radzmar,

Did you get my req.?

Hope i communicated clear.

I still do not know the where abouts of these column header texts now

while we(not jus me) saw the output in sandbox system. 

Since am the one who did the design changes in sandbox, still i dont know what i missed in Dev system though.

Please revert back if you could find anything that can help me.

Thanks,

Swami

Avatar

Level 10

Hi Swami,

I'm still trying to figure out, how to solve this issue.

May take a while. I'll will leave my feedback asap!

Avatar

Level 10

Hi,

what's the expression you use in the Binding tab? I.e: $.page.TextField[*]

Do you want all headers to show the same value on all form pages?

If so, you need to remove the Accessor [*] from the binding expression.

Avatar

Level 1

Radzmar, Thanks.

Wel, i have bound the columnHeader subform to the table where my headertexts are loaded, while the individual cell(under subform ie.,textfield) is been mapped to each field of table.

And to your second question, it depends.

In my form, even some columns are added dynamically, so these columns inclusive must appear in output, so columns are not always the same in all form pages.

Thanks again,

Swami