‎2005 Oct 12 11:08 AM
Hi,
I have obtained the information regarding the user selected fields in an ALV in a variable of type SLIS_SELFIELD (declared in type pool SLIS). Now I need to pass on this information to an RFC enabled funtion module.
I have declared an import parameter of type SLIS_SELFIELD in the function module. However I get an error message 'Type SLIS_SELFIELD is neither known nor allowed'. However, using this type is allowed for a normal function module.
I want to know if there is any way of passing this field to the RFC enabled function module, or any other data dictionary type which I can use.
Any pointers would be helpful.
Regards,
Saurabh
‎2005 Oct 12 11:23 AM
Hi Saurabh,
I guess the most easiest way is to declare a Data Dictionary structure yourself based on the definition in type-pool SLIS and use this structure as reference.
Regards,
John.
‎2005 Oct 12 11:32 AM
just declare the type pool (SLIS) in the top include (global data) of the function group. then you will be able to use it in all the FMs within the function group
And i dont think its RFC related issue.
Regards
Raja
‎2005 Oct 12 12:10 PM
Hi Raja,
I have already done that. But even then it gives the same error.
However, if I mark my FM as a normal (non RFC) function module it does not give the error and works fine.
Regards,
Saurabh
‎2005 Oct 12 12:27 PM
Hi Saurabh,
Sorry, i should have looked into the type pool for definition. in RFC functions you cannot use local structure. (SLIS_SELFIELD is a local structure). to be able to use it with RFC enabled FMs , it has to be a physical structure created in SE11.
Regards
Raja