How can we fetch the gross price form billing (VF02)
Hi all,
Transaction: vf03--> press enter --> double click on item --> select conditions tab --> Here we find condition type, condition name, condition value..
Need is i want to display the 'Gross Price' for that item .
So please tell me the table where this gross price exist, and way to fetch this gross price.
Please give me the valuble answer as early as possible.
Thanks,
Ravi.
if the access sequence is there for the conditions then u need to look at teh conditions applied .
let me put it this way ..
goto table vbrk-knmv get the field knumv
now goto table konv and give
KNUMV KPOSN STUNR ZAEHK KAPPL KSCHL
this will give u the KBETR VALUE AND THE CURRENCY.
Now goto table VBRP and fetch the field fkimg
unit price for the item is fetched and then multiplied by the total avaliable qty at ur item level table .
multiply kbetr * fkimg will give u the price .
this is for one condition type.
case 2.when more than one condition type is present ..
now repeat the process for the applied condition types ..
total will add to the gross price .
cross check with ur values in the item conditions with the multiplied total of kbetr and fkimg .
regards,
vijay
best thing is just take one invoice and do the manipulation for an item ..
like fetching the value of unit price , then multiply with the item level qty to the total price .
just work out urself on the paper, cross check it then apply the logic on the tables .
one example is ..
see sometimes the condition will be applicable as 2% like ur discount
so u need to calculate it as ( unit price * 2 / 100 ) = x1
now u need to deduct this value .
Message was edited by:
vijay k
Similar Messages
-
How can I specify the path in Form Builder 9.0
Hi, everyone,
could anybody tell me how can I specify the path in Form Buidler 9.0? there is problems when I want to attach library in form builder. thanks to Kuldeep RAwat and Natalia Vidal, I know I should specify the path, but I still don't know how to specify, how can I do?
besides, when I run a form, sometime there will be a warnig:
Please acknowledge message
what's that meaning?
thank you very much for your great helpShay Shmeltzer thank you very much for your so quickly response. I have modified the file and my form can run now!
but, when I open my form, it always suggest me:
FRM-10102: Cannot attach PL/SQL library TalbotStandard. This library attachment will be lost if the module is saved.
so everytime I open my form, I must attach the library manully. I don't know the reason. do you know that or anybody else knows that? thank you very much!
have a good weekend :-) -
How can i fetch the city name from database according the state name
If you have any example of Dyamic List box.
How can i fetch the city name from database according the state name when i select the state name in a dynamic list box.
ThanksWhen i run the this code it is giving the an exception
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'com.mypackage.MyBean'.. class com.mypackage.MyBean : java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'com.mypackage.MyBean'.. class com.mypackage.MyBean : java.lang.NullPointerException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.test_jsp._jspService(test_jsp.java:95)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
root cause
javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'com.mypackage.MyBean'.. class com.mypackage.MyBean : java.lang.NullPointerException
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:406)
javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1019)
javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1046)
javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:761)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:451)
com.sun.faces.taglib.html_basic.SelectOneMenuTag.doStartTag(SelectOneMenuTag.java:487)
org.apache.jsp.test_jsp._jspx_meth_h_005fselectOneMenu_005f0(test_jsp.java:259)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGroup_005f0(test_jsp.java:219)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGrid_005f0(test_jsp.java:189)
org.apache.jsp.test_jsp._jspx_meth_h_005fform_005f0(test_jsp.java:160)
org.apache.jsp.test_jsp._jspx_meth_f_005fview_005f0(test_jsp.java:127)
org.apache.jsp.test_jsp._jspService(test_jsp.java:86)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
root cause
javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'com.mypackage.MyBean'.. class com.mypackage.MyBean : java.lang.NullPointerException
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:292)
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97)
com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:166)
com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:406)
javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1019)
javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1046)
javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:761)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:451)
com.sun.faces.taglib.html_basic.SelectOneMenuTag.doStartTag(SelectOneMenuTag.java:487)
org.apache.jsp.test_jsp._jspx_meth_h_005fselectOneMenu_005f0(test_jsp.java:259)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGroup_005f0(test_jsp.java:219)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGrid_005f0(test_jsp.java:189)
org.apache.jsp.test_jsp._jspx_meth_h_005fform_005f0(test_jsp.java:160)
org.apache.jsp.test_jsp._jspx_meth_f_005fview_005f0(test_jsp.java:127)
org.apache.jsp.test_jsp._jspService(test_jsp.java:86)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
root cause
javax.faces.FacesException: Can't instantiate class: 'com.mypackage.MyBean'.. class com.mypackage.MyBean : java.lang.NullPointerException
com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:229)
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:282)
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97)
com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:166)
com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:406)
javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1019)
javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1046)
javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:761)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:451)
com.sun.faces.taglib.html_basic.SelectOneMenuTag.doStartTag(SelectOneMenuTag.java:487)
org.apache.jsp.test_jsp._jspx_meth_h_005fselectOneMenu_005f0(test_jsp.java:259)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGroup_005f0(test_jsp.java:219)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGrid_005f0(test_jsp.java:189)
org.apache.jsp.test_jsp._jspx_meth_h_005fform_005f0(test_jsp.java:160)
org.apache.jsp.test_jsp._jspx_meth_f_005fview_005f0(test_jsp.java:127)
org.apache.jsp.test_jsp._jspService(test_jsp.java:86)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
root cause
java.lang.ClassNotFoundException: class com.mypackage.MyBean : java.lang.NullPointerException
java.beans.Beans.instantiate(Unknown Source)
java.beans.Beans.instantiate(Unknown Source)
com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:223)
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:282)
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97)
com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:166)
com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:406)
javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1019)
javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1046)
javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:761)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:451)
com.sun.faces.taglib.html_basic.SelectOneMenuTag.doStartTag(SelectOneMenuTag.java:487)
org.apache.jsp.test_jsp._jspx_meth_h_005fselectOneMenu_005f0(test_jsp.java:259)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGroup_005f0(test_jsp.java:219)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGrid_005f0(test_jsp.java:189)
org.apache.jsp.test_jsp._jspx_meth_h_005fform_005f0(test_jsp.java:160)
org.apache.jsp.test_jsp._jspx_meth_f_005fview_005f0(test_jsp.java:127)
org.apache.jsp.test_jsp._jspService(test_jsp.java:86)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
root cause
java.lang.NullPointerException
javax.faces.model.SelectItem.setValue(SelectItem.java:254)
javax.faces.model.SelectItem.<init>(SelectItem.java:138)
javax.faces.model.SelectItem.<init>(SelectItem.java:96)
com.mypackage.MyBean.fillCountryItems(MyBean.java:80)
com.mypackage.MyBean.<init>(MyBean.java:28)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
java.beans.Beans.instantiate(Unknown Source)
java.beans.Beans.instantiate(Unknown Source)
com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:223)
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:282)
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97)
com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:166)
com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:406)
javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1019)
javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1046)
javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:761)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:451)
com.sun.faces.taglib.html_basic.SelectOneMenuTag.doStartTag(SelectOneMenuTag.java:487)
org.apache.jsp.test_jsp._jspx_meth_h_005fselectOneMenu_005f0(test_jsp.java:259)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGroup_005f0(test_jsp.java:219)
org.apache.jsp.test_jsp._jspx_meth_h_005fpanelGrid_005f0(test_jsp.java:189)
org.apache.jsp.test_jsp._jspx_meth_h_005fform_005f0(test_jsp.java:160)
org.apache.jsp.test_jsp._jspx_meth_f_005fview_005f0(test_jsp.java:127)
org.apache.jsp.test_jsp._jspService(test_jsp.java:86)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) -
How can I fetch the element's attribute value by AS in a mxml file?
Sample code:
<mx:MenuBar id="myMenuBar" labelField="@label"
width="100%">
<mx:XMLList>
<menuitem label="MenuItem A">
<menuitem label="SubMenuItem A-1" enabled="false"/>
<menuitem label="SubMenuItem A-2"/>
</menuitem>
</mx:XMLList>
</mx:MenuBar>
How can I fetch the myMenuBar's width value by AS in a mxml
file. I can't find any API about it!quote:
Originally posted by:
atta707
myMenuBar.width
assuming your AS file/class has access to this component
under the same id, myMenuBar.
Yes,you are right. Width is a existed property in myMenuBar
object in AS. I ignore this case.
But now, I want to fectch attribute "label"'s value in
<menuitem label="MenuItem A">.
How can I get attribute "label"'s value if "label" is
additional attribute for the element. -
Hello ,
I will like to change my payment information but my new credit card is not American , Is Canadian .How can i change the country on my billing info? I cant seam to be able to do it .
Thanks a lot for your help ,What country are you in ? If you are in the US then you can only use the US iTune store, and you can't use a Canadian credit card with the US store - a credit card needs to have been issued by a bank in the country where you are.
If you are in Canada then remove your old credit card from your account and then update your country/region and billing address on your account e.g. by tapping on your id in Settings > iTunes & App Store on your phone and 'view Apple id' on the popup, or via the Store > View Account menu option on your computer's iTunes -
How can I change the default web form names?
I'm using the web forms in Business Catalyst, but our web site is in Norwegian, so I want the default FirstName and LastName values to be displayed in Norwegian in the error message when the field is not filled out.
At the moment the user will get an error saying "Skriv inn First Name". "Skriv inn" is correctly translated from English to Norwegian, but the value "First Name" has to be changed. The same applies for "Cell Phone Number".
Also, I don't really want two fields for the name, I want the form to have just one field that is called "Name" or "Navn" in Norwegian.
I have tried deleting the name fields and replacing them by custom fields, but then I get an error message when the form is sent saying "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page."
Also, why does some of the "-" before the error have a space, and some not? I want all the errors to be displayed with a space between the dash and the error.
The e-mail error is automatically translated into Norwegian for some reason, but it should be a dash in there, so it says "e-postadresse" and not "epostadresse".
Is there anywhere I can customize these error messages? Or at least change the values of the English fields to Norwegian so the error messages display the Norwegian field names, and not the English?That is very helpful! Thank you!
But how can I change the dashes that are shown before the error? It really annoys me that they are shown inconsistently with different spaces like this:
- Error 1
-Error 2
- Error 3
-Error 4
And is there any way to change the automatic translation from English to Norwegian? -
How can I show the chart in forms?
Dear all:
I want to create a line chart. I use the chart wizard and it is successful to create the chart. But, it can't show the chart when I run the form. How can I show the chart in form6i?
Besides, I see a document that refer to 'OG.pll'.
I can't find the OG.pll in form6i. Do I need 'OG.pll' to show the chart when I run the form? Thank you very much!!Hi Carlos,
You can try to create a code node for check which signature to print.
In global variable declare a variable ie named g_sign type TDOBNAME.
Then pass this var to name of graphics &g_sign&
please check and reply.
regards, -
How can I change the parameters in form
Hi there,
I´m creating a WD application with add and change data.
The change form it´s ok and works fine, but I want to use the same form to add data too...
But the change from has some element "read only", how can I change the parameter in this form and clean the other elements?
Thanx a lothi minoru.....
consider you are having an input field....
create an attribute of type string in the context.
bind it to the read only property of the input field.
now pass the value x to the input field, to make it read only or pass '' to make it read write.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_read_only LIKE ls_context-read_only.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
*********read_only is the attribute name bound to the read only *********property of the input field.
* get single attribute
lo_el_context->set_attribute(
name = `READ_ONLY`
value = '' ). *** you can pass x to make it read only
***** to clear the values
lo_el_context->set_attribute(
name = `INPUT_MATNR` * this clears my input field.
value = '' ).
---regards,
alex b justin -
How can we fetch the information from standard ItemDetails iView of SAP MDM
Hi Portal/MDM experts,
Is there any chance to fetch the information from standard ItemDetails iView? if it is possible please tell me the process.
If it's not, how can we customize the ItemDetails iView using java WebDynpro .
my requirement is, I have to fetch some of information from itemdetails iview and it'll be used in other WebDynpro application, means we have fetch some details from itemdetails iview and populate them in another application. Please suggest me the procedure to do this.
Regards,
Mahi.Hi Mahi,
Please follow the below steps:
1. Create the Result Set iView.
2. Select the Custom Events button and Add the Custom Event
3. Select Event Type=EPCF
4. Give Event Name=EpfcTest and Namespace=urn:com.sap.tc.webdynpro.mdm.epfc.test
5. Select the desired fields to be passed to the WebDynpro application and give the parameter name.
6. Save the iView
7. Create WebDynpro application and write the below code.
public void wdDoInit()
//@@begin wdDoInit()
namespace = "urn:com.sap.tc.webdynpro.mdm.epfc.test";
eventname = "EpfcTest";
WDPortalEventing.subscribe (namespace,eventname,wdThis.wdGetCatchValueAction());
//@@end
public void onActionCatchValue(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )
//@@begin onActionCatchValue(ServerEvent)
int marked=dataObject.indexOf("=");
String value=dataObject.substring(marked+1);
wdContext.currentContextElement().setCatchedValue(value);
//@@end
variable Data Object will contain all the Mapped fileds separated by ;. You can then use the String functions to separate the parameters.
Regards,
Jitesh Talreja -
How can I delete the image in Forms 6i?
How can I delete/clear the image item in Forms 6i which is a database item?
and I want to create a report that print the information if the record has been stored a image. so how can I do that?
Thx~In forms 6i + , Clear_Item should clear the image from the item. For earlier versions See note 139900.1 on Metalink
-
How can i get the name of form object
hi
can anybody tell me how we retrive the name of form on our webpage
i try it
document.form[0].name (i define a function in javascript for matching purpose and i want to get the form name in this function)Hi,
The following example gives you an idea. Implement according to your needs
<html>
<body>
<form name="testform">
<input type="text" name="txt" value="tesg ">
<input name="submit" type="button" value="click" onClick="this.form.txt.value=this.form.name">
</form>
</body>
</html>bye for now
sat -
How can we maintain the selling price of PAC in Material Master?
Hi ALL,
We have a material that has Unit of Measures EA and PAC (based on the EA). So if i have a selling price for the UoM EA (quantity=1 EA) = 1.00 EUR the PAC (quantity=6 EA) due to conversion factors would be PAC = 6.00 EUR.
What happens though if we decide to sell the PAC less than 6.00EUR. So the EA = 1.00 EUR and the PAC = 5,65 EUR?
Based on the Concept of Conversion Factors that we use in IS Retail this is not accepted in the system.
Any feedback would be much appreciated.
George H.You need to clean up the different objects and make it clear what is going on. Say, unit of measure is just a translation within the quantity space and should not bring about the type of product and how it is priced. When it comes to pricing you can use scale to establish quantity based discounts (say, if 1-5 is purchased the unit price is 1.0 dollar but if 6-60 is purchased the price is only0.9 as an example).Now if a PAC is six units physically packaged together then it probably would be more correct to define two separate materials in the system. This way, the price can be independently set for the PAC versus the unit EA. So, if the pack is a separate material that is priced independent and it takes conversion to bring it from PAC to EA then PAC is not a different unit of measure but rather a different product (you need to re-align your master data correctly).
-
How can I disable the memory input form for a specific site?
I would like to set firefox to never save informations that I write on transaction web sites.
I would like to set firefox to never save my credit card number.
How can a do this?Firefox should recognize the credit card number automatically and not store is as part of saved form data.
* Tools > Options > Privacy > History: "Remember search and form history"
* https://support.mozilla.com/kb/Form+autocomplete
* Autofill Forms: https://addons.mozilla.org/firefox/addon/autofill-forms/
To remove saved form data:
*Click the (empty) input field on the web page to open the drop down list
*Highlight an entry in the drop down list
*Press the Delete key (on Mac: Shift+Delete) to remove it.
*http://kb.mozillazine.org/Deleting_autocomplete_entries -
Hi how can i fetch the data from tree table
Hi i am designing a UI in which i am creating a java tree table as on sun java site http://java.sun.com/products/jfc/tsc/articles/treetable2/index.html now i have to fetch the perticular column value on the mouse click.I have implemented mouse listener and on mouse clicked event I tried :
Object obj=tableInputOutputEntities.getValueAt(tableInputOutputEntities.getSelectedRow(),tableInputOutputEntities.getSelectedColumn());
as we usually do in case on JTable but it is also throwing null exception. Again after going through forum i found some code to get the current row and current column selected values and tried with getValueAt(int,int) method but still it is throwing nulll pointer exception. Please help me out.
public void mouseClicked(MouseEvent e)
Point p = e.getPoint();
int row = treeTable.rowAtPoint(p);
int column = treeTable.columnAtPoint(p);
Object obj=treeTable.getValueAt(row,column);
System.out.println("Object value: "+obj.toString());
}Regards
NaxyHello Kevin,
The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier. -
How can I Fetch the error message from a OAF page
Hi,
A confirmation message is coming on the page,I want to catch the error message and depending on its value want to add some validation.
Is that possible to fetch the error message from the page?is it a confirmation message or an error message ?
Code in the OAF page would be raising an OAException with a message name defined in message dictionary.
you would need to look at the code to understand where this is thrown from and add your validation there.
Tapash
Maybe you are looking for
-
I just bought a new external 3TB hard drive for this task and want to keep my items seperate from hers for both our sanity. I figured that I would do a time machine back up and use that to do the move part of things. But as to setting up the new user
-
How to change the order of the tabs in featured news?
Hi, I use the 'Featured News' widget on my company website and it has 10 tabs. The newest item is at the top but when I add a new tab it goes to the bottom and I can find no way of changing the order of the tabs so that everytime I add new news I h
-
Timelapse: HQ slo-mos / speed-ups
This is (most directly) in reference to a "problem" slomo clip that Jim Simon was dealing with when doing 60i->24p conversions. This workflow and the required tools are nearly identical, so please read this thread if you have no idea what I'm talking
-
I need help reseting y secerty questions
i need help reseting my secerty questions
-
Active-Active cluster, duplicate instances?
Hi, We have a active-active cluster and we get all instances as double amount. All adapter db, ftp etc. Like we read file using ftp-adapter and it creates two instances from one file? What is problem in our environment?