Application Development 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: 

Problem in smartforms while adding page2

Former Member
0 Kudos

Hai, I am having a problem with my smartforms. I have designed my smart form to print a covering page in page1 (containing consolidated values) and in page 2 i want to print the details related to the page one in a single smart form. If i have only page1 my application is running fine but onces i inserted second page it is give a runtime error. Can any one tell me if i have to make any setting in my smartform or add any functions in my program before calling the smartform.

In my second page i just inserted a main windows and inserted a table to print the details.

First of all is it possible to have as many pages as we want. as in all the queries i checked i saw people using page2 to flow the data from page1 to page2

The error is some thing like this Runtime Errors: RAISE_EXCEPTION

and in Error Analysis this is what it says

A RAISE statement in the program "SAPLSTXBC" raised the exce

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.

-

Pls help me if anyone can. It is a bit urgent.

regards

Anuradha

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI ,

The Information given by u in ur thread is not sufficient to understand ur problem.

The program name given by u in ur tread is for smartform composer if u know. U should check ur function module which is used by u in ur program for any conversion. Else the problem may be that ur not using FM "SSF_FUNCTION_MODULE_NAME".

Use this FM u may find ur solution.

Award if Useful.

Regards,

Navin

3 REPLIES 3

Former Member
0 Kudos

HI ,

The Information given by u in ur thread is not sufficient to understand ur problem.

The program name given by u in ur tread is for smartform composer if u know. U should check ur function module which is used by u in ur program for any conversion. Else the problem may be that ur not using FM "SSF_FUNCTION_MODULE_NAME".

Use this FM u may find ur solution.

Award if Useful.

Regards,

Navin

0 Kudos

hai navin i have used FM "SSF_FUNCTION_MODULE_NAME" i went throught the debugging mode till selecting the printer it was going fine onces i select print preview it runs into this error.

Right now it is working thanx you. previously i created a new main window and changed the window type a Main window. i think it has created a probelm

with regards

anuradha

Former Member
0 Kudos

Hi,

you can not define main window again in second window. For that u have to use final window in second page and put your table in this window and make one command at end of main window and call second page from that.

U understand na ......if it will not working send me error.

I am working in same issur.

Rewards points if it useful.