cancel
Showing results for 
Search instead for 
Did you mean: 

AT New in smartform

Former Member
0 Kudos

Hi all,

I have a internal table, in that there are the following fields 
     STAX
     SNO
     NAME
     NOINV       

 I want to write a header text when  AT NEW STAX* is triggred. how to achive this 
 in smartforms.

Thanks in advance,

Mahi.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181995
Active Contributor
0 Kudos

Maheswari Chegu,

just try with program line in smart forms:

Right click on window>create>flow logic>program line.

here you can write code like loop at itab.

AT NEW STAX.

code.

endat.

endloop.

either you can create table and put a loop in DATA tab of tables.

i hope you got some clue.

Amit.

Former Member
0 Kudos

When i am trying to do like that i have found an error - "ATNEW" is allowed only within "LOOP....ENDLOOP".

Any wany thanks for your replay.

I have been solved my self.

former_member181995
Active Contributor
0 Kudos

When i am trying to do like that i have found an error - "ATNEW" is allowed only within "LOOP....ENDLOOP".

I think you didnt read carefully my above reply

Answers (1)

Answers (1)

Former Member
0 Kudos

method.

loop u r final itab.

put one more field in itab with text----,

whenever at first is triggered , u pas the text data to this field, other wise you pass null data.

endloop.

in the text/cell ,call that text field directly.

THIS MAY HELP YOU OUT.

OK