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: 

Smartforms-Second page not displayed

former_member225134
Participant
0 Kudos
5,037

Hi,

   In smartform i designed first page it contains main window, secondary window and templates (no table) it is correctly printed on first page,

same sheet with back to the page i want to design some templates,so i created the page 2 as secondary window and gave templates with text,but one page only displaying....Second page is not displayed.........May i know in which place an error occurs????????????????

17 REPLIES 17

Former Member
0 Kudos
1,905

Hi Anitha,

did you call second page with first page like below?

and second  please copy or create first page main window  in second page and  comment required content in second page  and activate.

Please try, It may be helpful for you.

Regards,

Prasenjit Mishra

0 Kudos
1,905

Thanks for your Prasenjit,

                              I called second page as next page..But if i copied first page main window to second page means the changes in second page affects the first page also....

Same time i created new page means it gives dump..  Exception condition "ERROR" raised.

0 Kudos
1,905

If you not needed  to copy first page main window then copy another main window  in second page and after that activate, No need to copy content form first page main window to second page main window.

Regards,

Prasenjit

0 Kudos
1,905

Yeah but if i copied the main window means contents also copied...if edit the second page main window means first page also changed..

0 Kudos
1,905

Hi Anitha,


For error for new page. Please download your old page content in XML  file and delete your  existing page and activate after that  you can try to create new page and upload the same XML on that page.

if you create another main window in second page  then  it will be not impacted to the first page window content.

after that you can create your secondary window as required or you can place  both page posiition for testing purpose like as you say  your first page printing correctly, you can create second page to first page and current first page to second page and check how it work.

Regards,

Prasenjit

Former Member
0 Kudos
1,905

Hi,

As per my i understanding, you want to display second page at the back side of the first page. If it is correct,

create first page and second page with main and secondary windows you wanted,

For the First Page do below

Put  Next Page =  second page and Print Mode = D(Duplex).

For the Second Page do below

Put Next Page = First Page and Print Mode = space

It works definitely

0 Kudos
1,905

Thanx for your repli haritha,

                              I followed your steps only but if i created the second page main window means it gives exceptional error.

0 Kudos
1,905

Are you getting run time error?

Please keep screen shot of error....

Both the pages should have the main window with same width, height and positions, it works

0 Kudos
1,905

Hi haritha,

Runtime Errors        RAISE_EXCEPTION

Date and Time          18.07.2014 15:49:25

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.

Trigger Location of Runtime Error

    Program                                SAPLSTXBC

    Include                                LSTXBCU19

    Row                                    110

    Module type                            (FUNCTION)

    Module Name                            SSFCOMP_GENERATE_SMART_FORM

    -

former_member225134
Participant
0 Kudos
1,905

Thanx to all

             I solved my issue ....

Former Member
0 Kudos
1,905

How I solved?

0 Kudos
1,363

Why you dont enter how you fix the issue? 

0 Kudos
68

Exactly, I'm having this problem too after migrating to S4. And he didn't even have the good will to post how he solved it. Did you manage to find out?

Former Member
0 Kudos
1,905

may be one of these: 1) Once the data is not enough to print 2nd page 2) Main window width & height not equal in page 1 & page 2. 3) If next page not set as page 2. It will not display 2nd page.

0 Kudos
1,905

Thanks you, i solved my issue.

0 Kudos
1,361

Why many ABAPers ask for help but when solve the problem they cannot share the solution?

suba14
Explorer
0 Kudos
1,905

Can you please tell how you solved this issue