10-17-2007 5:19 AM
hi
tehre are three fields for maintanece in module pool
wheni press enter the fields are converted to upper case i want to avoid this as i dont want to have the upper case
i need to save in table as waht user has inputed not in upper case
so i dont want the fields to be automatically converted to upper case whne pressing enter on screen
regards
Nishant
10-17-2007 5:25 AM
Hi,
In screen painter, chek the attributes for that field and remove UPPER/LOWERCASE flag ,this should solve your problem.
Regards,
Raghavendra
10-17-2007 5:25 AM
Hi,
In screen painter, chek the attributes for that field and remove UPPER/LOWERCASE flag ,this should solve your problem.
Regards,
Raghavendra
10-17-2007 5:41 AM
Hi,
Sorry this flag should be checked , which indicates that values should be taken as entered in the screen.
10-17-2007 5:34 AM
hi Nishant ,
<b>The solution to ur problem is breifly explained with a sample module pool program .</b>check it below :
IN the TOP INCLUDE**********************
DATA :
wempid TYPE z7684dp-empid , " same name as in the screen declaration
wname TYPE z7684dp-name,
wacc TYPE z7684dp-account,
wdesg TYPE z7684dp-designation,
ok_code TYPE sy-ucomm ,
wa_z7684dp TYPE z7684dp,
t_z7684dp TYPE STANDARD TABLE OF z7684dp,
*****IN THE PAI OF THE SCREEN 100(for example)***********
MODULE user_command_0100 INPUT.
CASE ok_code .
WHEN 'CRE' . " function code for the pushbotton to insert the values
TRANSLATE wdesg TO LOWER CASE.
TRANSLATE wempid TO LOWER CASE.
TRANSLATE wname TO LOWER CASE.
TRANSLATE wacc TO LOWER CASE.
wa_z7684dp-empid = wempid .
wa_z7684dp-name = wname .
wa_z7684dp-account = wacc .
wa_z7684dp-designation = wdesg .
INSERT INTO z7684dp VALUES wa_z7684dp .
IF sy-subrc EQ 0 .
MESSAGE 'SUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
ELSE .
MESSAGE 'UNSUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
ENDIF.
CLEAR: wa_z7684dp , wempid , wname , wacc , wdesg.
*******************************************************************************************
REVERT BACK WITH ANY FURTHUR QUERIES
<b>DO REWARD WITRH POINTS IF USEFUL :)</b>