2008 Jul 09 12:56 PM
Hi,
i use the FM SO_DOCUMENT_REPOSITORY_MANAGER with method SEND.
When i start it with filling receiver of type U there comes an dialog with my parameters.
When i press send it works OK.
Question: how can i avoid the dialog because i fill the receivers correct?
Regards, Dieter
Hi,
i use the FM SO_DOCUMENT_REPOSITORY_MANAGER with method SEND.
When i start it with filling receiver of type U there comes an dialog with my parameters.
When i press send it works OK.
Question: how can i avoid the dialog because i fill the receivers correct?
Regards, Dieter
2008 Jul 09 5:02 PM
Rajeev
You can use following function module which generally used in SAP standard BAPI's
CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
or else the following statement which is used in above FM.
SET PARAMETER ID 'FLAG_DIALOG_STATUS' FIELD 'B'.
Hope this helps.
Rajeev
2008 Jul 10 9:49 AM
Hi,
thanks for answer.
I have tested both, but without any result.
Regards, Dieter
2008 Sep 16 2:35 PM
Dear Dieter Gröhn,
i'm also facing same problem plz tell me how to resolve this issue?
my code is like this
DATA g_receipients LIKE soos1 OCCURS 0 WITH HEADER LINE.
method1 = 'SEND'.
g_receipients-recnam = 'Gopi'.
g_receipients-recesc = 'B'.
g_receipients-sndex = 'X'.
g_receipients-adr_name = '[email protected]'.
g_receipients-esc_des = 'U'.
g_receipients-repesc = 'U'.
APPEND g_receipients.
i'm unable to send mail with above coding plz help me to resolve this,
plz correct above code
reg,
Gopi S
2009 Oct 21 4:19 PM
Try FM SO_OBJECT_SEND with folder_id and object_id from structure document of FM SO_DOCUMENT_REPOSITORY_MANAGER.
gs_folder_id-objtp = gv_fold_type.
gs_folder_id-objyr = gv_fold_yr.
gs_folder_id-objno = gv_fold_number.
gs_order_id-objtp = gs_document-OBJTP.
gs_order_id-objyr = gs_document-objyr.
gs_order_id-objno = gs_document-objno.
"gi_receivers-recnam = 'USERNAME'.
gi_receivers-recextnam = mail adress here'.
"gi_receivers-recesc = 'B'.
gi_receivers-recesc = 'U'.
gi_receivers-sndex = 'X'.
append gi_receivers.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
FOLDER_ID = gs_folder_id
OBJECT_ID = gs_order_id
"OUTBOX_FLAG = 'X'
TABLES
objcont = gi_objcnt
objhead = gi_objhead
objpara = gi_objpara
objparb = gi_objparb
RECEIVERS = gi_receivers
Regards, Léon Hoeneveld
2010 Jun 22 3:40 PM
Hi,
I tried the same way, but mail is not trigger.
could you pls. explain more.
regards,
sara