Predefined Search Help for WERKS doesn't work properly
Hi Experts,
in my dynprofield I have a field called 'gf_werks'.
In Screen painter I manually added predefined search help H_T001W_T.
If I push F4 on gf_werks search help pops up.
But if I select one entry it transports the name of selected werks. But I need werks itself not its name...
What I'm doing wrong?
Regards,
Zaya
Good morning,
Sriniras, thank you very much!
I tried ur suggestion and it solved my problem. Now I'm getting werks not its name
Best Regards,
Zaya
Similar Messages
-
Thread: Predefined Search Help for WERKS doesn't work properly
Hi
I read the above thread which partially helped solve my problem.
I would like to include werks-low and werks-high on the input screen both with search help and also allow user to input multiple selection if needed.
All help welcome
TorbenHi
Many thanks for your help. This is my first dialog program so still learning.
I choose method 1 from you link but still can't get it to work.
My code in top program.
SELECTION-SCREEN BEGIN OF SCREEN 0110 AS SUBSCREEN.
select-options s_werks for t001w-werks.
SELECTION-SCREEN END OF SCREEN 0110.
my screen 0100 flow logic.
process before output.
module status_0100.
CALL subscreen sub1 INCLUDING SAPMZINFO2 0110.
process after input.
module okcode.
module user_command_0100 at exit-command.
field : m_lifnr module m_check_0100.
CALL subscreen sub1.
module read_data.
module user_command_0100.
All activates ok.
But when I execute program I don't see the subscreen and get the following error.
Call Subscreen: SAPMZINFO2 0100 NO DYNPRO NAME
What am I doing wrong?
Regards
Torben -
Search help for Acct Assignment not working
Hi,
When I create a PO and go into the account assignment tab at the item level and try to bring up the search help by clicking on the Binoculars , nothing happens. The backend has been upgraded to ERP2005. We are on SRM 5.0
Any thoughts on why this could happen?
Can you shed some light on how I could investigate this issue.
Your help is appreciated.
JoeHi
This is a bug in the System. Are you talking of customer fields / standard fields - search help ?
You need to raise an OSS message with SAP on this.
Meanwhile, try these SAP OSS notes.
<u>Note 739509 BBPPO01: SEARCH FOR ACCOUNT ASSIGNMENT CATEGORY DOESN'T WORK
Note 746788 - Back-end system search help for cost center
Note 656633 - Search help requires dialog users
Note 907016 - Error when you select search help</u>
Also ensure, proper authorization objects are provided by BASIS team.
Let me know incase you need any assistance.
Regards
- Atul -
Problem creating a hybrid collective search help for werks,bukrs and ekorg
Hi All,
I have to create a collective search help for Org_key field of a custom table.
This org_key field is a char4 field and can hold the value for plant , bukrs and ekorg.
I need to create a collective search help which includes
C_T001 Collective Search Help for BUKRS (Company Code)
H_T001W_NEW Possible Entries for Plants
H_T024E Input Help for Purchasing Organization
I have added org_key field in the field description , how can i do the parameter assigment ( or declare the field description ) so that if the user press F4 for org_key field ,he is able to see all the search paths corresponding to C_T001,H_T001W_NEW, and H_T024E simultaneously, and corresponding to value chosen ( for plant , werks or ekorg ) the value is passed back to the org_key field.
Thanks in Advance
Regards
AnuragProblem resolved. You can hard code values, like the domain name within the search help.
Although I have found that if you don't use a search help and you have domain values then your drop-down list values will be automatically populated from the domain values for the field. At least in my dynpro it does.
Jas -
Search help for Plant in Ztable
Hi,
I need to create the search help for werks(Plant) in Ztable,
Rewards will be sure for usefull answers
Thanks and Regards,
Jatender NarangHi
Good
Check the below SDN link which will give you clear idea on creation of a Search Help.
Create Search Help
Thanks
mrutyun^ -
The inbox for Mac Mail lists every incoming message twice. When I delete a message it deleted both entries. I have tried the solution in "help" and it doesn't work. Any suggestions?
I am wondering if anyone is seeing my question? This is my first time and I am not sure if I am communicating correctly. If you are seeing the question above regading deleted messages reappearing please reply so I will at least know I am getting the message out.
Thank you. -
Quicktime for windows doesn't work, wont let me uninstall or update.Help!
Quicktime for windows doesn't work, won't let me uninstall (tells me fatal errro) or update (tells me it encountered an error on installation). Help!I am running Windows XP on an Intel pentium PC. Any ideas? Dvora
When you get this fatal error uninstalling, try a full removal of iTunes and related programs with an installer clean up of any that do not uninstall cleanly:
Here is a method:
Download a fresh copy of iTunes and the stand alone version of Quicktime (the one without iTunes)
http://www.apple.com/quicktime/download/win.html
http://www.apple.com/itunes/download/
Download and install Microsoft Installer cleanup utility, there are instructions on the page as well as the download. Note that what you download is the installer not the program – you have to run it to install the program.
To run the program – All Programs>>Windows Install Cleanup
http://support.microsoft.com/kb/290301/
Now use the following method to remove iTunes and its components:
XP
http://support.apple.com/kb/HT1925
Vista
http://support.apple.com/kb/HT1923
*If you hit a problem with one of the uninstalls don't worry*, carry on with the deleting of files and folders as directed in the method.
When you get to deleting Quicktime files in the system32 folder as advised in the method, you can delete any file or folder with Quicktime in the name.
Restart your PC.
Run the Microsoft Installer Cleanup Utility. (Start > All Programs > Windows Install Clean Up)
Remove any references you find to the programs you removed - strictly speaking you only need to worry about those programs where the uninstall failed.
If you don’t see an entry for one of the programs that did not uninstall, look out for blank entries or numeric entries that look like version numbers e.g. 7.x for Quicktime or 1.x for Bonjour.
restart your PC
Install the stand alone Quicktime and check that it works.
If it does, install iTunes. -
Search help for SKAT-SAKNR OR SKAT-SAKNR is not working
Hi All,
I have created a Search Help for F4 in a dialog program for SKAT-SAKNR OR SKAT-SAKNR. While i click F4 on that field, it displays blank values.
Here is the module:
module HELP_FOR_SAPGL_ACC input.
CLEAR t_SAPGL.
SELECT SAKNR TXT20
FROM SKAT
INTO CORRESPONDING FIELDS OF TABLE t_SAPGL UP TO 1000 ROWS
WHERE SPRAS = SY-LANGU.
WHERE L_GL_ACC = v_FIELD_VALUE-FIELDVALUE.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'SAKNR'
PVALKEY = ' '
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD = 'SKA1-SKANR'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
VALUE_TAB = t_SAPGL
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endmodule.
In the above code I am selecting 1000 rows from SKAT table and in the Search Help Popup it is also displaying 1000 rows but all are blank.
Please help me.
Regards,
AvaneetHi check my weblog on search help exit codeing..
https://wiki.sdn.sap.com/wiki/x/du0
\* Prepare for output
CALL FUNCTION 'F4UT_RESULTS_MAP'
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
source_tab = lt_result
CHANGING
shlp = shlp
callcontrol = callcontrol
EXCEPTIONS
illegal_structure = 1
OTHERS = 2.
IF rc = 0.
callcontrol-step = 'DISP'.
ELSE. -
One search help for multiple select-options in webdynpro abap
Hi,
I need a way to use one search help for multiple select-options fields. My scenario is :
I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
I think I won't be able to use this way. What do you say?
As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
MY TABLE (ZBYYT080) CONTENTS:
SID VARBL VALUE LANGU VTEXT
ADS $WERKS 1 T Werk 0001
ADS $WERKS 11 T OZYAS GIDA URETIM YERI
ADS $WERKS 5501 T BOYA GEBZE FABRİKASI
ADS $WERKS 5502 T BOYA CIGLI FABRİKASI
AGT $WERKS 2301 T KAMLI DAMIZLIK
AGT $WERKS 9601 T PANAR DENIZ URETIM YERI
ADS $VKORG 22 T AA KİMYASALLAR
ADS $VKORG 8001 T İINSAAT BOYALARI
AGT $VKORG 6500 T DAMk St.Org
AGT $VKORG 5400 T PANAR St.Org.
I wish I'm clear enough..
I will be gald if someone answers me as soon as possible...
Thanks İn advance..
MERALHi,
Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
Am I right ?
If Yes, then in the interface IF_WD_SELECT_OPTIONS
method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
have importing param like I_VALUE_HELP_TYPE and I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
etc which may help you to link your create DDIC Search help to selection screen params.
this is just a clue from my side. I haven't tried it myself.
You can go to the where used list of this method and find some sample implementations which use these params.
Hope this helps.
Regards
Manas Dua -
Search in Outlook 2010 with Exchange Server 2010 doesn't work properly
Hi all,
I have a problem with a clients Exchange 2010. Search function in Outlook 2010 doesn't work properly, the employee can't search mails and contact - he doesn't get any result :-(
In application syslog/protocol I get this error:
Function 'CISearch::EcGetRowsetAndAccessor' found, content indexing for database 'Mailbox Database 0139257080' caused by MSSearch-Error '0x80041820' deactivated
Can anybody help me with this, if its necessary I can give further information :-)
Thomas
Thomas DeinertHi,
What’s Exchange Version? Sometimes, after Installing Exchange 2010 SP 1, Searching via OWA or Outlook Online Mode may Fail. If so, please try the following solution:
Download the script
Repair-ExchangeSearchSymlinks.ps1 from the Script Center.
Copy the Repair-ExchangeSearchSymlinks.ps1 script to the Scripts directory on the Mailbox server (default installation is C:\Program Files\Microsoft\Exchange Server\v14\Scripts).
On the afflicted Mailbox server, open the Exchange Management Shell by right-clicking the shortcut and selecting “Run as Administrator”.
Within the Exchange Management Shell, navigate to the Exchange Scripts directory.
Within the Exchange Management Shell, run the following script: .\Repair-ExchangeSearchSymlinks.ps1
Within the Exchange Management Shell, run the following script (without the symbols [] and substitute the database name(s) for any databases you wish to reset: .\ResetSearchIndex.ps1 [-force] <dbname> [<dbname>]...
You will receive an Event ID 109 when the rebuilding of the index starts for each database and an Event ID 110 for each database when the index rebuild has completed.
After receiving Event ID 110 for each database, test to make sure search functions correctly with both OWA and Outlook operating in Online Mode.
Similar thread:
https://social.technet.microsoft.com/Forums/exchange/en-US/35db030c-277f-49d6-83d6-772f839a47f8/owa-2010-sp1-search-problems?forum=exchange2010
Best Regards. -
Search Help for Domain in Table View
Hi,
I have to give a search help for one column in a table view, and the values in the search help should come from a domain. I wrote this code, but it doesn't seem to work:
lv_str_index = iv_index.
CONDENSE lv_str_index.
CONCATENATE 'table[' lv_str_index '].OP1A' INTO ls_map-context_attr.
ls_map-f4_attr = 'OPERATOR'.
APPEND ls_map TO lt_inmap.
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'ZOPERATOR'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_dtel
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
the ZOPERATOR is my domain. OP1A is the context attribute. I am actually not sure what to give for F4_ATTR.
Please help...
Thanks....Hi
Instead of the Domain , use the Data Element which uses that particular Domain ZOPERATOR.
For Example ZDE_OPERATOR is the data element which uses the Domain ZOPERATOR.
then
lv_str_index = iv_index.
CONDENSE lv_str_index.
CONCATENATE 'table[' lv_str_index '].OP1A' INTO ls_map-context_attr.
ls_map-f4_attr = 'OPERATOR'.
APPEND ls_map TO lt_inmap.
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'ZDE_OPERATOR'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_dtel
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap. -
How to assign search help for custom cost centre field in SRM 7.0
Hi Experts!!
We are currently working in SRM 7.0.As per our business requirement, in account assignment tab we need to use a custom
cost centre field (ZCOST_CENTRE) instead of standard cost centre field.It is observed that for standard cost centre field there is a standard web-dynpro search-help assigned where it will return the F4 search help values from backend.
Can any one of you please help me how can I assign the search-help for the custom cost centre field. Is there any FM to call the backend cost centre search help for custom field or any other way how can I achieve this?
Thanks in advance.
Regards,
Kalyanikalyani,
i can see your requirement in below way..
as it just reads: you need to assign the standard cost center help to a z cost center field in component /SAPSRM/WDC_UI_DO_ACC.. which actually is fetched though the component /SAPSRM/WDC_UI_BACKEND_SH
so, if you see the component controller of SAPSRM/WDC_UI_DO_ACC you will see the component
USAGE_SH_F4 /SAPSRM/WDC_UI_BACKEND_SH
USAGE_SH_F4 /SAPSRM/WDC_UI_BACKEND_SH INTERFACECONTROLLER
so you can replicate the same functionality for your z field.
but can you clarify one thing.. why are you going for this z field in place of standard field ? -
Need some help in creating Search Help for standard screen/field
I need some help in adding a search-help to a standard screen-field.
Transaction Code - PP01,
Plan Version - Current Plan (PLVAR = '01'),
Object Type - Position ( OTYPE = 'S'),
Click on Infotype Name - Object ( Infotype 1000) and Create.
I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
I specify again, I have to add a new search help to standard screen/field and not to enhance it.
This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
It's urgent.
Thanks in advace. Suitable answers will be rewardedHi Pradeep,
Please have a look into the below site which might be useful
Enhancing a Standard Search Help
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
edc983384237
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
A search help exit is called at certain timepoints in the input help process.
Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
timepoints
The following timepoints are defined:
1. SELONE
Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
2. PRESEL1
After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
3. PRESEL
Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
4. SELECT
Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
5. DISP
Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
6. RETURN (usually as return value for the next timepoint)
The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
7. RETTOP
You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
8. EXIT (only for return as next timepoint)
The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
9. CREATE
The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
10. APP1, APP2, APP3
If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
F4IF_SHLP_EXIT_EXAMPLE
This module has been created as an example for the interface and design of Search help exits in Search help.
All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
A search help exit is called repeatedly in connection with several
events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
Hope this info will help you.
***Reward points if found useful
Regards,
Naresh -
Search Help for Hierarchy Node in SAP BW 7.3
Hi Experts,
We were previously using SAP BW 7.1 system and we had a table which used to be maintained through SM30 which has a customed search help on one of the fields for a hierarchy object. And it was working perfectly.
However, one of our systems have just been migrated into 7.3 version and the above functionality is no longer working.
This is what is happening now:
- User selects a hierarchy and after selection nothing is being displayed on field on the table.
We have tried to debug this customed search help in both environments to distinguish what is wrong. We have noted that a standard function module (RRSV_IOBJ_VALUE_OUTPUT) is not behaving similarly. In 7.1 system, the C_T_DATA table is being filled whereby in the 7.3 system, it is empty.
Do you think this is the issue?
Please do advise and propose what can be done to make it work. Or any idea on how to create a new search help for a hierarchy node in 7.3?
Thanks in advance.hi,
one more thing i will like to add here is in BW 7.3 you get a new security admin feature that allows you to make mass changes to authorizations instead of one-by-one. This can be done by cut-and-paste in a worklist, hierarchy nodes, and you can also add users to multiple analysis authorizations.
The u2018newu2019 authorizations has both the data value and hierarchy restrictions. You can still build using the u201CRSECADMINu201D transaction
Also make sure that all objects are in the TLIBG library and they will be 'shielded' during the upgrade.
regards
laksh -
Search help for date in module pool
Hi experts
i am developing a module pool prog, in the second screen 6 fields are displayed and one of them is date field. I wanna search help for that date field. Plz note the date field is populated from Work area of iternal table.
Plz help me out in solving the issue.
Thanks and Regards,
AlsonHi
We have a lot of Example programs in SAP, have a look at the demo program
<b>DEMO_DYNPRO_F4_HELP_MODULE</b>..
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
Regards
Sudheer
Maybe you are looking for
-
Digital Noise - DVI Port 1 only
Last night one of the two Viewsonic VX910 monitors connected to my G5 went dark and would flicker on for less than a second (showing the correct screen) then blink out. Called Viewsonic and it's under warranty It was in port 1 of the built in AGP car
-
Before the latest update, I used Firefox almost exclusively. Now that the new version has removed, or hidden, my entire Yahoo settings and pages, I can't use Firefox at all.
-
Auto payment : chq assignment
Hello Experts, i have created chqs for a particular House Bank. i m finding that he chqs are not automatically picked after running payment run in Auto Pay Prog. please help.
-
Can't restore or sync my iphone 4s - error 3014 error-1
I can't restore my iPhone 4s from my iMac udated to last versions of both itunes and mac os 10.8.2 iTUNES refuse to restore the iphone i specify that i 1) tried 3 different usb cables 2) tried 3 diffent usb ports 3) disconnetted all accessories from
-
Absolutely bizarre mixup of sound and video
I burned a new DVD of my movie, and it looked beautiful, until at a certain section, where, in addition to the correct sound, I began hearing sound from a spot that was about 15 seconds ahead in the movie! And when I got to that section where that so