on 02-01-2008 1:19 PM
hai help me out.
the scenario is :
in script there are 4windows for which the data is displayed for particular plant&
when the condition is that the plant name is (aaa) which is not specified in the script but it is in print program,when this condition is satisfired we have to make that in place of 4 windows i have to replace 1 window in the same place of that 4 windows.
for that how should i approach.
plz help me out does we need to write any code in print prog or just make changes in layout.
plzplz give solution.
Hi anshal,
Ur problem can b solved easily.
U've 4 windows & u dont require 3 windows except for a particular plant.
So in all the 3 windows,u just put a condition like:
If werks = '****'.
Here u write the code corresponding to this window.
Endif.
Dont write any more.
So one of the features of the windows is,if there is nothing to print in the window,the window doesnt get printed.
So in all the 3 windows,the condition doesnt get satisfied,so nothing is there for printing,so automatically those windows also disappear.
Try this one & let me know if there are any more issues....
But dont forget to reward points if this is useful....
Pavan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for it its very useful and has given me an approach.
u said
if werks'*****''
then keep some condition
werks will be given in print program directly
or is it passed to some variable and then passed.
sorry that iam asking such a simple question.
but scenario is that first the data is entred in module pool of standard transaction 'vf03'
then from that the print program is wriiten which is sent to layout.\
thanks for it and plzplz suggest me on this.
Hi over lap a window on all the windows.
and in the window put the condtion
if plant eq 'aaa'.
put the code lines
endif.
for remaining windows.
if plant ne 'aaa'.
put the code lines
endif.
No need to modify print program
Reward points if useful
Regards,
Nageswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.