Skip to Content
0
Former Member
Jul 22, 2008 at 07:22 PM

Table parameter Types for this Function module

97 Views

I am using K_HIERARCHY_TABLES_READ to get the profit centers for a given profit center group.

I have the following declarations for the parameters of this FM:

TYPE-POOLS: gseth.

  • Declarations for Profit Center Group

DATA: g_pcgrp TYPE rgsbs-class,

g_setid TYPE rgsbs-setnr,

g_info TYPE grphinfo,

g_overwrite TYPE sy-datar.

DATA:

i_nodes TYPE STANDARD TABLE OF gseth_node_tab,

i_values TYPE STANDARD TABLE OF gseth_val_tab,

i_masterdata TYPE STANDARD TABLE OF grpmdline.

When this is run, its taking me into a dump and it says:

The reason for the exception is:

The system tried to pass internal table "I_NODES" to the formal

parameter "T_NODES", but a type conflict occurred between the

formal and the actual parameter.

Pl help me to correct this dump and error.

Thanks

Kiran