Skip to Content
author's profile photo Former Member
Former Member

Can't add table row dynamically using webdynpro

Hi Experts,

We're now using Adobe PDF as our form, and we designed the form by Adobe Lifecycle Designer 10.4.0, and embedded it in webdynpro for java(NW7.4).

We're facing a problem that, I can add a new table row dynamically in Preview:

(The left button is a Standard button, and the right button is a WebDynproNative button. Both table has initial 1 row.)

but we can't add a new row after deployed:

Does anybody what's the matter?? Any suggestions are appreciate.

preview.jpg (92.8 kB)
runtime1.jpg (91.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2013 at 01:20 PM

    Hi guys,

    This problem was solved. Refer to http://scn.sap.com/thread/1196116

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2013 at 11:29 AM

    Hi.

    just check once row properties. make it as min count 1 max count 6 .

    or pass interface level sfppardocs-dynamic = x.

    Thanks and regards

    jayaprakash

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2013 at 05:51 AM

    Hi.

    as

    1) just change the form properties as Acrobat 7 (static) to Acrobat 7 (dynamic)

    2) change the row properties as above screen like that.

    3) if it not working then pass interface level sfpdocparams-dynamic = 'X'.

    Regards

    jayaprakash


    Capture1.PNG (70.7 kB)
    Capture2.PNG (48.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi jayaprakash,

      I've tried 1) and 2), but the situation still happens. And I'm using NWDS to develop webdynpro application, not ABAP, so I don't know how to set Adobe Form dynamically using Java code.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2013 at 06:03 AM

    Hi,

    Could you please add below code in WDDOMODIFY method of the view and let me know.

    Data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,

    LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.

    check first_time = abap_true.

    LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'INTERACTIVE_FORM_1' ).

    LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.

    LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).

    Where 'INTERACTIVE_FORM_1' is the name of Interactive form element.

    Best Regards,

    Abirami

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2013 at 12:50 AM

    Hi guys,

    Just want to add more explaination to my question.

    I can add a new row in Preview or in offline PDF form, but I can't in IE(deployed). And when I use row1.instanceManager.count to get the row number of the dynamic table, it'll increase if I add a new row.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2013 at 11:21 PM

    Nobody have met this problem?

    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.