cancel
Showing results for 
Search instead for 
Did you mean: 

problem with message display...!

Former Member
0 Kudos

Hi Abapers,

Iam using trans. vf02 to display smartform.

when we click on issue output to... a pop up screen is displayed.

after selecting the output type when the user click print button ...

am maintaining a pop up screen with FM : popup_for_interaction.

am placing three buttons for it...

1st one is to generate the spool.

2nd is for save the form into pdf file.

3rd is cancel .

when am click 1st button its showing a Success message in the status bar like Output issued successfully.

so my problem is when i used to click on the (3rd) cancel button i want to display message

like Canceled by User.

but its displaying like message Output issued successfully

how can i by pass the message.

even for (2nd) button save form to pff. its logic is working fine.

but there also i want to display message like Downloaded pfd sccessfully .

anyone give me the solution for this...!

Thanks & Regards,

Rajeshk

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

solved by mee..!

Former Member
0 Kudos

Hi,

Check OK Code assignment. Might be the function code for cancel have been assigned wrong.

Thanks.

Former Member
0 Kudos

Thanks for replies..!

am not triggering the Dialog program. to check the SY-ucomm.

that is not simple..!

Former Member
0 Kudos

check your sy-ucomm or ok_code = 'CANCEL' and display your message Canceled by User.