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

f4 query

Former Member
0 Likes
1,424

Hi All,

I am having one issue for select option field.

I have to provide some limited fields in select option field qals-PLNNR (group).

In that field i have to show only FG related group means group name should start with fg letter.

Regards

Abhisek

12 REPLIES 12
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,389

Hi Abhi

PLNNR field has standard search help PLKS. You will have to use the concept of search help exit to filter the entries. Search SCN for the same

Nabheet

Read only

0 Likes
1,389

Hi Madan,

I understand what I have to do. But I am requesting you to help me .  Plz

Abhisek

Read only

0 Likes
1,389

Hi Abhi

When you understand what you have to do..why dont you at least start doing it. Dont ask for help without even starting it.

You have got the first points that you will have to use search help exit..did you search anything about it... did you try doing something in system if yes then where you are facing issue, if no then please do it.

People her can guide you only if you are ready to put in your honest efforts. No one is here to do someone else homework.. We are here to share and learn.

I hope you understand..Sorry for being straight forward.

Nabheet

Read only

0 Likes
1,389

HI Abhi,

you can use the event "AT SELECTION-SCREEN ON VALUE-REQUEST for qals-PLNNR".

AT SELECTION-SCREEN ON VALUE-REQUEST for qals-PLNNR.

** Select you required entries to be displayed in a internal table .     

** and use the FM " F4IF_INT_TABLE_VALUE_REQUEST" to display those values in the F4 help.

Let me know if you need further info on this.

Regards,

S.A.Balan

Read only

0 Likes
1,389

Hi AnandaBalan,

I have used  AT SELECTION-SCREEN ON VALUE-REQUEST for qals-PLNNR in my report.

But it's'giving error. Plz help me in this.

Regards

Abhisek

Read only

0 Likes
1,389

HI Abhisek,

Can you please tell me wat error you are getting ??

any syntax error or logical error??

Regards,

S.A.Balan

Read only

0 Likes
1,389

hI,

SYNTAX ERROR COMING. ERROR IS :

"ON VALUE REQUEST FOR" should be followed by <parameter> or

<select-option>-LOW / <select-option>-HIGH.
Read only

0 Likes
1,389

Give here select option parameter name not QALS-PLNNR. Please ABAP documentation for correct syntax

  AT SELECTION-SCREEN ON VALUE-REQUEST for S_PLNNR-LOW

Read only

0 Likes
1,389

Hi ,

Pleae specify the Selection option name , then '-LOW'.

AT SELECTION-SCREEN ON VALUE-REQUEST for S_PLNNR-Low.

thanks and Regards,

S.A.Balan

Read only

0 Likes
1,389

Hi Madan,

in plnnr field so many group are there.. But I have to take groups starting with FG letter. So plz help me in this.

Regards

Abhi

Read only

0 Likes
1,389

Abhi

First of all is the search help you are doing via AT selection screeen stuff or SAP standard search help. If first then your select needs to be checked if second then search help exit needs to be implemented

Nabheet

Read only

Former Member
0 Likes
1,389

Hi abhi,

if you are using this field in a report then use the following event for f4 help

AT SELECTION-SCREEN ON VALUE REQUEST FOR p_pllnr

here create your output table (internal table) for only materials with Material type ( MTART ) = FERT

and call FM F4IF_INT_TABLE_VALUE_REQUEST and pass your output table.

if you are using screen program , just you need add the code inside PROCESS ON VALUE REQUEST event for your field .

Hope your issue will be solved.