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 MESSAGE CLASS

anilkumar_raina
Participant
0 Kudos

CAN U TELL ME THE NAME OF ERROR MESSAGE CLASS OF THIS BAPI

BAPI_ACC_GL_POSTING_POST.

REGARDS

ANIL

1 ACCEPTED SOLUTION

Former Member
0 Kudos

There is no error message class as such for this....This will retun the errors after data is posted to SAP to variables. U should use ur defined message class in program and use this message class to output the errors.

3 REPLIES 3

Former Member
0 Kudos

There is no error message class as such for this....This will retun the errors after data is posted to SAP to variables. U should use ur defined message class in program and use this message class to output the errors.

Former Member
0 Kudos

Hi Anil,

There is nos specific error message class for this BAPI.

But if there is an error during the execution of the BAPI, then this would be captured in the RETURN table defined in the TABLES option of this BAPI.

The Return table contains the return messages from the method call.

In case of error the fields in the table would be:

<b>Type ID Number Message </b>

A RW 609 Error in document

The fields<b> MESSAGE_V1,</b> <b>MESSAGE_V2</b> and <b>MESSAGE_V3</b> contain the following information:

<b>Reference transaction ( OBJ_TYPE)

Reference key ( OBJ_KEY)

Logical system of source document ( OBJ_SYS)</b>Additional messages are transferred with the following information:

<b>Parameter ( PARAMETER)

Row ( ROW)</b>

Regards,

Chetan.

PS:Reward points if you find this helpful.

Former Member
0 Kudos

Hi

Message class for BAPI_ACC_GL_POSTING_POST.

<b>'RW'</b>

<b>See it in SE93</b>.

Mark points if helpful.

Regs

Manas Ranjan Panda

Message was edited by:

MANAS PANDA