2007 Dec 06 11:22 AM
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
2007 Dec 06 11:25 AM
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,
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.
2007 Dec 06 11:25 AM
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.
2007 Dec 06 11:28 AM
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.
2007 Dec 06 11:35 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |