‎2007 Dec 10 3:45 PM
I am using Z_B_ENTETE_ALV function module .
Interface locale :
*" IMPORTING
*" REFERENCE(V_PROG) TYPE SY-REPID
*" REFERENCE(V_EVE)
*" REFERENCE(V_TITRE)
*" REFERENCE(V_TYPE)
*" REFERENCE(V_FIC_SORT)
*" REFERENCE(V_FIC_ENT)
*" TABLES
*" ZT_LIST_TOP_OF_PAGE STRUCTURE SLIS_T_LISTHEADER
*" ZT_LIST_TOP_OF_LIST STRUCTURE SLIS_T_LISTHEADER
if i try to excute it .it gives " Field SLIS_T_LISTHEADER" unknown .
For that i have created a new include program and in that i declared
type-pools : slis.
and I included this inlude program in Function pool .
*******************************************************************
System-defined Include-files. *
*******************************************************************
INCLUDE LZTESTTOP. " Global Data
INCLUDE LZTESTUXX. " Function Modules
*******************************************************************
User-defined Include-files (if necessary). *
*******************************************************************
INCLUDE LZTESTF... " Subprograms
INCLUDE LZTESTO... " PBO-Modules
INCLUDE LZTESTI... " PAI-Modules
INCLUDE ZTEST_INCLUDE. -
>this is my include.
even though iam getting same error.
Please help.
Points rewarded.
‎2007 Dec 10 4:13 PM
The TYPE-POOLS: slis. declaration must be BEFORE the INCLUDE LZTESTUXX statement.
Otherwise, it will be not visible by Function Modules.
Hope this helps.
Roby.
‎2007 Dec 10 3:47 PM
Add this statement as well
type-pools : slis.
WHEN USING MORE THAN ONE TABLE IN ALV WE NEEED TO DECLARE THE TYPE
GROUP (TYPE-POOLS--------->SLIS)
type-pools : slis.
Amandeep
‎2007 Dec 10 3:58 PM
Dear Amandeep,
Thanks for your reply.
Already I have included the statement in Zinclude_test and included in function pool.
TYPE-POOLS : SLIS.
Eventhough iam getting same error.
Let me know where can I include exactly.
regards,
hardhik.
‎2007 Dec 10 4:01 PM
‎2007 Dec 10 3:59 PM
Try adding the Include statement ( INCLUDE ZTEST_INCLUDE. -
>this is my include. ) in the TOP INCLUDE. (LZTESTTOP) Activate the Include and then do the syntax Check...
‎2007 Dec 10 4:14 PM
Dear All,
I have included in TOP and activated.
iam getting same error.
pl give solution ASAP...
regards,
Hardhik.
‎2007 Dec 10 4:18 PM
As said, I did like this.
go to Include
LZTESTTOP. and key in the statement
type-pools : slis..
Activate the TOP include first and Activate the FM.
OR
go to the Attributes Tab
double click on the Program Name
should take you to the progrm where TOP include is declared.
double click on the TOP include and declate the Type-Pool there.
This should work without any problem.
A
‎2007 Dec 10 4:35 PM
Thanks for your quick reply,
as you said . I did
included in top and activated both.
but same problem.
regards,
Hardhik.
‎2007 Dec 10 4:39 PM
Whats the name of the function Group ?
Is it ZTEST ??
find the Include name Z<b>(NAME Of FUNCTION GRP)</b>TOP.
Include the statement there. I am not sure if you are declaring it in the correct include.
A
‎2007 Dec 10 5:01 PM
I have included the slis staement in LZTESTTOP.
but not resolved.
‎2007 Dec 10 4:13 PM
The TYPE-POOLS: slis. declaration must be BEFORE the INCLUDE LZTESTUXX statement.
Otherwise, it will be not visible by Function Modules.
Hope this helps.
Roby.
‎2007 Dec 10 4:39 PM
Hi Roby,
Thanks for your reply.
I have included the slis as you said .
still same error.
pl help.
regards,
Hardhik.
‎2007 Dec 10 5:09 PM
Didn't check your Function Module Interface. The Interface is using SLIS_T_LISTHEADER. You can use only data Dictionary objects in the interface.
Use the Table type <b>LVC_T_HEAD</b> instead of SLIS_T_LISTHEADER. It has the same structure as SLIS_T_LISTHEADER
Regards,
Abhishek
‎2007 Dec 11 7:51 AM
Thanks a lot Abhishek,
my problem resolved.
i have used LVC_T_HEAD.
regards,
Hardhik.