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: 

COKEY Search issue

0 Kudos

Hello Everyone

We are facing certain issue while searching by CO subkey (HRKFT) in COKEY table.

Even if the record of given CO Subkey do exist in COKEY it doesnt get displayed in output.
I realized that HRKFT is of 14 character long however I am searching with 10 Characters Subkey.


Now when I am keeping 4 Spaces before CO Subkey I am able to get my record properly. COKEY is a standard table and we haven't written any custom program to populate it.

HRKFT doesnt have any conversion exit. Do you have any idea of SNOTE to fix this .

Thanks in advance

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

AFAIK such records with 4 leading space characters are not new feature and not related to update.

This field domain doesn't carry the ALPHA conversion exit and is built from concatenation of an 'Origin Group' (SPRO/OKZ1, OPKS: HKGRP, length 4, can be space) and a 'Sub-number COKEY' (SNRO: COKEY, number range of length 10)

0 Kudos

Thanks Raymond for your response. Business Users will not like to put spaces in se16n. Do you have any idea how to fix this other than putting spaces

0 Kudos

'Business users' should not be allowed to use SE16n, can you elaborate on actual business requirement?