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 help for a field in module pool

former_member925838
Participant
0 Likes
1,455

Hello Experts,

I need to provide f4 help on field sales office(VKBUR) in my module pool program.

I have searched forums about it. but all forum contains either doc. no or customers etc.

these field are directly available on table, so very easy to find.

But for sales office, how can i provide f4 help. there is no straight entries in tables like for this company code this sales office.

so its getting difficult for me to provide help.

so if anybody know the solution plz help, and if anyone know table where all sales offices are stored, i will be thankful.

Thanks,

Amar

Hello Experts,

I need to provide f4 help on field sales office(VKBUR) in my module pool program.

I have searched forums about it. but all forum contains either doc. no or customers etc.

these field are directly available on table, so very easy to find.

But for sales office, how can i provide f4 help. there is no straight entries in tables like for this company code this sales office.

so its getting difficult for me to provide help.

so if anybody know the solution plz help, and if anyone know table where all sales offices are stored, i will be thankful.

Thanks,

Amar

7 REPLIES 7
Read only

Former Member
0 Likes
1,100

write your own f4 help in POH module.

you can use 'F4IF_INT_TABLE_VALUE_REQUEST' fm.

Read only

Clemenss
Active Contributor
0 Likes
1,100

Hi amar_war,

use screen painter to edit the screen layout where the field VKBUR is on. Double click the field to get the details screen. Here you can attach a search help to the field.

H_TVBUR has no more parameters, it will display a list of al sales offices with description text

H_TVBVK will also show the sales group, if VKGRP is a screen field, it will restrict the result list automatically on matching VKGRP.

H_TVKBZ has also VKORG VTWEG SPART - it will take those values from screen if filled.

If you are not satisfied with the results, you can easily create your own search help using own selection method and own search help exits if required.

Try standard search help for standard field first.

You can create a copy of VKBUR as ZVKBUR and attach search help there, you can create your own screen structure and attach the search help there - 50 ways to get your search help...

Regards,

Clemens

Read only

0 Likes
1,100

Hi Clemens,

Thanks for your reply, your suggestions were very helpful.

I want to ask one more thing, actually i have 2 fields on my screen,

1) BUKRS

2)VKBUR

If user have selected any company code then sales office related to that BUKRS only should be displayed in f4 help.

I have written the code for that as your suggestions.

But when i debug the program i found that the value of BUKRS is not getting in my field in program.

so how can i make BUKRS i.e. 1st entered field value available in my program.

Thanks,

Amar

Read only

Clemenss
Active Contributor
0 Likes
1,100

Hi amar_war,

I hope you understand that there is no way to answer the question without knowing what you know: Which search help, attached where, what coding did you do, what are the tables/structures/fields/data elements used in screen.

Sometimes I feel a bit desolate if someone tells me the story of an interesting journey on a cruise ship and ends up with the question "Please tell me what is the age of the captain?".

Please try to understand.

Regards,

Clemens

Read only

Former Member
0 Likes
1,100

Hi Amar ,

you should ask your FC to get the link btw company code -->Sales Office.....

anyhow...

you have to link Company Code -->Get list of Sales Area assigned to it -->Get List of Sales Offices assigned to Sales Areas.

more details...check in config.

SPRO>Enterprise Strc>Assignment-->Sales and D -->

regards

Prabhu

Read only

0 Likes
1,100

Thank you all...

I got the solution.

Regards,

Amar

Read only

Clemenss
Active Contributor
0 Likes
1,100

Hi amar_war,

there is no need to add a comment like I got the solution. without revealing what the solution is.

Regards,

Clemens