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

Problem with SO_NEW_DOCUMENT_SEND_API1

Former Member
0 Likes
528

Hi all,

i use the FM SO_NEW_DOCUMENT_SEND_API1 to send email but if i use the document type 'HTM' at the end of email the system add the text '&SO_FORMAT=ASC'.

How can i delete it ?

I'm on 4.7 version.

Thanks.

4 REPLIES 4
Read only

Former Member
0 Likes
472

up

Read only

former_member194669
Active Contributor
0 Likes
472

If you are using document type as HTM then your OBJTXT is in HTML format

ie you need to convert your report output to HTML format using fm

call function 'WWW_HTML_FROM_LISTOBJECT'

exporting

template_name = 'WEBREPORTING_REPORT'

tables

html = report_html

listobject = report_list.

a®

Read only

0 Likes
472

Finally this is the same problem for RAW format.

Read only

0 Likes
472

check the content that you are passing to the table OBJECT_CONTENT in debug mode, at the FM call.

I guess, you must be concatenating a parameter with that name, which is not getting replaced with the actual Value.

Hope it helps.

Lokesh