Application Development 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: 

Proportional Non proportional font in SAP inbox

Former Member
0 Kudos

Hello,

I am sending a documnet using the FM SO_OBJECT_SEND.

When I see the document content in SAP inbox(tcode SBWP), my document is shown in proportional font by default, however my requirement is to show the contents in non-proportional font. (Transaction code SBWP, clik on the Inbox node, open any document, on the menu double click at 'Settings'). Could anybody provide my requiremnt that whenever I open the document generated through the FM should always be opened in Non-proportional font.

A meaningful, early will be great help for me and worth for my rewards points.

Thanks,

Amarjit Singh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You can preassign the display by specifying the following command in the object header data in the non-proportional font:

create declarations :

data: begin of object_header occurs 10.

include structure solisti1.

data: end of object_header.

FM area :

object_header = '&SO_FONTTYPE=FIX'.

append object_header.

I have declared different structure 'solisti1' not 'soli' because I'm using FM SO_NEW_DOCUMENT_SEND_API1 to send document 'RAW', bat I hope it does not have influence because this structures are identical.

Example of FM :

call function 'SO_NEW_DOCUMENT_SEND_API1'

exporting

document_data = email_data

document_type = 'RAW'

put_in_outbox = 'X'

importing

new_object_id = id_mail

tables

object_content = data_tab

<b> object_header = object_header</b>

receivers = email_send.

Greetings from Poland.

I hope that solution wil be usefull for You.

1 REPLY 1

Former Member
0 Kudos

You can preassign the display by specifying the following command in the object header data in the non-proportional font:

create declarations :

data: begin of object_header occurs 10.

include structure solisti1.

data: end of object_header.

FM area :

object_header = '&SO_FONTTYPE=FIX'.

append object_header.

I have declared different structure 'solisti1' not 'soli' because I'm using FM SO_NEW_DOCUMENT_SEND_API1 to send document 'RAW', bat I hope it does not have influence because this structures are identical.

Example of FM :

call function 'SO_NEW_DOCUMENT_SEND_API1'

exporting

document_data = email_data

document_type = 'RAW'

put_in_outbox = 'X'

importing

new_object_id = id_mail

tables

object_content = data_tab

<b> object_header = object_header</b>

receivers = email_send.

Greetings from Poland.

I hope that solution wil be usefull for You.