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

message variables in se91

Former Member
0 Likes
2,071

Hi,

I have created some messages in a message class.I have created a function module in which i am calling

CALL FUNCTION 'FORMAT_MESSAGE'

EXPORTING

id = wa_log-msgid

lang = sy-langu

no = wa_log-msgno

IMPORTING

msg = msgtxt

EXCEPTIONS

not_found = 1

OTHERS = 2.

here in variable i am getting message text

and this message text i need to update in a table

my question

my message text is user id is '&'

where & i am passing from the input screen

Now what should i code in the prgm so that i get user id is 9 , where 9 i am passing from input

2nd question

i have created one table.Can anyone tell me how to create maintanance for it steb by step.

Also please tell me the advantage of maintanance

Hi,

I have created some messages in a message class.I have created a function module in which i am calling

CALL FUNCTION 'FORMAT_MESSAGE'

EXPORTING

id = wa_log-msgid

lang = sy-langu

no = wa_log-msgno

IMPORTING

msg = msgtxt

EXCEPTIONS

not_found = 1

OTHERS = 2.

here in variable i am getting message text

and this message text i need to update in a table

my question

my message text is user id is '&'

where & i am passing from the input screen

Now what should i code in the prgm so that i get user id is 9 , where 9 i am passing from input

2nd question

i have created one table.Can anyone tell me how to create maintanance for it steb by step.

Also please tell me the advantage of maintanance

7 REPLIES 7
Read only

Former Member
0 Likes
1,442

hi

please refer to this link

hope this helps

regards

Aakash Banga

Read only

agnihotro_sinha2
Active Contributor
0 Likes
1,442

hi,

use table maintenance generator SM30

Read only

Former Member
0 Likes
1,442

Go to SE11, give the table name and click on change. Then Go to utilities--> Table

maintenance generator.

In the table maintenance generator screen, we should give Authorization Group,

Function Group name (Function Group name can be same as table name),

Maintenance type can be one step or two step, usually we will create with one

step. we should give maintenance screen number. After clicking on create button,

a table maintenance generator will be created.

To check it go to SM30 . In SM30, we find display, Maintain options.

We can view the table contents by choosing Display and we can create table

entries by choosing Maintain.

Read only

Former Member
0 Likes
1,442
Read only

Former Member
0 Likes
1,442

hi , u can do the following easy method to display a message.

give the message class with MESSAGE-ID statement in the report and

give the message as follows

MESSAGE sy-uname 'is exist' type 'W'.

MESSAGE 'userid is' &variable&

table maintenanc generator :-

-> create a table then activate it

-> goto utilities tab on top and click on table maintenace generator

-> give authorization code , eg:- &NC& for w/o authorization grp

-> give function group wherein u want to store ar else gv the same name as of ur table it will create that

particular function group.

-> give package in which u want to save

-> mention which type of maintenence screen u require one step ar two step and no of single screen

regards,

prashanti

Read only

0 Likes
1,442

do i need to write any flow logic after giving screen number

Read only

Former Member
0 Likes
1,442

answered