Color of container name in screen painter - problem
Hi, I have written a program to collect records from the database and display them in the ALV Grid using OOP Methods. I have created a screen for this and called it in my program. It is working but in the screen painter the name of the container control is in red color. Does it mean that there is something wrong with it? The program works perfectly all right. And also the 'Back', 'Cancel' and the 'Exit' buttons remain disabled in the toolbar in the final output window. If anybody could tell me how to make them enable then it would be great.
Thanks,
Pushpa
Now double click the "Main100", system will ask if you want to creat it, say yes. Give descriptin and click green check. Now click the icon next to "Function Keys", enter BACK into the space green arrow, EXIT into the yellow icon, and CANCEL into the red one. Save and activate. Now you need to handle these fcodes in your program. Make sure to put the name of the OK_CODE field in your screen, make it OK_CODE. So now you need a PAI.
MODULE USER_COMMAND_100.
case ok_code.
when 'BACK' or 'EXIT' or 'CANCEL'.
clear ok_code.
set screen 0.
leave screen .
endcase.
ENDMODULE.
Regards,
RIch Heilman
Similar Messages
-
Hi everyone,
In screen painter, I would call the current screen before output module. But it tells 'the statement is not accessible' when I active the programme. What's the problem? Thanks!!call under start of selection event.
start-of-selection.
call screen 100. -
Customer Control in screen painter in Module pool - work like container?
Customer Control option in screen painter in Module pool - work like container?
is it true? How?
Is like any work area or what?
what is the excat use of that option?
regards.Hello,
In screen painter ,custom control is used to define the control area on the screen.Just click on that and make your own container area.When you create an ALV grid or TEXT EDITOR or any other control,it will get attached to the screen in that area through the custom container.
Name the container area as say '<b>CONTAINER</b>'.(in capitals.)
When you actually create the custom conatiner programatically,you should give the container area name.ie.
Data : cont type ref to cl_gui_custom_container.
Create object cont
exporting
parent = '<b>CONTAINER</b>'.
Now,this container that you created-cont is attached to the screen in the area defined by CONTAINER.
Regards,
Beejal
**Reward if this helps -
Problem with SAP GUI / Screen Painter
Hi
I use SAP Gui 6.4 with patchlevel 14 (tried with patchlevel 12 as well) when I try to start the screen painter I always get that error message: "Password in Router string. Cannot start grapical screen painter".
What could be the problem ?
thanx for help
ArneHi Steve,
please go to http://service.sap.com/~form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&TMPL=01200615320200005408&V=MAINT&TA=ACTUAL&PAGE=SEARCH and download patch 60.
This patch contains all the fixes from previous patches.
Patch 59 was pulled off the website because of a serious bug.
Best regards,
Christian -
Layout problem in screen painter
hi all,
the screen is not appearing when i click 'layout' button in screen painter when i am enabling a wsp client proxy server. Is there any solution?some times SAP Gui behaves like this, in my case i faced this problem many times, some times after shutdown my sap logon pad. and restart the sap , go to se51 , it will open the Screen painter normally. But some cases i uninstalled the Gui, and re installed .then only it opens properly. select all components when installing.
-
Background color change option for box in screen painter
have created a box in screen painter . is there any option to change the back ground color of this box.
please helpNo, you can not change the background color of your screen painter box.
-
Having Problems with my Screen Painter
Hi,
I'm new to SAP and I'm still learning. I'm on this part of tutorial wherein I am trying to create a Screen using the Screen Painter. But the problem is, the interface of SAP in the book looks something like this:
http://www.kodyaz.com/articles/sap-abap-tutorial-alv-grid-cl_gui_alv_grid-screen-painter.aspx
But my interface looks different. I'm sorry I can't post the picture here but It can be well described. It looks like a "notepad" with horizontal lines.
Has anyone encountered this kind of screen painter? Hope someone could help me.
Thanks.Hi,
Do you receive some error like 'Graphical Layout Editor not available 37527'. Does the problem occurs only for some users or for all the users?
If the issue is for all users, I suggest to check notes 101971 and 204910.
If its for a particular user, please make sure "graphical layout editor" is checked under SE51->munu Utilities/settings->tab ScreenPainter.
Hope this info helps,
Br,
Javier -
Screen painter or table control problem
Hi All,
I have created two maintenance views for two custom tables , and two views has been created .
in one view when i excuting sm54 and display i could able to see all the fields in the table control ,
but in the other view i could see only one field very in the table control.
Is this the problem of screen painter with table control , shall i need to intall screen painter again
i am using 4,7 version os sap ,
Regards
subbaHi Chandra,
Thanks for yorr prompt reply and i tried so many times , can i go that particular screen and change
the screen and include all the fields , actually the system proposes the screen when we are creating
the table maintenance generator.
i selected one step and screen proposed by sap in the overview screen as 1 and i have created table maintenance.
Regards
subba -
Matrix column position problem in screen painter.
hi.
i am facing one problem.
ie.
i am developing one screen.
it is having 3 matrix
each matrix is having some columns
one matrix ok two matrix ok thrid matrix ok.
but
under third matrix i put some columnes
1, 2 ,3, 4,
in screen painter design mode every thing is ok
it is appearing like 1,2,3,4
but at preview mode or through the code if i open
it is appearing like 1, 4,3,2
in preview mode screen painter if i click on the form settings it is showing only..
matrix one columns only it is not showing either 2 or 3
and if i open the form through the code..
i am able to see the columns of matrix 1 n matrix 2 and matrix 3
i am using some code.
If (pVal.FormUID = "WIP2PROCESS" And pVal.ItemUID = "1000007") Then
oForm = SBO_Application.Forms.Item("WIP2PROCESS")
oForm.PaneLevel = 2
oForm.Settings.Enabled = False
oForm.Settings.MatrixUID = "59"
End If
now through the source code i am able to see the each column under matrix.
but if i change the matrix position at form setting it is changing but
if i click other folder and come back to previous folder..
again the column position is 1, 4,3,2
previously i changed to 1,2,3,4
how can i do it..
screen painter can i change it..
Any information plz update me..Hi Srinivas,
Can you do one thing for me ? Open your form in screen painter, set the columns as you want to display. Now change the unique id for the matrix. Then try to open it through code or see in preview mode.
Hope it helps.
Thanks & Regards
Ankit Chauhan -
Table view control problem in screen painter
Hi All,
i am unable to display the contents in the table view control in screen painter....actually i have created two screen one to take input and second to display details on next screen in table view control..but i m nt getting that details...
my second screen PBO/PAI code is
PROCESS BEFORE OUTPUT.
loop at itab with control TCNTRL CURSOR tcntrl-current_line.
MODULE STATUS_0101.
endloop.
PROCESS AFTER INPUT.
loop at itab.
endloop.
MODULE USER_COMMAND_0101.
can anyone solve my problem????????
Thanks,
JayshreeHi,
Use below approch (syntax may not be correct as I have typed it in notepad but use it as guide line)
***In screen flow logic
PROCESS AFTER INPUT.
module cancel at exit-command.
chain.
field: zproject_details-originator,
zproject_details-proj_type.
module check_data on chain-request.
endchain.
module user_command_002.
***In abap code
module cancel input.
leave program.
endmodule.
module check_data input.
if zproject_details-originator is initial.
message exxxx "throw error message here
endif.
if zproject_details-proj_type is initial.
message exxxx "throw error message here
endif.
endmodule.
module user_command_002.
save_ok = ok_code. "good practice to save okcode
clear ok_code.
case save_ok.
when 'save' " using constant for fcode here is better
perform save_data. "make it moduler instead of writing whole code in case statement
enscase.
endmodule.
form save_data.
** do some additional checks if required before saving
update zproject_details from zproject_details. " update database table here from work area contents
endform.
Regards,
Vishal -
Checkbox convertion problem in screen painter
Hi experts,
I would like to convert an field from DD char 1 in checkbox in the screen painter but the field is locked in my screen painter. I can't conert it to checkbox or radiobutton.
-> The field is from an enhancement of an standard IT.
Is their some option to unlock field in the screen painter ?
Thanks,Hi,
first check u are declare text boxes in TOP INCLUDE if OK, then change data type text to integer. it may be problem of it, can u post u r code where u assigned a value in text box.
Abhilash -
Urgent problem ......In screen Painter
Dear all,
May problem is in the Screen painter. with out clicking the EXIT button, exits out of the screen.
and also the Messages are not displayed.
I designed the screen, using GUI status I created two buttons in the application Toolbar.
one for INSERT.
one for EXIT.
In the main program I coded like this
save_ok = ok_code.
SELECT * FROM ziv_check_intfc INTO TABLE it_check_intfc.
CASE sy-dynnr.
WHEN '2000'.
CASE save_ok .
WHEN 'INSERT'.
LOOP AT it_check_intfc INTO wa_check_intfc.
IF wa_check_intfc-ziv_intfc <> ziv_check_intfc-ziv_intfc.
IF wa_check_intfc-ziv_attr <> ziv_check_intfc-ziv_attr.
IF wa_check_intfc-ziv_value <> ziv_check_intfc-ziv_value.
INSERT ziv_check_intfc.
MESSAGE 'RECORD INSERTED INTO TABLE' TYPE 'I'.
ELSE.
MESSAGE 'RECORD ALREADY EXISTS IN THE TABLE' TYPE 'I'.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDCASE.Make sure that you clear the ok_code after processing it.
save_ok = ok_code.
SELECT * FROM ziv_check_intfc INTO TABLE it_check_intfc.
CASE sy-dynnr.
WHEN '2000'.
<b>CASE ok_code. "save_ok .</b>
WHEN 'INSERT'.
<b>clear ok_code.</b>
LOOP AT it_check_intfc INTO wa_check_intfc.
IF wa_check_intfc-ziv_intfc <> ziv_check_intfc-ziv_intfc.
IF wa_check_intfc-ziv_attr <> ziv_check_intfc-ziv_attr.
IF wa_check_intfc-ziv_value <> ziv_check_intfc-ziv_value.
INSERT ziv_check_intfc.
MESSAGE 'RECORD INSERTED INTO TABLE' TYPE 'I'.
ELSE.
MESSAGE 'RECORD ALREADY EXISTS IN THE TABLE' TYPE 'I'.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
WHEN 'EXIT'.
<b>clear ok_code.</b>
LEAVE PROGRAM.
ENDCASE.
ENDCASE.
Regards,
Rich Heilman -
Hi All,
we are using SAP logon 640. In screen painter we are not getting GUI. we are getting the screen in Alphanumeric mode, But not in Graphical mode. How to resolve this problem.
Thanks in Advance.
Regards,
chandra.
Message was edited by: K Chandra Sekhara ReddyHi k chandra,
1. I supppose, the alphanumeric
screen painter comes up.
2. When it comes up,
UTILITIES------>SETTINGS
3. a new window will come
TICK the chekbox for
'Graphical Layout Editor'
4. Then try, it will work.
5. <b>If still it does not work,
then another problem could be
SAP GUI Installation.
6. When installting sap gui,
we have to select the component for
Screen Painter GUI.</b>
(Probabably it was not selected when
installing on your machine)
7. Then it will come.
regards,
amit m. -
Hello,
when I create new Infotype in PM01 and generate ALL everything is ok. In PA30 I can use this IT. But...
there is a problem when I try to change Layout in a Screen Painter. When I click Layout all fields dissapears (there are only description).
Edited by: OsTrY on Sep 15, 2010 12:22 PMHi,
I haven't encountered this problem before even though I have worked with PM01 quite a bit over the years. Can you desrcibe a a bit more about your proplem please? Especially whether your screen element list looks OK and whether the problem exists regardless of old or new screen painter for layouting.
Cheers,
Philipp -
Facing problem with layout editor in screen painter .
Hi gurus,
I have installed IDES ECC 6.0 in my home system. Now when I go to layout editor in screen painter, I am getting rows in the screen. As per my knowledge there is an installation problem ..How to rectify that ? Could any one please tell me.
Thanks & Regards
Vardhansome times SAP Gui behaves like this, in my case i faced this problem many times, some times after shutdown my sap logon pad. and restart the sap , go to se51 , it will open the Screen painter normally. But some cases i uninstalled the Gui, and re installed .then only it opens properly. select all components when installing.
Maybe you are looking for
-
XML validation error while parsing MXI Manifest
Hi, I have created an hybrid extension for Photoshop. I want to upload my extension on Adobe Exchange. during the upload process I get an error, "XML validation error while parsing MXI Manifest: Declarations can only occur in the doctype declaration.
-
just got photoshop cc 2014 on windows 8.1 64 bit, and it starts up on the white layout and and whenever I start a project it is in a window? Also whenever I try to change on of these it does not save. I am using the trial. Basically nothing saves and
-
Hi All, I have created a Initialization block named Budgetary_Control the query entered in the data source is select column from table where user_name=':USER'; then i selected a connection pool and tested with 2 USER and it gave me exp
-
"Waiting" under docs in iCloud
I use iCloud to store my Numbers and TextEdit documents. I have used only .22 GB of space so far. I have a several Numbers & TextEdit docs in the cloud of my MacBook Pro. The most recent docs have the word "waiting" underneath it. The docs open OK on
-
Everything on my iPod has disappeared.
I'm having some trouble with my iPod. I have recently downloaded the new software, and it was working fine until just a few days ago. I purchased a song and a window kept popping up saying it couldn't be copied to the iPod because it couldn't be play