Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Converting into UPPERCASE

Former Member
0 Likes
2,434

Hi All,

I am developing a Function Module which has import parameters 'KNA1-NAME1' based on the entry

I am fetching data from KNA1 table

When i execute the FM independently,and when i gave Name1 as 'Test*', FM automatically

converts the 'Test' into Uppercase 'TEST'which results no entries in KNA1 table.But KNA1 has an

entry with 'TestCust'

Can you please tell me how to resolve this??

Thanks ,

Madan

Hi All,

I am developing a Function Module which has import parameters 'KNA1-NAME1' based on the entry

I am fetching data from KNA1 table

When i execute the FM independently,and when i gave Name1 as 'Test*', FM automatically

converts the 'Test' into Uppercase 'TEST'which results no entries in KNA1 table.But KNA1 has an

entry with 'TestCust'

Can you please tell me how to resolve this??

Thanks ,

Madan

7 REPLIES 7
Read only

Former Member
0 Likes
1,439

When u run the FM independently check the checkbox Upper/Lowercase (Above the Inport Parameters ) then it will take parameters as input

Read only

Former Member
0 Likes
1,439

Hi,

If the input value is case sensetive means you have to tick the checkbox Uppercase/Lowercase.

Hope its helps

Read only

Former Member
0 Likes
1,439

Hi:

Click on the type of import parameter -> click on domain -> check Output characteristics - > lower case ( if its unchecked then it would convert into upper case).

Regards

Shashi

Read only

Former Member
0 Likes
1,439

In case of executing FM from se37 use the tick for Uppercase/Lowercase.

From report data will not be modified from uppercase to lowercase or vice versa.

Read only

Former Member
0 Likes
1,439

Hi,

Use this FM ISP_CONVERT_FIRSTCHARS_TOUPPER before sending the value to the select statement.

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
1,439

Hi use below FM

CALL FUNCTION 'STRING_UPPER_LOWER_CASE'

exporting

delimiter = '1'

string1 = ur text

importing

string = o/p text

exceptions

not_valid = 1

too_long = 2

too_small = 3

others = 4.

Read only

Former Member
0 Likes
1,439

Hi,

If it is in Function Module itself you have an option to check the check-box Uppercase/Lowercase.

In your from your program you can do this by giving the addition of Lowercase to Parameters

Parameters: p_name(20) type c Lower case.

thanks

sarves