‎2009 Feb 17 12:41 PM
Hi Experts,
I am new in ABAP OO and I have a little problem. I want to export a table by calling a method. For this I have declared an export paramater as type of the structure I want to give back.
PE_TAB_RESULT Exporting Type /IXULT/HV_MM_STRU
If i now want to append a new line to my table I always get the error "occurs n" in my method.
Please can someone help me with that problem?
Greetings, Alexander
‎2009 Feb 17 1:32 PM
Is your export parameter defined as a TABLE type, or just a strcuture?
I don't recognize the error message you are getting - can you double check you've got it right.
matt
‎2009 Feb 17 1:32 PM
Is your export parameter defined as a TABLE type, or just a strcuture?
I don't recognize the error message you are getting - can you double check you've got it right.
matt
‎2009 Feb 17 1:45 PM
Thats exact my problem. I did not really know how to define my export parameter as table.
In a ABAP program I can say:
it_tab type table of structure but in the method I only can say: like, type or type ref to.
My export paramter is defined as type of a structure.
‎2009 Feb 17 1:56 PM
is there also a table type of the structure you are using? If so, use that as your TYPE otherwise create a table type yourself with line type the structure that you want.