Help for F4 help using MVC
Hello Friends,
Can anyone help me to implement F4 Help for input field Using MVC? I have created 2 views , one for Input field and other for F4 Help Pop-up. This two Views has there respective controllers and one model class.
can anybody provide some sample code?
Hi vinay
Search in sdn you can find solution.
Check the following link
[F4 help using MVC|https://help.sap.com/saphelp_sem320bw/helpdata/en/fb/fbb84c20df274aa52a0b0833769057/frameset.htm]
Hope thi shelps you
Regards,
Rajani
Similar Messages
-
Search help for Web Dynpro using the SAP-search help
Hi,
Im trying to create a generic search help for Web Dynpro using the SAP-search help. It should working so, that I construct a Web Dynpro-component, that gets the data of the search help from the SAP-system, interpreted it and creates the ui-elements and the needed context generic.
The mapping between the Input field of the customerview and the right search help is to be made with an xml-file, which contains the information: name of the view, the input field, the search-help-name and the name of the field that will be returned.
The xml-file is reading from a helper-class. That helper-class contains any information, witch need the search help-component as well as the customer-component.
The initialization takes place in the method wdDoModify of the customer. The call of the search help from the customer should be implement with an Action, witch is bound to a Button(create dynamic in the helper-class behind the input field).
In a second foot should be create a plugin for eclipse, witch insert the used files (search help component, helper class, ) in the project. In addition it should create the call in the customer generic.
It would be great if someone can give me a feedback!Hi Mike,
The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
Personally I'd recommend you give yourself a little project to work on and just get stuck in
Kind Regards,
Owen -
Managed Bean Help for Definition Help
I am working on creating Managed Bean Help for Definition Help as described in ‘19.5.3 How to Create Managed Bean Help’ section of the Web User Interface Developer's Guide fpr ADF. Using JDev Version 11.1.2.1.0.
Thought I had all the artifacts assembled but when I run the log message is: <ELHelpProvider> <_getTranslationMap> ELHelpProvider's helpSourceExpression is null.
Any suggestions would be greatly appreciated.
Here is the managed bean:
public class ELHelpProviderProjRequest extends ELHelpProvider {
public ELHelpProviderProjRequest() {
/* To use the HelpProvider, the EL expression in the helpTopicId attribute must point to a Map, otherwise
* you will get a coerceToType error. */
public Map<String, String> getHelpMap()
Iterator iterator = _HELP_MAP.entrySet().iterator();
while(iterator. hasNext()){
System.out.println("hash map entry " + iterator.next());
return _HELP_MAP;
static private final Map<String, String> _HELP_MAP = new HashMap<String, String>();
static {
// each element [put] can be for a separate helpTopicId attribute
_HELP_MAP.put("MAPHELP_CATEGORY_CAPITAL_DEFINITION", "Map value for credit card definition");
_HELP_MAP.put("MAPHELP_CATEGORY_OTHER_DEFINITION", "Map value for credit card instructions");
} Here is the adf-setting.xml in Application sources / META-INF:
<?xml version="1.0" encoding="windows-1252" ?>
<adf-settings xmlns="http://xmlns.oracle.com/adf/settings" >
<adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/settings">
<help-provider prefix="MAPHELP_">
<help-provider-class>
com.corpnet.abc.util.ELHelpProviderProjRequest
</help-provider-class>
<property>
<property-name>helpSource</property-name>
<value>#{helpTranslationMap.helpMap}</value>
</property>
</help-provider>
</adf-faces-config>
</adf-settings>Here is the faces-config:
<managed-bean>
<managed-bean-name>helpTranslationMap</managed-bean-name>
<managed-bean-class> com.corpnet.abc.util.ELHelpProviderProjRequest </managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>Here is the helpTopicId in the inputText component:
<af:inputText value="Test" inlineStyle="font-weight: bold;" id="it31" simple="true" helpTopicId="MAPHELP_CATEGORY_CAPITAL" readOnly="true"/>Register the managed-bean as a help provider in the adf-settings xml like:
Example 19-9 Registering a Managed Bean as a Help Provider
<adf-settings xmlns="http://xmlns.oracle.com/adf/settings">
<adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/settings">
<help-provider prefix="MAPHELP_">
<help-provider-class>
oracle.adf.view.rich.help.ELHelpProvider
</help-provider-class>
<property>
<property-name>helpSource</property-name>
<value>#{helpTranslationMap.helpMap}</value>
</property>
</help-provider>
</adf-faces-config>
</adf-settings>
As you've pointed out, Review section 19.5.3 for more details -> http://docs.oracle.com/cd/E24382_01/web.1112/e16181/af_message.htm#CHDHIGIA
You could also investigate use the OHW product available here: http://www.oracle.com/technetwork/developer-tools/help/index-083946.html -
How to use search help for UI parameters using 'as search pattren'?
i want to link a search help created by me to the UI parameters in a report using 'as a serarch pattern,but i am unable to proceed with it.how to proceed with it?
hi,
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm -
Search help for a field using a selection method which has a text table.
Hello all,
I am trying to create a search help for one of the fields in a structure say RFCDEST. Now for this i am giving the selection method as the DB table where all the RFCDEST are maintained. However there is a text table which is also comes up for this selection method and the description of the filed RFCDEST is in that text table and the description is not stored in the main table which i specified as the selection method.
My query is that on F4 now all the rfc destinations are being shown however the description i am not able to show them because there is no field in the table specified in the selectionmethod which hold s the description but instead it is there in the text table, how can i fetch the description from there and display in the search help.
Warm Regards,
Naveen Mlook at search help FC_RFCDEST. that problem has already been solved with this search help.
-
Help for search help and currency and quantity fields
hi,
please help me for creating search help and when the currency and quantity fields are used please expalin this with steps as i am a learner..
regards
raj.Hi Rachu,
Welcome To SDN
Help On Search Help
Go to se11
Select radio button Search help
click on create
and select elementary seacrh help
selection method---->tablename or viewname
press f1 in search help exit we will get a FM named as
F4IF_SHLP_EXIT_EXAMPLE.copy that FM from se37 in to Zprogram.we have a record_tab for copying the view by using this tab we can restrict the values from the view or table.this values are populate into another table .Then ,
come to se11
and in our seacrh help we will pass components of the search help
Source: https://forums.sdn.sap.com/click.jspa?searchID=14985345&messageID=5618016
Help On Currency and Quantity Fields:
Whenever you have to maintain fields for currencies and quantites u need to refer them to currency key and quantity key which also have to be present in the table.
If suppose you are creating a table for Employee. And suppose that fields would be like :
EMPID -
employee id
EMPNAME
employee name
DEPARTMENT --- department
SALARY -- salary ( Data Type u2013 CURR )
WEIGHT -
weight of the employee ( Data Type -- QUAN )
Now the fields SALARY AND WEIGHT fields should refer to currency and quantity keys. So you need to have two more fields like
CURRKEY --- Data Type ( Cuky )
Quantity --- Data Type ( Unit )
Now we have to attach the field Currkey to the field Salary
And the field Quantity to the field Weight
So when u create a table you can see a tab Currency / Quantity fields.
Here You can give the reference table and the reference field against the salary and weight fields.
Source: https://forums.sdn.sap.com/click.jspa?searchID=14985456&messageID=5692074 -
Hi all! this time i need a simple thing. I have two parameters p_vblnr and p_chect.The firstone has a Search help that i did with se11 and the second one has a standard search help for chects. I want to create a search help for p_chect that only visualice the values related to p_vblnr parameter and <b>replace the standard search help for that field</b>.
Ej: if p_vblnr is '10021562' i want the search help to visualice the chects related to that vblnr.
is this possible??????
i promise rewards points for help!!!!
thank in advance!Andrew,
Try following sample code.
CLEAR: t_dynp_flds,
t_dynp_flds[].
t_dynp_flds-fieldname = 'LFA1-STCD1'. " ur first parameter
APPEND t_dynp_flds.
CLEAR t_dynp_flds.
*--- Read screen field values before PAI field transport
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = 'ZFFI'
dynumb = '1000'
TABLES
dynpfields = t_dynp_flds
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
IF sy-subrc EQ 0.
READ TABLE t_dynp_flds WITH KEY fieldname = 'LFA1-STCD1'.
IF sy-subrc EQ 0.
MOVE t_dynp_flds-fieldvalue TO lfa1-stcd1.
ENDIF.
ENDIF.
IF NOT lfa1-stcd1 IS INITIAL.
g_stcd = lfa1-stcd1.
Clear fields
CLEAR : t_taxid1,
t_taxid1[].
t_taxid1-gap2 = space.
Select vendor and taxids from Vendor Master table
SELECT lifnr
name1
FROM lfa1
INTO (t_taxid1-lifnr, t_taxid1-name1)
WHERE stcd1 <> g_stcd AND
stcd2 <> g_stcd AND
stcd3 <> g_stcd.
APPEND t_taxid1.
CLEAR t_taxid1.
ENDSELECT.
IF sy-subrc NE 0.
No table entries found
MESSAGE s001(zffi).
EXIT.
ENDIF.
SORT t_taxid1 BY lifnr.
DELETE ADJACENT DUPLICATES FROM t_taxid1 COMPARING lifnr.
CLEAR : g_pop_idx.
Function module to get Tax code values
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
endpos_col = 85
endpos_row = 20
startpos_col = 20
startpos_row = 10
titletext = 'List of Assign Vendors'(t11)
IMPORTING
choise = g_pop_idx
TABLES
valuetab = t_taxid1
EXCEPTIONS
break_off = 1
OTHERS = 2.
IF sy-subrc EQ 0.
READ TABLE t_taxid1 INDEX g_pop_idx.
IF sy-subrc EQ 0.
CLEAR : t_dynp_flds,
t_dynp_flds[].
Append screen values
t_dynp_flds-fieldname = 'G_LIFNR'.
t_dynp_flds-fieldvalue = t_taxid1-lifnr.
APPEND t_dynp_flds.
CLEAR t_dynp_flds.
Change screen field contents w/o PBO
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = 'ZFFI'
dynumb = '1000'
TABLES
dynpfields = t_dynp_flds
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
OTHERS = 8.
IF sy-subrc NE 0.
CLEAR : t_dynp_flds,
t_dynp_flds[],
lfa1-lifnr,
lfa1-stcd1,
lfa1-name1.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
-Anu -
hi,
i want create f4 help for MSEG-MBLNR on selection screen.
please give solution for thathi,
thanks for ur reply,
that is working. but here my requirement is on selection screen i am give doc.year (mjahr)and plant( werks) based on that
i need to get material doc no(mblnr) -
Help for a begginer using swing
Basically I need help with a program for a school project. i am not looking for a quick answer but rather some pointers in the right direction. This is my first time using swing and my first project is to create a blackJack game. I am having trouble with functionality. there are problems on tab 2 with almost all the buttons. any help would be greatly appreciated. since i didnt have enough room for all my code i posted it online to be accessed at this site: [https://code.google.com/p/blackjackgui-alpha/]
private void jTextField2ActionPerformed(java.awt.event.ActionEvent evt) {
String betString = jTextField2.getText();
betString = Integer.toString(bet);// TODO add your handling code here:
total = total - bet;
private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {
System.exit(0); // TODO add your handling code here:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
String name = jTextField1.getText();
String prefix = (String)jComboBox1.getSelectedItem();
jLabel2.setText("Hello " + prefix + name + " and welcome to blackJack please press the tab labeled BlackJack");
jLabel3.setText("Welcome to you personal blackJack game " + prefix + name + " your cards are" + card1 + "(" + card1s + ") and " + card2 + "(" +card2s + ") your hand total is " + handTotal);
jLabel5.setText("This is where you may see the Dealers information " + prefix + name);
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
handTotal = card1 + card2;
if(handTotal > 21)
jLabel3.setText("You busted press hit");
handTotal = 0;
handTotal = card1+card2;
dealerHandTotal = 0;
dealerHandTotal = dealerCard1 + dealerCard2;
handTotal = handTotal + card3;
jLabel3.setText("You have hit and recieve " + card3 + "your total is " + handTotal);
jLabel5.setText("Dealer hits and recieves " + dealerCard1 + "(" + dealerCard1s + ") and " + dealerCard2 + "(" + dealerCard2s + ") Dealer total is " + dealerHandTotal);
if(handTotal > 21)
jLabel3.setText("I am sorry, you busted with: " + handTotal + "Please press hit to begin a new round");
handTotal = 0;
card1=card1;
card2 = card2;
else if( handTotal == 21)
total = total + (bet*2);
jLabel3.setText("BLACKJACK!!! your total is now: " + total);
handTotal = 0;
dealerHandTotal = 0;
else if(handTotal == dealerHandTotal)
jLabel3.setText("PUSH ...house automatically wins");
jLabel5.setText("PUSH ...house automatically wins");
handTotal = 0;
dealerHandTotal = 0;
else if(dealerHandTotal < 17 || handTotal > dealerHandTotal) {
dealerHandTotal = dealerHandTotal + dealerCard1;
else if(dealerHandTotal == 21)
jLabel5.setText("DEALER GETS BLACKJACK!!")
dealerHandTotal = 0;
dealerHandTotal = dealerCard1+dealerCard2;
handTotal = 0;
handTotal = card1 + card2;
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
jLabel3.setText("You have stood at " + handTotal); // TODO add your handling code here:
private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {
jLabel3.setText("You have folded at your total of: " + handTotal);
jLabel5.setText("You have folded at you total of:" + handTotal)
handTotal = 0;
dealerHandTotal = 0;
} Sorry i thought it would be more convenient for the code to be on another page..my bad
Edited by: rightWingNutJob on Mar 4, 2010 2:07 PM
Edited by: rightWingNutJob on Mar 4, 2010 2:30 PM -
Help for views regarding using Liferay for an already developed project.
Hi all,
I don't know if I am posting this question in the right place. If I am then extremely sorry. Guide me to post in right place. I have already posted in Liferay forum but still no reply!
First of all, let me tell you what I am or my company is intended to do. We have already developed a project using Java, JSP and Servlet. We want it to integrate with Liferay so that we can change logo, css, images, themes or any other UI related component at run time using Liferay admin panel. But backend should be what we have developed. In short, UI of our project is controlled by Liferay but control of data displayed on UI or submitted from UI should be from our developed backend code.
Now I have a few questions regarding above said approach of fulfilling the requirement:-
1) What we are trying to do is possible?
2) Is this approach recommendable for what we intended to do?
3) Or do we need to develop our project from scratch to fit into Liferay? Like developing portlets and deploying in Liferay or other approach that has been given in Liferay documentation.
4) What about database integration? We have around 15 columns/fields in user table in database of our project which is completely different from that of Liferay's user table.
Liferay is a very new for us. We have checked the documentation section of Liferay but still few things like above said requirements and its implementation is not clear. Also, we would like to know in what scenarios/requirements Liferay is useful.
Eagerly waiting for your views. Any help will be very much appreciated.
ThanksHi all,
I don't know if I am posting this question in the right place. If I am then extremely sorry. Guide me to post in right place. I have already posted in Liferay forum but still no reply!
First of all, let me tell you what I am or my company is intended to do. We have already developed a project using Java, JSP and Servlet. We want it to integrate with Liferay so that we can change logo, css, images, themes or any other UI related component at run time using Liferay admin panel. But backend should be what we have developed. In short, UI of our project is controlled by Liferay but control of data displayed on UI or submitted from UI should be from our developed backend code.
Now I have a few questions regarding above said approach of fulfilling the requirement:-
1) What we are trying to do is possible?
2) Is this approach recommendable for what we intended to do?
3) Or do we need to develop our project from scratch to fit into Liferay? Like developing portlets and deploying in Liferay or other approach that has been given in Liferay documentation.
4) What about database integration? We have around 15 columns/fields in user table in database of our project which is completely different from that of Liferay's user table.
Liferay is a very new for us. We have checked the documentation section of Liferay but still few things like above said requirements and its implementation is not clear. Also, we would like to know in what scenarios/requirements Liferay is useful.
Eagerly waiting for your views. Any help will be very much appreciated.
Thanks -
ALV: Search help for editable column using OVS/Input Help Component Usage?
Hi all,
Is is possible to assign a value help like OVS or "Input Help Component Usage" to a editable ALV column using Web Dynpro?
Thanks and regards,
UlrichHi Madhu,
Than I must have made something wrong because this is exactly what I've tried.
I'll check my freely prgrammed value and the assigning again.
Thanks a lot for your quick reply.
Ulrich -
Help for a newbie using the SAP tutorial
Hi All,
This is the first time i have picked up the SAP SDK and I am following the tutorial that is in the the help document that is installed with the SDK installation.
Under the developers guide section > Tutorial: Blanket Agreement Solution
I have worked down to Part 4 and I am stuck on step 1 (create an installer)
Towards the end of the page it talks about creating a new project and to opening line is: "Add the BlanketAgreement.exe file to the project and change its Build Action to Embedded Resource."
Can somebody give me some help here please because upuntil now there has been no mention of the BlanketAgreement.exe.
Equally can anybody suggest some more tutorials that will help be get into the SDK.
Many thanks,
MikeHi Mike,
The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
Personally I'd recommend you give yourself a little project to work on and just get stuck in
Kind Regards,
Owen -
Can there be help for formatted Ipod using windows by mistake?
I recently reformatted using windows by mistake. I read through this board and tried the putting Ipod in disc mode, opened Ipod updater, attached Ipod when prompted and reformatted. It would start to reset to factory settings then stop and give a write to disc failure notification. I have the 30 gig Ipod (video). Please help!!
Disk cannot be Written Too -
http://docs.info.apple.com/article.html?artnum=301267 -
Problem|Install iTunes problem! help for first time using iPod touch (2G)
Look i try to install the iTunes, but after press the install button, its write:
"The installer ecountered errors before iTunes could be configured.
Your system has not been modifited. To retry these operations at a later time, please run the installer again."
What to do? ****!250 Dollar on this iPod, not for free! i must have it working.
Please help me =]Have you seen this iPod 101 tutorial? You might want to bookmark it.
http://www.apple.com/support/ipod/howto/ -
SQ01 help for listing not used problem codegroup and code in notifications
Hi ,
I am making a query through SQ01 to find out how many damage codes created for a particular notification type are not being used .
In infoset I used QMEL which lists problem code group and problem code and as a bonus we also get codegroup text . When I test this query , I get damage code group and code used in all the notifications . I want solution for the following
1)How to list only distinct damage codegroup and damage code (Not per notification wise)
2)Which second table I have to use to get problem code short text
3)Which table I have to add in infoset and how join has to be created so that I get list of Damage codegroups and codes not used in notification .
NPBHi Pete ,
1)How to list only distinct damage codegroup and damage code (Not per notification wise)
I have output like
problem code group Problem code grp text Problem code Problem code text
MRTR Transformer problems 1 I need table here
MRTR Transformer Problem 1
MRTR Transformer problem 2
I need distinct output like
problem code group Problem code grp text Problem code Problem code text
MRTR Transformer problems 1 I need table here
MRTR Transformer problem 2
2)Which second table I have to use to get problem code short text
I need problem code table
3)Which problem code group and code not used
Suppose for notification type X I have configured damage catalog Q and Q has MRTR , MRAM , MRGT as code groups and each of them have their own codes (say 1 to 5)...If notifications are created only for MRTR and code 1 , 5
I need not used output like
MRTR 2
MRTR 3
MRTR 4
MRAM *
MRCT *
How can I achieve this using sq01,02 etc
NPB
Edited by: Narasimha Bhat on Feb 1, 2011 4:54 PM
Maybe you are looking for
-
BUG REPORT FIRMWARE 5.1.7 PLEASE FORWARD TO SUPERVISOR....
BUG REPORT FIRMWARE 5.1.7 PLEASE FORWARD TO SUPERVISOR. The spa-3102 has the following two bugs. When the unit sends a hook-flash to the fxo port it: a) does not send the hook flash to the fxo port for PSTN Hook Flash Len: Instead it uses a v
-
i am in an intro to java class and had to write a program that calculates 12 factorial. i wrote the program, and it works perfectly, but my professor says it has no output. please PLEASE explain to me why the output isnt System.out.println whatever.
-
Using flash template in dreamweaver
Hi, I am new to dream weaver. JUST NEED A QUICK HINT. I used a flash template which was available free online to make my own website - I am using dreamweaver to publish my website using the flash template i just finished filling out - used a layer in
-
Installtion from discs not working
I replaced my laptop with a desktop and I am trying to install Adobe Premiere Elements 10 from my discs, I keep getting an Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files (x86)\Adobe\Photoshop Element
-
How to do submit with parameter?
Hi, I would like to pass some data from Program A to Program B. How do i do a submit statement with parameter from Program A to pass data to Program B. How do i grab the data from Program B that was pass by Program A? Regards, Rayden