‎2010 May 05 10:40 AM
HI Friends,
I got a wierd requirement from one of my client.
They said i have to create Remote Enabled FM where user will enter multiple single values and the resultant output should get the details of all the values.And the function module cannot use ranges for output.
I want ot know how can a user enter multiple values as I have to check "pass by value" in import for RFC FM.
As I am using Web RFC fro the same. I guess it will still be difficult for publishing the same on portal.
Please can anyone give good suggestionfor my query.
Regards,
Sany.
‎2010 May 05 10:43 AM
Hi,
Pass your result in tables parameter along with the input provided.
Say u got input of 10 values, your result will be one tables parameter with input value provided in field1 and result in field2.
Thanks,
Vinod.
‎2010 May 05 10:43 AM
Hi,
Pass your result in tables parameter along with the input provided.
Say u got input of 10 values, your result will be one tables parameter with input value provided in field1 and result in field2.
Thanks,
Vinod.
‎2010 May 05 10:52 AM
Hi Vinod,
Ofcourse my output will be in tables parameters. But my input would be just like how we choose multiple single values for
SELECT-OPTIONS in reports.I want to make user enter multiple values to get the resultant output.
The user wont mind to enter again n again the single values but he wants the resultant output in table format.
Regards,
Sany
‎2010 May 05 10:56 AM
so what would be your problem, take the input into a itab pass it to your function and display the return. you can display it as a alv
Edited by: Nafran Shiraz on May 5, 2010 11:57 AM
‎2010 May 05 11:09 AM
For multiple input ou can use Table parameter,
Create a report and call it in From RFC.(submit or call transaction).
if the user wants in table format then create a module pool programming and pass the input using submit or call from RFC.
‎2010 May 05 11:11 AM
Nafran i am using RFC here not a report and can you tell me how can you take tables in changing parameters using pass by value as it is mandatory to check pass by value in Function module.
I am not using any report here.. Please read my query and then comment on it.. Here ALV doesn't exist at all..
Please provide valid answers.....
‎2010 May 05 11:14 AM
Dharma ,
I tried using submit but its then used in portal where there is no provision of taking selection-screen dyanamically during run time.
Regards,
Sany
‎2010 May 05 12:41 PM
Hi Santosh,
I thought when you said portal you using the portal to view using sap portal where you can add the normal screen to it.
anyway i think i dont get what your trying to explain.
‎2010 May 05 10:45 AM
I am not sure if i am fully clear of your requirement.
but why cant u send a table and return the table i mean in changing mode