on 07-10-2008 12:35 PM
hi all,
what is the difference between the followig declerations.
DATA: WA_KNA1 TYPE KNA1,
IT_ITAB TYPE TABLE OF ZCREDIT_PAYMENTS.
declaration wa_kna1 does not represent an internal table??
Thank You.
yateendra.
Hi,
DATA: WA_KNA1 TYPE KNA1,
It is a structure as the type (KNA1)y ou referred is a standard structure.
And second one is internal table As you mention the table type.
For Creating a internal table you have three different Parameters.
1. Table kind.
2. Line type,
3. Key fields.
In the First case you ahave mention only the line type as KNA1.
Thats why its merely a structure, not an internal table.
But in second case you you mentioned the 'Table type' and 'Line type' Both.
By default if you do not mention table ttype it takes 'Standard 'type. So its internal table.
For Details follow the link-
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb367a358411d1829f0000e829fbfe/content.htm
Regards,
Sujit
Edited by: Sujit Pal on Jul 10, 2008 1:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.