on 02-03-2008 2:24 PM
Hi All,
Iam new to SAP ABAP and Iam learning ABAP.
I was trying to design a form for user login for a user using screen painter.
But Iam not able to read a value from the textbox so that I can compare the value to the database.Now to do this do we any function how can we implement this.
If anybody can help me that would be great and also i would appreciate if you could mail me the codes to my id nranjith@aol.in
Waiting for reply Friends.
hi
while u create a screen by screen painter , u have to give name for every thing (i.e. for Label, Button, Text Field and for all other also ).
then in driver program which will drive that screen , there u have to give screen details.
in PAI event u wite ur slect query and assign the corresponding retrived dat to respective screen elements
now ur data is going displayed after PBO event.
suppose ur screen field s r Txtmatnr and txtMaktx
PAI.
Module selectmaktx.
select single * from makt where matnr = txtmatnr
txtmaktx = makt-maktx.
endmodule.
Note : where Txtmatnr is Text field name on the screen as well as defined in drver program .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.