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: 

Search Help Parameter ID type and Data Element type mismatch.

naveen_inuganti2
Active Contributor
0 Kudos

Hi,

My security team is having requirement to assign values to authorization object. While doing it from Su24, they prefer to see the drop down/search help with list of available values.

However, we have these values available in a table column that has different length, comparing with the length of the data element that we are using for auth. object values'.

Given that, Data Element that security is using and Data Element of table that has got all possible values in it are not compatible - How can I show values of my existing table in a dropdown/search help of Security screen?

When I try to assign custom search help to this Security Data Element, it says, length is not matching - there is a compatibility issue.

Regards,

Naveen

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Consider recreating correctly the authorization object, with a link to the correct table/data element/domain. If not already created, add the field in SU20 and use it in SU21.

If, for reasons beyond my comprehension, you don't want to correct the original problem, you could build a dirty search help on the value table and in a search help exit map the data to the required format..

Regards,
Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Consider recreating correctly the authorization object, with a link to the correct table/data element/domain. If not already created, add the field in SU20 and use it in SU21.

If, for reasons beyond my comprehension, you don't want to correct the original problem, you could build a dirty search help on the value table and in a search help exit map the data to the required format..

Regards,
Raymond

0 Kudos

Yes. I cannot correct/change the actual issue. Because, required data is available in SETLEAF and we have established applications around that. On the other hand, Security do not want to proceed with SETLEAF VALFROM (of 40 length) as per their design.

Thanks for that input! Yes, not using any selection method now and passing data to required field (technically qualified) in EXIT.

When I add new field (outside to selection method) without EXIT function module, SAP is giving error. But when I do that with EXIT function module it gives warning! What I felt is, its not dirty search :). I think it is like passing CHAR2 values to CHAR4, which is pretty much 'ok' in programming. Search help parameter id and data element compatibility error can to be revised, is what I felt.

Regards,

Naveen