Skip to Content

Save Interactive form to SAP

Hi All

I have a requirement where we display an interactive form in a web dynpro. The user captures some information and on submit I need to save the interactive form (i.e. the file) as a notification attachment in QM02.

I'm not sure if this is possible and if not, what is the best way of saving an interactive form in SAP.

Thanks in Advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2010 at 04:20 PM

    Hi Thomson,

    You recieve XSTRING data on submit in Web Dynpro node.

    You can save that XSTRING data.

    To view again the same data in PDF bind that XSTRING data to the Node again and open the form.

    Regards,

    Nawal Kishor Mittal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 15, 2010 at 07:09 AM

    Thanks Nawal

    What I am trying to do is save and update the Interactive form as a notification attachment. I convert the xstring data to binary and store the form as an attchment using fm SDOK_PHIO_STORE_CONTENT and this works. I can read the binary data, convert it to xstring and display the adobe form on the portal.

    But when I want to update the binary content in SAP with any changes, I use fm SDOK_PHIO_STORE_AS_UPDATE. This also seems to work but when I try to display the updated document on the portal, it says the file is damaged and could not be repaired.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.