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 Message class

Former Member
0 Kudos

Hi,

which message class contains all the BDC error message information?

Thanks

Prince

9 REPLIES 9

former_member181995
Active Contributor
0 Kudos

BDCMSGCOLL

0 Kudos

Hello,

That's true, but can you tell me the bdc message 1000 and more is where stored actually i intened to ask this because till 999 the messages are stored but what about more than BDC message 999 like message number 1000 or more?

Thanks

Prince

0 Kudos

Hi Amit,

I do n't think MSGCOLL is message class.BDCMSGCOLL is a table which stroes the messages that will trigeer during call transaction of particular Transaction.You can check this in SE91 for messgae class

Hi Raja,

I do n't think ,there is special class for messages of BDC.

All messages will store in Table of type BDCMSGCOLL while you are performing Call transaction.And message class depends on the transaction.

0 Kudos

Hi...

BDCMSGCOLL is the structure it contains the filed MSGID i.e Batch input message ID

So while caling the function module.. FORMAT_MESSAGE...

As you know we hav to pass the following parameters...

>CALL FUNCTION 'FORMAT_MESSAGE'

>EXPORTING

>ID = I_MSG-MSGID

>LANG = 'E'

>NO = I_MSG-MSGNR

>V1 = I_MSG-MSGV1

>V2 = I_MSG-MSGV2

>V3 = I_MSG-MSGV3

>V4 = I_MSG-MSGV4

>IMPORTING

>MSG = V_MSG

So here by formatting the message the function module gives text with V_msg...

Here one perticuler message class never used..

According to that screen error....it will picks the message from different message classes like ZV..etc..

For more clarification plz debugg the FORMAT_MESSAGE function module once...

Thanks,

Naveen Inuganti.

0 Kudos

Hi,

Can anyone pass me the list of BDC messages numbered more than 999 .

Because these generally occurs in the production system.

Thanks

Prince

Former Member
0 Kudos

Hi Prince,

BDCMSGCOLL is a table where all the messages during the BDC run are stored.

Coming to message class, you cannot have more than 1000(000-999) messages in a message class. If you want to have more, then you need to go for another message class.

Regards,

Chandra Sekhar

Former Member
0 Kudos

Hi Prince.

I would like to suggest,

BDCLM - Batch input: Log messages

BDCMSGCOLL - Collecting messages in the SAP System

IBIPMESS - IBIP: Batch input message

Hope that's usefull.

Good Luck & Regards.

Harsh Dave

Former Member
0 Kudos

Hi Raja,

There is no specific message class attached, because messages are only captured in BDCMSGCOLL and message class of that message will depend upon Transaction you are executing.

If you want to find message class and using BDC session, it will be displayed in log last 3 columns - type of message, message class and message number.

If you are using transaction method, it will be captured in BDCMSGCOLL.

I think you might be referring to index number, it can go beyond 999 (as it indicate record number)

Regards,

Mohaiyuddin

Edited by: Mohaiyuddin Soniwala on Aug 4, 2008 11:45 AM

Edited by: Mohaiyuddin Soniwala on Aug 4, 2008 11:47 AM

Former Member
0 Kudos

hi,

BDCMSGCOLL is a structure which contains all the error messages of a bdc in call transaction method.

U need to declare a Internal table of type BDCMSGCOLL and loop at it to write down the error messages.

Reward points if useful.

Regrads,

Aleem.