on 12-26-2007 10:20 AM
hi,
i m trying to send a script to email as pdf attachment. Mail is being sent succesfully BUT I dont want to see the dialogue box once i execute the pgm.
I have checked the structure SSFCTRLOP, used for smart froms. Here i can see NO_DIALOG. but i cant see such field available in itcpo, used for scripts.
I dont want any dialogue box after F8.
Please help me out.
Thanks.
Aafaque Husain
Hi,
You can do it through coding itself.
You can check the sy-subrc and then if sy-subrc = 0.
then you can call FM 'POPUP_TO_INFORM'.
And can give ur own mesaage.
Cheers,
Simha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Narasimha,
i m doing like this.
gs_struct-tdgetotf = 'X'.
gs_struct-tdnoprev = 'X'.
gs_itcpp-TDDEVICE = 'MAIL'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = ' '
dialog = ' '
form = 'HR_GBTAXP11D2000'
language = sy-langu
OPTIONS = gs_struct
EXCEPTIONS
Everytime the sy-subrc is 0 but i cant stop the dialogue box, which is asking me for pritner name.
I dont wanna enter any printer name, simply it shud send mail after execution.
Thanks again.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.