cancel
Showing results for 
Search instead for 
Did you mean: 

a strange problem in smartform

Former Member
0 Kudos

dear all,

I define an internal table in the form interface of sm.

and define a work area of the internal table in the global definitions.

the workarea and the internal table like the same structure.

and in the initialization of sm.

I write the following code and set a break-point.

loop at itab into wa_itab.

endloop.

the strange thing is :some of the fields is STCEG,BANKN,BANKA.

eg:

before the loop .

itab-bankn = '360200051920001479'.

itab-banka='agricultural bank of China'.

after execute the loop at itab into wa_itab.

endloop.

wa_itab-bankn = ' 3602000519200'.

wa_itab-banka='01479agricultural bank of China'.

why occurs this strange problem?

does anyone know this ?

pls help me .

thank you very much!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Are you using the internal table with HEADER LINE in the program? If so, please clear the work area before calling the smartform.

Regards,

KK

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,though it can not be solved,I changed a way to do it ,define a field to store the data in the program and importing it to the smartforms from the program.

Former Member
0 Kudos

hello,this is a problem about the smartforms .in the program there is no such problems.