Skip to Content
0
Former Member
Aug 09, 2007 at 01:09 PM

'SO_DOCUMENT_SEND_API1' pls help

43 Views

  • Sending the document

CALL FUNCTION 'SO_DOCUMENT_SEND_API1'

EXPORTING

DOCUMENT_DATA = doc_data

PUT_IN_OUTBOX = 'X'

SENDER_ADDRESS = P_sender

SENDER_ADDRESS_TYPE = 'U'

"IMPORTING

  • SENT_TO_ALL =

  • NEW_OBJECT_ID =

" SENDER_ID = P_sender

TABLES

PACKING_LIST = pack_list

  • OBJECT_HEADER =

  • CONTENTS_BIN =

CONTENTS_TXT = contents

  • CONTENTS_HEX =

  • OBJECT_PARA =

  • OBJECT_PARB =

RECEIVERS = receivers

EXCEPTIONS

TOO_MANY_RECEIVERS = 1

DOCUMENT_NOT_SENT = 2

DOCUMENT_TYPE_NOT_EXIST = 3

OPERATION_NO_AUTHORIZATION = 4

PARAMETER_ERROR = 5

X_ERROR = 6

ENQUEUE_ERROR = 7

OTHERS = 8

.

Hey, while sending the mails using above FM,

am not getting the sender address as what i specify in the parameter , but instead it picks up the sy-uname...

waht to do for this..

wat modi shld be done in the above FM..

pls be specific...

thanks n adv

will be rewarded!!