cancel
Showing results for 
Search instead for 
Did you mean: 

Review & Comment in WDABAP online Interactive form

Former Member
0 Kudos

Hi,

How to enable "Review & Comment" option in Interactive form which created in WD ABAP? When I execute the form from SFP through form FM, Review and Comment option is coming,. But the same form when I execute through WdABAP online interactive form then Im not getting that option.

Regards,

Ravi.D

Edited by: Ravi Devarasetty on Jan 7, 2009 1:42 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Guys,

The following is the response from SAP:

*******************************************************************************

From WebDynpro ABAP, PDF will be generated as Dynamic PDF.

In case of DynamicPDF, commenting is not allowed.

Preview from SFP, is static PDF.

I copied Designer Help file.

>>Unavailable commands for dynamic forms in Adobe Reader

>>When a PDF form is opened in Adobe Reader, some Adobe Reader

>>commands that are available for static PDF forms are not >>available

for dynamic PDF forms. The reason is because the

>> final layout of the form can change the position of objects,

>>which in turn affects the number of form pages.

>>The following Adobe Reader commands are available for static

>>PDF forms but not for dynamic PDF forms:

>>? Comment & Markup tools

>>? Import Comments and Export Comments

>>? Insert Pages, Extract Pages, Replace Pages, Delete Pages,

>> Crop Pages, and Rotate Pages

Former Member
0 Kudos

Hi Ravi,

Please check whether Enabled property of the UI element has been checked or not.

If it is checked then we get such options.

Hope this helps you.

Regards,

Shashikanth. D

former_member188831
Contributor
0 Kudos

Dear Ravi,

basically why you ar not getting the "Review & Comment" reason is you pdf is not coming in interactive mode when you execute wda.

for that please add the below code in WDDOMODIFYVIEW

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('<FORMNAME>'). "give the formname within '-----'
  lr_method_handler ?= lr_interactive_form->_method_handler.
  lr_method_handler->set_legacy_editing_enabled( abap_true ).

activated and execute the application and check

cheers !!!

all the best.

Thanks,

Mahesh.Gattu

Edited by: Maheshkumar gattu on Jan 7, 2009 4:16 PM

Former Member
0 Kudos

Hi Mahesh,

I tried this but im getting following error:

Access via 'NULL' object reference not possible.

It is not able to find the form which I'm mentioning in get_element( 'ztest' ).

Any thing else I need to do?

Regards,

Ravi

Edited by: Ravi Devarasetty on Feb 24, 2009 6:03 PM

uday_gubbala2
Active Contributor
0 Kudos

Hi Ravi,

I hope that you are passing the form name in upper case to the get_element method.

Regards,

Uday

Former Member
0 Kudos

Hi Uday,

Im passing the form name in Upper case only.

If I pass the view name I'm not getting error, it is displaying form but no comments option i coming.

If I give form name which I used in my View, it is the error.

Regards,

Ravi