2005 Jun 06 9:28 AM
Hey,
I have a problem in Smartforms. I have developed a invoice form and for the most kinds of invoices, it works fine...
But when I try to print/view one special invoice, I get the message, that the form can´t be displayed! Can You tell me, how I can get more information about where the problem is and why the error occurs? I only know that there is a problem, but not the reason...
Thank You very much!
Arne
Hi Arne!
Did you use SELECT (or FM) in your smartform development? If yes, just before the first (important) select would be a good place.
Did you already try test frame (TA smartforms, initial screen, F8)?
If your data is read in calling program, run a test program in debugging. Very simple one:
tables: nast.
nast-objkey = '00000001'. "Your doc. no.
nast-kschl... "some necessary fields
perform entry(zroutineprogram) using ...
Regards,
Christian
2005 Jun 06 9:45 AM
Hi Arne!
How about debugging? Sometimes printer is not assigned (/defined) in a special case, some data selects don't bring results -> empty table -> no loop -> no data to display...
At least in dev. system you can write 'break at <i>username</i>' in your data preparation part of smartform. Then debugger should stop - in case you start a screen display of your output.
If your interface isn't too complicate, you might call your document in test mode of smartform (like SE37).
Regards,
Christian
2005 Jun 06 10:24 AM
Hey,
thank You for your answer. Where exactly can I place the breakpoint and how exactly? Sorry, but debugging Smartforms is new for me... ;o)
Regards Arne
2005 Jun 06 11:09 AM
Hi Arne!
Did you use SELECT (or FM) in your smartform development? If yes, just before the first (important) select would be a good place.
Did you already try test frame (TA smartforms, initial screen, F8)?
If your data is read in calling program, run a test program in debugging. Very simple one:
tables: nast.
nast-objkey = '00000001'. "Your doc. no.
nast-kschl... "some necessary fields
perform entry(zroutineprogram) using ...
Regards,
Christian
2005 Jun 10 9:16 AM
Hi Christian,
I don´t use any SELECTs or other programming lines inside my Smartform. I only use the given data of the imported structures. Is it not possible where the error occurs? Or maybe why? (Something like "window xy is too big"... for example).
I think I have heard from anybody, that I can see more exact error descriptions.
cheers Arne
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |