cancel
Showing results for 
Search instead for 
Did you mean: 

Exception condition "CNTL_ERROR" raised.

ravi_kumar221
Participant
0 Kudos

hi i m using  WDY_EXECUTE_IN_PLACE  for claling       webdynpro appication but i m getting  Exception condition "CNTL_ERROR" raised.

Accepted Solutions (0)

Answers (1)

Answers (1)

JanarthananE
Contributor
0 Kudos

Hi Ravi,

Pls could u tell me ur scenario, were u got the exception raised, then its easy to give solution.

whether u r going to do integrate SAP webdynpro with GUI elements..?

Anyway refer the following thread for better understanding of functions of  WDY_EXECUTE_IN_PLACE function module.

http://scn.sap.com/thread/1772575

http://scn.sap.com/thread/1069907

and refer the following document.

http://help.sap.com/saphelp_crm52/helpdata/en/43/2f1a63cb883575e10000000a11466f/content.htm

Hope its useful to u,

Regards

Jana

ravi_kumar221
Participant
0 Kudos

hi i ave to call webdynpro componenet from ant method  so im using this

DATA: ltp_url         TYPE string  .                       "#EC NEEDED

* Call WebDynpro

   CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'

     EXPORTING

       internalmode        =      'X'                             "' '

       application         = 'Z_TEST11'

*      PARAMETERS          = ita_parameters

     IMPORTING

       out_url             = ltp_url

     EXCEPTIONS

       invalid_application = 1

       browser_not_started = 2

       action_cancelled    = 3

       OTHERS              = 4.

   IF sy-subrc NE 0.

*    RAISE error.

   ENDIF.

endmethod.

JanarthananE
Contributor
0 Kudos

Hi Ravi,

As per my understanding, u r calling WDY_EXECUTE_IN_PLACE function module,may be some exception can be thrown by the function module called, but i dono what u try to do.. refer the sample example program DEMO_START_WD_IN_PLACE2, its will show the concepts i think u can get some idea through this sample program.

Hope its useful to u,

Regards

Jana

ravi_kumar221
Participant
0 Kudos

Hi

it is working fine foe abap editor se38 but when i m using it in method of webdynpro application it is throwing error