cancel
Showing results for 
Search instead for 
Did you mean: 

How to Avoid Dialog Box

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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!!

Former Member
0 Kudos

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.

Sm1tje
Active Contributor
0 Kudos

when calling your smartform, in one of the parameters (control parameter or print parameters) you have to define the output device.