Warning in form definition decimals

Hi, i'm trying to create a form that retrieves a decimal value, but when i define the form like this:
FORM get_rate USING    p_matnr  LIKE mkal-matnr
                                     p_werks  LIKE mkal-werks
                   CHANGING p_vallit TYPE p DECIMALS 6.
gives me a warning saying that "You cannot use numeric literals as field names" and pointing to the definition of "p_vallit"

Refer to some existing types of the that definition
Like:
REPORT  ZTEST_NP.
data: p_refer type p decimals 6.
types: begin of ty_refer,
       refer type p decimals 6,
       end of ty_refer.
perform test using p_refer.
FORM test  USING    P_in type ty_refer-refer.
ENDFORM.                    " test
Regards,
Naimesh Patel

Similar Messages

  • Error while creating Data Form Definition report from Planning

    Hi All,
    Working on Planning 11.1.2 (x64)
    I tried to generate a Data Form Definition report from Planning and found that I get an error if I select the option "Include member selection list". By going a bit deeper, I realised that it errors for some forms while works fine for others.
    I have tried to find any differences in setting or selection between the forms but haven't been able to see anything that struck me as a reason for error.
    Help please.
    Thanks,
    Abhishek

    The Planning sysout log says:
    [120910_091125126][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error:
    <Line 1, Column 1068>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1068>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 1075>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1075>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 1082>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1082>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 1089>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1089>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 1096>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1096>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 4586>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4586>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 4593>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4593>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 4600>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4600>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 4607>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4607>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 4614>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4614>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 12215>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12215>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 12222>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12222>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 12229>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12229>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 12236>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12236>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 12243>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12243>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 18528>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18528>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 18535>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18535>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 18542>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18542>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 18549>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18549>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 18556>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18556>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 39824>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39824>: XML-20250: (Fatal Error) Missing entity 'Scenario'.
    <Line 1, Column 39905>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39905>: XML-20250: (Fatal Error) Missing entity 'PriorYear'.
    <Line 1, Column 39985>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39985>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 39992>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39992>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 39999>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39999>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 40006>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 40006>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 40013>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 40013>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 41613>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41613>: XML-20250: (Fatal Error) Missing entity 'CommentYearTarget'.
    <Line 1, Column 41702>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41702>: XML-20250: (Fatal Error) Missing entity 'CommentYearTarget'.
    <Line 1, Column 41791>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41791>: XML-20250: (Fatal Error) Missing entity 'CommentYearTarget'.
    <Line 1, Column 41880>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41880>: XML-20250: (Fatal Error) Missing entity 'CommentYearTarget'.
    <Line 1, Column 41960>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41960>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 41967>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41967>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 41974>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41974>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 41981>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41981>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 41988>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41988>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 46124>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 46124>: XML-20250: (Fatal Error) Missing entity 'CostCentre'.
    <Line 1, Column 47563>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47563>: XML-20250: (Fatal Error) Missing entity 'Scenario'.
    <Line 1, Column 47644>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47644>: XML-20250: (Fatal Error) Missing entity 'PriorYear'.
    <Line 1, Column 47724>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47724>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 47731>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47731>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 47738>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47738>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 47745>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47745>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 47752>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47752>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 49431>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49431>: XML-20250: (Fatal Error) Missing entity 'Scenario'.
    <Line 1, Column 49512>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49512>: XML-20250: (Fatal Error) Missing entity 'PriorYear'.
    <Line 1, Column 49592>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49592>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 49599>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49599>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 49606>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49606>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 49613>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49613>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    Most of these are Substitution Variables. I dont know why it is showing a few lines for "Scenario" as well.
    The Planning syserr log says
    java.net.SocketException: socket write error: Connection reset by peer.
         at jrockit.net.SocketNativeIO.writeBytesPinned(Native Method)
         at jrockit.net.SocketNativeIO.socketWrite(SocketNativeIO.java:73)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:193)
         at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:443)
         at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1291)
         at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:260)
         at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:108)
         at weblogic.servlet.internal.ServletResponseImpl.sendRedirect(ServletResponseImpl.java:907)
         at HspValidatingHttpResponse.sendRedirect(Unknown Source)
         at jsp_servlet.__planninglogoff._jspService(__planninglogoff.java:1411)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at HspValidationFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    oracle.xml.parser.v2.XMLParseException: Expected ';'.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:335)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:318)
         at oracle.apps.xdo.common.xml.XSLTClassic.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at HspReportingServlet.Handle(Unknown Source)
         at HspHttpServlet.initialize(Unknown Source)
         at HspHttpServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at HspValidationFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Would be great if you could interpret these log and let me know how I can resolve this.
    Cheers

  • Disable Warning on FORM Action tag?

    The following HTML is triggering warnings in my test project in Workshop:
    <FORM action="/supportApp/supportDispatcher" method="POST">
    Here's the warning message..."The file "/supportApp/supportDispatcher" cannot be found."
    In this case, the warning is not-applicable because "supportDispatcher" is mapped to a Servlet in my web.xml deployment descriptors. So its a valid HTML Form action target.
    How can I disable this warning in BEA Workshop (BEA Workshop JSP Editor 3.0)

    Can you verify the following settings?
    - Have you configured the context-root "supportApp" in Workshop?
    Project > Properties > Workshop Web Application > Folders - Context Root
    - Does the mapping "supportDispatcher" within url-pattern start with "/"
    <servlet-mapping>
              <servlet-name>YOURSERVLETNAME</servlet-name>
              <url-pattern>/supportDispatcher</url-pattern>
         </servlet-mapping>
    - By correcting these configuration the warning should disappear
    If you still get the warning in the JSP page, then exercise a simple "Edit-Save" step
    If the issue is persistent, please send the following files to [email protected]
    - web.xml
    - the JSP page
    - .m7project file from project folder
    Message was edited by:
    ram.v

  • Visual tool for form definition

    Dear Friends,
    I generated an xml form defition file using the SBO Development Tools "SAP BO UDO Form Generator" and the xml file was succesfully generated.
    Now I would like to modify the form: is there any visual tool that can be used?
    I tried screen painter, but it opens only .srf files, not xml.
    Thank you for the attention
    Massimo

    HI,
    The screen painter will open the XML files also, just in the browse file dialog type *.xml and select ur XML file and modify.
    Hope it helps,
    Vasu Natari.

  • Error creating Form Column Properties

    Hi all. I got a problem creating Form Additional Column Properties through OIM API.
    The point is next:
    I got an instance of Oracle Identity Manager 11g R1 (11.1.1.5)
    I'm making a tool for some OIM objects automatic generations, in particular it should create OIM Forms Definitions.
    It creates a form with some columns and one of columns has *"ITResourceLookup" Type*. In order to make form active this column should have propertie "Type" set. It points to ITResource Definitions.
    The trouble is that API method don't know such type of propertie 'Type'.
    Here is the sample of code i'm using
    tcFormDefinitionOperationsIntf formServ = oimClient.getService(tcFormInstanceOperationsIntf.class);
    // creating main form
    Map map = new HashMap();
    map.put("SDK_NAME","SOMENAME");
    map.put("SDK_DESCRIPTION", "Form Description");
    map.put("SDK_FORM_DESCRIPTION", "Form Description");
    map.put("SDK_TYPE","P");
    formServ.createForm(map);
    //finding created form def key
    map.clear();
    map.put("Structure Utility.Table Name", "UD_SOMENAME");
    tcResultSet forms = formServ.findForms(map);
    if (forms.isEmpty()){
    log.warn("Some troubles :( Can't find created form SOMENAME");
    return;
    forms.goToRow(0);
    long formDefKey = forms.getLongValue("Structure Utility.Key");
    int formVersion = forms.getIntValue("Structure Utility.Latest Version");
    int i=1;
    for (String mainAttr : connSchema.getAttributes()) {
    formServ.addFormField(formDefKey, formVersion, mainAttr.replaceAll("__KEY__", ""), "TextField", "String", 64, i, "", "0", false);
    i++;
    //adding it resource field
    long itResFieldKey = formServ.addFormField(formDefKey, formVersion, "Server", "ITResourceLookupField", "long", 0, i, "", "0", false);
    formServ.addFormFieldProperty(itResFieldKey, "Required", "true");
    formServ.addFormFieldProperty(itResFieldKey, "Type", serverDefKey.toString()); *<----------------------------------------------------- Here we have exception*
    formServ.activateFormVersion(formDefKey, formVersion);
    The exception is:
    ERROR,07 ноя 2012 16:16:21,252,[ru.iserb.icfconnectorgenerator.OIMObjectsGenerator],tcPropertyNotFoundException
    Thor.API.Exceptions.tcPropertyNotFoundException
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_1035_WLStub.addFormFieldPropertyx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy4.addFormFieldPropertyx(Unknown Source)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfDelegate.addFormFieldProperty(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
         at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
         at $Proxy5.addFormFieldProperty(Unknown Source)
         at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.createForms(OIMObjectsGenerator.java:400)
         at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.generate(OIMObjectsGenerator.java:181)
         at ru.iserb.icfconnectorgenerator.mainFrame.btn_GenOIMObjectsActionPerformed(mainFrame.java:718)
         at ru.iserb.icfconnectorgenerator.mainFrame.access$1200(mainFrame.java:19)
         at ru.iserb.icfconnectorgenerator.mainFrame$13.actionPerformed(mainFrame.java:215)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6288)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6053)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4651)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
         at java.awt.EventQueue.access$000(EventQueue.java:84)
         at java.awt.EventQueue$1.run(EventQueue.java:602)
         at java.awt.EventQueue$1.run(EventQueue.java:600)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:616)
         at java.awt.EventQueue$2.run(EventQueue.java:614)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: Thor.API.Exceptions.tcPropertyNotFoundException
         at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.addFormFieldProperty(tcFormDefinitionOperationsBean.java:3432)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB.addFormFieldPropertyx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy460.addFormFieldPropertyx(Unknown Source)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.addFormFieldPropertyx(Unknown Source)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:523)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    The propertie "Required" is set to True, so no troubles here. But propertie "Type" is not accepted by server.
    If we comment the line with setting propertie 'type' we cannot activate form, it is needed to be set. If we try, we got next exception:
    ERROR,07 ноя 2012 16:32:15,109,[ru.iserb.icfconnectorgenerator.OIMObjectsGenerator],tcAPIException
    Thor.API.Exceptions.tcAPIException: Required properties have NOT been set for the following field(s) : Required properties have NOT been set for the following field(s)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_1035_WLStub.activateFormVersionx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy4.activateFormVersionx(Unknown Source)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfDelegate.activateFormVersion(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
         at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
         at $Proxy5.activateFormVersion(Unknown Source)
         at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.createForms(OIMObjectsGenerator.java:436)
         at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.generate(OIMObjectsGenerator.java:181)
         at ru.iserb.icfconnectorgenerator.mainFrame.btn_GenOIMObjectsActionPerformed(mainFrame.java:718)
         at ru.iserb.icfconnectorgenerator.mainFrame.access$1200(mainFrame.java:19)
         at ru.iserb.icfconnectorgenerator.mainFrame$13.actionPerformed(mainFrame.java:215)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6288)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6053)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4651)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
         at java.awt.EventQueue.access$000(EventQueue.java:84)
         at java.awt.EventQueue$1.run(EventQueue.java:602)
         at java.awt.EventQueue$1.run(EventQueue.java:600)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:616)
         at java.awt.EventQueue$2.run(EventQueue.java:614)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: Thor.API.Exceptions.tcAPIException: Required properties have NOT been set for the following field(s) : Required properties have NOT been set for the following field(s)
         at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.activateFormVersionData(tcFormDefinitionOperationsBean.java:213)
         at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.activateFormVersion(tcFormDefinitionOperationsBean.java:130)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB.activateFormVersionx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy460.activateFormVersionx(Unknown Source)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.activateFormVersionx(Unknown Source)
         at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:523)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Desing console can set such propertie. But how should i set it through API?
    Does anyone have ideas how should i solve this problem?

    Hi,
    regarding the SQL error, my suggestion is to find a way to replicate it on demand (for example if it happens always when you update a certain field) and enable tracing, in this way you can get more detailed information on the error (when you enable the trace
    CRM will slow down and the log is big, for this is better to enable it just for logging when you have the error)
    hope it helps
    My blog: www.crmanswers.net -
    Rockstar 365 Profile

  • Is there a way to create reusable HTML Forms that can be used on multiple pages?

    I'm trying to understand the recommended approach to managing 10 HTML forms that will be reused on many different pages.  I want to be able to modify the form definition once and have the change propogate.

    Is your requirement that authors be able to change the form definition, or should form definition be controlled by developers?
    In the case of authors being able to change the form definition then I would say best practice would be to create a page that holds the form definition (using whatever components work for you - either the out of the box form components or something custom). Then use the reference component to point the definition in all the other locations you want the form to appear. One thing to note is if you are using dispatcher for caching you need to make sure you strategy for cache flushing accomadates this approach.
    In the case of developers controlling the form definition you could crate a component for each form, and then simly drag that component onto the pages that require the form. In this case your would control all the form label and description elements in the localization file.

  • The custom form cannot be opened. outlook will use an outlook form instead

    Hi,
    I was referred to this forum by the Outlook team who thought you may be able to help.
    I am getting the above error periodically on my Outlook 2010 at work.
    I have a few email accounts defined on this and there appears to be no particular event that triggers the error message which regularly occurs every 10 to 15 minutes.
    I have looked at other posts for this which suggest clearing the cache and emptying the FORMS folder which I have done but the problem just keeps reoccuring as usual.
    The same file keeps appearing in the Forms folder called OUTLOOK.GL1 where GL1 is the name I gave to the email account that is on an MS Exchange server.
    The file contains only 4 text charachters.
    Now I havent added any customs forms at all, and certainly not in the last few days since this error has been appearing. 
    I have no idea where to look for any form definitions or where any forms might be required.
    Can anyone offer some suggestions as to how I can go about solving this as clicking ok to this error message 6 times every 10 minutes is driving me nuts.
    Thanks, George.

    Hi George,
    The lastest is with this link: http://www.outlookcode.com/article.aspx?id=64
    There are a few options to try when clearing the cache doesn't work.
    Regards,
    Matthijs

  • Auto-populate of SHELL_shellName_shell Upper form DE only functions in one single-instance project shell.  The DE in the BP Upper Form needs to auto-populate in two separate single-instance shells.  How can I get this DE to autopopulate in both?

      The Unifier environment
    contains two single-instance project shells, INF and PBS, and two multiple-instance child project shells, INFS and
    PB.    There is a single instance, non-workflow
    business process, ‘Project Information’ that contains a data element in the
    upper form definition, Project ID.  The Project ID is set to auto-populate from the multi-instance “INFS”
    project shell attribute, which is populated manually. 
    Issue:  The auto-populate functionality for the
    Project ID ‘Shell_shellName_shell’ data element within the single-instance
    Project Information BP only functions within one of the shells, either
    INFS or PB, but not both.  The INF and INFS shells are currently deployed
    to production, PB and PBS shell are not.
    It is critical that Project ID ‘Shell_shellname_shell’ data element is populated correctly in the
    Project Information upper form of both shells, INFS and PB,
    because that data element is referenced by multiple business processes and
    integrations. 
    The attribute form definitions for both single and multiple instance project shells are identical.  The Project ID utilizes the same data
    element ‘SHELL_shellName_shell’ as is defined in both shell attribute forms
    (INFS and PB). 
    The data definition source is a Unifier system-level variable, SYS Shell
    Name (String, 128, Text Box)
    Potential Solutions:
    1. Create a Project ID DE of another data type which can
    be successfully auto-populated from either shell.  Drawback: all BPs and integrations which
    reference Shell_Shellname_shell will need to be rewritten.
    2. Investigate converting the Project Information single-instance
    to a  multi-instance BP, and create a
    separate instance for each single-instance shell type.  Same Drawback as Option #1, but with additional
    rework.  Most likely Project Information
    would have to be recreated as a new BP.
    Not sure that this option would even work.
    3. Create a separate Project Information BP for PB.  Drawback:  Two separate BPs for Project Information would
    need to be created.  All existing BPs
    refer to Project Information, so this option could potentially invalidate the
    ability to use the existing BPs in the PB shell.

    Was it really necessary to post the whole API description?!?
    Locale[] locales = Locale.ENGLISH();ENGLISH is not a method in class Locale, so do not add the braces "( );".
    Also, the constant ENGLISH is not an array, but just a single Locale object.
    You didn't say what your problem was. What do you want to achieve with your program and what is it that you don't understand?

  • My form showing an alert after prcessin the bill report

    I m sending my code and i want to remove message and run the biill process easly bill is not processing and show msg--: bill already processed
    my code is
    declare
    cursor c_agcd is
         select distinct bilagcd,nvl(trde_disc,0),agty,fedn,f_typ from cr_agmast
         where unit=:block3.unit and bilagcd is not null
         and bilagcd in( select distinct oldagcd from cr_dbksup
         where unit=:block3.unit and publ=:block3.ppubl and supdate between :frdt and :todt and rsup<>0
         and BTYP='Y' ---and agty=:block3.agty or :block3.agty is null)
         and (oldagcd =:block3.pagcd or :block3.pagcd is null))
         order by cr_agmast.f_typ desc,cr_agmast.bilagcd;
         sup_rec c_agcd%rowtype;
         v_typ varchar2(5);
         vagty varchar2(5);
         vagcd varchar2(15);
         vtrde_disc number(7,2):=0;
         v_rec_cnt number:=0;
    cursor c_supply is
    select sum(rsup),oldagcd ,supdate,sor,publ,comm from cr_dbksup
         where unit=:block3.unit and publ=:block3.ppubl and oldagcd is not null
         and oldagcd = vagcd and supdate between :frdt and :todt and rsup<>0
         group by oldagcd,supdate,sor,publ,comm
         order by supdate;
         ppubl      varchar2(6);
         vedtn      varchar2(5);
         tot_sup                     number(8)          :=0;
         rate                               number(7,2)     :=0;
         vcomm                          number(7,2)     :=0;
         gross_amt                number(12,2):=0;
         v_gross_amt           number(12,2):=0;
         v_disc_amount      number(12,2):=0;
         net_amt                     number(12,2):=0;
         disc_amount           number(12,2):=0;
         bagcd varchar2(20);
         billno varchar2(20);
         pdate date;
         pcopy number(10):=0;
    /*cursor      c_rate is
         select distinct amtr from cr_rate where edtn =vedtn;*/
    /*     cursor c_rate is
    select distinct sor from cr_dbksup where unit=:block3.unit and
              edtn=sup_rec.fedn and glcode = sup_rec.glcode;
         cn number(5);*/
         cursor c_rate is
         select distinct sor from cr_dbksup
              where unit=:block3.unit and publ=:block3.ppubl and
                             edtn=sup_rec.fedn and oldagcd = sup_rec.bilagcd;
         cn number(5);
    cursor c_dt is
         select distinct fr_date FROM fin.freeze_type
              where divn=:block3.unit AND fr_typ='SCR';
    v_fdt date;
    begin
         select count(*) into v_rec_cnt from cr_bill
              where unit=:block3.unit and publ=:block3.ppubl and bldate = :block3.bill_dt;
         if nvl(v_rec_cnt,0)>0 then
              message('Bill Already processed for this Publication '||:block3.ppubl);
              message('Bill Already processed for this Publication '||:block3.ppubl);
              raise form_trigger_failure;
         end if;
         :system.message_level :=25;
         -----check validationfor freeze Voucher
         open c_dt;
         fetch c_dt into v_fdt;
         close c_dt;
         if v_fdt>:block3.bill_dt then
              message('Freeze date '||v_fdt||' Not allowed to Enter/Update/Delete Data of Freeze Date ');
              message('Freeze date '||v_fdt||' Not allowed to Enter/Update/Delete Data of Freeze Date ');
              raise form_trigger_failure;
         end if;
         --message('i m here ');message('i m here ');
         open c_agcd;
         loop
              fetch c_agcd into vagcd,vtrde_disc,vagty,vedtn,v_typ;
              exit when c_agcd%notfound;
              pcopy                     :=0;
              v_disc_amount     :=0;
              gross_amt           :=0;
              disc_amount      :=0;
              net_amt                :=0;
              --message('i m here c_supply');message('i m here c_supply');
              open c_supply;
              loop
                   fetch c_supply into tot_sup,bagcd,pdate,rate,ppubl,vcomm;
                   exit when c_supply%notfound;
                   v_gross_amt           :=      tot_sup*rate;
                   v_disc_amount      := v_gross_amt*vcomm/100;
                   pcopy                          :=     pcopy                    +     tot_sup;
                   gross_amt                :=      gross_amt      + v_gross_amt;
                   disc_amount               :=     disc_amount     +     v_disc_amount;
                   tot_sup     :=0; rate :=0;vcomm:=0; v_disc_amount     :=0;
              end loop;
              net_amt           := round((gross_amt - disc_amount),0);
              select nvl(count(1),0) into cn from cr_bill
              where unit=:block3.unit and publ=:block3.ppubl
              and agcd =bagcd and bldate = :block3.bill_dt;
              if nvl(cn,0) = 0 then
                   billno := bill();
              end if;
              synchronize;
              :block3.dagcd := bagcd ;
              :block3.amount:= net_amt;
              synchronize;
              --message('i m here net_amt '||bagcd||' , '||billno);message('i m here net_amt '||bagcd||' , '||billno);
              if net_amt is not null and net_amt >0 then
                        update cr_bill set totblamt = gross_amt , copr =pcopy, amtr = net_amt, comm_per =vtrde_disc, comm_amt = disc_amount,
                                                                     frdt =:block3.frdt , todt = :block3.todt, agty =vagty ,surt =rate,doctyp='SCR'
                        where unit=:block3.unit and publ=:block3.ppubl and agcd = bagcd and bldate = :block3.bill_dt; --and edtn = vedtn;
                   if sql%notfound then
                        insert into cr_bill(unit,bldate,bill,agcd,glcode,totblamt,publ,edtn,copr,amtr,comm_per,comm_amt,frdt,todt,agty,surt,doctyp)
                        values(:block3.unit,:block3.bill_dt,billno,bagcd,bagcd,gross_amt,ppubl,vedtn,pcopy,net_amt,vtrde_disc,disc_amount,
                        :block3.frdt,:block3.todt,vagty,rate,'SCR');
                   end if;
                   update cr_outmast set amount =net_amt,balance = net_amt
                        where unit=:block3.unit and doctyp='BIL' and publ=:block3.ppubl and agcd =bagcd and billdt = :block3.bill_dt;--and edtn =vedtn;
                   if sql%notfound then
                        insert into cr_outmast(unit,agcd,glcode,doctyp,billno,billdt,voucherno,voucherdt,publ,amount,balance,edtn)
                        values(:block3.unit,bagcd,bagcd,'BIL',billno,:block3.bill_dt,billno,:block3.bill_dt,ppubl,net_amt,net_amt,vedtn);
                   end if;
              end if; -- for o balance entry
              close c_supply;
         end loop;
         close c_agcd;
         commit;     
         forms_ddl('commit');
         message('Bill has been Processed');
         message('Bill has been Processed');
         --set_item_property('process',visible,property_false);
         go_item('exit');
    end;

    The data form should show exactly what is in essbase so if you query essbase with the Excel Add-in you should see the same number.
    Seems like either your data is not what you expect it to be or the form definition is incorrect.
    Regards,
    -John

  • Adding a populated field to an incident form

    Hi,
    hopefully someone here can help me out, I'm looking to add a field to the Incidents form in SCSM 2012, specifically a 'Location' dropdown with a few of our sites already in it and a 'room number' text box.
    I'm having trouble getting started with this customisation and the more I read TechNet articles and blog posts the more difficult it seems.
    Does anyone have any pointers on how to achieve this?
    Thanks.

    So there are two things that you need to do to do this. First: add a place to store this information. Second: add controls to the form so those places are exposed for editing. 
    The first part is more complicated, but not hard. Let's start with some design choices:
    i'm assuming these two values are properties of the affected user, rather then the incident? the distinction here is if the location and room number are the location of the user having the issue, or a unique location for this issue. imagine a printer problem,
    and bob calls this problem in. should the location field be linked to Bob's office so the analyst can find bob in the building, or should it be blank until bob specifies the room number that the printer is in? 
    If you want user properties, then the first step would be to
    extend the user class (specifically, System.Domain.User) using
    the SCSM authoring tool, by adding a ENUM or list property for the location, and a text property for the room number. you'll want to
    save and seal this MP, then close the unsealed version and open the sealed version before continuing. If you want the Incident properties, you'll do the same process, only to the incident
    class (System.WorkItem.Incident) instead oft he user class. 
    In regards to the second part, customizing the form: start by creating a second MP to store the form. you'll want to keep the class and form definitions separate, due to some property reference issues if they are in the same MPs. If the location is linked
    to the user, then you'll want to follow
    this example to create read only fields linked to the user in the new form. If Not, then you'll want to
    customize the incident form, and
    add a text box and
    list control to link your form properties. Either way, save and seal the form MPs and import them both into Service Manager. 
    Open the forms and check your work. you'll note the dropdown has no entries. you'll want to create a third MP, this time inside SCSM (not the authoring tool) to store the List entries. find the list you created in the authoring tool and
    add some entries. 
    At this point, if you are just storing the information on the incident, then you're done. if you are storing the data on the users, then you'll want to populate this information. you can do this with some automation, like powershell or orchestrator, to get
    this data populated from it's original source, say the HR system that assigns offices, or you can customize the user form to expose these properties so your analyst can start populating this data. 

  • Using FORM ENDFORM in ABAP OO

    Hi,
    I wrote the code like this .I am trying to use FORM which is defined in Report programm,But I am always getting error
    message "Error at parameter 2 ":what change should i do for this. earlier I used the same code  in ABAP ( not ABAP OO) it was working.
    First Programm :
    DATA : l_t_OTIFARR TYPE STANDARD TABLE OF /bic/aYO_SID0100,
                w_table_to_be_read(30) type c.
    w_table_to_be_read = '/bic/aYO_SID0100'.
      perform READ_ODS in program YBW1_OTIF__SI_INCLUDES
        tables SOURCE_PACKAGE
               l_t_OTIFARR
               using w_table_to_be_read.
    ****** REPPORT with FORM Definition
    REPORT  YBW1_OTIF__SI_INCLUDES.
    FORM READ_ODS
         TABLES SOURCE_PACKAGE structure /BIC/CS8YO_IGORD
                l_t_ODS type TABLE
          USING TABLE_TO_BE_READ TYPE C.
      refresh l_t_ODS.
      select * from (TABLE_TO_BE_READ) into table l_t_ODS
         for all entries in SOURCE_PACKAGE
       where /bic/ynv_order = SOURCE_PACKAGE-/bic/ynv_order.
    ENDFORM.
    Titled modified and code tags added by: kishan P on Oct 22, 2010 10:47 AM

    I was wrong about the parameters not working. I didn't spot the TYPE keyword.
    I've tested the idea that it's an OO problem, and still can't see that it is. With the following, I get no problem.
    data : l_t_otifarr type standard table of t100,
                w_table_to_be_read(30) type c.
    data: source_package type standard table of t000.
    *       CLASS tst DEFINITION
    class tst definition.
      public section.
        class-methods: main.
    endclass.                    "tst DEFINITION
    *       CLASS tst IMPLEMENTATION
    class tst implementation.
      method main.
        select * from t100 up to 10 rows into table l_t_otifarr.
        w_table_to_be_read = 'T100'.
        perform read_ods in program ymabitest1
          tables source_package
                 l_t_otifarr
                 using w_table_to_be_read.
      endmethod.                    "main
    endclass.                    "tst IMPLEMENTATION
    start-of-selection.
      tst=>main( ).
    YMABITEST1.
    *&      Form  READ_ODS
    *       text
    *      -->SOURCE_PACKAGE    text
    *      -->L_T_ODS           text
    *      -->TABLE_TO_BE_READ  text
    form read_ods
         tables source_package structure t100
                l_t_ods type table
          using table_to_be_read type c.
    endform.
    Edited by: Matt on Oct 22, 2010 4:57 PM

  • How to calculate the size of web forms in hyperion planning?

    Hi Experts,
    I am trying to calculate the size of planning forms in Hyperion smart view., but i am unable to find out the way to calculate.
    Can you pls explain how to calculate the size of web form in Smart view?
    --- Srini.

    Hi Srini,
    First, here is what Oracle says:
    Data Form Size Estimation:
    To get a rough estimate of data form size, open the data form and select File > Save As from the browser. The size of the .HTML file is the portion of the data form that changes based on grid size. The .JS files remain the same size and can be cached, depending on browser settings. Information such as data form definitions, pages, and .gif files are not compressed when data forms are opened and sent to the Web browser.
    I have not been able to find out using their method.
    In any case, you can find out the size of grid by using below
    1. Right click on the form grid and click "View source"
    2. Save the source file as "Example.html"
    3. Right click the saved file and click "Properties"
    4. The Form size whould be same as that of file..
    Let me know if it helps.
    Cheers
    RS

  • PU19 Form Problem Caused By Diff between 470 & ECC 6.0

    In 470 when you you generated the SUI Wage Reporting form/report it came out in a regular report format generated by an ABAP Write statement.  This version was easy to save as a TXT file and then use EXCEL to read the TXT file and massage it.  In ECC 6.0 this report is now in PDF format and my user wants the ability to do the same thing, but so far I haven't found a solution.  You can save a PDF file as TXT, but you get all the formatting from your PDF and it would require way to much work to try and reformat it into something useable. You can still click on SYSTEM-LIST-SAVE, but all the choices are greyed out.  Does anybody have any idea on how to solve this problem?

    I'm not sure if you still need this or if your user has gotten used to the new way of doing things, but if you extend the validity date of the form you used to output in table T5UX7, you should be able to produce the older version of the wage list.  You can get to the table via the IMG: Payroll > Payroll USA > Tax Reporter > Tax Form Definition > PDF Based Forms > Define Validity Dates and Form Parameters.
    Something else that we've done in the past for our users was to download the TemSe file into Excel and create a macro to parse and filter on the EE detail records.
    Hope this helps!
    Ann

  • Webdynpro abap integration with interactive adobe forms

    Hi  Experts,
    Am Facing problem printpreview  adobe in portal and it developed by webdynpro abap interactive form there am getting warning message
                Warning  : This form is not supported with current verision of Acrobat or Adobe reader
                                  Upgrade to Latest Verision For full Support.
    And it is display half letters in print preview.
    Regards,
    Sakthi.

    Dear Thomas,
    Here there are two server  one is developpment and quality.In development it is working fine and quality it is creating problem.If open in any system we are facing same problem.My dout is any server specific
    adobe verision is in portal.
    Thanks for Replying Good luck.
    Regards,
    Sakthivel.S

  • Form XSL Text E-Mail?

    I have been searching online to determine if I can use Adobe Forms for my application. For various reasons related to existing downstream processing, I need a flow as follows:
    - User downloads form from the web.
    - User enters data into a the form offline.
    - User presses "submit" and the form data is sent via the user's e-mail client to a static e-mail address contained in the form definition.
    All of the above seems possible with Adobe Forms. The complication is that I need the form data to arrive at the given e-mail inbox in a specific text format, not in XML. I can write an XSLT Stylesheet to transform the XML into the required text format, and I see that there is some XSL support in the Adobe Forms system. It wasn't clear
    A - where in the process the XSL is applied or
    B - if it is acceptable for the XSL output type to be set to text.
    If push comes to sove, I can apply the XSL downstream, i.e., I can send XML via e-mail and then apply the transformation. Other circumstances I won't describe here make that a PITA and so I'd rather do the transform earlier in the process.
    Thanks in advance for any help or advice.

    When comparing strings, you should use the .equalsMethod.
    You should also check for null in most cases.
    if (escalationType != null && escalationType.equals("Tipo1"))
    // an equivalent but shorter way of doing this...
    if ("Tipo1".equals(escalationType))

