‎2008 Jul 31 3:16 AM
Hi All,
We are enhancing a FM using implicit enhancements.
In that I am calling a method. the importing parameter of the method is a table. Example code below.
Call method zcl_xyz=> method1
exporting im_i0167 = i0167.
(i0167 is an internal table based on structure p0167 and database table pa0167).
Now the i0167 is an internal table coming from the standard code above. I want to take this internal table as an input to the method. I have defined im_i0167 as an importing parameter for the method. The problem is that this i0167 is an internal table with header line (It is coming from the standard codes and declarations). Now i have defined my importing parameter im_i0167 by using type p0167.
At run time when the method is called, the im_i0167 is only a work area and not a table. Any imputs on how to pass this internal table with header line into a input parameter of a method (without the header line as this is OO) ?
‎2008 Jul 31 4:44 AM
Hi
in OO ABAP internal tables with header line are not supported.
Try the following and check.
Call method zcl_xyz=> method1
exporting im_i0167 = i0167[ ].
Hope it helps.
Murthy
‎2008 Jul 31 4:44 AM
Hi
in OO ABAP internal tables with header line are not supported.
Try the following and check.
Call method zcl_xyz=> method1
exporting im_i0167 = i0167[ ].
Hope it helps.
Murthy