selection screen problem
i have this selection screen code:
SELECTION-SCREEN BEGIN OF BLOCK params WITH FRAME TITLE text-t01.
p_carr LIKE zv60-carrier DEFAULT space ,
p_cd_tr LIKE zv60-cd_truck DEFAULT space .
r_dt_tr FOR zv60-dt_tran.
SELECTION-SCREEN END OF BLOCK params.
when i am not entering values in the first two parameters it assigns 0 to them altough the default option is space. what should i do, i want that if those values are empty they will remain empty.
check the data tpye of the selection screen fields ZV60-carrier & ZV60-cd_truck.if its integer type ,then if u don't enter any value in these parameters then by defualt it will get initialize to 0.
if u don't want 0 in these fields then change the data type of these field to character type then if u don't enter any value then by defaut it will be space.