on 01-29-2008 1:01 AM
Hi Experts,
first i explain my sap script, i have print void check in my script client give readymade format means box are there, lines are there. i have to fix in box and line data form database table. everthing is working fine. i got all data. i have total 6 window in my script .but i have one issue In my sap script in header window total five rows... like below
Check voucher no:8888
check No: 1234
Date:1/28/2007
Bank:xyz
Batch no: 5678
now sometime check voucher is balnk....
Check voucher no: BLANK/NULL
check No: 1234
Date:1/28/2007
Bank:xyz
Batch no: 5678
because of that all rows are move up side and all window also move up side and so script not fix to the box and line all data are seen not perfectly... so guru`s how to fix the row and window in script....
its urgent...
Waiting for ur reply
Thanks & regards
Jigar
Hi,
Please check if you have something similar as below:
Form Declaration:
/E VOUCHER
/: Check voucher no: &g_voucher&
/: check No: &g_check&
/: Date:&g_date&
/: Bank:&g_bank&
/: Batch no: &g_batch&
Program:
"fill values for voucher, chcek no, date, bank & Batch no.
"call function write_form with elelment 'VOUCHER'
So when you call element VOUCHER all five lines are displayed irrespective of their values.
Regards
Eswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If i can understand your question, you wanna print your output on a pre-printed format...
See that you have the Voucher details in a separate page window.
To define the position of Page Window, do as below:
1. SE71.
2. Form Name
3. Page Windows
4. Display
5. Double click on Voucher Page window
"Below you can find the table Standard Attributes, here we can set the margins that define the position of the window. Use it accordingly.
Regards
Eswar
Hi,
Follow the below steps . Definately your issue will bve resolved.
Let us suppose you are printing following fields
PH &v_text&
PH &v_text1&
PH &v_text2&
you will get the output as you expected.
and if you have any conditions for these fileds
/: if v_text is not initial.
PH &v_text&
/: endif
PH &v_text1&
PH &v_text2&
if you have data in each field then you will get output as expected .
But when v_text is initial.
the data will be moved up wnhich is happening in your case.
so what you need to do is?
/: if v_text is not initial.
PH &v_text&
/: else
PH (Here you need to mention empty line with same paragraph format
/: endif.
PH &v_text1&
PH &v_text2&
Reward points if useful
Regards,
Nageswar
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.