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: 

BDC error- cant get the exact description

Former Member
0 Kudos

Hi,

I have a BDC for invoice create (VF01). With reference to Delivery i create that invoice. Some times i dont get the proper description of error message in bdcmsgcoll structure. Suppose if sales order is in change mode and if i try to create Invoice with that BDC the message which i get in error table is VF( 63 )and VF (32.) Which does not return me the actual discription of the problem.

Is there anyway i can get the right results in error table.

There are FM s to create invoices and it returns proper error message ( Order is in change mode ....) in VBFS table but i want to do it with BDC only.

Can anyone help me?

Regards,

Pavan.

3 REPLIES 3

Former Member
0 Kudos

As you are getting the error code, use the function module "BALW_BAPIRETURN_GET2" go the get the message description.

0 Kudos

Hi,

Getting the description is not a problem.

The message numbers which i receive from BDC are not right.

P561888
Active Contributor
0 Kudos

Hi,

There is FM to get the DBC errors , As you are using the Call Trans. Method.

Use the FM FORMAT_MESSAGE or use the BAPI FM BAPI_MESSAGE_GETDETAIL or write the select qury for the T100 as the message are stored in this table.

Better while writing the BDC , Look for any BAPI is available for the creation.

Regards,

Bharani