Skip to Content
0
Former Member
Nov 02, 2005 at 03:48 PM

Problem with a method.

49 Views

Hi!!

I create a server proxy but into the method I want to loop an internal table and the system present to me this error:

"T_BSIS" is neither specified under "TABLES" nor is it defined as an internal table.

Any body can help me!!

This is my code:

METHOD zcm_ii_interface_bal_info~execute_asynchronous.

DATA: date TYPE zbalanceint-zdate.

DATA: company_code TYPE zbalanceint-zcode.

DATA: gl_account TYPE zbalanceint-zaccount.

DATA: profit_center TYPE zbalanceint-zcenter.

DATA: subsidiary_balance TYPE zbalanceint-zbalance.

DATA: BEGIN OF t_bsis,

bukrs TYPE bsis-bukrs,

kunnr TYPE kna1-kunnr,

END OF t_bsis.

  • Convert Input Parameters

date = '01/12/05'.

company_code = '0101'.

gl_account = '014000202'.

profit_center = '0220'.

subsidiary_balance = '500.00'.

BREAK-POINT.

SELECT kunnr INTO t_bsis

FROM kna1.

ENDSELECT.

LOOP AT t_bsis.

WRITE: t_bsis-kunnr.

ENDLOOP.

ENDMETHOD.