Problem in converting into upper case urgent
hi,
i working on module pool program.
in the initial screen there is two fields one is number one is name.
if i enter the name in the name field it is automatically converting into upper case,
but in this case my select query is not working,how to solve this,i mean i have to take same as it is what i entered.
kindly give me suggestion.it is urgent issue.i have to delever today.
Thanks,
mohan.
hi
in the Report to handle like this situation.. we use the extentions to the parameter as LOWER CASE .
parameters p_t type char10 LOWER CASE .
i think in the Module pool also.. we can do this in Properties of the FIELD... once check the Properties of the field... there could be a chance.
hi
<b>there is field <b>checkbox called UPPER/LOWER CASE</b>at the bottom of the properties... if tick this u r porblem will be solved</b>
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
Message was edited by:
Naresh Reddy
Similar Messages
-
Password Is Converted to Upper Case in WAS 7.0
Hi Friends,
I have a requirment where in we are using some funcation modules for User authontication . The import parameter for password is converting the password into upper case . Is there any way that i can do some settings or use a data type that allows me to take the password as it is with out converting into upper case.
We are working on WAS 7.0.
Thanks,
MaheshHi Ravi,
I have done what ever u have suggested and it works...
Is there any setting that we can do so that the Upper/Lower case Check box is checked by default when executing the FM from se37.
Thanks
Mahesh -
When pressing enter the values are converted to upper case in module pool
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
Nishanthi 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> -
I need to convert certain fields from an upload file into upper case.
Any pointers as to how this can be done. Thanks.hi,
u can use transalte command to convert into upper/lower case.as
loop at itab.
TRANSLATE itab1-fld1 TO LOWER/UPPER CASE.
modift itab1 index sy-index.
endloop.
if helpful reward some points.
with reagrds,
suresh babu aluri. -
[IDCS2-PC] PMString - convert to upper case
Hi everybody,
does somebody meet the problem that some of character couldn't be converted to upper case.
I have
PMString initialized with text
"lørdag". When I call function
ToUpper() I got
"LøRDAG", where there is one character in lower case which wasn't transformed.
Do somebody know why and which function should I used instead of that to be succesfull?
ThanX,
pysoHi everybody,
I've just found a solution. In SDK there is probably error because
PMString.ToUpper() doesn't work well but
WideString.ToUpper() works fine.
bye,
pyso -
I need to tanslate a field into upper case
Hello :
i would like to ask one favor i am trying to make a selections of data.
i have a RFC function that recieve a parameter and this parameter is used in selection of data.
for example when i send the parameter i transalate this into upper case using TRANSALATE VARIABLE TO UPPER CASE, so when i make the selections of the information i found all those data that also have upper case information in this field , but when one of that fields doesn't have upper case i can't find the information.
The problem is that the table has both information upper-lower case.
if somebody knows how to fix this problem i will appreciate .One way to handle this if you can't control how the data is entered and the table is not too big, is to get all of the data into an internal table, translate the variable, then loop at the internal table and translate the field that you want to compare to upper case, then do the comparison, if not satisfied, then delete it from the internal table.
Translate v_parm to upper case.
select * into table itab from ztable.
loop at itab.
translate itab-fld1 to upper case.
if v_parm <> itab-fld1.
delete itab.
continue.
endif.
endloop.
Regards,
Rich Heilman -
Value converting to upper case
Hi,
There is a table control, but when i am taking a value from the table in PAI of my screen, the value gets converted to upper case, can any one suggest me what would be happening. Is there any way to control this?
Thanks in Advance,
kushagra sharmaHi Sharma,
Go to the screen painter for the table control screen, go to the screen attributes of the field (field you want to restrict the case change) and check the check box Upper/Lower case.
Hope this may help you.
Regards,
Smart Varghese -
Hi one pressing enter the fields are converted to upper case
hi
in table maintiance module pool program i have created thre are three fields
kunnr name1 and email id
now on pressing enter on maintiance screen the all the theree fields are converted to upper case i want to avoid this conversion to upper case....
pls suggest
and on pressing enter PAI is callled i want to avoid pai being called at this point of time
regards
Arorayes i have activated the table
for tabel mantiance generater it is coming as disble so i suppose no need to gernereate table mantiance gerneartor again/
ys in dynpro for shp to name uppe or lower case check box is checked but it is coming as disabled.
pls suggest how to delect it and wht does upper/lower case check box in special attributed means?
regards
nishant -
Special character not being converted to upper case
Hi all,
I have an issue with special characters and upper/lower case.
The character "ü" is in one of the values of an InfoObject and when loading we get an error message for this value. The character "Ü" is in RSKC, but still we are getting an error when loading.
We are converting the values to upper case in the transfer rules, but this special character is not being converted to upper case...
We start with the value "Heüringen" and after conversion we have the value "HEüRINGEN" where we want to have "HEÜRINGEN".
Do you have any idea why this characer is not being converted?
Any ideas are welcome!
Best regards,
TMVHi Praveen,
What does this module actually do? What kind of characters will the special chars be replaced with?
Br,
TMV -
Convert mixed case value in colum into upper case values
Hi All,
I have got a table call emp and has the following colums:
id number 10
suename_name varchar2(20)
given_name varchar2(20)
position varchar2(30)
date_hired date
Now the values in colums are mixed case and I need to change them to upper case. I think I need to use upper function to do it.
Could anyone help me by providing me sql/pl sql script to through each colum in emp table and change them to the upper case.
Many Thanks
MichaelHi,
If you really want to try this using PL/SQL, then you'll have to use dynamic SQL, something like this untested code, since the table and column names are vaiable:
SET SERVEROUTPUT ON SIZE 50000
DECLARE
sql_txt VARCHAR2 (4000);
BEGIN
FOR r IN ( SELECT table_name
, column_name
FROM user_tab_columns
WHERE data_type = 'VARCHAR2'
-- AND ... -- if you don't want all columns in all tables
LOOP
sql_txt := 'UPDATE "'
|| r.table_name
|| '" SET "'
|| r.column_name
|| '" = UPPER ("'
|| r.column_name
|| '")';
dbms_output.put_line (sql_txt || ' = sql_txt'); -- For debugging
-- EXECUTE IMMEDIATE sql_txt; -- For real
END LOOP;
END;Dynamic SQL (here) means creating a string that contains the SQL statement to be done, then using EXECUTE IMMEDIATE to run it.
Whenever you write dynamic SQL, it's a good idea to only display the SQL statement during the early stages of debugging. When it's displaying correctly, then you can try un-commenting the EXECUTE IMMEDIATE line.
Edited by: Frank Kulash on Jul 19, 2009 4:40 PM
A little more complicated, but a lot more efficient:
SET SERVEROUTPUT ON SIZE 50000
DECLARE
sql_txt VARCHAR2 (4000);
BEGIN
FOR r IN ( SELECT table_name
, column_name
, ROW_NUMBER () OVER ( PARTITION BY table_name
ORDER BY column_name
) AS column_num
, COUNT (1) OVER ( PARTITION BY table_name
) AS total_column_cnt
FROM user_tab_columns
WHERE data_type = 'VARCHAR2'
-- AND ... -- if you don't want all columns in all tables
ORDER BY table_name
, column_name
LOOP
IF r.column_num = 1
THEN
sql_txt := 'UPDATE "'
|| r.table_name
|| '" SET "';
ELSE
sql_txt := sql_txt || ', "';
END IF;
sql_txt := sql_txt ||
|| r.column_name
|| '" = UPPER ("'
|| r.column_name
|| '")';
IF r.column_num = r.total_column_cnt
THEN -- This is the last row for this table; run it
dbms_output.put_line (sql_txt || ' = sql_txt'); -- For debugging
-- EXECUTE IMMEDIATE sql_txt; -- For real
END IF;
END LOOP;
END;
{code}
The difference is that the first solution produces and executes a separate UPDATE statement for each column, like this:
{code}
UPDATE "TABLE_1" SET "COLUMN_A" = UPPER ("COLUMN_A");
UPDATE "TABLE_1" SET "COLUMN_B" = UPPER ("COLUMN_B");
UPDATE "TABLE_1" SET "COLUMN_C" = UPPER ("COLUMN_C");
{code}
but it's much more efficient to do change all the columns at once, as long as you have the row in hand. So the second solution only creates one SQL statement per table, like this:
{code}
UPDATE "TABLE_1" SET "COLUMN_A" = UPPER ("COLUMN_A")
, "COLUMN_B" = UPPER ("COLUMN_B")
, "COLUMN_C" = UPPER ("COLUMN_C");
{code} where every line above corresponds to a row fom the query. The first line for every table will start with
{code}
UPDATE "TABLE_1" SET "but all the others will start with
{code}
and only on the last column for a given table will the statement be executed. -
Problem in converting into PDF
HI,
I need to convert data in PDF format but i am facing problem in it.
i have used 2 methods,
1. i used job_open,job_submit,job_close,BP_JOB_READ to submit job and CONVERT_ABAPSPOOLJOB_2_PDF to convert into pdf format. it is working fine in this case.
2. But when i use SUBMIT program with USING SELECTION-SCREEN 'xxxx' WITH selcrit2 IN 'xxxx'.. and then spool which created i used in FM CONVERT_ABAPSPOOLJOB_2_PDF , it is not converting even though same exporting and importing parameters are passed in this as in above.
Please reply.
Regards,
nehaHi,
First check whether the spool request is working fine or not by just execute any PO or sales order or any print view and from the menu give print there by you will get the spool number, make a note of the spool number.
Go to SE38 and enter the program RSTXPDF4 and execute it will ask for the spool number give the spool number noted earlier and if PDF format is coming means you have some error while configureing the SP01.
Hope my answer helps you.
Cheers!! -
File name gets converted to upper case
I am facing an unusual problem with Solaris 10. When I insert an USB thumb drive formatted with FAT to copy some file from the stick, some of the files whatever gets copied to hard disk get their file names changed to upper case. This is quite random, at least, I am not being able to figure out what pattern of file names are causing this problem. Any suggestions?
Edited by: Holmes.Sherlock on Dec 4, 2012 1:13 PMHi...
you can translate the password in upper case before call bapi....
translate psw to upper case.
regards
Marco -
Editable ALV: Entered Values are not Converted to Upper Case
Hi Experts,
I'm getting stuck with this one...
Fieldcat-lowercase is initial
Associated domain is NOT "lower case"
New values entered by user are not converted automatically to upper case and - in result - chek result of lower case value is "invalid"
Must conversion be done manually?
Thanks for your help!
carsten1. You may not press enter key after the input data,
2. You may get it field's fieldcat references different type. For exam x field like abc-f1. f1 type char 10.But your fieldcat dont use abc-f1 field.
DEFINE BFCAT.
CLEAR SFCAT.
SFCAT-FIELDNAME = &1.
SFCAT-TABNAME = 'GT_ITAB_BUF'. SFCAT-SELTEXT_S = &2.
SFCAT-SELTEXT_M = &2.
SFCAT-SELTEXT_L = &2.
SFCAT-COL_POS = COLPOS.
SFCAT-REF_FIELDNAME = &3.
SFCAT-REF_TABNAME = &4.
SFCAT-OUTPUTLEN = &5.
SFCAT-NO_OUT = &6.
COLPOS = COLPOS + 1.
APPEND SFCAT TO TFCAT.
END-OF-DEFINITION.
COLPOS = 0.
BFCAT 'ONRNO' '' 'ONRNO' 'ZONR_DATA01_S01' '' ''. -
How do u convert to upper case?
hi...
i'm new to oop and i couldnt find the syntax to change lower case to upper case anywhere...can someone kindly give me the link to that syntax please and thank youif i have an "apple" how do i make it to uppercase
using the abovementioned codes??trust me i am not
giving you my homework..i am truly in need of helpI am going to take a guess and say you tried:
String yummy = "apple";
yummy.toUpperCase();
System.out.println( yummy ); only to see the "apple" returned.
Now the answer has been given above, but why do you need to do this? String is an Immutable object. Basiclly this means that it can not change.
Now you might say that the code
yummy = yummy.toUpperCase();changes the String. Well it does not. It changes the refrence (yummy) to point from one string ("apple") to a brand new string "APPLE".
This might have confused you even more, so here are some links to people who have explained it much better than I.
JavaRanch Campfire - Cup Size: a Story About Variables
JavaRanch Campfire - Pass By Value, Please -
Hi Guys,
I facing weird issue in the report.I have a 0SPM_Plant Master data as Berlin (Upper and Small Case).Is there any option to convert the Berlin to BERLIN in the reporting not in modeling.I have taken 0SPM_Plant as a reference of 0Plant.
Please throw some light on it.
Regards,
Jayapal.In order to get that
goto Table RSDCHABAS manage parameters infoobject. change into this table the parameter lowercase letters.
And activate infoobject in infoobject maintenance screen.
Maybe you are looking for
-
ORA-04062 error when running forms with different users
ORA-04062 error when running forms with different users I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box) I wrote a stored procedure to get the da
-
Playing album downloaded from limeware in itunes
Have downloaded via Limeware( a file sharing facility) a complete album but cannot play it in itunes. track plays but there is no sound. ! appears next to details of the download. Haven't had any problems up to now. Anyone any ideas?
-
I need to manage text files of 4GBytes on a Unix system (the usual limit is 2GBytes on this file-system). I tried using the directive CDEFS=_LARGEFILE_SOURCE in the Makefile, but it does'n seem to work (the C compiler seems to loose the call to <sqlc
-
ACE: 1/2 open connections and reset
Is there anyway to force the ACE to send a RST packet for a connection that it doesn't have in its state table? i.e. upon a 2nd failure from the secondary ACE back to the primary where existing connections do not replicate back to the primary. EDIT:
-
Connecting to 11.5.10 application through sqlplus from a client
al salam 3al man etaba3 al hoda I have intalled appl 11.5.10 and i need to connect to the database through sqlplus from another pc but i cann't connect also i cann't see the database from the eterprise manager i heard that there are some new security