Skip to Content
0
Former Member
Jun 26, 2009 at 04:42 AM

Pop up window while sending email

48 Views

Hi Experts,

I am sending email to external id using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'.

CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'

EXPORTING

document_data = WA_DOCDATA

  • PUT_IN_OUTBOX = ' '

COMMIT_WORK = CV_COMMIT_WORK

  • IMPORTING

  • SENT_TO_ALL =

  • NEW_OBJECT_ID =

tables

packing_list = GI_PACKING_LIST

  • OBJECT_HEADER =

  • CONTENTS_BIN =

CONTENTS_TXT = GI_MESSAGE

  • CONTENTS_HEX =

  • OBJECT_PARA =

  • OBJECT_PARB =

receivers = GI_RECEIVER

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

.

IF sy-subrc = 0.

SUBMIT RSCONN01 WITH MODE = 'INT' WITH OUTPUT = 'X' AND RETURN.

ENDIF.

My code is working fine except that after the execution of the FM, a pop up window is displayed to select the job.

I want this not to happen.

Please suggest solution to this issue.

Thanks in advance

Regards

Balu