cancel
Showing results for 
Search instead for 
Did you mean: 

Error on calling a BDC from web dynpro while it runs fine through FM.

Former Member
0 Kudos

I have created a function module for calling transaction ima2n using a BDC. This function module runs as intended, if function module is executed using SE37. if I call the same function module from ABAP dynpro view, on some event. I get the below error. I have debugged the function module but it runs fine. If i debug function module and run the BDC in mode "A" then i can see that BDC is performing the intended actions. This is a strange behaviour.. Please help.

_____________________________________________________________________________________________________

ABAP Dynpro Error

______________________________________________________________________________________________________

Error when processing your request

What has happened?

The URL http://dev.corp.bharatpetroleum.com:8000/sap/bc/webdynpro/sap/zcapex_appln/ was not called due to an error.

Note

The following error text was processed in the system D01 : Exception condition "CREATE_ERROR" raised.

The error occurred on the application server dev_D01_00 and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Function: TREEV_CREATE_COLUMN_TREE of program SAPLCNT4

Form: TVAR_INIT of program SAPLAIA1

Module: INIT_VARIANTEN_TREE of program SAPLAIA1

What can I do?

If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system D01 in transaction ST22.

If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server dev_D01_00 in transaction SM21.

If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server dev_D01_00 . In some situations, you may also need to analyze the trace files of other work processes.

If you do not yet have a user ID, contact your system administrator.

Error code: ICF-IE-http -c: 100 -u: TESTAUTH32 -l: E -s: D01 -i: dev_D01_00 -w: 0 -d: 20111109 -t: 123625 -v: RABAX_STATE -e: RAISE_EXCEPTION

HTTP 500 - Internal Server Error

Your SAP Internet Communication Framework Team

______________________________________________________________________________________________________

ST22 Dump screen

______________________________________________________________________________________________________

User and Transaction

Client.............. 100

User................ "TESTAUTH32"

Language Key........ "E"

Transaction......... "IMA2N "

Transactions ID..... "4EB9F7AE3E2403D7E10000000A481584"

Program............. "SAPLCNT4"

Screen.............. "SAPLAIA1 0306"

Screen Line......... 5

Information on Caller ofr "HTTP" Connection:

Plug-in Type.......... "HTTP"

Caller IP............. "10.72.46.106"

Caller Port........... 8000

Universal Resource Id. "/sap/bc/webdynpro/sap/zcapex_appln/"

Information on where terminated

Termination occurred in the ABAP program "SAPLC

"TREEV_CREATE_COLUMN_TREE".

The main program was "SAPLAIA1 ".

In the source code you have the termination poi

of the (Include) program "LCNT4U74".

Error occurred during batch input processing

Source Code :

CONTAINER

CHANGING

HANDLE

TREE_CONTROL_NOT_EXISTING

FAILED

CREATE_ERROR

CNTL_SYSTEM_ERROR.

IF NOT TREE_CONTROL_NOT_EXISTING IS INITIAL

RAISE TREE_CONTROL_NOT_EXISTING.

ELSEIF NOT FAILED IS INITIAL.

RAISE FAILED.

ELSEIF NOT CREATE_ERROR IS INITIAL.

-->>>>>>>>>RAISE CREATE_ERROR. " failed on this line

ELSEIF NOT CNTL_SYSTEM_ERROR IS INITIAL.

RAISE CNTL_SYSTEM_ERROR.

ENDIF.

________________________________________________

regards,

Parag Agrawal

Accepted Solutions (0)

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos

Hi,

as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.

Refer

Thanks,

Chandra