Dynamic Table not working.
I have an issue with Dynamic Table.
I am working on Offline Interactive Form.
From transaction SFP I designed my form with dynamic row functionality.
In preview screen I am able to add or remove rows but when I generate the pdf file using the function fm_name the pdf is getting generated and I am able to save the pdf to my local drive.
CALL FUNCTION fm_name EXPORTING /1bcdwb/docparams = fp_docparams z_purchaserequisition = IT_PR IMPORTING /1bcdwb/FORMOUTPUT = fp_formoutput EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4.
When I open the file from the local drive and try to add a new row, it is not adding (I think the new row is overwriting the older row).
The hirearchy is as follows:
--SUBFORMS - Position Content
---Table1 - Flow Content / Table
HeaderRow - Flow Content / Header (will have all table heading) -
Row1 - Flow Content / Table row (holds text box for table row)
Do I miss any thing. Also I read in one of the posting that the dynamic pdf property needs to be enabled. I have selected the Dynamic form option from Edif->form property->default. Is that enough or do I need to add some code for that while generating the pdf.