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

regarding flags

kishorepallapothula
Participant
0 Likes
1,022

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
Read only

Former Member
0 Likes
805

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

Read only

former_member189059
Active Contributor
0 Likes
805

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

Read only

kishorepallapothula
Participant
0 Likes
805

hi thanks