How to define this type in this code
I am trying to make a program work , but got stuck on how to define this type : "zmsg_type"
PARAMETERS :p_all TYPE zmsg_type AS LISTBOX VISIBLE LENGTH 10
USER-COMMAND us1, " Message type
p_email TYPE ad_smtpadr MODIF ID md2,
p_print TYPE tsp03-padest MODIF ID md3.
TYPES : BEGIN OF lty_all,
all TYPE zmsg_type,
END OF lty_all.
Thank you very much.
Giriesh Chakaravarthy Mamurugan replied
From your program I guess he tries to create zmsg_type same as the data element for KSCHL with character 5 and some value ranges.
You can create the data element in SE11 Tcode with the values in value range.