‎2009 Aug 26 5:18 AM
Hi,
I am building a Web Application in which the user can enter very large string (unlimited) and we want to store that value in the backend. So i need to create Remote function module which can take large strings, store it in backend and when queired export the strings to the calling web application.
The Remote function module is allowing me to create "Import" and "Export" parameter with type String....but it is not allowing the String type "Table" parameter. I am kind of stuck now as i want to import and export multiple records of type String.
Can anyone suggest an altenative?
Regards,
Kumar.
‎2009 Aug 26 5:22 AM
Hi,
To have a table parameter with string type fields, Goto SE11 and under data types, create a structure with the required fields of type string.
Then u can use this structure to refer to the table parameter and declare it as
p_tab like ZSTRUCTURE in the tables tab.
Regards,
Vik
‎2009 Aug 26 5:36 AM
Bu that is not working. It says Remote function modules needs to have flat structures..
Regards,
Kumar.
‎2009 Aug 26 5:49 AM
Well its working for me. In which SAP version are you working on?
‎2009 Aug 26 3:40 PM
I am on ECC 6.0.
Are you sure you have marked your function module as "Remote-Enabled Module" in the Attirbutes Tab?
Pls let me know.
Regards,
kumar.
‎2009 Aug 26 3:40 PM
I am on ECC 6.0.
Are you sure you have marked your function module as "Remote-Enabled Module" in the Attirbutes Tab?
Pls let me know.
Regards,
kumar.
‎2009 Aug 26 3:58 PM
Hello Kumar,
It is not required to define table of type string as I hope you don't want to store full record in single line.
I think you can create table with type of char512 or char256 and then you can break input string as per the type
and store in table.
Hope this helps!
Thanks,
Augustin.
‎2009 Aug 26 3:58 PM
Hello Kumar,
It is not required to define table of type string as I hope you don't want to store full record in single line.
I think you can create table with type of char512 or char256 and then you can break input string as per the type
and store in table.
Hope this helps!
Thanks,
Augustin.
‎2010 Dec 06 4:10 PM