‎2009 Apr 08 11:40 AM
Hi Experts,
I have to create a Smartforms Layout. I have to print the first page as Landscape and the rest of the pages as portrait.
The first page will contain the summary. Other will contain different details related to the summary.
I have created 3 pages.
The first page in Layout. The next page here is first page.
The second and third pages as portrait.
On the first page after the summary table I have given a command. I have selected the checkbox, go to new page and specified the next page.
If I give the other pages as Landscape and the main window with the same size as the window on the first page, I am able to print correctly. If I specify as portrait I get a dump.
Any body can let me know how do I create different pages with different layout. Where am I going wrong
Regards,
Abu
‎2009 Apr 08 11:44 AM
‎2009 Apr 08 11:47 AM
Short text
Exception condition "ERROR" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
Error analysis
A RAISE statement in the program "SAPLSTXBC" raised the exception
condition "ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
‎2009 Apr 08 12:16 PM
Any suggestions. Or any link that explains creating landscape and portrait in the same smartform. I have found links saying it is possible, but no example.
‎2009 Apr 08 1:07 PM
As per SAP Help, In smartforms you can have more than one main windows with variable height but the width should be same. Here the two pages are having different widths for their respective main windows and that is causing the dump.
for more detail check the link
http://help.sap.com/saphelp_nw04s/helpdata/en/b1/243fdabeee11d4b633006094192fe3/frameset.htm
Edited by: Abdullah Ismail on Apr 8, 2009 5:37 PM
‎2012 Feb 16 10:15 AM
Thanks.... the main windown in both the pages should have the same width(or may be height also... but am not sure about height)... thanks.... I completely forgot it...