Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error in BAPI

Former Member
0 Kudos
159

Hello,

I am getting error in BAPI.

BAPI name is BAPI_RECORD_ADDELEMENT.

I found the return structure contains error An internal error has occurred check application log . with num 820

Can anybody help me out in understanding what exactly this error means or why it could be coming.

Is it because of data which i am passing in BAPI.

Regards

Vik

4 REPLIES 4

former_member212653
Active Contributor
0 Kudos
88

Go to transaction SLOG to see the application log in details.

Former Member
0 Kudos
88

Hi,

Pass the message nubmer an id to another bapi u will get the exact messgae text

CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL'

EXPORTING

id = msg id

number = msg number

language = sy-langu

textformat = 'ASC'

IMPORTING

message = lw_message.

lw_message gives message text ( exact error message).

Regards,

Sriram

Edited by: Srirama Murthy Maddirala on May 21, 2008 1:29 PM

0 Kudos
88

Thanks a lot all for helping........

I think i have found the problem there was a prob in record management we have made some changes there now its working fine.

0 Kudos
88

How did you solve the problem?

We are facing the same problem. Can you please help me?