2013 Jun 07 10:26 AM
hi,
If i checked on the Internal Table in the LOOP Loop under the Data tab , my smartform will show blank page in my print preview.
If i do not tick it, my smartform will show the layout in my print preview ? Why like tat ?
Actually, i want to preview my smartforms with data.But, i dun know how ?
Any ideas ?
Thanks
2013 Jun 10 9:48 AM
Hi,
You are saying output is coming blank when you check the Internal table but when u don't it shows the layout.
Reason 1: you internal table is not having any data. Check in calling program at the smartform call function whether the data is passing to the function module or not.
Reason 2: your where condition is failing: please check your where condition it could be failing, please check for any leading zeros or something (You will have the do as mentioned above in the previous posts to debug the smartform operations if your loop is working or not and so on)
Reason 3: Font problems(Very easily ignored normally): Try to change the font settings of your output text fields. If the fonts are too large to be displayed in the text fields then they are not displayed, or change the height of the table template.
Oh and one more thing check if you have multiple pages output in the smartform(right above the greyed out archive button ). If multiple pages are there check the output in the next pages using page down button.
Comeback if even after following the above 3 steps you are not able to solve your problems.
Cheers!
Robindra Jain
hi,
If i checked on the Internal Table in the LOOP Loop under the Data tab , my smartform will show blank page in my print preview.
If i do not tick it, my smartform will show the layout in my print preview ? Why like tat ?
Actually, i want to preview my smartforms with data.But, i dun know how ?
Any ideas ?
Thanks
2013 Jun 07 10:31 AM
Does your internal table contain any data? Make sure that the internal table is not blank, otherwise append entries in it and then test.
2013 Jun 07 10:37 AM
Hi,
Its processing a blank internal table and when you dont check it sees there is no data processing hence just giving you the print preview of the layout.
Cheers,
Arindam
2013 Jun 07 10:46 AM
My LOOP information in the smartform are shown as below :
LOOP Loop
===========
(Checked) Internal GIT_A into GFL_B
Row 0 to 0
where GIT_A is import parameter name in Form Interface where associated type is ZFIA_TT_PETTY_CASH
and GFL_B is variable name in Global Definitions where associated type is ISCJ_E_POSTINGS
Hints:
======
ZFIA_TT_PETTY_CASH was declared in Data type as table type where Line type is ISCJ_E_POSTINGS
ISCJ_E_POSTINGS is a structure
Am i am doing the corect things so far ? i am newbie here. Please advise
Thanks
2013 Jun 07 10:52 AM
Hi,
Creak a program line before loop and use break-point in code and then find out internal table is filled.
2013 Jun 07 10:54 AM
Yeah.. Keep doing Go Ahead better to also check some documents online instead of verifying each step. There are lots that will show you step by step how to do it, worst case is a dump check ST22 get started with those too that's normal to get dumps.
Cheers,
Arindam
2013 Jun 07 10:55 AM
Hi,
Can u Please Provide the code.so that I can give anny solution for that
Thanks,
nike
2013 Jun 07 11:26 AM
I think you need to write GFL_B(workarea) in export parameters.....
Regards,
Yamilee
2013 Jun 10 9:48 AM
Hi,
You are saying output is coming blank when you check the Internal table but when u don't it shows the layout.
Reason 1: you internal table is not having any data. Check in calling program at the smartform call function whether the data is passing to the function module or not.
Reason 2: your where condition is failing: please check your where condition it could be failing, please check for any leading zeros or something (You will have the do as mentioned above in the previous posts to debug the smartform operations if your loop is working or not and so on)
Reason 3: Font problems(Very easily ignored normally): Try to change the font settings of your output text fields. If the fonts are too large to be displayed in the text fields then they are not displayed, or change the height of the table template.
Oh and one more thing check if you have multiple pages output in the smartform(right above the greyed out archive button ). If multiple pages are there check the output in the next pages using page down button.
Comeback if even after following the above 3 steps you are not able to solve your problems.
Cheers!
Robindra Jain
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |