on 01-22-2007 2:09 PM
Is it possible to provide some conditions in SAPScript (form) to add boxes depending on the presence of different number of document numbers?i.e if there are 10 document numbers 10 boxes to be provided.Can this be handled in Main window of the script?
Hi,
You can hnadle this,
You need to write a perform in the Script. and get the No of records which are printed in the main window according to that maintain 2 variables in that whcih we use the window size in the layout.
in the Main windoe element, write as
BOX WIDTH '1.2' CM HEIGHT <b>&HEIGHT&</b> CM FRAME 10 TW
BOX WIDTH '9.5' CM HEIGHT &HEIGHT& CM FRAME 10 TW
BOX WIDTH '11.5' CM HEIGHT &HEIGHT& CM FRAME 10 TW
BOX WIDTH '13.5' CM HEIGHT &HEIGHT& CM FRAME 10 TW
BOX WIDTH '15.9' CM HEIGHT &HEIGHT& CM FRAME 10 TW
BOX WIDTH '19.1' CM HEIGHT &HEIGHT& CM FRAME 10 TW
Height field should be in the TOP of the Driver program , i mean it should be a global field. and maintain this Height according to your requirment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.