Skip to Content
author's profile photo Former Member
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2004 at 09:37 AM

    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

    Add comment
    10|10000 characters needed characters exceeded