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

Calling search Help with parameter/

Pawan_Kesari
Active Contributor
0 Likes
188

I have selection-screen as follows


PARAMETERS : p_bukrs1 TYPE bukrs ,
             p_kostl1 TYPE kostl .

PARAMETERS : p_bukrs2 TYPE bukrs ,
             p_kostl2 TYPE kostl .

Req: When user press F4 on P_KOSTL1, it should display cost centers only for company code value entered in P_BUKRS1, similarly for P_KOSTL2 it should display cost centers for comapny code entered in P_BUKRS2.

I know I can select records on AT SELECTION-SCREEN .. ON VALUE-REQUEST for respective fields and display in F4 with some FM .

<b>Is there any method by which I can call the search help specifying the company code as parameter?</b>

1 REPLY 1
Read only

Former Member
0 Likes
168

by using FM DYNP_VALUES_READ u can get the values of BUKRS.

based on the values of BUKRS get values of Cost Centres from DB tables into Internal tables

F4IF_INT_TABLE_VALUE_REQUEST by using this u can display.

Regards

peram