2006 Oct 12 1:46 PM
Hi All,
we have a requirement where we need to mail(with in sap id and outside sap-yahoo/gmail) the sap script so that i am able to do straightaway by giving device as 'mail'. please check code below.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
application = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
device = 'MAIL'
dialog = ' '
form = 'ZTEST54698'
language = sy-langu
options = x_option
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
IMPORTING
language = sy-langu
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 1
please let me know what are the parameters that need to be passed to this function module and anyother process need to be carried out.
Can some one advice.
Thanks in Advance.
Shiva Kumar
Hi All,
we have a requirement where we need to mail(with in sap id and outside sap-yahoo/gmail) the sap script so that i am able to do straightaway by giving device as 'mail'. please check code below.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
application = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
device = 'MAIL'
dialog = ' '
form = 'ZTEST54698'
language = sy-langu
options = x_option
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
IMPORTING
language = sy-langu
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 1
please let me know what are the parameters that need to be passed to this function module and anyother process need to be carried out.
Can some one advice.
Thanks in Advance.
Shiva Kumar
2006 Oct 12 1:57 PM
try to check the where-used-list of that function module and check out the programs that had used this FM
you can get something from that..
2006 Oct 12 6:46 PM
2006 Oct 12 6:56 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |