F4 help in an Input Field in WebDynpro
Hello Evryone,
I Have a question based on F4 help.
I have a static context node and an element of the node A has a search help shlp_a attached to it. the node A is having a Input field in UI mapped to it. When i use F4 help on this ui element mapped to Node A, i get a F4 help triggered.
the search help shlp_a is having a search help exit attached to it.
what i expect is, i want to trigger a Pop-up in place of f4 help. this pop-up should only be displayed only on a specific scenario. i do not want to change this approach as this would disturb my existing functionality.
is this possible?
regards
Om
Edited by: Savita Nandan Om on Sep 13, 2010 5:00 PM
HI,
having F4 search help and to display a pop up in specific condition is not achievable using dictionary search help.
regrds,
Madhu
Similar Messages
-
F4 / Help Functionality for input field in custom java iView
Hi,
As we see many F4 help on each input field in a transaction, how can we mimic the same functionality in a Custom Java iView. For example, ME23N, you can search a PO based on some criteria, when i create a new custom java iview using BAPI_PO_DISPLAY, how can provide that F4 or help functionality to the Purchase Order field.
Your help is really appreciated.
Thanks,
VijayHi Vijay,
the F4 Help functionality is always of big concern when you're switching from a R/3 or ABAP-SAP GUI environment to a webfront end. First of all: the convinience you're used to of creating a seach help and adding it to your data fields is gone, i.e. the current development status in the portal/java/webdynpro implies that you have to do most of the work on your own. Simple value helps might not be a problem, but complex ones are (as the one you've described). Here is a link to a tutorial in Java-webdynpro, maybe it gives you an idea:
https://www.sdn.sap.com/sdn/developerareas/webdynpro.sdn?page=TutWD9_OVS.htm
Regards,
Ulli -
Can we Change the backround color of an Input field in Webdynpro for ABAP.
Hi Experts ?
Can we change the background color of an Input field in WebDynpro for ABAP based on results we receive from any function module or BAPI?? .
Thanks in advance .
Regards ,
LASYes. We can change the background of an input field. The way you do this is by editing the theme that webdynpro application uses. To edit the theme, you will need to install NWDS PLUS the theme edit plugin (Available for download from SAP).
Once you have edited the theme, you will need to upload your theme back to application server. You can use the program : BSP_UPDATE_MIMEREPOS to do this.
Bydefault, the theme used by webdynpro applications is :
/SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow
You can apply another theme by calling the webdynpro application with a theme parameter. For example, if my webdynpro application name is "zgopaltest", then
<i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow</b></i>
will apply the sap_tradeshow theme.
Likewise, you can apply diffrent theme. There is another theme that SAP provides. Its called : sap_hcb. Hence, you can apply the theme to the above application by:
<i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_hcb</b></i> -
Search help for a Input Field........
Hi,
I'm fairly new to BSP and I would like to know how to attach Search Help to the Input Field in BSP application.
Thanks
NP.Hi nagendra
Search Help for input field Provide using attribute of input field is showHelp and onvaluehelp
This is providing the search help . -
Dynamic Search Helps In An Input Field
Hi Experts,
I need to populate an input field with different search helps based on the user action i.e when user selects "Audit" i hav to show the audit search help for my input field, when he selects "Audit Plan" i would hav to show audit plan search help.
My Questions >
1> i intend to use the method set_attribute_value_help of the interface if_wd_context_info and do the coding as :-
data lo_nd_info type if_wd_context_node_info.
lo_nd_info = lo_nd->get_node_info( ).
CALL METHOD lo_nd_info->set_attribute_value_help
EXPORTING
name = 'identification' (attribute Name)
value_help_mode = '121'
value_help = 'plm_auditplan'.(Help Name)
Is this the correct way to go if not plz suggest a more appropriate method.
2> in the context for that attribute ,what should i specify for the property input field
Input Help Mode
i.e should it be deactivated , automatic or should i give the dictionary serach help and specify one of the search helps by giving its name.
Your responses will be greatly appreciated,
Chaitanya.Hi Ebru,
Yes, it is possible using OVS, freely programmed and dictionary help.
For OVS, refer this blog: /people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
For Dictionary Search Help, refer http://help.sap.com/saphelp_nw70/helpdata/EN/47/9f724642314aabe10000000a42189b/frameset.htm
For freely programmed, refer:
http://help.sap.com/saphelp_nw70/helpdata/EN/47/9ef8cc9b5e3c5ce10000000a421937/content.htm
I hope it helps.
Regards
Arjun -
Hi Experts,
I am New to web Dyn Pro Java.
I have a requirement in which I need to impplement F4 help for a input Field. For this I should not use the Back end. I am suppose to hard code the values that will appear in the F4 help. Can I implement it and how?
Please respond. Thanks in Advance.
Regards,
RohanSure,
Go by this-->
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ab331b-97c6-2a10-f982-c9f972c34e51|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ab331b-97c6-2a10-f982-c9f972c34e51]
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564]
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8]
kunal -
HOW TO APPLY SEARCH HELP TO AN INPUT FIELD FOR FOLLOWING EXAMPLE:
FOR THE FIELDS LOCATIONS, AND CONFERENCE ROOM NO.
LOCATIONS ARE A, B, C, D, G AND CONFERENCE ROOMS OF THESE LOCATIONS ARE,
A1, A2 ,A3,, LIKE WISE FOR REST OF THEM.
HERE IS THE PROBLEM,
hi,
this is a realtime implementation scenario pls provide full coding and answers with screen programming of it.
it is as follows:
Business Scenario u2013 conference room booking for the company
Business Scenario
You will build a computerized system to automate the process of Conference room booking for a company .
Xi Infotech, a software company, is having 5 locations at Bangalore. Each location has 3 conference rooms available
Masters
Maintain Employee Details
Maintaining Conference room Details.
Maintaining booking details
Transactions
Maintaining Date and timing of Meeting
The conference room in any of these locations have to be Pre-booked for the meeting indicating the purpose of meeting & no. Of attendees, date and time for which required.
Booking Confirmation has to be sent to the employee who blocks the room. If any other person tries to book the same room, he should be able to see that this room is blocked and the details regarding the employee who has blocked and the purpose & time for which the room is blocked
Reports
Datewise report on the conference rooms of all locations.
Month wise reports of conference room booked.Hi,
For a given field if you have more number of possible values then go for the Value table or check table.
If you have a few values for a given field, then go for Value ranges. These can be maintained at Domain level for a field.
For each field create a correspondign data element(DE)
In this DE, we can have the FURTHER CHARACTERISTICS tab we can create a search help Or directly from SE11 we can create a SH then attach this to the DE Or we can directly maintian Or At the DOMAIN level we can .
Ex:
LOCATIONS ARE A, B, C, D, G AND CONFERENCE ROOMS OF THESE LOCATIONS ARE,
A1, A2 ,A3,, LIKE WISE FOR REST OF THEM.
Ex:
SE11->
DE and Domain names is LOC.
In SE11->DOMAIN->LOC->
Here as you have a few values we can maintain it in VALUE RANGES tab->
like
A (Description to be given) ie Loc A for Hyderabad
B Bangalore
C
D
G
Room Numbers-> here can createa value table with serial numbers at the Domain level.
Attach the same to the respective DE in the SE11.
Similary we can maitain for Conference room numbers or
We can create a Search help using the two field LOC and RoomNos and create a Elementary search help.
Like this we can do.
Get back if you still have queries on this.
Please refer to this link for more info-
SEARCH help
Regards,
Chandralekha -
How to display a value in an input field in webdynpro
I want to get a value already shown in a particular input field
i.e., have to fetch data to that input field as we enter that screen.
how can we do that?
kindly reply if anyone knows.
Thanks and regards
sujuHi,
First of all u have to declare one variable in the prog. with the name of the i/o box u have given in the screen.
Now in the PBO of the screen call one module.
and in that module write the code like,
if your i/p field name is INPUT_F then
MODULE assign OUTPUT.
INPUT_F = 'XYZ'.
ENDMODULE.
Here u can assign the value by fatching through the DB also.
I think this will help u.
thanks -
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. -
How to implement AZAX call for a input field in webdynpro java.
Hello everyone,
I want to make a AZAX call , when I click on the input field.Anybody has already implemented this earlier, plz let me know how to do this.
Thanks,
SrikantaUndo/Redo is a pain in the neck. If I recall correctly, I usually use a javax.swing.undo.CompoundEdit to group smaller edits. Not sure if this will work but you might try starting a compound edit when a user strikes a key and ending it after a certain amount of time passes without a keystroke. This will allow rapid bursts of typing to be grouped as a single edit.
-
Dynamically Creation of input field in webdynpro
Hello Experts,
I am new to webdynpro.
I have a requirement to create the input filed dynamically for material.
Requirement:- I have to button in my screen "+" and "-" button.
after execution while i will click on + button one input filed should be created automatically and while i will clicik on
- button the newly creaed inputfield should be deleted from the screen.
Coulld anybody help me on this.
it would be great if somebody can share any solutin or sample code.
Thanks in Adv...Hi Kiran,
Jus to clarify on this: There might be situations, we don't know how many fields the user wants to create at runtime.
Yes, OK, that does make sense and justifies the effort in this case, I agree with you.
But in OP's case I think he only wants one field:
after execution while i will click on + button one input filed should be created automatically and while i will clicik on
Still, it does make sense to dynamically create them if there could be one up to X to keep the application slender.
Cheers, Lukas -
In CAT2 - The search help populating the input field with wrong data
Hi Guys,
I have created a ZCITY table for which has below 2 field
ZZCITY (Code ) (5 Char) u2013 Key field
ZZNAME (City Name ) (40 Character)
I have added a custom field ZZCITY & ZZNAME in CI_CATSDB. Funtional guy has configured to make ZZNAME as VISIBLE and ZZCITY is HIDDEN on CAT2 screen in Data Entry area.
I created search help on table ZCITY with export parameters as ZZCITY and ZZNAME.
In SE11, I have mapped the export parameters with CI_CATSDB
Now in tcode CAT2, when I press F4 on City Name field, the list is displayed with City code and City names. And when I select any city code, the ZZNAME is populated by City code instead of City name.
I want that City Name should be populated in ZZNAME and City Code should be populated in hidden field ZZCITY.
Please tell me how I can fix this problem.
Thanks in advance.
miniHi,
Search helps have a one to one relationship with a screen field. To achive what you are trying to, I would have ZZCITY and ZZNAME side by side, and i would have a drop down only only ZZCITY. The key of the table will be ZZCITY. So when you chose the record, The city will populate in ZZCITY and you can make use of user exit EXIT_SAPLCATS_002 to populate the name automatically in the ZZNAME field.
thanks.
JB -
F4 Help on depending input in other fields
hi folks,
how can we use f4 help like dynpro when the result of the search help depends on input fields on the screen.
how to do thtat with web dynpro?
kind regards
oliverHi Thomas,
yes i did it like that but my problem is, given 2 Files CustomerNumber and CompanyCode.
When entering 0010 into Field CompanyCode and pressing search Help on CustomerNumber i want only to see customers who are in CompanyCode 0010 -> technicalle companycode is a input for the search help.
In normal dynpro this works without doing much but how to do with webDynpro or where do i make the "fault".
kind regards,
oliver -
Select-options for input field
hi,
Is it possible to use 'Select-options' in web dynpro for the input field like we use in abap?
Ex. material is the input field. i want to select range also for this input field using 'Select-options'
I have tried only with ovs(f4 help) for the input field. can u pls tel me how to use if it is possible ?
Thanks,
Aishwarya.DATA: LT_RANGE_TABLE TYPE REF TO DATA,
RT_RANGE_TABLE TYPE REF TO DATA,
READ_ONLY TYPE ABAP_BOOL,
TYPENAME TYPE STRING. DATA: LR_COMPONENTCONTROLLER TYPE REF
TO IG_COMPONENTCONTROLLER,
L_REF_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
create the used component
L_REF_CMP_USAGE = WD_THIS->WD_CPUSE_SELECT_OPTIONS( ).
IF L_REF_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
L_REF_CMP_USAGE->CREATE_COMPONENT( ).
ENDIF.
WD_THIS->M_WD_SELECT_OPTIONS = WD_THIS->WD_CPIFC_SELECT_OPTIONS( ).
init the select screen
WD_THIS->M_HANDLER =
WD_THIS->M_WD_SELECT_OPTIONS->INIT_SELECTION_SCREEN( ).
WD_THIS->M_HANDLER->SET_GLOBAL_OPTIONS(
I_DISPLAY_BTN_CANCEL = ABAP_FALSE
I_DISPLAY_BTN_CHECK = ABAP_FALSE
I_DISPLAY_BTN_RESET = ABAP_FALSE
I_DISPLAY_BTN_EXECUTE = ABAP_FALSE ).
*create a range table that consists of this new data element
LT_RANGE_TABLE = WD_THIS->M_HANDLER->CREATE_RANGE_TABLE(
I_TYPENAME = 'matnr' ).
add a new field to the selection
WD_THIS->M_HANDLER->ADD_SELECTION_FIELD(
I_ID = 'matnr'
IT_RESULT = LT_RANGE_TABLE
I_READ_ONLY = READ_ONLY ).
This is my code followed by saptechnical. but when i exec, am getting err like the type matnr is invalid. -
To add F4 help for goods recipient field in MIGO
Hello,
I've a requirement in migo, under the details data, we have a "where" tab.
Under this tab, there is a field "Goods Recipient" for input.
Now I've to add a F4 search help for this input field such that it picks up from my ZTABLE.
Can anyone please suggest how to add the search help for this field.
Can this be performed using a field exit or any userexit. MBCF0005 or badi MB_MIGO_BADI ?
Please guide me and thanks in advance.
~With Regards,
HimThanks Rupali,
I've already created my search help and search help goes well with any of my ztable or zprogram. But, the field where I want to add my search help is a standard migo program SAPLMIGO, and the field where I want to add search help is "good recipient" field under "where" tab of "migo" transaction.
And the name of the field is WEMPF, which belongs to the sap standard structure GOITEM.
So, SAP wont allow me to edit it's standard tables. Is there any other alternative?
~With Regards,
Him
Maybe you are looking for
-
I have the new ipad and I'm trying to transfer videos from my PC to the ipad. My GB allotment is almost used up and I want to utilize some of my free cloud storage. How do I do this or does the icloud only take items purchased thru itunes?
-
Outlook 2010 Crashes After Opening During Send/Receive with a c0000005 Exception Code
Ok, I'm stumped! As soon as the user opens and loads Outlook, when it starts to do the send/receive, Outlook crashes. Here's a list of what I have tried along with the details that Windows provided: Problem signature: Problem Event Name:
-
PDF Viewer or Adobe Reader/QuickOffice Questions - PLEASE REPLY!
Does the D Inc ship preinstalled with the "PDF Viewer" or Adobe Reader? Also, can you CREATE documents with Quickoffice, or does it only view doc/xls/ppt from attachments? I'm assuming you can also drag documents from the computer to the SD Card and
-
Can spam interfere with Apple's mail servers?
I have been receiving spam that causes Safari to crash on my iPad. Hard to delete, too.
-
Hi everyone! My problem goes like this: I recently revised a sapscript driver program for the payment advice form, which is working fine in another version. The problem is, when I copied the subroutine to another version of the driver program, what