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

Function Module

Former Member
0 Likes
444

Hi,

I have a function module say z_y (non editable) which inputs werks.

Inside the FM it retrieves data as select single xxx from yyy where werks = input value.

Now, I want to pass a pattern for werks (say TY* / TY0? ) to it and make it retrieve as my idea is to see if any matching patterned record exists.

Is it possible as iam wanting an "=" to check a pattern. I tried passing as pattern and it didnt work.

Moderator message: please use more descriptive subject lines from now on.

Edited by: Thomas Zloch on Nov 8, 2010 12:51 PM

1 REPLY 1
Read only

Former Member
0 Likes
335

as it is non editable you got no chance. well maybe you can enhance it, but still i suspect this isnt enough.

Anyway for a pattern select you´d need to edit your select with a LIKE operator instead of a = operator, so depending on input you need to swicth between two selects.

Since i suspect you wont be able to do that in an enhancement, you got no change to achieve what you want.

Thos i still wonder why a Z-object isnt editable.