cancel
Showing results for 
Search instead for 
Did you mean: 

Custom SICF handler read URL parameters

Former Member

Hello,

I have written a custom SICF handler.In the SICF handler method of handle request,how do i read URL parameters.

regards

Kaushik

Accepted Solutions (0)

Answers (2)

Answers (2)

Khaled_Elghali
Participant
0 Kudos

Hi,

just to keep it for future reference:

DATA: lv_icf_path_query  TYPE string,    
lv_icf_path_query  = server->request->get_header_field( if_http_header_fields_sap=>query_string ).

Best regards,

Khaled

ChandraMahajan
Active Contributor
0 Kudos

Hi,

Using GET_HEADER_FIELD() / GET_HEADER_FIELDS(), the HTTP request handler can access all attributes of the HTTP header (name/value pairs).


Refer Accessing Header Fields (SAP Library - Components of SAP Communication Technology)


Regards,

Chandra