‎2008 Mar 07 12:11 PM
Hallo,
I want to use the CL_GUI_HTML_VIEWER to interact with a web-application.
When calling the URL I want to append some parameters to it in the form
http://myurl?param1=value1¶m2=value2&.
I think that the control sends this as GET request. So the length of the url is limited.
What is the limit?
Is it possible to call the url as unlimited POST request?
Guido
‎2008 Mar 11 11:38 PM
The sample SAPHTML_EVENTS_DEMO code provides demo buttons for both "Submit input using GET method" and "Submit input using POST method" so I assume you could choose either.
The "postdata_tab" in the demo is of type cnht_post_data_tab which is an internal table 256 chars wide... the CL_GUI_HTML_VIEWER class has attribute M_POSTDATA of the same type... the M_GETDATA attribute is type CNHT_URL = 2048 char (type group CNHT has the definitions).
Jonathan
‎2008 Mar 12 8:14 AM
In this demo form fields are send from the html page to SAP by a POST response.
I want so send parameters from SAP to the html page by a POST request to fill some input fields.