Skip to Content
0
Former Member
Jan 12, 2007 at 08:57 AM

SO_NEW_DOCUMENT_ATT_SEND_API1

527 Views

Hi experts ,

I am using FM ... SO_NEW_DOCUMENT_ATT_SEND_API1 to send emails

CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'

EXPORTING

document_data = l_t_doc_data

put_in_outbox = 'X'

commit_work = 'X'

TABLES

packing_list = l_t_pack

object_header = l_t_objhead

contents_bin = g_t_con_bin

contents_txt = l_t_con_text

receivers = l_t_receivers

eveything is fine with this ....it works fine...

now.. if you go and have a look at this FM in SE37... in TABLES section

<b>CONTENTS_BIN</b> is described as <b>obsolete.</b>

now i have to use this FM along with TABLES -> <b>CONTENTS_HEX</b> instead of using <b>CONTENTS_BIN</b>

can anyone help me how can I go about it.

Please do not post any code from the net.

just tell me how can i use CONTENTS_HEX

<b>What i have tried.</b>

I have tried using conversion FM to convert fom char to hex CHAR_HEX_CONVERSION

and then using the email FM.

<b>NOTE: the table content_hex uses structure SOLIX

which has a data type as RAW</b>

can somone please help.

Points will be rewarded for the helpful answer

Thanks is advance