cancel
Showing results for 
Search instead for 
Did you mean: 

pdf with dynamic filled table remains empty after sending it with submit

Former Member
0 Kudos

We have the scenario of an offline Interactive form. It contains dynamic tables which are filled using a webservice call.

It works fine.

At the end the form should be sent via email using the submit button. The pdf is sent as an attachment.

If the receiver opens the mail and the attachment, all data is gone.

How can you sent the form keeping structure and data content?

Thanks for any help,

Michael

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Michael,

This is a known issue of Adobe Interactive forms. If you search the forum, you will get many answers for this.

Anyway, to solve this problem, the dynamically created rows in the Adobe form have to be bound back to the context. Then you have to download the form again before being send it as an attachment.

[|]

Thanks & Regards,

Sanoosh

Former Member
0 Kudos

Thanks,

but we aré in a pure offline scenario. There is no WD ABAP involved. The form is filled using web service calls.

So, I cannot use any solution in the ABAP stack.

Solution in JavaScript?

Former Member
0 Kudos

Hi Michael,

Just think of this...you have a field which is bound to a data source, which mean it will display the data from the data source.

In your case when the form is loaded with webservice you got data to the field and thus its visible.

Now when you send it to the client, he opens it, the webservice is not executed and thus the data source is empty and the field as well.

So now on form load, call/execute the webservice and then set the value.

So irrespective its open in your system, at client's system (email receipent) the web service is executed and respective data is populated to the field. (provided they are connected to internet & the webservice is accessable)

If its like once the data is fetched from the webservice you alter that data before sending to the client.

Then you make sure you have data from the source in one field, and then process the changed data into other fields.

Also when you are using web services it doesn't matter how it was implemented, WDJ/WDA, online or offline.

Hope this makes it clear for you.

Chers,

Sai

Former Member
0 Kudos

I've had a similar problem, in which tables or table fields that weren't bound to any data, weren't saved at all (I just had to save it as a file, with no need to read the data later). I just bound all the data to context tables, and now it works.

Is your table bound, using data binding?