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

Table Type -- Urgent

Former Member
0 Likes
540

Hi,

Can anyone tell me what is the advantage in using a table type in a function module as exporting or importing parameter instead of declaring in Tables tab.

Regards

Jiku

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
518

Hi,

TABLE TYPE is used to create an internal table, which can be used globally by all programs.

You can create TABLE TYPE in SE11 (Data Dictionary).

Additional Info:

http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d7304b1af11d194f600a0c929b3c3/frameset.htm

Thanks.

Hi,

Can anyone tell me what is the advantage in using a table type in a function module as exporting or importing parameter instead of declaring in Tables tab.

Regards

Jiku

3 REPLIES 3
Read only

Former Member
0 Likes
519

Hi,

TABLE TYPE is used to create an internal table, which can be used globally by all programs.

You can create TABLE TYPE in SE11 (Data Dictionary).

Additional Info:

http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d7304b1af11d194f600a0c929b3c3/frameset.htm

Thanks.

Read only

Former Member
0 Likes
518

Hi Jiku,

If use a SAP defined table type then u r sticking to the standard and it will not be effected after the system is upgraded. But if you use user defined table type then it will create problem during upgradation.

Read only

Former Member
0 Likes
518

Hi Sir,

3 steps for mentioned below for defining internal table through table type.

We create table type for a table,if we want only specific colums for particular table to be used/edit/change.This table type will be globally used in our program.Plz look belwo for clear undestanding of picture.

Plz do reward if useful.

Thankx.

*********************Type declaration********************************

TYPES: BEGIN OF TY_ITAB_FINAL,

MATNR TYPE MATNR,

WERKS TYPE WERKS,

MAKTX TYPE MAKTX,

STLAL TYPE STLAL,

STLAN TYPE STLAN,

END OF TY_ITAB_FINAL.

********************Table type declaration***********************************

TYPES:TY_T_ITAB_FINAL TYPE STANDARD TABLE OF TY_ITAB_FINAL.

*********************Internal Table declaration*************************

DATA : ITAB_FINAL TYPE TY_T_ITAB_FINAL.