2008 Apr 09 5:29 AM
Hi Guru,
I have a TYPE declared as below in ZABC_TOP in SE38.
TYPES: BEGIN OF t_imp,
matnr TYPE matnr,
charg TYPE charg_d,
ldest TYPE z_printer,
description TYPE z_description,
layout TYPE zpp_char50,
END OF t_imp.
My question is how do I define this in interface parameter ASSOCIATED TYPE declaration as I need to create a return value from a METHOD in t_imp.
Appreciate if could provide the step by step guideline and exampke to do the above.
Thanks in advance.
Hi Guru,
I have a TYPE declared as below in ZABC_TOP in SE38.
TYPES: BEGIN OF t_imp,
matnr TYPE matnr,
charg TYPE charg_d,
ldest TYPE z_printer,
description TYPE z_description,
layout TYPE zpp_char50,
END OF t_imp.
My question is how do I define this in interface parameter ASSOCIATED TYPE declaration as I need to create a return value from a METHOD in t_imp.
Appreciate if could provide the step by step guideline and exampke to do the above.
Thanks in advance.
2008 Apr 09 8:06 AM
sorry about previous reply, thought you were using a local class, but you are talking about SE24. Again sorry.
When you have declared this only at the top include. You can't use it in the global class. But what you can do is declare it separately in the class as well at top level. However, when doing so, you can't use it in the interface declaration of a method since it is only global within the class, but not for the outside' world. If you really need it than I would suggest to declare the type globally in SE11.
Edited by: Micky Oestreich on Apr 9, 2008 9:07 AM
2008 Apr 10 12:54 AM
Hi Micky,
Thanks for sharing the information. Appreciate so much
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |