on 03-22-2011 4:18 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.