‎2007 Jan 26 8:54 AM
Hi,
I want to create an array of strings as import parameter for a function module. Any hints on how to proceed ?
thanks,
Rolf
‎2007 Jan 26 8:57 AM
Hi Rolf,
Create a table parameter in your FM with a structure containing a single field of type string.
then use this table in your FM.
Reward points if found useful...!
Cheers
Abhishek
‎2007 Jan 26 8:57 AM
Hi Rolf,
Create a table parameter in your FM with a structure containing a single field of type string.
then use this table in your FM.
Reward points if found useful...!
Cheers
Abhishek
‎2007 Jan 26 8:58 AM
In the tables tab of the fm buider(se37),
you can simply use
itab type string
if it doesn't work,
you can use
itab type standard table.
Regards,
Ravi
‎2007 Jan 26 9:02 AM
In the TABLES parameter declare one ITAB of TYPE STRING
and checkout if it works
‎2007 Jan 26 11:55 AM
Thanks.
But in the FM builder in tab 'Tables', i enter 'type' and associated type 'string' and while trying to save or activate it gives a message 'type string is unknown' and the FM is not activated.
‎2007 Jan 26 11:59 AM
try...giving...
parameter name : <table name>
Type Spec: Type
Associated Type: String
This is working for me.
‎2007 Jan 26 1:03 PM
Thanks. It didn't work though. Had to create a table to use as a type. Thanks for all the answers.
‎2007 Jan 29 6:17 AM
you can use import parameter of type "STRING_TABLE" where string table is a table type . (array of string)
<b>strings type STRING_TABLE .</b>Raja