cancel
Showing results for 
Search instead for 
Did you mean: 

Cancel Button capture from POPUP dailog box

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)