Application Development and Automation 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: 
Read only

Table T100 entries

anub
Participant
0 Likes
6,782

Hi,

I have used Call Transaction method for a BDC as given below

   CALL TRANSACTION tcode USING bdcdata
                   MODE   ctumode
                   UPDATE cupdate
                   MESSAGES INTO messtab.

The Message table MESSTAB is of the type BDCMSGCOLL and I can get the message type, message id and message number in this table.

But when I check in table T100 for the message description I cannot find any entry corresponding to the messag id. The Message ID is 'PQ'. I dont find this in T100A table also. The BDC tcode is PA40. Is there any settings required for T100 table or is there any problem with the Transaction being used in the BDC.

Please guide.

Thanks,

Anu.

Hi,

I have used Call Transaction method for a BDC as given below

   CALL TRANSACTION tcode USING bdcdata
                   MODE   ctumode
                   UPDATE cupdate
                   MESSAGES INTO messtab.

The Message table MESSTAB is of the type BDCMSGCOLL and I can get the message type, message id and message number in this table.

But when I check in table T100 for the message description I cannot find any entry corresponding to the messag id. The Message ID is 'PQ'. I dont find this in T100A table also. The BDC tcode is PA40. Is there any settings required for T100 table or is there any problem with the Transaction being used in the BDC.

Please guide.

Thanks,

Anu.

5 REPLIES 5
Read only

Former Member
0 Likes
4,032

Use the FM -- FORMAT_MESSAGE to get the message description.Pass the id,lang,no,v1,v2,v3,v4 parameters. Hope this helps you.

Read only

SharathYaralkattimath
Contributor
0 Likes
4,032

Pass

T100 table fields                              BDCMSGCOLL

SPRSL(Language Key) = 'EN'     <---- messtab-MSGSPRA

ARBGB(Application Area)     =     'PQ'     <---messtab-MSGID

MSGNR(Message number)     =     'xxx'  <--- messtab-MSGNR

Read only

Former Member
0 Likes
4,032

hello,

t100 is the table for messages.

it contains only the fields

sprsl->language key,

arbgb->application area

msgnr->message number

text->message text.

here sprsl,arbgb,msgnr are the key fields,

Regards,

Read only

RaymondGiuseppi
Active Contributor
0 Likes
4,032

Try to code a

MESSAGE ID bdcmsgcoll-MSGID NUMBER bdcmsgcoll-MSGNR

   WITH bdcmsgcoll-MSGV1 bdcmsgcoll-MSGV2

        bdcmsgcoll-MSGV3 bdcmsgcoll-MSGV4

   INTO wa_message.

in your calling report.

Also execute transaction SE91 to look for message class definition, you could also execute the BDC in display-all or error-display mode., so check if you get  an error like "unknown message class".

Regards,

Raymond

Read only

amy_king
Active Contributor
0 Likes
4,032

Hi Anu,

For what reason are you trying to read the message from T100? If you're just trying to see what the message is, you can look in transaction SE91 for message class PQ. If you want to get the message text into a variable in your program, you can read MESSTAB and do the following:

MESSAGE ID messtab-msgid TYPE messtab-msgtyp NUMBER messtab-msgnr
        WITH messtab-msgv1 messtab-msgv2 messtab-msgv3 messtab-msgv4
        INTO lv_message_text.

Then variable lv_message_text will contain the full message.

Cheers,

Amy