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

WebDynpro Runtime Error


Can any one suggest me how to resolve this error.


What happened?

The exception 'CX_WD_BAD_ARGS' was raised, but it was not caught anywhere along

the call hierarchy.

Since exceptions represent error situations and this error was not

adequately responded to, the running ABAP program

'/1BCWDY/C19M7QG1N3MYQKZ1VMA5==CP' has to be


What can you do?

Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system


Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

Error analysis

An exception occurred which is explained in detail below.

The exception, which is assigned to class 'CX_WD_BAD_ARGS', was not caught and

therefore caused a runtime error.

The reason for the exception is:

Parameter EDATE contains an invalid value .

How to correct the error

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following





If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File


2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File


3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More


4. Details about the conditions under which the error occurred or which

actions and input led to the error.

Source Code Extract

Line SourceCde


201 Me->handledefault( WdEvent ).


203 when others.

204 raise exception type Cx_Wd_Bad_Args

205 exporting

206 Parameter = `HANDLER_NAME`

207 Argument = Handler_Name.

208 endcase.

209 endmethod.


211 *====================

212 method handledefault.

213 *====================

214 " typecasting from generic to specific arguments


216 * data declaration

217 data:

218 !wdEvent like !Event.

219 field-symbols:

220 <cur_Param> type Wdr_Event_Parameter.


222 wdEvent = Event.


224 " mandatory parameter edate

225 data:

226 !edate type Char10.

227 read table Event->Parameters[]

228 with table key Name = `EDATE` assigning <cur_Param>.

229 if ( 0 ne sy-Subrc ).

>>>>> raise exception type Cx_Wd_Bad_Args "this is the error point

231 exporting

232 Parameter = `EDATE`.

233 endif.

234 " Cx_Sy_Conversion or similar issues may occur

235 " but this is caused by the invocing party !!!

236 f_Internal_Api->assign_Untyped_Reference(

237 exporting !data_Ref = <cur_Param>-Value

238 importing !data = !edate ).


240 " mandatory parameter form

241 data:

242 !form type Char2.

243 read table Event->Parameters[]

244 with table key Name = `FORM` assigning <cur_Param>.

245 if ( 0 ne sy-Subrc ).


G.Pavan Kumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2015 at 08:30 AM

    Hello, have you found the Problem? I have the same!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.