Skip to Content
avatar image
Former Member

How can I get XSTRING of a pdf in WD4A in coding?

Now, what I have are a form, a interface(created in WD automatically) and data in context. With the interactiveform UI element I can get a xstring with above things. But here is the question, how can I get a xstring in coding directly, which is the same as the xstring created by interactiveform ui element? Is it necessary to develop another interface?

Edited by: Yichao Sun on Sep 25, 2008 10:22 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Sep 25, 2008 at 01:35 PM

    Create a Context Attribute of type xString

    and bind it to the PDFSource property of the interactive form.

    When you use, WD submit to SAP button on the form, you will get the xstring returned by the form in the attribute bound to the pdfsource property.

    Reema.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2008 at 02:28 PM

    Can I generate the PDF XSTRING in background?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 26, 2008 at 02:38 AM

    Originally, I have a pdf showing in the WD view and offer users to download it. But now, it doesn't need to be show. What I want is only a pdf xstring and make it a attachment.I have all the things such as interface ,pdf form, which I used originally, I wonder how can I get the xstring with prefill data directly with as little as possible work.

    Must I use the job open ...call PDF function...job close? If to do so, do I need to create a new interface or something?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 19, 2009 at 10:54 AM

    finished

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Mr YinChao,,

      Can you please post a solution . I'm struggling with a similiar problem.

      Thankx and Regds,

      Srini