How to change Labels of Fields in the search help shown as F0001 F0002 etc
Dear All,
For one of my fields of screen I have been calling a search help configured using F4IF_INT_TABLE_VALUE_REQUEST.
In this function I am returning the field in dynfields. Let me know please how to change the Labels of Field Names being shown in the search help as F0001, F0002 etc....
Regards,
Alok.
Hi Alok,
You can change the Field Label by going to the Data Element and changing the Field Label .
Hope this helps
Regards
Sunil
Similar Messages
-
How to change the desription of a standard SAP field in the Search Help
Hi All,
In Table T023T there is a field WGBEZ60(Long text describing the material group) and the data element of the field is WGBEZ60.
Requirement is to change the description of the field WGBEZ60.The desription of the field is - Description 2 for the material group.
But the user want as - Description for the material group. He dont want 2 in the description.
we are using this field in the search help of Material group for the transaction ME21N and ME51N.
So please tell me how can we change the description of the field in the Search help.
Thanks.
Regards,
PeeyushAs search help uses data element , it shows its keyword. So you have to do modification to that keyword.
- Go to CMOD
- from top menu GOTO -> Text enhancements -> Keywords -> Change -> type WGBEZ60 -> change the description -> Save and add it to transport
- now use that data element either on the screen or search help. It will have the descripiton modified.
Regards
Marcin -
Adding a new field to the search help exit
Hi friends,
adding a new field to the search help exit. How does it work ?
Thanks in advace
IlhanThe search help exit allows you to modify functionality of search help. If you add a new field to the
parameter list that is not contained on the selection method you can manually populate it within the search
help exit.
This would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
Therefore you need to read table SHLP in-order to locate position of value within string.
Example:
To find position of personnel number (PERNR) within elemenory search
help M_PREMN you would use the following code:
Loop at record_tab.
read table shlp-fielddescr into wa_shlp
with key tabname = 'M_PREMN'
fieldname = 'PERNR'.
You could then use this information in the following way, for
example, to find a persons organisation unit:
select orgeh endda
up to 1 rows
from pa0001
into (ld_orgeh,ld_endda)
where pernr eq record_tab-string+wa_shlp-offset(8)
u201Cpernr length is 8
order by endda descending.
endselect.
select single orgtx
from t527x
into ld_orgtxt
where orgeh eq ld_orgeh and
sprsl eq sy-langu and
( endda ge sy-datum and
begda le sy-datum ).
If you have added a new field to the end of the parameters list
the next step is to populate it by adding this data to the end of
the record_tab string:
concatenate record_tab-string ld_orgtxt into record_tab-string.
modify record_tab.
endloop. -
How to change Labels of Fields being shown in the search help as F0001 etc.
Dear All,
For one of my fields of screen I have been calling a search help configured using F4IF_INT_TABLE_VALUE_REQUEST.
In this function I am returning the field in dynfields. Let me know please how to change the Labels of Field Names being shown in the search help as F0001, F0002 etc....
Regards,
Alok.Hi Alok,
You can change the Field Label by going to the Data Element and changing the Field Label .
Hope this helps
Regards
Sunil -
Product category: Add description field to the search help
Hi experts,
My requierement is to add the material group description field 2 in search help.
Analysis: While creating the shopping cart it will ask product category . when we click on the drop down list we can find the ...type if u click on that it will move to other screen where we can search.after that it will show the product category description , category ID, Logical system.
I want to add one more field to that ( product category description 2 field.
let me know how can i proceed further on this.
Thanks,
Prashanth.Hi Neha,
Thanks.
but i want to know which search help is using....(IN ITS )
please help me to find the exact search help.
Thanks,
Prashanth. -
How to have a mandatory field in a search help
Hi,
i have created a search help and one of the field need to be mandatory.
can anyone tell me how to have a field as mandatory in a search help?
thanks
Regards,
NitinHi Buantoa ,
You can use a search help exit for the same , so when ever a user does not enter the mandatory feild and tries to execute the serach help an error message will be displayed.
Create a search help exit for your search help and write code to check for your feild.
I tried to do the same and it works
Here is the code for my serach help exit
if callcontrol-step = 'SELONE'.
data : wa_1 type ddshiface.
loop at shlp-interface into wa_1.
if wa_1-shlpfield = 'MATNR'.
if wa_1-value is initial.
message e999.
endif.
endif.
endloop.
endif.
Do revert back in case of any further queries.
Regards
Arun -
How to add a standard field to the Product search criteria ?
Hello all,
despite my searches on google and sdn, i'm still confused on how to add a standard field in the search criteria of the Product seach screens (component/view PRD01QR/Search for example) , I mean a standard Product field that is not included in the available fields list in the UI configuration tool.
I found some explanations for adding a specific Z-Field, this is ok , but I'd like to add a standard field as a search criterion, namely the item category group.
Could someone give me the needed detailed steps for this?
thanks
LudovicHi
Chk ths link out :
http://wiki.sdn.sap.com/wiki/display/CRM/Howtoaddanexistingfieldtoasearchpageofadifferent+component
Rgds,
Swati -
Records not displayed in the WGBEZ field in H_T023_MEPO search help.
Hello Friends,
I have created the search help exit , in that based on the LREF3 , we have to fetch the materail groups.
1.I have written the code in the exit , in the search help exit tables parameter record_tab , the data is coming correctly
but when we run search help, the description field is not getting displayed.
I have shift 2-3 places left side as well but the description is not displayed correctly.
So how can we get the description field filled.
2. We want that the LREF3 field should come in the selection screen of the dialog box, so that user can enter the values in it.(dialog with value restriction) so i have added LREF3 field in the search help parameters but i want that
this field should not be displayed in the results of search help . Only materail group and its description gets displayed.
So can we achieve the same.
Thanks to provide answers for my above two questions.Hi
Please go through the related pointers ->
The OSS note 672960 has already indicated you need to use BADI to address it.
For Search criteria
You can also use user-defined fields as search criteria. To do this, you have to set fields XINPUT and XDISPLAY to 'X' in table ET_FIELDS for the fields you want to use in BADI BBP_CUF_BADI_2 in method MODIFY_SCREEN. The fields defined this way are displayed if you choose the 'Extended search' link.
Re: Custom field in Create Bid Invitation..
Re: Search Help for Purchasing Group..
Re: urgent help request - How to add custom fields to header BID.
Re: New Screen with table control information in Process Bid Invitation
Do let me know.
Regards
- Atul -
Modify another field value in search help exit.
While creating the Sales Order, the user does an f4 on ship to party to determine the sold to party ( search help exit ), now I have the values of both the Ship to customer and Sold to customer in the search help exit, but I can update only the ship to field of the sales order, do you know how I can modify the sold to value on the screen.
I tried setting up the parameter id 'VAG' in the search help exit with the determined value, but this value is not getting copied in the Sold to party field once the search help is executed.
The other option which is left is export to memory and import to memory in another user exit of VA01. Is there any other alternative? Also which program do I need to do the import of memory so that sold to party is displayed on the initial before saving the document ?
AjayHi,
Yes..Try calling from the search help exit..
You have to pass the program name and screen number..
In the internal table parameter DYNPFIELDS..
Pass the fieldname and fieldvalue...
Thanks,
Naren -
How can I get a query in the search field to open in a new tab or new window from the current window?
If you are searching via the Search Bar on the Navigation Toolbar, this preference can be changed to have searches there open in a Tab.
Type '''about:config''' in the Address Bar and hit Enter. Then answer "I'll be careful". Type this pref in the Search at the top.
'''browser.search.openintab''' = double-click to toggle to '''true''' -
How can I format a field in the form creator?
How can I format a field in the form creator? It's putting the same text in all the fields within a table. I want each field within the table to have different text. As soon as you click out of the table, all the text is the same.
I even changed the fields from a text box to a drop-down list so a person can make their selection, which will be a quantity from 0-9. There are two of these such fields. You make your selection in each, click off the table and both fields show whatever I selected in field 1. The original Qty I selected in the bottom field was a 5 but it changed it to whatever is in the top field on it's own. I've added a screen shot.This behaviors usually happens when you create the fields but a copy paste command from one of the fields. The copy paste command assumes that your intentions is to maintain a copy of the field in two separate locations (e.i, a form field "company name" printed in each and every page of a multi-page form document.
Go to the properties fields of each field and make sure to assign unique form field names. -
How to change report region fields in read only mode?
How to change report region fields in read only mode?
skud.add the following javascript fuction to page header(or Javascript function and variables section)
function disableItems(pRegionStaticId,pDisableFlag) {
$('#'+pRegionStaticId).find('[name^=f]').each( function(){ /* matches fxx */
if( $(this).attr('name').match(/f[0-9][0-9]/) ){
return $(this);
}).attr('disabled',pDisableFlag);
pRegionStaticId is the region's static Id+
Note that this code specifically disables only application arrays. Disabled items are not available after submission (and hence are different from readonly) . But any page javascript can modify disabled or readonly items(client side), so you must check at the server side to validate the data.
You can disable items using
disableItems('MY_REGION_ID' ,true);and enable them by passing false
disableItems('MY_REGION_ID' ,false); -
How to restrict the search help given to a field for a specific program ??
Hi,
I have one search help which is attached to a field.
This seach help is using a Z table and showing values perfectly for one program where I attached earlier.
The same fields and Z table I am using is some other related program where user wants to see the restricted values only.
I am not getting, how a search help can be restricted.
I try to take a example of it.
If in first program the search help values are:
Material Level
Orange 1
Mango 2
Grapes 3
Now in the second program user wants to see only levels not the material. I Have given only two colums for understanding purposes not all .
Please suggest what are the possible ways we can do it.
Thanks right now.
-=Maddu=-Hi,
Use this event
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_cc.
PERFORM company_code CHANGING p_cc.
FORM company_code CHANGING p_cc.
DATA: dynpfld_mapping LIKE dselc OCCURS 0 WITH HEADER LINE.
REFRESH gt_bukrs.
SELECT * FROM t001
INTO CORRESPONDING FIELDS OF TABLE gt_bukrs.
LOOP AT gt_bukrs.
**ST AS ON 08.09.2006
AUTHORITY-CHECK OBJECT 'ZREP_TMF'
ID 'BUKRS' FIELD gt_bukrs-bukrs
ID 'VKORG' FIELD gt_bukrs-bukrs
ID 'VKBUR' DUMMY
ID 'SPART' DUMMY
ID 'VTWEG' DUMMY.
AUTHORITY-CHECK OBJECT 'ZREM_ORG'
ID 'VKORG' FIELD gt_bukrs-bukrs
ID 'VKBUR' DUMMY
ID 'SPART' DUMMY
ID 'VTWEG' DUMMY.
**ST AS ON 08.09.2006
IF sy-subrc NE 0.
DELETE gt_bukrs.
ENDIF.
ENDLOOP.
dynpfld_mapping-fldname = 'BUKRS'.
dynpfld_mapping-dyfldname = 'BUKRS'.
APPEND dynpfld_mapping.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BUKRS'
dynpprog = 'ZREM_AGENCY_REPORT'
dynpnr = '1000'
dynprofield = 'COMPANY'
value_org = 'S'
TABLES
value_tab = gt_bukrs
return_tab = return_tab
dynpfld_mapping = dynpfld_mapping.
ENDFORM. " sale_org
Reward points -
Change the Order of Fields in the Search Lookup Form
Hi guys,
The end user has requested me to change the order of the fields in the Search Lookup Form. I haven't found any configuration to change this order, so I changed the JSP (tjspLookupFormTiles.jsp) as below:
<bean:define id="colIDsObj" name="lookupFieldForm" property="columnIDs"/>
<%
//Sort Column IDs
String[] colIDs = (String[]) pageContext.getAttribute("colIDsObj");
colIDs[0] = "Lookup Definition.Lookup Code Information.Decode";
colIDs[1] = "Lookup Definition.Lookup Code Information.Code Key";
%>
Is there any property where I can change this order without change the JSP File?
Thanks,
Renato.I had a similar requirement in the past, but could not find any other way for doing this. It does not reverse the order even for lookup fields on USR forms, for which the encode and decode values are defined in formmetadata.xml. Changing jsp seems to be the only way, unless someone else knows better.
-
How do we validate input fields on the selection screen
How do we validate input fields on the selection screen
hi balram,
u can validate input fields using <b>AT SELECTION-SCREEN</b> Event.
PARAMETERS : p_werks TYPE marc-werks.
AT SELECTION-SCREEN ON p_werks.
SELECT SINGLE *
FROM t001w
WHERE werks = p_werks.
IF sy-subrc <> 0.
MESSAGE 'Invalid Plant' TYPE 'I'.
ENDIF.
Like this, we can validate user input for plant.
check this link:
http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
Reware me if useful......
Harimanjesh AN
Maybe you are looking for
-
Hi All, Current Scenario - We have deployed ESS & MSS Business package on one WAS and the iviews are present on another WAS.We have created a Dedicated R/3 system which is pointing to the WAS where these packages are deployed. All these things are wo
-
I have a table with a date field that I need to query by day and month only. Basically, if I search for "04/15", the query would return records whose date includes: 04/15/2006, 04/15/2007, 04/15/2008, etc. How can I do that on SQL Server? Thx!
-
Hello, I am just getting started with XSLT and I am wondering if it is a viable choice to solve a particular problem. I have a large XML file that I want to convert to another format XML file while retaining some of the information from the original.
-
DX650 - 2 questions (Exp. modules?/Button Templates)
So it appears that either both of these are not possible or no one else knows either! Any feeback to confirm is appreciated. Thanks I have two questions that pertain to the DX650 model SIP phone. 1st) Does anyone know whether there are e
-
HT1904 how to restrict in app purchases
How do I restrict in-app purchase on my son's ipod touch?