Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

access internal table in table control in Function groups

Former Member
0 Likes
706

how to access internal table in table control in Function groups

i have wrritten a function module in which i havw a internal table when i create a screen i am unable to call the table in the function module

error occurring is table does not exist in the func group

4 REPLIES 4
Read only

Former Member
0 Likes
591

Where is the table defined? If it is declared locally in the function module, it will not be accessible. You will need to define the itab in the global top include.. you can find it by going to Goto > Global data.

Hope this helps.

Sudha

Read only

0 Likes
591

i have declared it globally but still it is giving the same error

TYPES: BEGIN OF TY_KNA1 ,

kunnr like kna1-kunnr,

NAME1 LIKE KNA1-NAME1,

ORT01 LIKE KNA1-ORT01,

PSTLZ LIKE KNA1-PSTLZ,

END OF TY_KNA1.

DATA: I_KNA1 TYPE TABLE OF TY_KNA1,

W_KNA1 TYPE TY_KNA1.

this is the declaration

Read only

0 Likes
591

Hello Shailesh

I still believe that the definition of the itab is at the wrong place. Have you put the definition in the <b>TOP-Include</b> of your function group? If so then the itab should be visible for all dynpros within the same function group.

Regards

Uwe

Read only

0 Likes
591

Hi Shailesh ,

Could you please check the FM 'STC1_FULLSCREEN_TABLE_CONTROL'.

Regards

Caglar .