cancel
Showing results for 
Search instead for 
Did you mean: 

Initial count of dynamic table does not work

Former Member
0 Kudos

Hi,

I am working with offline Interactive Form.

In transaction SFP, I design a form with dynamic row and set the initial count to 3. In preview screen it shows 3 lines. I develop a program to generate the pdf and save it to local drive.

When I open the file from the local drive, it shows only 1 line. the property of initial count does not work.

Other functions work well, I can add and delete rows. The only problem is the initial line. Why

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Yang,

Are you passing data to that table? If yes, please check if the no of data passed to that Internal Table is one.

Regards,

Mathan

Former Member
0 Kudos

Hi, Mathan.

I tried to pass data to the internal table, the number of table rows in pdf is the same as the count of the internal table. the initial count does not work. If I didn't pass data, the number of table rows in pdf is the min count of table.

Former Member
0 Kudos

Hello Yang,

When the internal table is bound with data the intial count is overridden and always you would get the no of rows similar to the no of line items passed via the interface.

Regards,

Mathan

Former Member
0 Kudos

Hi, Mathan. Thanks for your explanation.

I added below script code to the initialize event of the table:

Table1._Row1.setInstances(3);

Then I got 3 initial lines of table when I open the PDF from local driver.

Answers (0)