cancel
Showing results for 
Search instead for 
Did you mean: 

URL Parameter

Former Member
0 Kudos

I have a parameter in my Webdynpro Application;

When i launch the application through URL without passing the parameter... it's giving me a run-time error. Any pointer how to fix this issue?

Edited by: gvsastry on Mar 22, 2011 12:18 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184578
Active Contributor
0 Kudos

Hi gv.,

Might be u r reading that parameter in init method.. so as there s no parameter it s giving runtime error.. can u post wat error u r getting..

Thanks & Regards

Kiran

Former Member
0 Kudos

This piece of code is causing the error.


" mandatory parameter equipment
  data:
    !equipment type Comt_Product_Id.
  read table Event->Parameters[]
    with table key Name = `EQUIPMENT` assigning <cur_Param>.
  if ( 0 ne sy-Subrc ).
    raise exception type Cx_Wd_Bad_Args
      exporting
         Parameter = `EQUIPMENT`.
  endif.

Edited by: gvsastry on Mar 22, 2011 12:49 PM