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

clearing the field value

Former Member
0 Likes
642

IF l_v_ucomm = c_click.

IF fp_selfield-fieldname = c_matnr.

IF fp_selfield-value IS NOT INITIAL.

SET PARAMETER ID mak FIELD sd_selfield-value.

i want to clear the value of sd_selfield but i am not able to clear since it is not an internal table of occurs 0. how can i refresh the body of the field here.

SET PARAMETER ID ctd FIELD fp_selfield-value.

CALL TRANSACTION c_ms05 AND SKIP FIRST SCREEN.

ENDIF.

ENDIF.

thanks

reddy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
618

Hi Reddy,

Use this statement.

Clear : sd_selfield ,sd_selfield[].

Regards,

Hemant

4 REPLIES 4
Read only

Former Member
0 Likes
618

Hi

write:

CLEAR sd_selfield . clears the internal table

REFRESH sd_selfield or sd_selfield[]. removes the body of internal table

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
618

hi,

try out with clear itab...

madhuri

Read only

Former Member
0 Likes
618

Try:

sd_selfield-value = space.

Read only

Former Member
0 Likes
619

Hi Reddy,

Use this statement.

Clear : sd_selfield ,sd_selfield[].

Regards,

Hemant