How to Use "Hot Key" in the Search help
Hi,
Please explain how to use hot key with some example.
TYPE-POOLS SLIS. DATA: BEGIN OF itab OCCURS 0,
BUKRS LIKE T001-BUKRS,
BUTXT LIKE T001-BUTXT,
END OF itab.
PARAMETERS: P_BUKRS TYPE BUKRS.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_BUKRS.
PERFORM F4_FOR_BUKRS.
FORM F4_FOR_BUKRS. DATA: IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
ES_SELFIELD TYPE SLIS_SELFIELD. * Get data
SELECT BUKRS
BUTXT
FROM T001
INTO TABLE itab
up to 10 rows .
Get field
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = SY-REPID
I_INTERNAL_TABNAME = 'ITAB'
CHANGING
CT_FIELDCAT = IT_FIELDCAT[]. LOOP AT IT_FIELDCAT.
IT_FIELDCAT-KEY = SPACE.
IF IT_FIELDCAT-FIELDNAME = 'BUTXT'.
IT_FIELDCAT-EMPHASIZE = 'C710'.
IT_FIELDCAT-HOTSPOT = X.
ENDIF.
IF IT_FIELDCAT-FIELDNAME = 'BUKRS'.
IT_FIELDCAT-EMPHASIZE = 'C610'.
ENDIF. MODIFY IT_FIELDCAT.
ENDLOOP. CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
I_TITLE = 'THIS IS FOR F4 IN COLOR'
I_TABNAME = 'ITAB'
IT_FIELDCAT = IT_FIELDCAT[]
IMPORTING
ES_SELFIELD = ES_SELFIELD
TABLES
T_OUTTAB = ITAB . ENDFORM. " F4_FOR_BUKRS
Similar Messages
-
How to use Import parameters of a search help
Hi,
Could you please tell me how to use import & export parameters of a search help in the report.Hi,
Import parameters are imported from the selection screen of the report into the search help and then these are used to query in the search help.
For example
case 1.
parameters : p_carrid like sflight-carrid.
parameters : p_connid like sflight-connid.
the search help that is used in the above condition is
SFLIGHT.
And the selection method is SFLIGHT in this search help.
( to check which search help is used go to se11 display the table and put your cursor on the field and in the menu for goto--> search help.)
so when you do an F4 on connid it looks for a field which is declared like SFLIGHT-CARRID ( and the value entered in it) since the SFLIGHT-CARRRID is an import parameter in the search help, and queries the database where the value is equal to the p_carrid which is declared like SFLIGHT-CARRID and gets only data which is equal to carrid
case 2.
parameters : p_carrid like SCARR-carrid.
parameters : p_connid like sflight-connid.
In this case the system will fetch all the data.
since there is no parameter for SFLIGHT-CARRID on the selection screen it would get all the data from SFLIGHT. -
Sqlplus how to use arrow key look the history
sqlplus in DOS, I can use arrow to look the sql statement history.
How to use arrow in Solaris.
ThanksIf you were using Linux, I'd refer you to http://www.dizwell.com/prod/node/56
Since you aren't, I'll refer you to that anyway and hope that you find a way of compiling rlwrap for Solaris. -
How to display check box in the search help restriction pop-up window
Hi Experts,
I have created one searc help with dialog value restrictions. Search help contains 4 fields.
Out of which one field has length one character.
As oon as user press on F4 on particular field, it will display pop-up window with restrictions and displayed 4 fields.
I would like to show that field ( one character length field) as check box in search help restrictions pop-up window.
Pls help me ,... How can we acheive this..
Thanks
RaghuUr Exact Requirement,
Types : begin of itab,
fields type c,
Check type c,(For Check Box)
end of itab.
data it_tab type standard table of itab.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_input-low.(If it is in select-options)
CLEAR v_input.
GET CURSOR FIELD s_input VALUE v_input.
CALL FUNCTION 'AIPC_CONVERT_TO_UPPERCASE'
EXPORTING
i_input = v_input
i_langu = sy-langu
IMPORTING
e_output = v_input.
CLEAR s_input-low.
IF v_input NE '' .
IF v_input NE '?'..
v_input1-sign = 'I'.
v_input1-option = 'CP'.
v_input1-low = v_input.
APPEND v_input1.
ENDIF.
ENDIF.
SELECT DISTINCT Field
FROM Table
INTO TABLE it_tab
WHERE field IN v_input.
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
i_title = 'Select Colors'
i_selection = 'X'
i_zebra = 'X'
i_screen_start_column = 5
i_screen_start_line = 5
i_screen_end_column = 30
i_screen_end_line = 12
i_checkbox_fieldname = 'CHECK'
i_tabname = 'IT_TAB'
i_scroll_to_sel_line = 'X'
it_fieldcat = it_fieldcat1
i_callback_program = sy-repid
i_callback_user_command = 'USER_COMMAND1'
IMPORTING
es_selfield = selfield
TABLES
t_outtab = it_tab
EXCEPTIONS
program_error = 1.
Cheers,
Naveen -
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 -
How about Hot Keys for the Wireless Keyboard?
Hello all.
Been using the iPad 2 for about 2 weeks since I got it. Had to "ditch" the iPad Keyboard Dock and use a regular Apple Wireless Keyboard. The good thing is now using the TwelveSouth iPad Stand, I can orientate the iPad to any of the two positions I want.
But I miss the special hot keys on Keyboard Dock, namely the Home and Lock keys. Kind of inconvenient pushing the Home button on the iPad 2, especially having to double-press for multitasking.
If only the iPad's iOS allows some sort of configuration for hot keys on the wireless keyboard. I do notice that the F5 and F6 are empty.
CheersI would only hope that the keyboard would turn off, not just when it isn't pairing with the computer, but for the keyboard that is paired (mine is) it would be best if it turned off after a period of no use. Here is what one man, not an Apple tech, said about the A1314 keyboard he was selling on ebay:
"The keyboard automatically powers down when you're not using it and turns on instantly as soon as you start typing. This intelligent power management means you'll get up to nine months of battery life based on average usage patterns. It also has an on/off switch for when you're away from your computer for a long time."
This doesn't indicate how many minutes of no use it needs before it 'powers down' (doesn't sound as good as really being turned off) and it also doesn't address the issue of knowing if your keyboard is on or off via the power button.
Even my dog electric training collar blinks twice when it is turned on and blinks three times when it is turned off. The Apple keyboard needs two indicator lights, one to tell you if it is searching for pairing and the other strictly as an on off indicator. I'm not going to loose any sleep over this, but it does seem like somebody was sleeping in the design department as this keyboard is really cool, but it doesn't convey the basic on/off information to the user. -
How to use a key file in the FTP Task using and SSL connection
In the past I have used this code to set the FTP pass word in an FTP component task in SSIS.
Does anyone know how to use a Key file in an SSL connection to download a file from an FTP site? If not can you tell me where I can get the C# code examples to learn how to create a script task or if there is another way in SSIS to download large files
from an SSL FTP site? Thank you for any help offered.
public void Main()
ConnectionManager FTPConn;
FTPConn = Dts.Connections["FTPServer"];
FTPConn.Properties["ServerPassword"].SetValue(FTPConn, Dts.Variables["FTPPassword"].Value);
Dts.TaskResult = (int)ScriptResults.Success;
AntonioYou can use SFTP for this.
This is a way of implementing SFTP in SSIS using standard tasks
http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
also see
http://blog.goanywheremft.com/2011/10/20/sftp-ftps-secure-ftp-transfers/
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
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 -
How to find the search help for the parameters stmt in a report
hi
how to find the search help for the parameters stmt in a report , that is using which addition to the parameters statementI am not sure if I understood the question,but if you meant how to attach a search help to parameter for which a default search help is not available,you can do that by using addition "Matchcode Object"
Parameter: a type i matchcode object 'Search Help Name'
Search Help name should be in single quotes.
Regards,
Anubhav.
P.S: Award Points if useful. -
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 -
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 -
How we use Surrogate Keys for snowflake dimension
Hi All,
my question is - How we use Surrogate Keys for snowflake dimension
i heard from some body Surrogate Keys only work with star schema.
please correct me if i wrong.
Regards,
ManishHi manishcal16PPS,
According to your description, you can only create natural key in your dimension. But it's not working when using surrogate key. Right?
In Analysis Services, the snowflake schema of the dimensions are represented by more than one dimension table in other words its takes multiple dimension tables to define a dimension. Surrogate key are just some extra, redundant, unique key based on the
natural key. So there's no direct relationship or some limitations between surrogate keys and snowflake schema.
In this scenario, since there's relationship between the two dimensions, you should create natural key. For using natural key or surrogate key. Please refer to an article below:
Surrogate Key vs. Natural Key
For understanding star/snowflake schema, please see:
Understanding Star and Snowflake Schemas
Regards,
Simon Hou
TechNet Community Support -
Changing the function of the Media Player Hot Key on the Laptop itself
Hey everyone,
I was wondering if anyone knew of a way to change what the Media Player Hot Key on the Laptop itself does? I've got the Power Button, Internet, Media Player, Play/Pause, Stop, Rewind & Fast Forward, but the Media Player Hot Key is pretty useless to me, and I'd like to change its function, to open Outlook instead, but does anyone know if that's even possible?
I'm almost positive that there's a way, but I just can't seem to find it, if anyone can help me, then I would really appreciate it,
Cheers.Hi
I remember it was possible to assign different functions to the control buttons on several units.
I dont know what unit your use but you should check the Toshiba control button application which could be installed on your notebook.
You should find it in the control panel
This application could allow you to configure the control buttons.
But if this software will not provide this option you will be not able to change the functionality -
Documentation How to use Virtual Key fig.
Hi all ,
Can u please send me Documentation How to use Virtual Key fig. to [email protected]
Nice weekend.check this doc to get a headsup on Virtual objects - though the doc talks abt the virtual char, the procedure is pretty much similar to KF too.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20use%20variable%20time%20references%20in%20currency%20conversion
How to implement Virtual Characteristics or Virtual key figures -
How do you make items on the search result list a different colour after viewing as Internet explorer does?
Hi and welcome -
Start with fixing this missing semicolon (in red)
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
background-color:#1A1A1A;
background-repeat: no-repeat;
background-position: 95% 50%;
You will find you will get faster, more accurate help from us if you upload your test page and any dependent files to your server and post a link here. That way we can examine ALL your code
Maybe you are looking for
-
Upgrade clusterware to 10.2.0.5
Experts, Can we upgrade oracle clusterware from base version to 10.2.0.5 directly and similarly for RDBMS ? Where can we download the patchset ? Patchset number seems to be same for RDBMA and clusterware, is it so ? Need help. AIX 5.3 Oracle 10.2.0.5
-
hi friends, i need to create a smartform for purchase order.in this i need to extract ship to details,remit to details.from which tables and using which link can i get these details .please help me asap friends.
-
Add new input field in vendor master
Hi all, I need to add a couple of <b>new columns</b> to the "Alternative payee" screen in the vendor master (screen <b>SAPMF02K 1130</b>). Is this possible? Can I use a BADI, or maybe an enhancement/user exit? Thanks for all your replies, answers wil
-
We have a requirement to send an Adobe PDF form to a FAX. I talked to an Adobe guy and told me that was possible, there is no need to reconvert in OTF, before posting this I search on SDN and found nothing. First I am using the ABAP CL_BCS (Business
-
Burning iTunes videos to DVD-R?
Is this possible? I bought two seasons of a show without enough memory on my PC, so I want to transfer one of the seasons to DVD-R until I get an external hardrive. Any help or other suggestions are greatly appreciated.