cancel
Showing results for 
Search instead for 
Did you mean: 

Script preview Problem

Former Member
0 Kudos

Hi Experts,

I'm going through T-code MB90.How its related to z print program i don't know.By entering the value in the selection screen for mb90 t-code i'm going to another screen there i'm clicking on one check box & clicking on print priview & able to see print priview page.

When comming back once by clicking back button & selecting once again check box & clicking on print priview button ..its showing wrong item line & no of pages are more than before.

Pls suggest.

Thanks.

Singha

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi singha ,

It is because of not clearing the checkbox variable in your report after using it.

Just clear the check box when you press back button.

This can be done as follows:

case sy-ucomm.

when 'BACK'.

w_check_box = ' '.

endcase.

Hope this helps you.

Regards,

Rama Chary.Pammi

Former Member
0 Kudos

Hi,

The customization for attching a print program to script is done in the transaction NACE.

You can check there based on the application.

Reward if helpful.