cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding Table fields works in Preview but not in Email attachment PDF

Former Member
0 Kudos

Hello Experts,

I am displaying data in tabular format in Interactive Adobe form. I have used the Javascript code "Ready:Layout" event of Internal table node. It is executed for every record of the table. It checks value of one field and accordingly makes other fields visible and invisible.

This is working fine when I execute it in Preview PDF mode within SAP SFP transaction. However, when I execute the main program and send this PDF as email; it does not work as expected and fields are always visible.

Kindly suggest solution.

Regards,

Nishad

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

We resolved this issue. Below are the steps followed for resolving -

1. Open Adobe form through SFP and go to Layout

2. Go to "Form Properties -> Server"

3. Uncheck both the checkboxes i.e. "Allow form rendering to be cached on server" and "Form requires Server side scripting/data binding"

JavaScript code started working as expected during client side rendering after this change.

Thanks,

Nishad

Answers (0)