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

describe statement

Former Member
0 Likes
652

what are the system fields that get affected when we use describe command?

6 REPLIES 6
Read only

Former Member
0 Likes
613

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

Read only

Former Member
0 Likes
613

NONE, would you mind to read teh documentatiuon about describe? accesibble by positioning the cursoir on your describe statement and pressing F1.

Read only

Former Member
0 Likes
613

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.

Read only

Former Member
0 Likes
613

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

Read only

Former Member
0 Likes
613

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.

Read only

Former Member
0 Likes
613

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