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.
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 create a table in screen Painter ?
Hi can anyone give me the procedure to create a table in screen painter layout?
ThksHi this is my code but still error...please suggest me the corrections..
TABLES: ZONE.
DATA: ITAB LIKE ZONE OCCURS 0 WITH HEADER LINE,
WA LIKE ITAB.
MY TABLE CONTROL NAME IS ZMATERIAL
CONTROLS: ZMATERIAL TYPE TABLEVIEW USING SCREEN 100.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
loop at itab with control ZMATERIAL.
module select_data.
endloop.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE USER_COMMAND_0100 INPUT.
loop at itab.
endloop.
ENDMODULE. " USER_COMMAND_0100 INPUT
WAITING FOR YOUR REPLY -
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 -
How to create value request for screen field text box tt1
How to create value request for screen field text box tt1
i have a text box name tt1,
i want f4 help for that .
remember i am asking for screen i.e done from screen layout not selectio-screen.
Thank you,
Regards,
Jagrut Bharatkumar Shukla,Hi,
Create one Search Help in the SE11 for the particular Field that u want to display. In the Screen(Transaction SE51),For that Text Box in the Attributes,in Dict Tab ->Search Help Field give that Search Help Name.
For Eg,
If u want Purchase Order Numbers in that F4 Help.Create one <b>Search Help</b> by giving Table Name as <b>EKKO</b> & <b>Search Help Parameter</b> as <b>EBELN</b> with Lpos & Rpos as 0 & 1.Save & Activate it.
Give this Search Help Name in Dict Tab ->Search Help Field of that Screen Attributes.
Regards,
Padmam. -
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 -
How to design select-option through screen painter
I am new to screen painter. I want to make a screen having range of values high/low (just like select-option)......How can I do this using screen painter?
Hi!
Method 1
a) Create a subscreen area in your screen layout where you want to create the select options.
b) In the top include of your module pool program declare a selection screen as a subscreen e.g.
SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
select-options s_matnr for mara-matnr.
SELECTION-SCREEN END OF SCREEN.
c) In the PBO and PAI of the main screen where the select options needs to be created do a call subscreen of the above screen (100).
CALL SUBCREEN sub_area INCLUDING
This call subscreen statement is necessary for transport of values between screen and program.
Note: All validations of the selection screen fields e.g. the s_matnr field created above should be done in selection screen events like AT SELECTION-SCREEN etc and not in PAI. These selection screen validations etc should be done in the top include only.
Method 2
a) Create 2 separate fields in your screen layout - one for the low value and one for the high value. Insert an icon beside the high value which will call the multiple selections popup screen on user command. Use function module COMPLEX_SELECTIONS_DIALOG to achieve this.
struc_tab_and_field-fieldname = con_cust. " 'KUNNR'
struc_tab_and_field-tablename = con_kna1. " 'KNA1'.
CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
EXPORTING
TITLE = ' '
text = g_titl1 " 'Customers'
tab_and_field = struc_tab_and_field
TABLES
RANGE = rng_kunnr
EXCEPTIONS
NO_RANGE_TAB = 1
CANCELLED = 2
INTERNAL_ERROR = 3
INVALID_FIELDNAME = 4
OTHERS = 5.
IF NOT rng_kunnr[] IS INITIAL.
Read the very first entry of the range table and pass it to
dynpro screen field
READ TABLE rng_kunnr INDEX 1.
IF sy-subrc = 0.
g_cust = rng_kunnr-low.
ENDIF.
You can use the return table rng_kunnr to populate your own internal range table with the values entered by the user. Basically here you are just simulating the work of a select-options parameter by module pool screen elements
You can go with it also ....
Re: Select-options in dynpro
Regards.... -
How to create a field with 1200 chars length
Hi,
Will anybody let me know how to create a field with length 1200 in a table.
Regards,
MadhaviHi Madhvi,
Other thing what you can do is
1. First create a Table type.
Goto SE11-> Dataelements ->Table type
There on the next screen select Predefine radio button & there provide data type & size.
2. Create a structure having a field typa of Table type created before. say that field is quant.
Now in your program refer that structure to create an internal table & work area.
Now if u append ur text to the field quant.
try creating line type of size more that 255 if it works then fine other wise reduce it.
Note:: This will be a deep structure.
so first append value to the field quant, the at the end of first record append valu to ur internal table.
thanks
Satyam -
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 -
How to create a field group.
Hi all,
Can anyone please explain how to create a field group for few fields?
My requirement is i want to Create a specific fieldgroup for maintenance of the fields for the contacts TAB on the customer master
KNVK-NAME1
KNVK-NAMEV
KNVK-ABTNR
KNVK-PAFKT
KNVK-BRYTH
How todo this? please anyone can explain the steps.
MohanaIf you are creating these fields with Business Data Tool Set.
Then you will have field group and fields.
Field are attached to field groups,
Field groups are attached to view
Views are attached to Section
Sections are attached screen : you are calling as a tab
Regards,
Shiva Kumar
removed by moderator
Edited by: Jan Stallkamp on Dec 19, 2008 2:33 PM -
How to create a variant selection screen
Hi experts,
Can you tell me " How to create a variant selection screen ".
Please it's urgent.........
Thanks
BasuHi ,
Goto your selection screen
Make entries in the fileds od the selection screen
press save button, it will ask you for the mane of the Variant
Give the name of the Variant and save it
Variant is now created for the selection screen.
Reward if useful.
Regards,
Shilpi -
How to run the query in screen painter
i am using the patch 36 in business one so pls give information about
how to run the query in screen painter
regard
sandip adhavHope u have reached Screen painter interface,
1. Click 'Add Grid' from tool bar.
2. Go to 'Collections' tab in 'Properties' window.
3. Choose 'Data Tables' from the Drop down list.
4. Click 'New' found at the bottom of the Properties Window(same window)
5. U'll find the place to insert ur query.
6. U can rename the table name from 'DT_0'
7. Choose type as 'Query'
8. Clear content from box 'Query'
9. Enter ur query there. Dont forget to Click 'SET'
10. Go to Preview option from tool bar.
now ur query will be displayed as table format.
Note: First try with simple query b4 going for linking option.
Regards,
Dhana. -
How to create a new selection screen IN LOGICAL DATABASE PNPCE
how to create a new selection screen LDBS PNPCE
Hello Ankit,
Do you want to create a new selection screen in LDB PNPCE, or do you want to create a new selection screen in one of your reports using LDB PNPCE?
For later (which is more common), you can use HR Report Category.
Hope this helps.
Best Regards,
Biraju Rajyaguru -
How to create Lookup field in user form in OIM 11g - Urgent
Hi Experts,
How to create Lookup field in User Form - OIM 11g.
Pls. provide your support on priority.
Regards
KaranThanks all for your suggestion.
Our requirement, is we need to have a user defined field similar to how its there in "Organisation".
For example we need to create an user defined field like "Service Holding" which holds different services say like Service 1, Service 2, Service 3 etc.
Under each service there are multiple roles....
Eg:
Service 1 - Role 1, Role 2, Role 3
Service 2 - Role 4, Role 5
Service 3 - Role 6, Role 7, Role 8
Is there a way to store multi-valued attribute in OIM UDF? If so, pls. guide us
If its not possible we would need to create a Lookup field (something similar to Organization or Manager). User clicks on the button (lens button), which should invoke an API wherein he can select specific Roles and save in User. Eg. like Service 1 - Role 1#Service 2 # Role 5 and store in the backend database.
Is this possible. Pls. guide.
Regards,
Karan -
How to create a new selection screen LDBS PNPCE
how to create a new selection screen LDBS PNPCE
Hello Ankit,
Do you want to create a new selection screen in LDB PNPCE, or do you want to create a new selection screen in one of your reports using LDB PNPCE?
For later (which is more common), you can use HR Report Category.
Hope this helps.
Best Regards,
Biraju Rajyaguru
Maybe you are looking for
-
I am a fitbit owner and downloaded their app on my macbook pro several weeks ago. I have accessed that app to review fitbit progress multiple times each day since. Today, i can not do that. I can't even access the Fitbit website. I get a 400 error -
-
Blank thumbnails in iPhoto; photos (zero KB) in iphoto library folder?
Upon opening iphoto recently; 90% of my photo's (2,500) appear as blank/white thumbnails. If I select one of these photo's it gives the proper photo info (name, file size, etc..) but no photo. When I check the iLibrary folder, these same photos displ
-
Anyone know how to play Windows Live Messenger or MSN in iPhone4 3G? thanks..
anyone knoes how to play Windows Live Messenger in iPhone4 3G
-
after backing up my dvds to a hard disk, can I play them via apple tv?
-
Err= 8008, There was a problem Downloading...
This problem happened to me 3 times: Rented movies: Office Space/ Mike judge ; Out of Time / Carl Franklin Movie Bought: Ghost Town / David Koepp i recieved the error 8008, for all three with a warning that says: Parts of the file seems to be corrupt