How to prvide f4 help for the particular field in table control
hi all,
my requirement is iam having one i/p field in screen 100.name of the field is sales order number. i just want to keep f4 help for this field only.when i click F4 on this field it has to show all the sales order numbers from vbak table.
anybody can send me the code please.
thanks,
maheedhar.t
Hi,
In POV Modlue u write
Filed (ur field name ) module get_values.
In that get_values module u declare an itab according to ur requirement and get the values into internal table using select query .After u get the values in select query u call a function popup_with_table_display in which u pass the itab along with the starting and postion , width and height of the popup window .Hope this will help u
Regards,
Shafi
Similar Messages
-
How to add F4 help for the custom field of a custom table
Hi All,
How to add F4 help to the custom table field? in the table maintainance when user clicks on F4 i want to provide possible values for this field I am trying to write the code in the screen of table maintainace like the following
PROCESS ON VALUE-REQUEST.
FIELD ZTEST_MAH_F4-KUNNR MODULE zVALUE_kunnr .
But when i am double clicking on module it's giving options to create include program but after that it's giving user is currently editing the table i am not getting this can some body clarify my doubt it's gr8 if some body give some examp code
Thanks&Regards
maheshHi,
Create a subroutine under the event and call the following FM
1. Select all the related data into an itab, for ex i_kunnr
2. CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = 'KUNNR'
PVALKEY = ' '
dynpprog = sy-repid
dynpnr = '1000'
dynprofield = <selection screen field>
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
value_org = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
value_tab = <b>i_kunnr</b>
FIELD_TAB =
return_tab = < return table >
DYNPFLD_MAPPING =
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3 -
How to keep f4 help for a particular field in module pool problem-urgent
hi all,
i am displaying output using alv list display. here i am showing my pf status here. in this status i have one button called position. when i click this button it is showing pop up inside this pop up i am showing appln
for this i need keep f4 help. anybody can tell me how to keep f4 help fo this field.
thanks,
maheedhar.tHi Maheedhar,
You need to use function module POPUP_GET_VALUES.
If you want see sampl eprogram for this check the program RSSPO410.
Execute this program and input Example2 = X in the selection screen.
Code from the above Program:
DATA: BEGIN OF FIELDS OCCURS 1.
INCLUDE STRUCTURE SVAL.
DATA: END OF FIELDS,
RETURNCODE(1) TYPE C,
POPUP_TITLE(30) TYPE C.
POPUP_TITLE = 'Nachrichten anzeigen'(200).
CLEAR FIELDS.
FIELDS-TABNAME = 'T100'.
FIELDS-FIELDNAME = 'ARBGB'.
FIELDS-FIELDTEXT = 'Arbeitsgebiet'(202). "Text nicht aus DTEL
APPEND FIELDS.
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING POPUP_TITLE = POPUP_TITLE
IMPORTING RETURNCODE = RETURNCODE
TABLES FIELDS = FIELDS.
IF RETURNCODE = 'A'.
If Cancel is clicked
ELSE.
If OK is clicked.
Table FIELDS congtains the input data.
ENDIF.
Thank you
Ramakrishna -
F4 help for the screen fields in module pool program
Hi All,
I have a requirement that, i want to provide F4 help for the 2 fields in module pool program. the fields are document number and fiscal year from rbkp table.
i could provide search help for two fields.
but how to select matching fiscal year for that document number.
problem: i am getting fiscal year as first four digits of document number.
please help me to solve this problem.
Thanks & Regards,
Namratha.VHi,
If your requirement is after selecting the document no from f4 help then the corresponding year should be updated in the document year field then use FM --> DYNP_VALUES_UPDATE
In this function module pass the screen no program & field for which u want to update value -
Providing F4 help for the same field on selection screen
Hello Experts,
My requirement is :
There are 2 radio buttons and a parameter "p_file" on my selection scree.
1. rb_appl
2. rb_pres
If the radio button rb_appl = 'X', I need to place the logic of F4 help of application server for the field p_file. Else if the rb_pres = 'X', then I need to place the logic of F4 help of presentation server for the same field p_file.
I have written the code in the below manner
PARAMETERS: rb_appl RADIOBUTTON GROUP rad DEFAULT 'X',
rb_pres RADIOBUTTON GROUP rad ,
p_file TYPE ibipparms-path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF rb_appl = 'X'.
PERFORM f_applictn_server_filenm.
ELSEIF rb_pres = 'X'.
PERFORM f_presentation_filenm.
ENDIF.
But I am getting the F4 help for only the radio button for which i have placed the default value in the parameters.
So please let me know how to define the F4 help for the same field based on the radio buttons.Hi,
You can acheive the same by the addition of [USER-COMMAND fcode].
RADIOBUTTON GROUP group [USER-COMMAND fcode] - The addition USER-COMMAND can be used to assign a function code fcode to the first parameter in a radio button group. The function code fcode must be specified directly, and have a maximum length of 20 characters. When the user selects any radio button of the radio button group on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields.
So you code should be altered as
PARAMETERS: rb_appl RADIOBUTTON GROUP rad
USER-COMMAND radclick "Addition which you have to make.
DEFAULT 'X',
rb_pres RADIOBUTTON GROUP rad ,
p_file TYPE ibipparms-path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF rb_appl = 'X'.
PERFORM f_applictn_server_filenm.
ELSEIF rb_pres = 'X'.
PERFORM f_presentation_filenm.
ENDIF.
Thanks & Regards,
Harish -
How long does it take for the custom field created in SFDC to show up in the field mapping list? I hit the refresh field button, but it is not showing up after 5 min. Do I just need to have patience?
Hi,
What do you have to do to the field in SFDC to make it accessible so that it shows up in the Eloqua field mapping area as a field to be mapped? -
How to create Search help for the field /SAPSLL/PRGEN-ATTR20V
Hi ,
I need to add a search help for the field /SAPSLL/PRGEN-ATTR20V and their is a chk table used for this field is /SAPSLL/TCOATV20.
In this table /SAPSLL/TCOATV20-ATTRV20V is a Primary key field.
How can I add search help for this field?
Any suggestions will be appreciated!
Regards,
KittuHI,
Fixed on my own..
I am closing this thread!
Thank you!
Kittu -
How to disable u201Csticky sessionu201D for the particular web application?
Hi All,
Is there a possibility to disable so called u201Csticky sessionu201D for the particular web application? We have deployed a WAR file with the Axis 1.4 based web service into SAP NW 7.1. The web service works fine but when the client makes SOAP request the server creates a so-called u201Cstickyu201D HTTP session with the default (30 minutes) timeout. Such u201Csessionsu201D are created on each SOAP request from the same client. The maximum number for Java Web Sessions (SAP Management Console) is 1000. After a while the clients start getting the u201C503 Service not availableu201D errors:
503 Service not available.
Error: -6
Version: 7010
Component: ICM Java
Date/Time: Tue Mar 03 14:30:12 2009
Module: http_j2ee2.c
Line: 1166
Server: XXXXXXXXXXX
Error Tag:
Detail: server overload: no more sessions available
The only way to improve the situation we found so far was to set session timeout to 1 minute. That u201Csticky sessionu201D will still be created, though.
This is a testing environment and we do not use any hardware/software loadbalancer.
Any help/advice is appreciated. (Please let me know if you need more information.)
Thanks,
Dmitry VasilenkoThe practical workaround we finally come up with for this problem was to create a servlet filter and map it to the AxisServlet. The servlet filter will invalidate the HTTP session and effectively destroy the sticky session created by the server on each SOAP request.
Here is the fragment from the web.xml
<filter>
<filter-name>StickySessionFilter</filter-name>
<filter-class>com.xxxxx.xxxxx.xxxx.services.StickySessionFilter</filter-class>
</filter>
<filter-mapping>
<filter-name> StickySessionFilter </filter-name>
<servlet-name>AxisServlet</servlet-name>
</filter-mapping>
<servlet>
<servlet-name>AxisServlet</servlet-name>
<servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
</servlet>
The doFilter() method looks like this:
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
try {
chain.doFilter(request, response);
} finally {
javax.servlet.http.HttpServletRequest httpRequest = (javax.servlet.http.HttpServletRequest)request;
javax.servlet.http.HttpSession session = httpRequest.getSession();
session.invalidate();
Thanks,
Dmitry Vasilenko -
How to attach search help in a particular field in se80 screen
Hi All,
Can any one tell me how to attach a search help in a particular field in a screen.
Wat search help is used to display material no and description
Thanks in Advance
Regards,
PriyaHi Priya,
In the Screen Layout, Double click on the field on which you wish to attach the search help.
In the properties window you can specify the search help for that field.
Search help for Material No. is MAT1.
You can find it in the Table structure (SE11) , "Entry help/check" tab.
Regards,
Himanshu -
How to assign search help for an input field by fetchign values from an int
i have an input field ,
i want to assign search help for the same by fetching values from a table.
how to achieve this ?Using the below ways you can assign search help to a field.
1) [OVS Search Help|http://wiki.sdn.sap.com/wiki/display/Snippets/OVSsearchhelp]
2) [Freely Programmed Search Help|http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help]
3) Dictonary Help - Use the Data element for that purpose. -
F4 help for the batch field in VL02N transaction
We have upgraded our system from 4.6 to ecc 6.0 .In 4.6 the f4 help for the batch had " Batch selection via plant/Material/Storage location/Batch " which is not there in ECC 6.0.
Please tell us the procedure to add in the existing search help H_MCHA in ECC 6.0
Thanks
ArunaHi Aruna.
Create ur own search help using se11 tcode for required fields.
Thanks & Regards,
Kiran.
Plz give rewards if and only if it is helpfull. -
How to enhance F4 help for the field KUNNR
Hi All,
I have a requirement to create custom table with the fields kunnr auart prodh among these fields for the field KUNNR I want to enhance the F4 functionality when user entering the data into this custom table means i should restrict only kunnr values which falls under particular customer account group. How can overwrite the existing F4 functionality of the KUNNR for this custom table?
Thanks&Regards
MaheshHi
U create ur own serach help using the searchelp option is se11 and create it based on ur requirement zand make it as elementary not as collective.
go to SE 11 and click on KUNNR and click on scrh Help puchbutton and assign ur search help and it will be assigned to the same.
If u want use already one then DEBI, C_KUNNR A_KUNNR
QVDM_KUN REKUNNRCN RE_KUNNR are there
these are collective serach helps and assign ur help to any of these.
kindly let me know if u need further help.
Thanks
Shiva -
How to find Primary Key for a particular SAP Databse Table?
Hi Guys,
How to find Primary Key and foreign key for Particular SAP Databse table ?for Ex : EKKO , EKPO , EKKN , EKBE , EKBEH , EKET and EKETH.
Thanks,
Srinivas.Use transaction SE11 to display the table. Put the cursor on the field you want to display the check table and click 'Foreign key' push button (a key with an bottom point arrow), then it will show the check table of the foreign of a field.
Or by just simple double click on the field, a pop-up window of all the attribute (including the foreign key and the check table if exists) will show too.
<i><b>Please reward point for helpful answer.</b></i>
Minami -
How to get label text for the Input Field in code
Hi,
I have created Two UI elements InputField and Label. I set the property 'labelFor' of the UI element Label to 'InputField'.
This is my requirement . I am having the Id of InputField in the code . I want to get the value of 'text' of the UI element Label.
Please suggest how to proceed.
Points will be rewarded for helpful answers.
Best Wishes
Idhaya RNot sure why you really need this, but you could do something like
IWDInputField field = (IWDInputField) view.getElement("inputFieldID");
IWDLabel fieldLabel = null;
for (Iterator children = field.getContainer().iterateChildren(); children.hasNext(); )
IWDUIElement child = (IWDUIElement) children.next();
if (child instanceof IWDLabel)
IWDLabel label = (IWDLabel) child;
if ( field.getId().equals(label.getLabelFor())
fieldLabel = label;
break;
Armin -
How to put search help for shopping cart fields.
Hello Gurus,
I need to put search help for some of the fields in shopping cart. Pls let me know do we have any standard way with out abap work. pls suggest me how to proceed.
Thanks,
kamalCheck out the field and do a mapping od the same in se11, ie field and the table from which you want to search
Maybe you are looking for
-
For some reason my iPhone 4 won't take incoming calls and everytime someone phones me it goes straight to voicemail what's gone wrong??
-
Dragging images from browser to a folder force-saves them as .bmp, how to fix?
So here's the thing: I'm using the latest Firefox. If I click an image and drag it from the browser page to a directory/file it saves the image as a .bmp, even if it were .jpg or .gif or whatnot. Right-clicking and saving the images works fine. I've
-
Laserjet 1020 install on windows 7 machine
I am trying to install a laserjet 1020 on a windows home machine. i get a message saying waiting for PnP to finish installing driver. This is where it hangs. thanks
-
Table of contents text not aligned
After about four hours of "googling" I can still not find a solution. Please see the screenshot of my "problem". (A picture is worth a thousand words - do I need to explain the problem?) How do I solve this? (Pages 5 2 2). I have tried everything
-
How to run something when laptop lid is closed?
Hi, I'm running Arch on my EEEpc 1000h. I'd like to run certain commands when I close the lid. Can this be done? Thanks in advance.