How to swap fields in screen painter.
hello gurus,,
how to swap fields in screen painter.
Hi
Go through the link given below :
http://www.standardware.com/pdf/stdwsp.pdf
With Regards
Nikunj Shah
Similar Messages
-
How to delete invisible fields from screen painter SE51?
Dear all,
How to delete/remove invisible fields from screen painter SE51?
Thanks.HI,
just go to screen painter-->layout in change mode.
the invisible fields will be looking faded
click on that and press the DEL button.
that will be deleted.
<b><REMOVED BY MODERATOR></b>
vivekanand
Message was edited by:
Alvaro Tejada Galindo -
How to add a search help on a screen field from screen painter
Hi,
I would like to add an existing Search Help on a screen field in Screen painter.
Of course it's possible to just click on th screen field and in the property box, I just have to set the name of teh search help.
The problem is that I need the screen field to be grey and user musn't be able to change the field value if he doens't use the search help.
I'm not allowed to modify the existing search help or to built it on my own from source code, I must use the existing one.
Do you have an idea on how to do so?
Regards,
MorganDropdown Box:
In the screen painter for that field goto properties -> Dropdown ->select listbox.
Option 1:
Instead let that field be in change mode and if user enters any wrong entry which is not there in the table give a error messgae.
CHAIN.
FIELD addr1_data-country.
MODULE modify_screenfields1.
ENDCHAIN.
MODULE modify_screenfields1 INPUT.
CASE sy-ucomm.
WHEN 'ENTER' OR 'EXECUTE'.
IF NOT addr1_data-country IS INITIAL.
SELECT SINGLE landx FROM t005t INTO lws_landx WHERE
land1 = addr1_data-country
AND spras = 'EN'.
IF sy-subrc <> 0.
MESSAGE e000(zo_spa) WITH text-022. " Invalid Country code
ELSE.
t005t-landx = lws_landx.
ENDIF.
ELSE.
CLEAR: t005t-landx.
ENDIF.
ENDCASE.
ENDMODULE. " modify_screenfields1 INPUT
Option 2: Other than if u want the way u like, let that field be greyed out. don't attach the search help.
In the PROCESS ON VALUE-REQUEST.
FIELD addr1_data-region MODULE region_pov.
MODULE region_pov INPUT.
Using the F4IF_INT_TABLE_VALUE_REQUEST table value request show the search help.
also make that field input enabled.
ENDMODULE. " region_pov INPUT
I think this will solve ur problem.
Regards,
Prakash.
Message was edited by: Prakash Ramu -
Changing language of text of field in screen painter
Hi All ,
Can we maintain the text of field in screen painter in different language . For ex: i have same screens in different languages . When i am changing the text in EN language the same text in EN only i am getting in other languages . How can i change the texts into other languages .
Thanks & Regards ,
Sabu.You have to do translation of the text in the transaction - SE63
Text fields can be translated. They then appear in the user's logon language. To do this, follow the menu path -> In Screen Painter: Gotou2192 Translation
Edited by: Krishna Adabala on Dec 2, 2008 8:15 AM -
Entering various items in a single field with screen painter
Does someone know if is possible to create in a dynpro screen a field that behaves like an empty dropdown box and allow the user to enter more than one entry. (<i>Like the funcionality of</i> <b>SELECT-OPTIONS</b>).
If that is possible how that field can be stored in a table?Here is a sample program showing you how to embed a selection screen in a dynpro.
report zrich_0006 .
tables: mara.
* Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*& Module STATUS_0100 OUTPUT
module status_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
endmodule.
*& Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
endmodule.
* Screen screen 100 with a subscreen area called "subscreen_1010"
* Screen Flow Logic follows
*process before output.
* module status_0100.
* call subscreen subscreen_1010 including sy-repid '1010'.
*process after input.
* call subscreen subscreen_1010 .
* module user_command_0100.
Regards,
Rich Heilman -
How to Create form in Screen Painter
Hello to all,
My client want Quality Report just like they add in microsoft excel that is they say that they doesn't want addon
so i have to create form just like excel that is there employee feel that they enter data in SAP
so i create it through screen painter?
Where i got full demo of screen painter that how it work?Hi Jaykumar......
This question is into wrong forum.
You should post it into SDK/Addons Forum
Please close this thread and open the same one in suggested forum where you find No. of experts to solve your problem.......
Regards,
Rahul -
How do you open graphical screen painter
Hi all-
I'm using PlatinGUI 6.30r2. How do I open the graphical screen painter (after going into object navigator, I want to place controls on a screen)?
I clicked Layout, but get what appears to be a bunch of horizontal lines-- nothing like a screen painter.
thanks,
KevinActually, the GUI provided on the CD is 6.30r4. After trying to install I got this:
rpm Uvh path/PlatinGUI-Linux-6.30-4.i386.rpm
>./gui
JAVA=/usr/lib/java/bin/java: Command not found
PH=/opt/sapgui/6.30rev4/jar: Command not found
SOI=/opt/staroffice7/program/classes: Command not found
JAVA: undefined variable
I read elsewhere on one of these forums that the free GUI on the sneak preview doesn't work so well with the database (and learned this by sad experience myself), so I downloaded and installed an earlier version from the website:
ftp d ftp.sap.com
name: anonymous
pw: email account
cd to /pub/sapgui/
get PlatinGUI-Linux-630r2.jar
I installed that with java jar PlatinGUI-Linux-630r2.jar, but I didn't see any prompts about installing specific components, so I have no idea what you are referring to (must be on the software that people pay for). That is the version I am currently using, and it is working fine except for this graphical screen painter is not coming up. Now my ABAP book is from 2002, so I'm sure it is included somewhere. Do you have any suggestions? Don't worry, you will get your points.
thanks- -
I/O field in screen painter
Hi,
I have a I/O field created in screen painter (single line will do).Now I need to output values to the IO field through program.I need to know which is the class linked to the IO field and which method will write values to it?
thanks
SuganyaHi,
I created a IO field in the screen painter with the name IO_TEXT and as you said created a variable in the program with IO_TEXT like below,
DATA: IO_TEXT (not sure of the reference type).
and tried to assign a text to it as below,
IO_TEXT = 'sample'.
but I don't get that in the output.Not sure of what is the mistake i am making.
thanks
Suganya -
How write a field to screen(report list) but don't display it ?
Hi, All
How write a value to screen(report list) but don't display it ? Because i will use this value as the user click the current line ,but i don't want to expose this value to the user.Hi,
U can Use the option NO-DISPLAY with PARAMETERS.
Can write in the Selection screen statement with the syntax as
Paramaters: <fieldname> type <data type>
value <value> no-display.
-Rakesh -
How to create password field in screen painter
hi all,
i am designing login screen. in that i hv to create one input-output field as a password field. i.e when i enter the characters it will display in <b>*(star) format.</b>
also is there any way to do the same using <b>parameters</b> statement in report? give me the Way or coding.
thanks in advance,
regards,
Vinod.HI GOPI
I TRY TO ENCRYPT FORMULA IN PASSWORD PROTECT.BUT ITS NOT WORK .ITS SUCCESSFUL COMPILE & WHEN I PUT PASSWORD ITS SHOWING WHAT I GIVEN THERE. SO I THINK IN MY CODING PART THERE IS SOME ERROR.CAN U HELP ME PLEASE.
I BRIEFLY DESCRIBE.........
HERE FOR LOGIN PURPOSE I USE MODULE POOL PROGRAM & THERE I CREATE TWO FIELD ONE FOR (USER_NAME & PASSWORD).THERE SHOWING TWO ERROR (1ERROR ONE) EVEN IF YOU GIVE WRONG USER & PASSWORD THEN LOGIN SUCCESSFUL AND (2 SECOND ONE) IF YOU GIVE PASSWORD IN PASSWORD FIELD THAT LOOK LIKE (****) MEANS ENCRYPT.
I ALSO SEND MY CODING CAN YOU CHECK PLEASE.
REPORT ZLOGIN_PRO MESSAGE-ID ZBABUN.
TABLES: ZTABLE_LOGIN.
data: itab like table of ztable_login with header line,
OK TYPE SY-UCOMM.
CALL SCREEN 100.
*& Module USER_COMMAND_0100 INPUT
text
MODULE USER_COMMAND_0100 INPUT.
CASE OK.
WHEN 'LOGIN'.
SELECT * FROM ZTABLE_LOGIN INTO TABLE ITAB.
SELECT * FROM ZTABLE_LOGIN INTO TABLE ITAB WHERE PASSWORD = ZTABLE_LOGIN-PASSWORD.
SELECT USER_NAME FROM ZTABLE_LOGIN INTO ITAB-USER_NAME.
SELECT PASSWORD FROM ZTABLE_LOGIN INTO ITAB-PASSWORD.
LOOP AT ZTABLE_LOGIN.
if itab-user_name ca itab-password.
message i006.
ELSEIF SCREEN-GROUP1 = 'ZTABLE_LOGIN-PASSWORD'.
SCREEN-INVISIBLE = '1'.
MODIFY ZTABLE_LOGIN.
CONTINUE.
call transaction 'SBWP'.
else.
message e020.
CLEAR : ZTABLE_LOGIN-USER_NAME,ZTABLE_LOGIN-PASSWORD.
endif.
END LOOP.
WHEN 'LOGOUT'.
MESSAGE I007.
LEAVE PROGRAM.
WHEN 'CREATE'.
CALL TRANSACTION 'ZLOGIN_NEW_USER'.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 IN
note: FIELD NAME OF USER_NAME = ZTABLE_LOGIN-USER_NAME
PASSWORD = ZTABLE_LOGIN-PASSWORD
PLEASE REPLAY ME.
.I AM WAIT FOR UR RESULT.
THANKS
LAXMIKANTA. -
F4 help for date field on screen painter
Hi ,
I created a screen using dialog programming . I have a date field there which is defined as
itab-date.
The format for this field in Element list is DATS .
How do i get a drop down on the date field on the screen .
Please advise
Thanks !In Report u have to add,
TYPES: BEGIN OF TY_F4HELP,
ENAME TYPE PA0001-ENAME,
PERNR TYPE PA0001-PERNR,
END OF TY_F4HELP.
Data: IT_F4HELP TYPE STANDARD TABLE OF TY_F4HELP WITH HEADER LINE.
*Begin of add F4 in Parameter field Ename.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_ENAME.
DATA: IT_RETURN_TAB TYPE ddshretval OCCURS 0 WITH HEADER LINE . " Return table for F4 help
SELECT DISTINCT ename pernr
FROM PA0001
INTO TABLE IT_F4HELP.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'ENAME'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = IT_F4HELP
RETURN_TAB = it_return_tab
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
READ TABLE it_return_tab INDEX 1.
IF SY-SUBRC <> 0.
ENDIF.
IF sy-subrc = 0.
MOVE it_return_tab-fieldval TO P_ename.
ENDIF.
CLEAR: it_return_tab.
*End of add F4 in Parameter field Ename. -
How to view fields on screen but make non-printable?
I have a text and fillable field that I want to view on screen but not print. I selected the presence as 'Visible (Screen Only)' but when I print the fields also print. Any idea how I can make fields in my form both visible on screen but not printable.
How are you printing the document? If you're printing from the design screen or doing a screenshot, all the fields will show up.
-
How validate the password in screen painter?
Hi friends, i have got a requirement such that i have to create a screen with Empd_id and password, its like login screen.
After giving the password and then by pressing enter it has to pass to next screen i have no idea for this can any please help with this requirement.
Table is to be created again the passwords has to be stored in a table all this i am fully confused please help with this requirement.....
Points will be Rewarded for the help
ThksDear Venkatesh,
Here is your problem
parameters: EMPLOGIN TYPE ZFIR_PASS-EMPLOGIN,
PASSWORD TYPE ZFIR_PASS-PASSWORD.
CASE SY-UCOMM.
WHEN 'LOGIN'.
SELECT SINGLE EMPLOGIN
FROM ZFIR_PASS
INTO L_CODE
WHERE EMPLOGIN IN ZFIR_PASS-EMPLOGIN.
+*why are you checking ZFIRPASS-EMPLOGIN?+_
*you should check with value from the screen the login *entered by the user in the parameter field EMPLOGIN
IF SY-SUBRC 0.
MESSAGE I000.
ENDIF.
it should be
SELECT SINGLE EMPLOGIN
FROM ZFIR_PASS
INTO L_CODE
WHERE EMPLOGIN = EMPLOGIN .
IF SY-SUBRC 0.
MESSAGE I000.
ENDIF.
*same problem repeated here ...instead of checking the screen
*password value passed you are checking something else
SELECT SINGLE PASSWORD
FROM ZFIR_PASS INTO L_SUPNAM
WHERE PASSWORD IN ZFIR_PASS-PASSWORD.
IF SY-SUBRC 0.
MESSAGE I000.
ENDIF.
replace it as
SELECT SINGLE PASSWORD
FROM ZFIR_PASS INTO L_SUPNAM
WHERE PASSWORD = PASSWORD.
IF SY-SUBRC 0.
MESSAGE I000.
ENDIF.
please check and revert and reward if helpful
Regards
Byju -
How to get tabs in screen painter?
Hi friends i am having 3 screens with numbers 100, 200, 300.
I want to make this 3 screens into tabs like basicdata1, basicdata2 in mm02. Like when i click basicdata1 it has to open basicdata1 screen.
Please can anyone share me the solutionHi,
For this requirement you can create one screen with no .100.In that create 3 tabstrips.Tabstrips allow users to access multiple subscreens on one normal screen.For three tabs maintain properties, one sub screen is sufficient for the three tabs , design the layout and write the respective logic in flowlogic to switch between different tabs.
Here is the sample code.....
&----DECLARETION OF STRUCTURE -
TYPES: BEGIN OF ST_KNA1,
KUNNR TYPE KUNNR,
LAND1 TYPE LAND1,
NAME1 TYPE NAME1,
ORT01 TYPE ORT01,
PSTLZ TYPE PSTLZ,
REGIO TYPE REGIO,
TELF1 TYPE TELF1,
BANKS TYPE BANKS,
BANKL TYPE BANKL,
BANKN TYPE BANKN,
KOINH TYPE KOINH_FI,
EBPP_ACCNAME TYPE EBPP_ACCNAME,
END OF ST_KNA1,
BEGIN OF ST_KNBK,
BANKS TYPE BANKS,
BANKL TYPE BANKL,
BANKN TYPE BANKN,
KOINH TYPE KOINH_FI,
EBPP_ACCNAME TYPE EBPP_ACCNAME,
END OF ST_KNBK.
&--DECLARATION OF WORK AREA--
DATA: WA_KNA1 TYPE ST_KNA1,
WA_KNBK TYPE ST_KNBK.
DATA: V_SCREEN TYPE SY-DYNNR VALUE '0110',
OK_CODE TYPE SY-UCOMM,
V_KUNNR TYPE KNA1-KUNNR.
CONTROLS: TAB TYPE TABSTRIP.
*& Module STATUS_0100 OUTPUT
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'TABSTRIPS'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
MODULE USER_COMMAND_0100 INPUT.
CASE OK_CODE.
WHEN 'DISP'.
CLEAR WA_KNA1.
SELECT
KUNNR
LAND1
NAME1
ORT01
PSTLZ
REGIO
TELF1
INTO WA_KNA1
FROM KNA1
WHERE KNA1~KUNNR = V_KUNNR.
ENDSELECT.
IF NOT WA_KNA1 IS INITIAL.
TAB-ACTIVETAB = 'TAB1'.
V_SCREEN = '110'.
ELSE.
MESSAGE I003(Z50850MESSAGE).
ENDIF.
ENDCASE.
CASE OK_CODE.
&--CALLS SUBSCREEN TO DISPLAY CUSTOMER NAME AND NUMBER--
WHEN 'TAB1'.
TAB-ACTIVETAB = 'TAB1'.
V_SCREEN = '110'.
&--CALLS SUBSCREEN TO DISPLAY CUSTOMER PERSONAL DETAILS--
WHEN 'TAB2'.
TAB-ACTIVETAB = 'TAB2'.
V_SCREEN = '120'.
&--CALLS SUBSCREEN TO DISPLAY CUSTOMER BANK DETAILS--
WHEN 'TAB3'.
CLEAR WA_KNBK.
SELECT
BANKS
BANKL
BANKN
KOINH
EBPP_ACCNAME
INTO WA_KNBK
FROM KNBK
WHERE KUNNR = WA_KNA1-KUNNR.
ENDSELECT.
IF WA_KNBK-BANKN IS INITIAL.
MESSAGE I003(Z50850MESSAGE).
ELSE.
TAB-ACTIVETAB = 'TAB3'.
V_SCREEN = '130'.
ENDIF.
WHEN 'EXIT' OR 'BACK' OR 'CANCEL' OR 'STOP'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Regards,
kavitha -
How to read the contents of Input Field created via Screen Painter?
Hi All,
I have a module program / dialog program, on my second screen, I created an input/outbox field via screen painter of course,
now in my PAI, how can I read the contents of the input/outbox field?
Let's say the name of my input/outbox field is: P_WEKRS. Note: Get Parameter and Set Parameter is ticked.
PROCESS AFTER INPUT.
LOOP WITH CONTROL TC_DATA.
MODULE MODIFY_DATA.
ENDLOOP.
I want to get the value of the input/outbox field before my loop in table control? I thought that it will work like normal parameter in non-dialog programs.
Any helpful inputs will be appreciated/rewarded.
Thanks.
JaimeHi, Jaime
Do the following Change in you Follow Logic
PROCESS AFTER INPUT.
MODULE read_or_change_value. " Add this
LOOP WITH CONTROL TC_DATA.
MODULE MODIFY_DATA.
ENDLOOP.
Add the Bellow Module code in you Driver Program.
MODULE read_or_change_value.
DATA: P_WEKRS like " the Field on Screen. Must be the same name as on SCREEN. and Type must be same too.
" Here you will find the Value in that Variable or if you will change the Value here you will find it change on Screen
END MODULE.
Please Reply if any Issue..
Best Regards,
Faisal
Maybe you are looking for
-
Can I suppress HTML escaping in a read-only item?
I have an item that is displayed as read-only. The item contains HTML markup. HTML DB seems to automatically escape special characters in the item value. Is there a way to suppress this? For example, I have a text input item with the value: <b>Hello<
-
I have been using Speed Dial for a long time and when I click on a button, usually a new page opens, leaving Speed Dial available. Recently, every time I click on a Speed Dial button, the new page opens in place of Speed Dial. If I want Speed Dial ag
-
PSE 13 UI Very Small on Surface Pro 3
I am running Photoshop Elements 13 on a Surface Pro 3, the UI is very small, not useable. How can this be adjusted?
-
Hi I need to put a check at event 940 and or 945. I need to check the Business area wise total should be Zero. If BA sum not Zero than exclude from transfer. This check is at reconciliation key level. Events 945: This event calling record by record a
-
CS5 Media Brushes stop working
Windows 7 64-bit | Photoshop CS5 | Wacom Intuos4 (driver up to date) Happily painting away, when I switch to another program, be it Skype or anything else, and then come back to PS my CS5 Media Brush no longer has pressure sensitivity, et