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: 

call_message_screen screen size change

sriram_ramesh
Participant
0 Kudos

Hi all, I'm using FM call_message_screen to display messages for scanner solution development. but the screen size(width) is too big in scanner that we have to scroll to press "OK" button. Is there anyway i can reduce the screen size?

changing "i_line_size" just changes the number of characters per line but not the screen size.

thanks in advance.

Sriram

13 REPLIES 13

sab125
Participant
0 Kudos

Hi

I think it is not possible.

Try to use an other ABAP Pop-Up solution.

Check some here.

For example, C14Z_MESSAGES_SHOW_AS_POPUP

Hope that helps

Sab

Patrick_vN
Active Contributor
0 Kudos

There is a parameter in the function module interface that refers to the screen used. In the corresponding function group you can check the screen sizes.

For instance, standard screen 0999 (8/40) is used, but screen 2999 (15/20) can be used instead. Just make sure the screen elements are the same of course.

If this considers an RF transaction, I usually use FM L_USER_DATA_GET to keep track of what user uses which screen size.

0 Kudos

Hello Saber,

Thanks,

But we are not supposed to use pop-up screen in a scanner solution.

0 Kudos

Thanks patrcik.

I used screen number 2999 which is the size i need. It works.

But when i click on "OK", it says

"Logical screen

number could not be

found".

Can you help me out?

Yes, this is an RF-ID based transaction.

Patrick_vN
Active Contributor
0 Kudos

Try debugging it. The PAI of the screen may try to return (or refer) to a screen-number that does not exist in your report.

0 Kudos


I get your point. But it works if i use screen '0999' in the FM.

And i debugged, there seems to be some issue with screen '2999' when used in that FM.

0 Kudos

there is a selection in standard program.

SELECT SINGLE * FROM T3130E INTO I_T3130E WHERE

                    MODPL = LV_MODPL AND

                    LSCRN = PREV_SCREEN.

lv_modpl is SAPLLMOB.

in the table, only screen number with 0999 exists. not 2999

Patrick_vN
Active Contributor
0 Kudos

I think that is some customizing table. Check this thread:

0 Kudos

Thanks Patrick.

Even if data exists there, the program is throwing me out of the tcode if screen '2999' is used.

Patrick_vN
Active Contributor
0 Kudos

You keep getting the same error? Or has the adding a record in T3120E resulted in another error?

0 Kudos

It resulted in someother error.

Thanks for your replies patrick, I've designed another custom screen to display the messages.

former_member241258
Active Participant
0 Kudos

USE THIS FM  :  POPUP_TO_CONFIRM_WITH_MESSAGE

0 Kudos

Hello krishnamurthy,

Thanks,

But we are not supposed to use pop-up screen in a scanner solution.