Maybe you are looking for

  • J_security_check  causing 404 Error

    <b>Hello All<BR> I am using Weblogic 8.1 SP3, I am trying to use the Active Directory as a means for Authentication via a FORM based login-module. <BR> I have followed the directions in the Weblogic Security documentation but I am getting a 404 Error

  • Apple Watch Pre Order Ship Date?

    I pre-ordered the apple watch at 12:05 am PST. My delivery date says May 13th-May 27th...even though I thought it was supposed to arrive on April 24th. I am actually moving May 15th, so I'm not sure if I should change my shipping location? Any sugges

  • Avid File Import

    I've been working with final cut for some time but I can't figure this one out since it's the first time I've imported an Avid Codec file. I have the Avid Codec for Quicktime so what's working fine. But the only thing is when I put my video on the ti

  • Clear procedure to move back to Mountain Lion from Maverick

    Hi, I had a question related to the purchasing of Moutain Lion on apple store. Having some trouble with many of my device (for egs 3G key) which are not upgraded (software) to face Maverick, I bought online a version of Moutain Lion to downgrade to t

  • How do I Turn off Autocorrect?

    I updated Skype to 6.22.0.107 and I was VERY upset when I found out that it had autocorrect!I have already tried going to my PC settings and turning "correct misspelled words" to "off". How can I stop the autocorrect? Please help! it's very annoying!