Skip to Content
0
Former Member
Aug 04, 2008 at 08:42 AM

Doubts in the program

11 Views

Hi,

I got a few doubts in my program to display the top of page using OOPS.

IF o_html_cntrl IS INITIAL.

CREATE OBJECT o_html_cntrl

EXPORTING

parent = o_parent_top.

ENDIF.

CALL METHOD o_dyndoc_id->merge_document.

o_dyndoc_id->html_control = o_html_cntrl. <---- what is the use of this statemnt*

  • Display document

CALL METHOD o_dyndoc_id->display_document

EXPORTING

reuse_control = 'X'

parent = o_parent_top

EXCEPTIONS

html_display_error = 1.

IF sy-subrc NE 0.

MESSAGE 'Error in displaying top-of-page' type 'I'.

ENDIF.

and while using class cl_dd_document how to change the FONT size while using the method ADD_TEXT

regards