Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartforms Dump at Command - New Page

Former Member
0 Likes
1,096

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

5 REPLIES 5
Read only

Former Member
0 Likes
842

What is the dump that u r getting...?

Read only

0 Likes
842


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.
Read only

0 Likes
842

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.

Read only

Former Member
0 Likes
842

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

Read only

0 Likes
842

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...