‎2007 Aug 14 1:35 PM
what are the system fields that get affected when we use describe command?
‎2007 Aug 14 1:37 PM
Hi,
DESCRIBE FIELD <f> [LENGTH <l>] [TYPE <t> [COMPONENTS <n>]]
[OUTPUT-LENGTH <o>] [DECIMALS <d>]
[EDIT MASK <m>] [HELP-ID <h>].
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3145358411d1829f0000e829fbfe/content.htm
Regards
Sudheer
‎2007 Aug 14 1:38 PM
NONE, would you mind to read teh documentatiuon about describe? accesibble by positioning the cursoir on your describe statement and pressing F1.
‎2007 Aug 14 1:38 PM
Hi,
When you use DESCRIBE statement it retrieves the attributes of a field, an internal table or a list. This command to check whether an internal table contains data. The system field SY-TFILL gets affected.
Syntax: DESCRIBE TABLE <itab> LINES WS_LINES.
Thanks,
Sandeep.
‎2007 Aug 14 1:41 PM
Hi Mayuri,
Describe when used with Internal Table affects the following fields.
Sy-TFILL and SY-TOCCU Sy-TMAXL and SY-TTABC
Award points if helpful.
Best Regards,
Imran
‎2007 Aug 14 1:48 PM
Hi Mayuri,
Also while using DESCRIBE statement in addition to the system fields sy-tfill(the current number of table rows ), sy-tleng are filled with and the length of a table row in bytes.
Hope it was useful.
Thanks,
Sandeep.
‎2007 Aug 14 1:49 PM
Hi
sy-tfill -> contains the number of records in a int table
sy-toccu -> contains 0 if u define int table as occurs 0.
please close all of u r threads