Skip to Content
0
Former Member
Aug 16, 2005 at 11:11 PM

form interface using currency fields - smartforms urgent!!!!

29 Views

hi folks,

I am reading the data into an internal table and the code goes like this..

'zstatment_aging' is a database table where

OPSUM, RAST1,RAST2,RAST3, RAST4 ARE currency fields of the table

ABAP print program ....

types: begin of agingdata,

kunnr type zstatment_aging-kunnr,

PARTNER type zstatment_aging-Partner,

SORTL TYPE zstatment_aging-sortl,

OPSUM type zstatment_aging-OPSUM,

RAST1 type zstatment_aging-RAST1,

RAST2 type zstatment_aging-RAST2,

RAST3 type zstatment_aging-RAST3,

RAST4 type zstatment_aging-RAST4,

end of agingdata.

data: agingdataitab type standard table of agingdata with header line..

select single * from zstatment_aging into corresponding fields of agingdataitab where

kunnr = p_custid and partner = p_advnum.

ERROR********* IS COMING IN THE DECLARATION

FUNCTION MODULE

call function fm_name

exporting

  • archive_index =

  • archive_parameters =

  • control_parameters =

  • mail_appl_obj =

  • mail_recipient =

  • mail_sender =

  • output_options =

  • user_settings = 'X'

.

.

.

.

.

TABLES

ZAGING = AGINGDATAITAB

In the smartforms I have declared,

Under

Form Interface - > Tables

ZAGING LIKE ZSTATMENT_AGING (TABLE NAME)

Throwing an error saying that incorrectly called function module.

what is the error here? How can i correct this to display data into the form?

Please help me it is urgent!!!

Thanks

Santhosh