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

search help

Former Member
0 Likes
453

I need to restrict the values int eh search help where the value of a particular field is zero. For this is need to write code in search help exit.but the values are coming as a string where i'm trying to split it at that particular offset but it is not considering in a right way. kindly help me

5 REPLIES 5
Read only

Former Member
0 Likes
431

if u r using that search help in program then u can create ur own search help for that program

by putting the condition delete the initial values.

at-selection screen on value request.

perform search help.

cal a function module

i think ur problem will be solved.

Read only

Former Member
0 Likes
431

Try creating your own search help pop up.

In at-selection screen on value request for <field_name>.

Create your own itab and pass it to the function module "F4IF_INT_TABLE_VALUE_REQUEST".

I think this will solve your issue.

Regards

Samson.

Read only

Former Member
0 Likes
431

Hi,

Use the FM ' F4IF_INT_TABLE_VALUE_REQUEST'.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = PC_RETFIELD
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNNR
DYNPROFIELD = PC_DYNPROFIELD
VALUE_ORG = 'S'
TABLES
VALUE_TAB = PC_T_HELP
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. " IF SY-SUBRC..

populate PC_T_HELP internal table according to ur need and pass it.

ur problem will be solved

Thanks,

Khushbu.

Read only

Former Member
0 Likes
431

Check this Thread..

Regards

Vijay Babu Dudla

Read only

Former Member
0 Likes
431

Hi,

at-selection screen on value request for <field_name>.

Create your own itab and pass it to the function call function "F4IF_INT_TABLE_VALUE_REQUEST".

for deleting the 0, u use

call function "conversion_exit_alpha_output"

or

left deleting leading '0'.

plz try this way.

Thanking you.

Subash