Screenpainter
how to create the background in screenpainter?
Hi
Design the Program with Screens required in Screen painter and attach a Tcode for that program, then schedule that program which is designed in scrren painter
see the steps for scheduling
Scheduling JOB in background:
Go to SM36 create a Job
click on Start Condition
Click on DATE and TIME enter date scheduled Start and END times
click on Period Values
Click on HOURLY/WEEKLY etc
CLick on RESTRICTIONS also to use further criteria.
so your job will be scheduled and run as per your requirement.
Check this link for scheduling jobs..
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
Reward points for useful Answers
Regards
Anji
Similar Messages
-
Hi
1)Can anybody give an idea of how to create Tabstrips and link them while creating screens in ScreenPainter.
2)Info regarding table control in Screen painter.
Regards
InnovaYou must put a Subcreen Area control in your Tabstrip.
and you can use
call subscreen YOUR_VARIABLE_SUB_SCREEN
including PROGRAM_NAME SCREEN_NUMBER.
in PBO.
ibrahim -
Hi all! I have a problem. I can't launch ScreenPainter, only alphanumerical is available. Message:
EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Message no. 37033
SAPGUI v710_6 and Windows 2000 SP4 with IE6 SP1. Java 1.3.1. Does anybody have any ideas? Please HELP ME!)))Hello, Sergo!
The note doesn't solve the problem. We checked the RFC EU_SCRP_WN32 and found this error:
Error Details timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' Таймаут при установлении соеди
Error Details ERROR: timeout during allocate
Error Details LOCATION: SAP-Gateway on host bla-bla-bla / bla-bla-bla
Error Details DETAIL: no connect of TP gnetx.exe from host %%SAPGUI%% after 20 sec
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 30983
Error Details MODULE: gwr3cpic.c
Error Details LINE: 5840
Error Details RETURN CODE: 242
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Wed Apr 23 16:30:11 2008
Error Details VERSION: 2 -
ScreenPainter is not WYSWYG in my actual SAP layout.
Hi Folks,
I created a subScreen via menuPainter of course, but during the actual execution of the program, what I see in the actual ScreenPainter is not the same as my output upon execution of the program?
Please take a look at my screen shot.
http://img20.imageshack.us/img20/6792/screenpaintervsactualsa.jpg
If you'll notice, in my screenPainter, the description of the defects of the materials end at "Tampering" while in my SAP output, it already end up with "Labeling insufficient.."
What must be the problem here?
I already increase the area of my subScreen to accomodate more space but the issue is still there.
Technical Background:
One main Screen -> calling two SubScreens: 1)Table Control 2)Details of the Data issue lies here
Thanks.
Regards,
JaimeHi,
Here's the code for subroutine: F_ONOFF_INPUT
form F_ONOFF_INPUT .
DATA: W_ONOFF_VAL TYPE i.
CASE OK_CODE.
WHEN 'DIS_CH'.
MOVE 0 TO W_ONOFF_VAL.
WHEN 'CHANGE'.
MOVE 1 TO W_ONOFF_VAL.
ENDCASE.
LOOP AT SCREEN.
CASE SCREEN-NAME.
WHEN 'SAVE'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'SUBMIT'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'IDOK'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'IO_VENDORLOT_RES'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'IO_VENDORDESC_RES'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'IO_MATERIALNUM_RES'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'IO_MATERIALDES_RES'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'IO_COMP_UP_RES'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'IO_MATNROK_RES'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'IO_UNLOAD_QTY'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'IO_COMMENT'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
ENDCASE.
CASE SCREEN-GROUP1.
WHEN 'CMT'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'NOK'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'OK'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
ENDCASE.
CASE SCREEN-GROUP2.
WHEN 'NOK'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
WHEN 'OK'.
SCREEN-INPUT = W_ONOFF_VAL.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
So far, and i'm quite sure that it's effect is to enable/disable the input in my I/O box fields, but it should not affect the WYSWYG of SE51 to SAP output.. T_T thanks. -
CellHeight being increased in ScreenPainter
Dear Experts,
I Have designed a form in screen painter, but cell height is being increased by 2 every time i run the program.
sap version 8.81 PL 06
Please check the attachment
i did not modify the height in code.
Please let me know the way out this.
Thank you.
Best Regards
KishoreHi Ravi,
That's strange, have you tried uninstalling the ScreenPainter and reinstalling?
Best regards,
Pedro Magueija -
in screenpainter, we have textbox when we open its properties we have options such as (visible,nonvisible,possible and notpossible) what is the difference.
and how it can be used in our forms.Hi,
The properties have the following meaning:-
1) Visiable:- It is visiable.i.e you can see the text box on the screen
during output/input.
2) Invisiable:- It is presnt on the screen but it is not viviable to the end user.
3) Possible:- It is used to enter / modify values in text box by the end user.
4) Not Possible :- It is not possible to enter any value/data in the text box.
In this it is only for output purpose.
Reward Points if helpful.....
Regards
Jitendra -
Do SCREENPAINTER QUESTION ABOUT?
IT POSSIBLE TO ADD TO THE MENU AND SUBMENUS MAIN MENU SB1 SINCE SCREENPAINTER?
SOMEONE HAS PRACTICAL EXAMPLES
ANYONE SPEAK SPANISH ON THIS FORUM?Inostroza Felipe,
Screen Painter is mainly geared to create new forms for Business One. There is sample code that comes with the SDK that shows you how to add to the main menu etc. using code. You should look at the sample code, the Screen Painter Documentation and the eLearning on the SDK and the Screen Painter as this should answer a vast majority of the questions that you have.
Eddy -
ScreenPainter Properties in ABAP code
Hi all that's my first post here & i have a "Big" question can we use a screen painter element Properties in an ABAP code
Exemple:
in a input/output Field i want to change the text color after a some conditions
Help please
Regards.
MEHDIHello,
There would some functionality that can be attained by coding in ABAP. Say for instance you want the text in an input box to be changed in color upon clicking a puchbutton.
Say TEXT is the name of the input box and OK is the function code of the button, then if you write the code similar to the following in the PBO of the screen, the color change can be attained
if sy-ucomm = 'OK'.
loop at screen.
if screen-name = 'TEXT'.
screen-intensified = '1'.
modify screen.
endif.
endloop.
endif.
Similarly using screen-invisible, screen-input etc can be used to hide or disable the input box at runtime.
Regards,
Sachin -
How to create/automate a picklist in I/O Field of a screenPainter?
Hi All,
I have a screen: I/O box field and table control that will allow users to accept input.
Please see the screen-shot below.
http://img197.imageshack.us/img197/6526/ioboxnopicklist.jpg
Declared in my top include as:
DATA: P_WERKS LIKE T001W-WERKS. "Plant Master Table
But during execution, I cannot see any picklist for the plant? How can I automate it in the case of I/O field?
I cannot declare PARAMATERS in my TOP include since my program is moduled.
Thanks.
Regards, JaimeHi,
Assign this H_T001W_C search help in the attributes of the field in the screen painter.
Hope this helps you,
Regards,
Abhijit G. Borkar -
Hi All,
I created a form using screen painter , How will i add this .srf file in the addon files. Is there any simple way to specify the path of that form in the adddon..
Please help
thanks in advance
DenisHi Denis,
Herewith an example to load the screen painter xml file.
Private Function LoadXMLForm(ByVal sFile As String) As Boolean
Try
Dim oXMLDoc As MSXML2.DOMDocument
Dim oCreationParams As SAPbouiCOM.FormCreationParams
Dim s As String
Try
s = Application.StartupPath & "" & sFile
oXMLDoc = New MSXML2.DOMDocument
oXMLDoc.load(s)
oCreationParams = oApplication.CreateObject
(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
oCreationParams.XmlData = oXMLDoc.xml
oApplication.Forms.AddEx(oCreationParams)
Return True
Catch e As Exception
oApplication.MessageBox("Error: " & e.Message)
Return False
End Try
System.Runtime.InteropServices.Marshal.ReleaseComObject(oCreationParams)
System.Runtime.InteropServices.Marshal.ReleaseComObject(oXMLDoc)
Catch ex As Exception
oApplication.MessageBox("Error: " & ex.Message)
End Try
GC.Collect()
End Function
You can call this function simply by giving a file name to your srf file: LoadXMLForm("MyFile.srf"). For this to work your .srf file has to be in the same folder as your exe.
Hope it helps,
Adele
<i>On second thought I am not sure if this actually answers your question and if your question is more related to an installer? Please give more detail if this does not solve your issue.
Message was edited by: Adele le Roux</i> -
Screenpainter Attribut Upper/Lower case
Hello,
i want to set the attribut 'Upper/lower case possible' to an element in a table control, but it is not possible.
I can't set the falg, it's greyed out. Please help.
Best regrads,
Thomas StrehleHi Thomas,
For me it is coming, it is char field. In
screen attributes Dic tab last check box (Upper/lower case)is enabled for me. please check yours.
Siri. -
To ckaer the valu in screenpainter
In Screen painter..
i enchanced an infotype .. i want to clear the value of the field whenever the infotype is called(newly) ..
i cannot write my code in PBO 0r PAI of the module..
where to clear the value of the field..
thanks in advance...Hi,
You have to create modules in your PBO or you have to initialize your code by default in INITIALIZATION event.
or you have to do it in like this way :
AT SELECTION-SCREEN OUTPUT.
INFOTYPEFIELD = 0.
or
INITIALIZATION.
INFOTYPEFIELD = 0. -
Hi.
We have a new installation of SAP R/3 4.7 running on Win2000. When I go to screen painter, the normal graphic screen painter starts but it changes to old text screen painter. Where can I localize the problem and how to set that normal graphic screen painter runs?
The SAP GUI is OK, as it happens only on this server. Other runs smoothly.
ThanksHi again. I am still facing the problem. I have upgraded SAP GUI to 6.40 and patch 19 and still the same error with Graphical Screen Painter. Could you please help?
I have turned ON SAP GUI tracing and I got message in the trace files like this:
C:\Documents and Settings\Administrator\SapWorkDir\dev_eusp1520
Thu Sep 07 09:37:37 2006
Windows NT Version 5.0 Build 2195
Service Pack 4
ABAP Development Workbench
Release 6.40
Grafischer Screen Painter
File version 6403.3.8.330
Build 330w198
15.12.2004 / 21.07.2004
(c) Copyright 1993-2004 SAP AG
Alle Rechte vorbehalten
Thu Sep 07 09:37:37 2006
Command line = C:\Program Files\SAP\FrontEnd\sapgui\gneux
/H/192.168.0.3 sapgw00 16060766 IDX=0 66974
Process Id = 1520 (0x5f0)
Program name = gneux
User name = Administrator
SAP system name = <undefined>
Local host name = <undefined>
Exec directory = C:\Program Files\SAP\FrontEnd\sapgui\
Data directory = C:\Program Files\SAP\FrontEnd\sapgui\dat\
Temp directory = C:\WINNT\TEMP\
Home directory = .\
System language = <undefined>
Data file = <undefined>
Log file = C:\Documents and
Settings\Administrator\SapWorkDir\dev_eusp1520
Comm log file = <undefined>
Mem log file = <undefined>
Res log file = <undefined>
Timeout = 60 min
Terminal=[my_sap_name] Display=[my_sap_name]
System name=[my_sap_id] Release=620 Name length=40 UserId=[my_user] Language=E required Build 314w195 Loading icons...
Loading labels...
Loading status...
Loading status X101
RFCMgr_receiveRFC: Exception TITLE_NOT_FOUND Unexpected or erroneous response for service TOOL_SERVICE_STATUS ERROR in Tool_notify: Tool not yet built. Notify message: Unrecoverable error when communicating with server.
Aborting.
Loading status X101 from file
Filtered status map for status X101. Old count=348, new count=187 Building UI...
Loading user messages...
Loading initial screen...
Loading element table
Showing (Normal) SAPLZ_HR_GH 0100, type modal screen, version 4.04 Loading context menus...
Loading status X2*
Loading status X2* from file
Coming up...
Terminated normally
Message was edited by: Dorota Janik -
How to delete a row in table control?
Hi All,
I have a empty table control which is only use for data input(this data will then be use to store information to a custom table). I have two buttons, Create Entry and Delete Entry.
In my screenPainter for the table control, I have the checkbox w/SelColumn ticked and assign variable T_DATA-MARK on it.
In my code:
TOP Include
CONTROLS: tc_data TYPE TABLEVIEW USING SCREEN 9001.
PBO
PROCESS BEFORE OUTPUT.
LOOP WITH CONTROL TC_ID.
MODULE LOAD_TABLECTRL.
ENDLOOP.
module LOAD_TABLECTRL output.
READ TABLE T_DATA INTO WA_DATA INDEX TC_DATA-current_line.
IF SY-SUBRC EQ 0.
MOVE-CORRESPONDING T_DATA TO WA_DATA.
ENDIF.
endmodule.
PAI
PROCESS AFTER INPUT.
LOOP WITH CONTROL TC_ID.
ENDLOOP.
MODULE GET_USER_ACTION.
module GET_USER_ACTION input.
WHEN 'DEL'.
LOOP AT T_DATA INTO WA_DATA WHERE MARK EQ 'X'.
DELETE T_DATA.
ENDLOOP.
In my debug, the internal table T_DATA-MARK does not have any value(s) even if I selected a particular row in my table control.
Am I missing something here?
ThanksHi All,
Please see the actual screenshots and code below:
The aim of the table control is just to accept inputs, so the internal table in the PBO is always empty.
Table Control Screen Painter ScreenShot and Actual SAP Output: http://img710.imageshack.us/img710/4751/tablecontrolrowdelete.jpg
PBO
PROCESS BEFORE OUTPUT.
LOOP WITH CONTROL TC_ID.
MODULE LOAD_TABLECTRL.
ENDLOOP.
module LOAD_TABLECTRL output.
READ TABLE T_ID_CHECK INTO WA_ID_CHECK INDEX TC_ID-current_line.
IF SY-SUBRC EQ 0.
MOVE-CORRESPONDING T_ID_CHECK TO TC_ID.
ELSE.
"EXIT FROM STEP-LOOP.
CLEAR ZQID_CHECK.
ENDIF.
PAI
PROCESS AFTER INPUT.
LOOP WITH CONTROL TC_ID.
CHAIN.
MODULE CHECK_ENTRIES ON CHAIN-INPUT.
MODULE MODIFY_T_ID_CHECK ON CHAIN-INPUT.
MODULE DELETE_ROW ON CHAIN-INPUT
ENDCHAIN.
ENDLOOP.
module CHECK_ENTRIES input.
CASE ok_code.
WHEN 'DEL'.
PERFORM F_FILL_ITABCREATE USING ZQID_CHECK-MATNR
ZQID_CHECK-LICHA
ZQID_CHECK-LIFNR.
ENDCASE.
endmodule.
module MODIFY_T_ID_CHECK input.
DATA W_TEMPMARK(1) TYPE C.
MOVE: T_ID_CHECK-MARK TO W_TEMPMARK,
W_TEMPMARK TO T_ID_CHECK-MARK.
MODIFY T_ID_CHECK INDEX SY-TABIX TRANSPORTING MARK.
endmodule.
module DELETE_ROW input.
LOOP AT T_ID_CHECK WHERE MARK EQ 'X'.
DELETE T_ID_CHECK.
ENDLOOP.
endmodule.
form F_FILL_ITABCREATE using us_zqid_check_matnr LIKE MARA-MATNR
us_zqid_check_licha LIKE MCHA-LICHA
us_zqid_check_lifnr LIKE LFA1-LIFNR.
MOVE: us_zqid_check_matnr TO WA_ID_CHECK-MATNR,
us_zqid_check_licha TO WA_ID_CHECK-LICHA,
us_zqid_check_lifnr TO WA_ID_CHECK-LIFNR.
APPEND WA_ID_CHECK TO T_ID_CHECK.
CLEAR WA_ID_CHECK.
endform.
In my debug, I can now delete the internal table that has a 'X' mark on its respective row but on the SAP screen output, all of my entries are being deleted contrary to what the ABAP debugger is telling me.
Thanks -
Hello Everyone!
I have some stupid beginner questions... and it would be great i someone could help me!
For now i learned how to make some buttons on a Toolbar via cl_gui_custom_container & cl_gui_toolbar.
This one is for now cristal clear!
But stupid thing is that I'm not able to make my simple program with few pushbuttons work!!!
First i've docked some PushButtons trough the ScreenPainter and assigned them Function Codes, TextDisplay & Name. and then i'm not able to get any actions of that pushbuttons when i executes the program. When i click tem they simply do nothing!!!
i checked and my screen is activated tough...
stupid thing is when i Test my screen trough Sscreen painter one of buttons, explicitly the EXIT button do work and is exiting my program, but the other one does nothng, just like they bth do when i execute my program.
Please Can anyone help me with this one???
if u have some, please do provide me a sample code but not the simpliest one, because i do write my programs with classes, modules and etc...
Thank you all in advance!
kind regards, myahi,
To do some action on the button click you need to write some code in the PAI(Process after input) of the screen. The code in PAI is executed once the user do some action, example a button click, selecting a radio button or checking a check box...
So in PAI, you can write the code and do various things on click of differed button with different function codes.
Also you need to capture the ok_code. So you need to define an element in element list : OK_CODE.
Case OK_CODE.
when 'FCODE1'
perform FUNC_BUTTON_1
when 'FCODE2'
perform FUNC_BUTTON_2
when 'FCODE3'
perform FUNC_BUTTON_3
endcase.
in this way you can write different functionalities for different buttons.
Regards,
Richa
Maybe you are looking for
-
Hi, Users need to change password in ODI.Here users have access only to Metadata Navigator. I have written a shell script and embedded it in a scenario.So user will be executing this through a scenario.Users will be prompted for user name password as
-
How can I login to a site that is .htaccess password protected with java
Forgive me if this is a dumb question. I am have never done this before and haven't been able to find out how to do this. I want to send some xml (passportRequest) to a server that is listening. The hard part is this server is password protected with
-
How can I get my old bookmarks back?
I tried copying and pasting the places.sqlite from my old harddrive onto my new one but it didn't do anything. Is there any way to get my bookmarks onto my new computer?
-
AppleTV Rented Movie Twice - Kept Hanging, Completely Died an hour later
I find this so interesting since My Apple TV is hardly used & is fairly new + hasn't moved since it was unboxed. My wife bought the 'Sex & The City' movie & halfway through, it just hung & was unresponsive, then skipped drastically, kind of like what
-
Using Client Side Extensions (SWF) to call external Web Service
Hi, I'm using .swf files to extend my CRMOD application, and one of my requirements is to be able to show information on a custom applet using the Client Side Extensions. This information is coming from an external system, so i'm trying to call this