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

eCATT Messages

Former Member
0 Likes
710

Hi eCATT experts,

I have created the vendor using the FK01 transaction.

It has given successful log.

My question is how can i display this messges by writhing the MESSAGE......ENDMESSAGE.

I want to dispaly the complete message, not the part1 or part2 of the message.

Hi eCATT experts,

I have created the vendor using the FK01 transaction.

It has given successful log.

My question is how can i display this messges by writhing the MESSAGE......ENDMESSAGE.

I want to dispaly the complete message, not the part1 or part2 of the message.

5 REPLIES 5
Read only

Former Member
0 Likes
673

Hi Siva,

Please go tru the thread below,

and also the help link on MESSAGE class in eCATT,

http://help.sap.com/saphelp_nw04/helpdata/en/bc/4d333b5f3ad646e10000000a114084/content.htm

Hope this helps. Reward if it does.

-Manjula

Read only

Former Member
0 Likes
673

Hello,

you can use the field MSGTEXT to display the complete nessage not only some parts ...


MESSAGE ( <message command interface> ).

SAPGUI ( <command interface 1> ).

…

SAPGUI ( <command interface n> ).

ENDMESSAGE ( <endmessage command interface> )
 

Then loop at the message table and display the MSGTEXT field

Read only

Former Member
0 Likes
673

Hi,

Here i am explaining my problem in detailed.

I Got this log by executing the FK01.

Now I need to get the message which was marked in bold.

<b>"SF2271 Vendor 0000100322 was created in company code 0001"</b>

I have done this using TCD(Record) option, not (SAPGUI)

What should I write the code to get this message?

TCD ( FK01 , FK01_1 ).

MESSAGE ( MSG_1 ).

Here I need to write some thing to get that message shown in Bold

ENDMESSAGE ( E_MSG_1 ).

Read only

0 Likes
673

You have to put the message/endmessage around the recording.


MESSAGE ( MSG_1 ).
TCD ( FK01 , FK01_1 ).
ENDMESSAGE ( E_MSG_1 ). 

LOG ( E_MSG_1[1]-MSGTEXT ).

(If the message you want is the number one or you will have to loop over e_msg_1 to find the right message id/nr)

Read only

Former Member
0 Likes
673

Hi Walter,

Thanks for your solution.

It was almost solved my issue.

Regards,

Siva