on 01-29-2008 6:39 AM
Hi,
I need to capture the value of cancel when we cancel the smartform output from popup dailog box.
normally, we have the options like PRINT, PRINT PREVIEW and CANCEL.
for helpful answers, points will be rewarded.
thanks in advance.
Regards,
Balu
Hai,
In the smartform func module use the parameters for DOCUMENT_OUTPUT_INFO
JOB_OUTPUT_INFO
JOB_OUTPUT_OPTIONS
for eg:
DOCUMENT_OUTPUT_INFO TYPE SSFCRESPD
JOB_OUTPUT_INFO TYPE SSFCRESCL
JOB_OUTPUT_OPTIONS TYPE SSFCRESOP
CALL FUNCTION '/1BCDWB/SF00000268'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
wrk_carrid = p_carr
wrk_connid = p_conn
IMPORTING
DOCUMENT_OUTPUT_INFO = DOCUMENT_OUTPUT_INFO
JOB_OUTPUT_INFO = JOB_OUTPUT_INFO
JOB_OUTPUT_OPTIONS = JOB_OUTPUT_OPTIONS
tables
itab_sflight = itab
If u cancel from the dialog box these three structures will be intial else it will be always having values.
so for ur requirement u can check these structures for ur requirement to be done.
Remember to clear these structures when u pass this func module else it will hold the old values .
Regards,
Neeraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.