‎2007 Apr 18 8:07 AM
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
‎2007 Apr 18 8:46 AM
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
‎2007 Apr 18 9:08 AM
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
‎2007 Apr 18 10:40 AM
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
‎2007 Apr 18 10:41 AM
Hi Shailesh ,
Could you please check the FM 'STC1_FULLSCREEN_TABLE_CONTROL'.
Regards
Caglar .