HI,
I am creating ALV report. I have declared one internal table with fields
like tables ables, anlv, anek,anlz, anlcv..tec. I am using Logial database
to select the data for internal table. After selecting all the required data
to internal table, I am facing the following problem.
When I use the following code to create ALV I am getting the error saying
.."IAN (Internal table) is not compatible with formal parameter "IT_OUTTAB"
MODULE PBO OUTPUT.
SET PF-STATUS 'MAIN100'.
IF G_CUSTOM_CONTAINER IS INITIAL.
CREATE OBJECT G_CUSTOM_CONTAINER
EXPORTING CONTAINER_NAME = G_CONTAINER.
CREATE OBJECT GRID1
EXPORTING I_PARENT = G_CUSTOM_CONTAINER.
CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
CHANGING
IT_OUTTAB = IAN.
ENDIF.
ENDMODULE.
But when I use single table only like ANLV there is no problem..
Thanks,