on 07-03-2007 10:29 AM
Hi,
I have First page where there is no Main Window and on the Second page is with Main Window.Now lets say if there is item detais then vlaue will be printed on second page but in case there is no Item details so..the second page should not come only the first page would appear i.e. we need ot supress this second page.
Thanks,
Pramod
Hi
just use the command Describe table ITAB lines v_lines.
so v_lines <> 0 means items Exist.
so use this field in the condition
Define a Text ELEMENT for the MAIN window data
Before that text element put a condition based on the v_lines field.
/: IF V_LINES NE 0.
/E MAIN
...........................
............................
/: ENDIF
So when you give print , if no data in internal table it won't print.
Reward points for useful Answers
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
There is an option in the main window.
U will find a checkbox which asks u in which page u need the specific main window..
Or else u canm also give conditions in the condition tab..
Rewards points if useful..
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.