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

Problem with SMARTFORM.

Former Member
0 Likes
1,172

Hi!I have a problem in SMARTFORM

-> "Exception FORMATTING_ERROR"

"message id SSFCOMPOSER Message number: 159".

This message appeared only in TEST environnment, but in DEV environnment is ok, no problem! Why its happen?

Thanks for answers...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,007

Try to compare the form in both the environments. Ideally you should not have a error. Probably you don't have right page format in the TEST environment that exists in the DEV.

Take a look at SPAD transaction for the same.

Regards,

Ravi

Note : please mark the helpful answers

7 REPLIES 7
Read only

Former Member
0 Likes
1,008

Try to compare the form in both the environments. Ideally you should not have a error. Probably you don't have right page format in the TEST environment that exists in the DEV.

Take a look at SPAD transaction for the same.

Regards,

Ravi

Note : please mark the helpful answers

Read only

0 Likes
1,007

Can you explain me all the steps to do in SPAD transaction, i ask this because now i'm offline with SAP and i must send that via e-mail. Thanks.

Read only

Read only

0 Likes
1,007

In SPAD.

1) Press Enter.

2) Change Mode

3) New Output device

4) Device Name, type, Location, Host printer etc...

rgds,

TM.

Read only

Former Member
0 Likes
1,007

Hi,

Before calling the Smartform use "SMARTFORM_TRACE" in both the development and Testing server.

then u can get the solution.

maybe the page format is not configured with the printer in TEST environment.

Read only

Former Member
0 Likes
1,007

Goto SPAD.

Click the "Extended Admin" button in the application Toolbar.

Select "Device Types" Tab.

<u><b>First:</b></u>

Click the "<b>Format Types</b>" button.In this option u can check ur Format type is available or not.(Use the Find option). Check it in the Dev and TEST server.

<u><b>Second:</b></u>

Click the <b>"Device type"</b>

Give ur Device Name.

and Double Click the "Dev.Type".

In that screen u click the "Formats button" in the application toolbar.

Here u can check the Page format is available for ur printer.(In Dev and TEST server).

Hope it will help you.

Read only

Former Member
0 Likes
1,007

Have you using this FM after calling the Smartform : 'SSF_READ_ERRORS'

data: IT_ERRORTAB TYPE TSFERROR.

if sy-subrc <> 0.

CALL FUNCTION 'SSF_READ_ERRORS'

IMPORTING

ERRORTAB = IT_ERRORTAB.

endif.

then loop the error table.