Application Development 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: 

BADi or exit for customer name change

Former Member
0 Kudos

Hi all,

i want to retrieve the customer details based on the name entered in the selection screen.

but the customer name is stored in the Database like combination of CAPITAL letters and small letters and Numbers and some special characters like -(Hyphen), .(DOT), etc.

Assume name is stored in the database like: RAJA RAM.

but the selection-screen , if the i enter raja ram, or Raja Ram, it should fetch from the database.

what i am thinking that at the time of customer creation , i want conver the customer name into either CAPITALS or Small letters.

for this is there any BADI or Exit is available.?

Thanks

Vimala.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can split the name string and use like '%Some name %' in your select query.

Regards,

Prashant.

3 REPLIES 3

Former Member
0 Kudos

Hi,

You can split the name string and use like '%Some name %' in your select query.

Regards,

Prashant.

Sm1tje
Active Contributor
0 Kudos

In what table are these customers stored? In tabel BUT000 for example, you have two columns in which the names are always stored in capitals to avoid these situations. And these columns are part of the secondary index as well. So no need to convert.

If you do want to convert, despite the above argument, you will have to tell what transaction you are using to create / change customers to find the exit / badi.

Former Member
0 Kudos

HI,

thanks for reply.

The transaction is XD01. Table is KNA1. field is name1.