Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to define this type in this code

Hi all.

I am trying to make a program work , but got stuck  on how to define this type : "zmsg_type"

REPORT  myProgram.

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.




Former Member
Former Member replied

Hi Sami,

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.

With Regards,

Giriesh M

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question