on 08-13-2007 6:36 PM
Hi Gurus,
I am trying to create an application using service call to a Function module(FM).
I am creating a view that displays a table which gets its data from the FM.
The application reads a parameter from URL and then passes this to the FM as input. The function module outputs the data table by querying various SAP tables.
But the problem is when i am displaying the data in the table of view its only displaying certain rows that i retrieve and not all the rows.
But when i test the function module individually its giving me all the rows.
Where am i going wrong? Can anyone please help me on this?
Thanks,
Das
Also i tried the same application by giving the input from the view instead of from URL parameter, to the FM. And when i click on a search button in the view and execute the FM method and display the data in table iam able to get all the rows.
But this is not so when i'm trying to do the appln via passing parameters from URL.
Please help.
Thanks,
Das
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried setting a breakpoint in your application? One at the point where you receive the value from the URL and one where you get the parameter when clicking in the search button. Differs the parameter? Perhaps one is lowercase, the other uppercase?
Is the type of the parameter in your application the same you use in your FM? Perhaps there are problems when converting the parameter?
Please post some more information or some code!
Greeting,
Mathias
Hi
clearly the issue is your URL is not read properly.
How you are reading your URL Parameter.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20web%20dynpro%20java%20and%20web%20dynpro%20abap%20applications%20in%20universal%20work%20list.pdf">Here</a> is a link to a blog don't try to read the entire blog just read the lines How the URL parameter is retrieved.
Regards
Abhimanyu L
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.