Skip to Content
author's profile photo
Former Member

CALL METHOD DOCUMENT->ADD_TEXT - parameters details

Hi All,

I need the details as in list of possible options which i can pass to ADD_TEXT method.

BAsically I want to fromat the header text so can u plz let me know the possible values for :

SAP_STYLE = ????

SAP_COLOR = ????

SAP_FONTSIZE = ????

CALL METHOD DOCUMENT->ADD_TEXT

EXPORTING

TEXT = 'Report for ZCOSTHIST Table'

  • TEXT_TABLE =

  • FIX_LINES =

  • SAP_STYLE =

  • SAP_COLOR =

SAP_FONTSIZE = '5'

  • SAP_FONTSTYLE =

SAP_EMPHASIS = 'X'

  • STYLE_CLASS =

  • CHANGING

  • DOCUMENT =

Thanks in advance

Rgds,

Anu.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Sep 29, 2007 at 08:51 AM

    you can pass

    sap_color

    LIST_BACKGROUND_INT

    LIST_BACKGROUND

    LIST_BG_INT_FG

    LIST_BACKGROUND_INV

    LIST_HEADING

    LIST_HEADING_INT

    LIST_HEADING_INV

    LIST_NORMAL

    LIST_NORMAL_INT

    LIST_NORMAL_INV

    LIST_TOTAL

    LIST_TOTAL_INT

    LIST_TOTAL_INV

    LIST_KEY

    LIST_KEY_INT

    LIST_KEY_INV

    LIST_POSITIVE

    LIST_POSITIVE_INT

    LIST_POSITIVE_INV

    LIST_NEGATIVE

    LIST_NEGATIVE_INT

    LIST_NEGATIVE_INV

    LIST_GROUP

    LIST_GROUP_INT

    LIST_GROUP_INV

    sap_fontsize

    SMALL

    MEDIUM

    LARGE

    SERIF

    SANS_SERIF

    STANDARD

    sap_style

    HEADING

    TABLE_HEADING

    But when you are using sap_style then the sap_fontsize and sap_color does not reflect any changes it will take by default color and size defined in the sap_style.

    regards

    shiba dutta

    Add comment
    10|10000 characters needed characters exceeded