cancel
Showing results for 
Search instead for 
Did you mean: 

Error text missing in raising exception (In ABAP mapping)

Former Member
0 Kudos

Hi,

iam using ABAP Mapping for 1 interface.

Based on some condition i am raising exception with error text. When i executed this in SXI_Mapping_test it's showing the Error text. But when i execute the interface directly error text is missing in the Error details.

can any one figure out y its not coming..

regards

Kishore

Accepted Solutions (0)

Answers (1)

Answers (1)

STALANKI
Active Contributor
0 Kudos

Probably you would have used write statemnt..I think u gotto create target node and elemants for the same if am right..

Former Member
0 Kudos

Hi,

I think you need to write the error to mapping trace.

http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm

Regards

Vijaya

Former Member
0 Kudos

Hi Sravya,

i used da following

RAISE EXCEPTION TYPE CX_MAPPING_FAULT EXPORTING

ERROR_TEXT = 'THis is error text'.

to raise xception with error message

Vijaya,

writing to mapping trace is not going to error detail, i tried tat also.

Appriciate ur help

Regards

Kishore