02-15-2016 11:48 AM
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
02-15-2016 2:25 PM
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
02-15-2016 4:04 PM
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.
02-16-2016 12:03 PM
Hello Saber,
Thanks,
But we are not supposed to use pop-up screen in a scanner solution.
02-17-2016 11:07 AM
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.
02-17-2016 11:37 AM
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.
02-17-2016 12:11 PM
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.
02-17-2016 12:25 PM
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
02-17-2016 4:52 PM
02-18-2016 10:35 AM
Thanks Patrick.
Even if data exists there, the program is throwing me out of the tcode if screen '2999' is used.
02-18-2016 11:57 AM
You keep getting the same error? Or has the adding a record in T3120E resulted in another error?
02-25-2016 6:15 AM
It resulted in someother error.
Thanks for your replies patrick, I've designed another custom screen to display the messages.
02-16-2016 3:57 AM
02-17-2016 11:07 AM
Hello krishnamurthy,
Thanks,
But we are not supposed to use pop-up screen in a scanner solution.