cancel
Showing results for 
Search instead for 
Did you mean: 

Form field values cleared on SAVE in ZCI form upload functionality

mona_mehta
Participant
0 Kudos

Hi,

Please advise on the following case:

we have migrated our ACF form to ZCI layout. The online functionality works fine

In case of Upload(offline form being uploaded), the PDF is shown correctly, but when i press SAVE button (this is defined outside the form in the webdynpro), after some action, all values from the form are cleared.

On the contrary, if i do a single action e.g change a value on the form, and then press save, the saving is successful.

I am not able to understand, why this is happening.

Could you please give your suggestions.

Thanks in advance

Mona

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

When you are uploading the offline PDF file use transferPDFDataIntoContext(byte[] pdfSource, IWDNode targetNode) method to extract data from a PDF document and copies the values into the Web Dynpro Context. You can find this method in com.sap.tc.webdynpro.clientserver.adobe.api.WDInteractiveFormHelper class.

Regards,

Sudip

mona_mehta
Participant
0 Kudos

Thanks Sudip.

This solved my problem.

I have awarded you the points.

Regards,

Mona

Answers (0)