Skip to Content
0
Former Member
Dec 19, 2006 at 05:01 AM

Issue with pop up window

41 Views

Hi All

I am trying to send an attachment via mail in sap using FM 'SO_DOCUMENT_REPOSITORY_MANAGER'. But when I give method as SEND. it shows a popup window where I need to press enter and then only mail is sent.

Can I skip this window as as the required info is already populated.

Pls see the code below.

method1 = 'SEND'.

*method1 = 'SETACTIONCOMPLETE'.

g_receipients-recnam = 'WAOBEI'.

g_receipients-recesc = 'B'.

g_receipients-sndex = 'X'.

g_receipients-DIALOG_REC = ' '.

append g_receipients.

SUPPRESS DIALOG.

call function 'SO_DOCUMENT_REPOSITORY_MANAGER'

exporting

method = method1

office_user = g_owner

ref_document = g_ref_document

new_parent = g_new_parent

importing

authority = g_authority

tables

objcont = g_objcnt

objhead = g_objhead

objpara = g_objpara

objparb = g_objparb

recipients = g_receipients

attachments = g_attachments

references = g_references

files = g_files

changing

document = g_document

header_data = g_header.

Pls help me with this,,,

Regards

Babita Sharma