Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CALL METHOD DOCUMENT->ADD_TEXT - parameters details

Former Member
0 Likes
1,656

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
703

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

1 REPLY 1
Read only

Former Member
0 Likes
704

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