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

Blank some fields

Former Member
0 Likes
438

hi..

I am having the situation like...

If one field value is something like 0003 i have to blank the remaining filed values for that record....

eg:

if t001l-lgort = '0003' the i have to blank the remaining fields like mard-lgort, ekpo-ebelp ...

how to do that can anyone guide me

SIRI

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
411

if you are talking about program then -

if t001l-lgort = '0003' .

move spaces to mard lgort, ekpo-ebelp.

endif.

Regards,

Amit

3 REPLIES 3
Read only

suresh_datti
Active Contributor
0 Likes
411

blank where? if it is in your program, use clear ie

if t001l-lgort = '0003' .

CLEAR: mard-lgort, ekpo-ebelp.

endif.

~Suresh

Read only

amit_khare
Active Contributor
0 Likes
412

if you are talking about program then -

if t001l-lgort = '0003' .

move spaces to mard lgort, ekpo-ebelp.

endif.

Regards,

Amit

Read only

Former Member
0 Likes
411

Hello ,

Clear will be best use for doing this .

If you mean work area or if you want to change the records in database..

you can use UPDATE by giving all the key fields in the where condition of it .

Thanks .