on 06-07-2008 12:47 PM
hi friends,
i am doing background job.there i need to trigger a mail with PDF attachment.
for that i was created a smartform that i am converting into PDF file .
My problem is When i am executing my program i am getting one DialogBox for OUTPUT Device.
i need to avoide that.
Please Help me,
Thanks & Regards,
Kumar.
Hi Vasu,
declare
data st_control_parameters TYPE ssfctrlop,
then set
st_control_parameters-no_dialog = 'X'.
pass in fm
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = st_control_parameters
* MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
and ull not get any dialog...
Have Fun!!
Ira!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
when ur calling ur smartforms gemerated function module into ur abap program there is one option called CONTROL_PARAMETERS it is of assosiated type SSFCTRLOP.
when udouble click on SSFCTRLOP u will find one field called DEVICE .so pass the parameter to the function module as X.so that wont see the dailoug box.
please reward me if helpful.
thanks,
gupta pullipudi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when calling your smartform, in one of the parameters (control parameter or print parameters) you have to define the output device.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.