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

Technical information

Former Member
0 Likes
750

Hi.

i'm looking for an FM that will bring me the message content that appears at the bottom of the screen.

and then i'll write it when my program ending.

thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
719

Hi Gil,

If you have the message id then you can get the message text from table T100.

Just use a SELECT query to get the message text from table T100 in your program.

Hope it helps.

Regards,

Neeraj gupta

9 REPLIES 9
Read only

abdul_hakim
Active Contributor
0 Likes
719

Hi,

y don't you capture those error message into a variable and write it down..

Cheers,

Abdul Hakim

Read only

0 Likes
719

Those error messages are not created by me.

i have a program with batch input that somtimes it's not update the record and i wanna know the message content.

i'm using :

CALL TRANSACTION 'MM02' USING int_bdc MODE 'N'

MESSAGES INTO ITAB.

in the itab i have the msg id but not the content.

thanks.

Read only

andreas_mann3
Active Contributor
0 Likes
719

hi,

in which connection ? - call transaction ?

-> here you can use :

CALL TRANSACTION 'SE38' USING BDCDATA MODE 'N'

MESSAGES INTO ITAB.

at end of your program you can evaluate table itab.

Andreas

Read only

Former Member
0 Likes
719

Hi,

I'm not sure there is any FM for it, but what you see that message at the bottom of the screen is the Process or Success indicator. if you double click on it you can get the message number and message class, uisng them you can write at the end of your program.

Regards

Vijay

Read only

0 Likes
719

Vijay i'm not think that i really uderstood you.

what i want is the content of the msg and then when the progam end i'll write the the content of all batch input's msgs like a log.

thanks.

Read only

Former Member
0 Likes
720

Hi Gil,

If you have the message id then you can get the message text from table T100.

Just use a SELECT query to get the message text from table T100 in your program.

Hope it helps.

Regards,

Neeraj gupta

Read only

0 Likes
719

Hi again.

well i've used table T100

but i get the text like this for example:

Enter an international article number for material & and unit of meas. &

now in the itab i have the Variable part of a message that should replace '&'.

i don't find a way to replace it do anyone have an idea?

thanks.

Read only

0 Likes
719

Hi,

Use the function module FORMAT_MESSAGE.

Hope this is your requirement.

Read only

0 Likes
719

Hi Gil,

Assuming that your itab has a field for material and Unit of measure,

do as follwos,

loop at itab.

.

.

.

.

message i000(<YOur message id>) with itab-matnr itab-uom.

endloop.

REgards,

Ravi

P.S: Reward if it helps.