cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting Error in Smartform

Former Member
0 Kudos

Hi All,

Could any one suggest why do we get a formatting error in smartform.

Actually, for a particular PO, the print preview is not shown . The program returns to the selection screen.

While debugging i found , sy-subrc EQ 1 ( Formatting Error) in the CALL FUNCTION ( Function module generated by Smartform).

Accepted Solutions (1)

Accepted Solutions (1)

lijisusan_mathews
Active Contributor
0 Kudos

Some part in your smartform is not fitting into the space provided. try commenting parts of your smartform to determine which section is causing the problem,. Also try a check.

Former Member
0 Kudos

Nope, actually the issue is faced in Production system and we don have any such scenarios in development system. So wont be able to make changes.

lijisusan_mathews
Active Contributor
0 Kudos

You will have to try and simulate the scenario.

Meanwhile, teh page format and output type given in both dev n prd are same right ?

Former Member
0 Kudos

Hello

Smartform is not fitting into the space provided

There are multiple causes for this like

issues in the Address node??

Please check address number exist in the system.

some times Name1 doesn't exist for the address, in this case also we will get formatting error.

Smartform is not fitting into the space provided.

Former Member
0 Kudos

While creating a material, if the Purchase order text is maintained as

RTD-H-C-2Pt100-6.4-S6-WAL-15N-391-S6-150-2-4-8-a-bcd&TW-BF-S6-33-15-NT-F-40-B-RF-S6-8.73-13.5-21-320-71-6-X1-FP-D-TP150& other details as per instrument datasheet

Will The data within &'s be considered as a variable??

Because for the issue i have faced, i found out this to be odd.

aidan_black
Active Contributor
0 Kudos

Hi,

If you enter them in the old editor, they will be considered to contain a symbol.

You need to mask them like <(>&<)> so they are considered as ordinary characters.

Regards,

Aidan

lijisusan_mathews
Active Contributor
0 Kudos

Are you displaying the text using a text element node or using an Include text? Try using Include text to display the Pucrhase order text.

Former Member
0 Kudos

Im using a Include text to display the text

lijisusan_mathews
Active Contributor
0 Kudos

There is a check box in include text which says no error if text not available. Hope you have checked that. Now try editing your PO text by removing the & , to check if thats the culprit.

Former Member
0 Kudos

Yup that check box is already selected..

The user wants the text to be within &'s..

With those &'s it is not possible in Include text..

lijisusan_mathews
Active Contributor
0 Kudos

is it possible without '&'... ?

Clemenss
Active Contributor
0 Kudos

Hi Vikram,

you may assign a paragraph with smaller font to the included text or extend the node window where it is shown. This is a smartform disease that it simply stops processing if anything does not fit in the area (column) povided. Using Smartformstrace you can check out where it ends.

Regards,

Clemens

Answers (0)