08-21-2007 2:53 AM
Hi,
Anybody please let me know the purpose of flags and how to set flags and the help of using flags
regards,
kishore
08-21-2007 3:23 AM
Hi
Flags are nothing but a single CHAR fields
We define them as SIngle char field s and use it in the code depending on the requirement.
it is just similar to a condition based value of a single char field
Regards
Anji
08-21-2007 3:53 AM
Hi,
Any time in a database, when u see the value 'X' in a single character field, that is nothing but a flag
it is used to mark certain things
for example in the t001 table, you will see many flags such as
XFMCO - Indicator: Project Cash Management active?
XFMCB - Indicator: Cash budget management active
XFMCA - Activate Update in Funds Management
as you can see by their description, they are used to indicate various things
to declare a flag as a variable or an internal table field is very simple since character type and one character length are taken as default
data: lv_flag,
By their declaration, flags can hold any character, however practically they only hold 'X' or ' '.
Message was edited by:
Kris Donald
08-30-2007 10:01 AM