2011 Jul 16 7:53 AM
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
2011 Jul 16 9:41 AM
write your own f4 help in POH module.
you can use 'F4IF_INT_TABLE_VALUE_REQUEST' fm.
2011 Jul 16 7:00 PM
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
2011 Jul 17 7:56 AM
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
2011 Jul 17 10:43 AM
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
2011 Jul 18 4:44 AM
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
2011 Jul 18 5:56 AM
2011 Jul 18 11:06 AM
Hi amar_war,
there is no need to add a comment like I got the solution. without revealing what the solution is.
Regards,
Clemens
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |