Application Development 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: 

regarding flags

kishorepallapothula
Participant
0 Kudos

Hi,

Anybody please let me know the purpose of flags and how to set flags and the help of using flags

regards,

kishore

3 REPLIES 3

Former Member
0 Kudos

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

former_member189059
Active Contributor
0 Kudos

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

kishorepallapothula
Participant
0 Kudos

hi thanks