Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Interactiove Form - Hide Table on Button Click

Hi all,

I have a form with following layout.

subf_Main -> flowed
  subf_Button - >Flowed - Having a button
  subf_Header ->Flowed - Having some fields
  subf_Full_Version ->Flowed - Having a table (tbl_Full_Version) 
  subf_Print_Version->Flowed - Having a table (tbl_Print_Version)

Now on click of button, I have written the following script:

data.subf_Main.subf_Full_Version.tbl_Full_Version.presence = "hidden";
data.subf_Main.subf_Print_Version.tbl_Print_Version.presence = "visible";

But when I click on the button in the PDF Preview, nothing happens.

I have created a test program to test the PDF. I have 11 records in the internal table bound to both the tables. However in Print preview, I can see the first record in tbl_Full_Version and the second record in tbl_Print_Version.

I want to see all the 11 records in both the tables.



Not what you were looking for? View more on this topic or Ask a question