cancel
Showing results for 
Search instead for 
Did you mean: 

Can't add table row dynamically using webdynpro

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi guys,

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

Answers (5)

Answers (5)

Former Member
0 Kudos

Nobody have met this problem?

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

Hi jayaprakash,

I've tried this, but nothing happend.