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

SO_DOCUMENT_SEND_API1 file extension?

Former Member
0 Likes
518

Is it possible to send a text file with an extension other than .TXT using the FM? I am able to create the text file and send it via email using the FM, however, the business requested the file have an extension other than .TXT (they requested .ASC - even though it is a text file).

Before hot pack SAP_BASIS 51-58, SAP_ABA 51-58 and SAP_APPL 21 I was able to send the text file with a '.ASC' extension. After the hot packs were applied, the doc_type, obj_desc and obj_name parms in the packing list have changed and I can only send a file with a .TXT extension.

Before the hot packs were applied, I was loading packing_list-doc_type = 'ASC'.

packing_list-obj_desc = ' '.

packing_list-obj_name = 'FileName'.

after the hot packs were applied, I had to update to

packing_list-doc_type = 'TXT'.

packing_list-obj_desc = 'FileName.TXT '.

packing_list-obj_name = 'FileName.TXT'.

Make sense? Is it possible to send the file with a user specified extension?

2 REPLIES 2
Read only

suresh_datti
Active Contributor
0 Likes
423

try this..maintain the following entry & then run your program..

TABLE: SXSERV

KEY: NODE = INTIMAL, ADDR_TYPE = INT

change the fields CONVERT_S, CONVERT_L, CONVERT_O, and CONVERT_T from space to 'ASC'.

~Suresh

Read only

0 Likes
423

Thanks, however, if I change those setting, it could potentially have adverse effects on other jobs. Our BASIS team says I can't change 'em.

FYI from SCOT, drilling into the email "node" will present a pop up window. The "Set" push button for internet (under the Supported address types) displays the values of "Output formats for SAP Documents" that are available.

I have changed the settings for:

SAPscript/Smart Forms

ABAP List

Business Object/Link

Raw Text

there, but does not accomplish what I'm trying to do. And, that was only to test - I can't modify the settings on the production box.

I'm of the opinion that it is not possible to use a user defined file extension with the FM.

Thanks,

Allen