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: 

error flag

Former Member
0 Kudos

hi how can i set the error flag is ON pl any one

3 REPLIES 3

former_member181962
Active Contributor
0 Kudos

If the flag is a variable in your program, the general convention is

v_errorflag = 'X'.

Regards,

Ravi

Former Member
0 Kudos

Hi,

**First declare a variable of type c and length 1.

data : flag(1) type c.

    • then set the value as 'X'

flag = 'X'.

Reward points if helpful.

Regards.

Srikanta Gope.

srikanta.gope@tcs.com

Former Member
0 Kudos

data: err_flag type flag.

constants: yes type c value '1',

no type c value '0'.

if err_flag eq yes.

then error.

endif.

if err_flag eq no.

then no error

endif.

Reward if useful

Regards

Prax