cancel
Showing results for 
Search instead for 
Did you mean: 

smartform did not come out, help!

Former Member
0 Kudos

Hi everyone,

i've done smartforms a few times & never encounter this problem before. My smartform didn't come out after i clicked on the print preview button on the print dialog box. i've debug my programs and can ensure you that there's plenty of data in my internal table and if i've put some write statements to confirm it, the data is written.

can anyone tell me where i should be looking at? i'm really stuck as of why the smartform didn't come out.

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Are you passing the internal table contents from program?

If so,the table structure you are passing should be in ABAP dictionary.Otherwise,define the structure.In smartform->Form Interface->Tables

itab <b>like</b> structure_name

In the smartform program lines,write break-point and make sure that you have internal table contents inside the smartform also.

Kindly reward points by clicking the star on the let of reply,if it helps.

Former Member
0 Kudos

yep i'm passing internal table contents from program to the smartform & the table structure is defined in abap dictionary & declared in smartforms' form interface as well.

i will try break-point to ensure my internal table have contents in smartform as well then.

Former Member
0 Kudos

i've tried the breakpoint in smartform, my internal table is filled with data as it is filled in my program.

anywhere else i should be looking at?

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

I hope you should be using text element somewhere inside loop or table in smartform.Drag the text element from the field list and place it inside the loop.You can debug the function module of the smartform itself.

Former Member
0 Kudos

Hi

r u using the field list control to populate the fields or r u using the hardcoded values.please use the fieldlist to populate the values.

Former Member
0 Kudos

yes yes i'm using field list

&i_itab-pernr& and such..

anything else?

Former Member
0 Kudos

ok send ur smartform across to my id at durgaprasad_kare@yahoo.co.in

Former Member
0 Kudos

tq i really appreciate this

i need to ask my boss first whether i can send it to u

the program i'm doing is related to our company's payslip

so lotsa p&c issues here and there

Former Member
0 Kudos

Hi ,

ok cool .

ok do one thing instead of checking the printpreview check print button and see if spool request is created once the spool is created check it from sp01 transaction.

Former Member
0 Kudos

omg omg if i just print it straight away, the whole thing just printed perfectly.

tq so much!!

any tips to avoid this must print directly & can't print preview thingy?

Answers (2)

Answers (2)

Former Member
0 Kudos

i still need my form to be print preview instead of must print directly

Former Member
0 Kudos

r u running the program or running the layout.

if u r using any std program then check NACE configurations and if u r using the se38 program then check whether u r call the SSF_function module name and then callling the FM_name(i mean ur smartform FM) and also check whether data is popu;ated in the text elements properly.also ensure u can see the prwview of the layout first.

Former Member
0 Kudos

it's not a std program and i'm running the program that calls the smartforms.

i've tested the layout in the smartforms itself & it's working perfectly.

anyway i've check my function module in the program, it should be correct also - i've called the ssf function module & then the smartform function module.

i guess i have to check the data population now