cancel
Showing results for 
Search instead for 
Did you mean: 

How the Method GET_FORM_FIELDS into a BSP page to read parameters send by a post HTTP

Former Member
0 Kudos

Hello,

I'm trying to read parameters sent by a web page with a post HTTP into a bsp page :

Indeed the first page (page1.htm) send parameters in this format :

(I can't modify the format ...)






I'm trying to get all the parameters from this first page (page1.htm)  into the EVENTHANDLER "OnInit" of my BSP page (read_param.htm) ...

The problem comes from the TAB ... with the indexes  [1], ...

So i 'm trying to use the Method GET_FORM_FIELDS ... but with no success ...

Can someone help me ???

Thanks !

Francois

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks to this newsgroup :

http://groups.google.fr/groups?hl=fr&lr=&ie=UTF-8&oe=UTF-8&group=de.alt.comp.sap-r3

Here is the solution :

  • Attributes of your site

gs_iihttpnvp TYPE IHTTPNVP

gt_tihttpnvp TYPE TIHTTPNVP

  • OnInitialization

CALL METHOD request->get_form_fields

  CHANGING

    fields = gt_tihttpnvp.

  • Layout