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

matchcode not working in select options

Former Member
0 Likes
2,725

Hello Experts.

I have done a selection screen but I am not getting f4 search help.

SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE A2.

SELECT-OPTIONS: S_AUFNR FOR VIAUFKS-AUFNR,
                S_AUART FOR VIAUFKS-AUART,
                S_IWERK FOR VIAUFKS-IWERK,
                STAI1   FOR RIHEA-I_ASTATIN  MATCHCODE OBJECT I_STATUS,

                STAE1   FOR RIHEA-I_ASTATEX  MATCHCODE OBJECT I_STATUS.

SELECTION-SCREEN: END OF BLOCK B2.

This flelds are used from tcode iw38 the fields are status inclusive and status exclusive.

Thanks and Regards,

Nikhil.

10 REPLIES 10
Read only

Former Member
0 Likes
1,644

i have just copy pasted your code and its working.

Read only

0 Likes
1,644

Hi,

Are you getting search help f4 values.

I am not getting any f4 input values.

Thanks and Regrds,

Nikhil.

Read only

SujeetMishra
Active Contributor
0 Likes
1,644

Hello Nikhil,

Have you solved your problem ?? check your matchcode object ID first.

Its working.

Have a Nice Day,

Regards,

Sujeet

Read only

0 Likes
1,644

Hello Sujeeet,

Yes I am using the same ID search help I_STATUS.

Still problem not solved.

Thanks,

Nikhil.

Read only

0 Likes
1,644

have you checked if data is present in your respective table?

still if you are not getting value then fetch the values from DB in

at selection-screen on value-request for s_stai1-low.

and display the F4 by using

F4IF_INT_TABLE_VALUE_REQUEST

Edited by: Soumyaprakash Mishra on Aug 31, 2009 12:15 PM

Read only

Former Member
0 Likes
1,644

Hi,

If you check the DB table fields RIHEA-I_ASTATIN and RIHEA-I_ASTATEX , they dont have the default search help definied. You will have to build your own search help using F4IF_INT_TABLE_VALUE_REQUEST.

Regards,

Vikranth

Read only

0 Likes
1,644

Hi Vikrant,

I new to this search help can you please give me a example.

Thanks and Regrds,

Nikhil.

Read only

0 Likes
1,644

HI

what is the Transp.Table for I_ASTATIN field ?

You have to create a custom search help .(based on the fieldsI_ASTATIN).

And pass the that custom help in the FM .

Ex:

create a ZSEARCH_HELP. In this u have to specify the fields whatever you wants.

SELECT-OPTIONS: STAI1 FOR RIHEA-I_ASTATIN MATCHCODE OBJECT ZSEARCH_HELP,

refer this link for FM

Edited by: dharma raj on Aug 31, 2009 4:14 PM

Edited by: dharma raj on Aug 31, 2009 4:19 PM

Read only

0 Likes
1,644

Hi Nikhil,

check this thread for a example to build the search help for matnr. you can simulate the same as per your requirement.

[]

Regards,

Vikranth

Read only

Former Member
0 Likes
1,644

Hi all,

thread closed.