How to add validation to a EO field

Hi,
I have the expenditureItemDate from PoDistributionMergeEO. I want to add a validation to this field in the setAttribute method. What are the steps that I should follow. Please let me know.
Thanks,
HC

Below is the exception message.
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NoClassDefFoundError, msg=null
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:872)
     at OAErrorPage.jspService(_OAErrorPage.java:221)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
     at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:871)
     at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
     at OA.jspService(_OA.java:256)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
     at OA.jspService(_OA.java:221)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
     at RF.jspService(_RF.java:225)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
     at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
java.lang.NoClassDefFoundError
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:242)
     at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
     at oracle.jbo.common.JBOClass.forName(JBOClass.java:164)
     at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:177)
     at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2450)
     at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2275)
     at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:522)
     at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:547)
     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:425)
     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)
     at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
     at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:339)
     at oracle.jbo.server.ViewDefImpl.doAddEntityUsage(ViewDefImpl.java:2914)
     at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2983)
     at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2170)
     at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1983)
     at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:526)
     at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:547)
     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:425)
     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
     at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)
     at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
     at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:394)
     at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
     at oracle.jbo.server.ApplicationModuleImpl.doFindViewObject(ApplicationModuleImpl.java:2702)
     at oracle.jbo.server.ApplicationModuleImpl.findViewObject(ApplicationModuleImpl.java:2840)
     at oracle.apps.po.document.server.DocumentAMImpl.getPoHeaderMergeVO(DocumentAMImpl.java:90)
     at oracle.apps.po.document.server.DocumentAMImpl.getHeaderRow(DocumentAMImpl.java:149)
     at oracle.apps.po.document.server.PoControlActionsSvrCmd.isConvertCurrencyValid(PoControlActionsSvrCmd.java:2988)
     at oracle.apps.po.document.server.PoControlActionsSvrCmd.isValidAction(PoControlActionsSvrCmd.java:1478)
     at oracle.apps.po.document.server.PoControlActionsSvrCmd.initControlActionsList(PoControlActionsSvrCmd.java:976)
     at oracle.apps.po.document.server.PoHeadersSummaryVOImpl.executeQuery(PoHeadersSummaryVOImpl.java:69)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.initQuery(OAViewObjectImpl.java:753)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2332)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2304)
     at oracle.apps.fnd.framework.webui.OAQueryHelper.handleCustomizeGoButtonAfterController(OAQueryHelper.java:2607)
     at oracle.apps.fnd.framework.webui.OAQueryHelper.setCurrentCustomization(OAQueryHelper.java:4971)
     at oracle.apps.fnd.framework.webui.OAQueryHelper.prepareCustomizationPickListOnProcessRequest(OAQueryHelper.java:6265)
     at oracle.apps.fnd.framework.webui.OAQueryHelper.renderCustomize(OAQueryHelper.java:2000)
     at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequestAfterController(OAQueryHelper.java:633)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:654)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequest(OAQueryHelper.java:555)
     at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.OASubTabLayoutHelper.processRequest(OASubTabLayoutHelper.java:433)
     at oracle.apps.fnd.framework.webui.beans.layout.OASubTabLayoutBean.processRequest(OASubTabLayoutBean.java:465)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
     at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2497)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1893)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:537)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:425)
     at OA.jspService(_OA.java:212)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
     at OA.jspService(_OA.java:221)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
     at RF.jspService(_RF.java:225)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
     at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)

Similar Messages

  • How to add Valid values in user field?

    Hi,
    I'm trying to add a user field (valid values) in my user table, but i don't know what's wrong with my code.
    It creates the field, but not the field that i want.
    oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                oUserFieldsMD.TableName = sTableName
                oUserFieldsMD.Name = sFieldName
                oUserFieldsMD.Description = sDescription
                oUserFieldsMD.Type = FieldType
                oUserFieldsMD.Size = iSize
                'Valid Values 1
                oUserFieldsMD.ValidValues.Value = "D"
                oUserFieldsMD.ValidValues.Description = "Disable"
                oUserFieldsMD.ValidValues.Add()
                oUserFieldsMD.DefaultValue = "D"
                'Valid Values 2
                oUserFieldsMD.ValidValues.Value = "A"
                oUserFieldsMD.ValidValues.Description = "Active"
                oUserFieldsMD.ValidValues.Add()
                Dim i As Integer
                Dim err As String
                i = oUserFieldsMD.Add()
                If i <> 0 Then
                    oCompany.GetLastError(i, err)
                    SBO_Application.MessageBox(i & "; " & err)
                End If
    Bruce

    Hi Bruce
    It looks good, just take out the second one "UserFieldsMD.ValidValues.Add()". Leave the first one. Just take out the second one after oUserFieldsMD.ValidValues.Description = "Active"
    Hope this helps

  • How to Add/Concatenate to a text field, values selected in a combo box

    I have a combo box form field that allows the user to select a value from a list and click on an Add button. The Add button should add/concatenate the vaue selected to a text field in order to create a list of values selected. I'm not sure how to do this using Javascript in Acrobat? I know I need to add the javascript to the Add button's Mouse Up action. Any help would be greatly appreciated. Thanks!

    Thanks so much - it works!
    >>> "Gilad D (try67)" <[email protected]> 9/25/2013 9:16 AM >>>
    Re: How to Add/Concatenate to a text field, values selected in a combo box created by Gilad D (try67) ( http://forums.adobe.com/people/try67 ) in JavaScript - View the full discussion ( http://forums.adobe.com/message/5712118#5712118 )
    Let's say the text field's name is "Text1", and the combo is called "Combo1". You can then use this code as the MouseUp script of the Add button:
    var f1 = this.getField("Text1");
    var f2 = this.getField("Combo1");
    if (f1.value=="") f1.value = f2.value;
    else f1.value = f1.value + ", " + f2.value;
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5712118#5712118
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5712118#5712118
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5712118#5712118. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in JavaScript by email ( mailto:[email protected].com ) or at Adobe Community ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=3286 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • CLM How to add search-help for extension field(New Company Field) in MA.

    Hi all,
         Based on demand,I need to extend a new field(Company) in Master Agreement.
    But I do not know how to add search-help for this field,just like User Accont page.
    Anyone can help me ?thank you very muck.
    Regards,
    JackyCheng

    Hello Jacky,
    To combine all the answers above and have a topic-based reply please go through the below steps:
    #1. Inactivate the current extension field Company (I see it is actually a String value and this is not what you want to have)
    #2. Go to Setup -> System Setup -> Extension Reference Types
    Check if you already have a Company reference type
    If not, create a new Extension Reference Type for Class Company. Fill in all required information.
    #3. Create a new Extension Attribute
    Select Data Type: Object Reference
    Now you can add the Company type as reference
    Regards,
    Bogdan Toma

  • How to add F1 help for a field on ALV grid

    Hi All,
    When we execute a program, the output is displayed using ALV grid.
    on the ALV grid, if we press F1 on a field, it should popup the help document.
    How to add F1 help for a field on ALV grid.
    Thank you all in advance.

    fill field LVC_S_FCAT-ROLLNAME of your fieldcatalog in method SET_TABLE_FOR_FIRST_DISPLAY
    A.

  • How to add search help for standard field LIKP-TRAID

    Hi friends,
    How to add search help for standard field LIKP-TRAID ,
    refer screen
    Program Name       SAPMV50A  
    Screen Number      2108      
    TrnsIDCode ( LIKP-TRAID ) ..
    I need to add a search help, so that i can retrieve data from Ztable.
    Thanks.
    Abhi

    Hi Abhi,
    Try using any one option:
    Create a Search Help in SE11.
    Now Goto SE11 -> Enter Ztable -> Select that field -> Click Search Help and try to assign the created Search help to that field in your Ztable explicitly
    OR
    Create a Zdata element in SE11.
    In Data Element, under Further Characteristics tab, enter Name  Parameters of Search Help.
    Assign this data element to that field in ur Ztable.
    OR
    Create a Zdomain and maintain a Value Table or Fixed Values for it.
    Assign this domain to that field in ur Ztable.

  • How to add two zeros end of field

    how to add two zeros end of field?

    Hi srinu,
    If it's a number field, then just multiply by 100.
    If it's a string, then just use CONCATENATE and add the '00' to your existing string.
    Hope this helps.
    SL

  • HOW to ADD F4 help to a  field on SCREEN (MODULE POOL)

    Hi,
         How to add f4 help to a field in screen ..plz help
    Regards,
    Saleha

    Hi Saleha,
                    In order to add F4 help to a field in modeule pool follow these steps:-
    1. First go to SE11 and create your own search help( if you dont know how to create a search help please feel free to ask me, it is very easy).
    2. Now in your module pool program program go to the layout of your screen.
    3. Now when you see the attributes of this field in the Dict tab you will find the field Search Help. Now here you can specify the name of the search help you created in SE11.
    There is also another mehtod to create the dynamic search help. eg:- in a posted document data get the Document nos related to that company code.
    The sample code is like this:-
    First of all declare the module below in the flow logic of your screen then create it in your main program.
    You declare the module in the PROCESS ON VALUE-REQUEST.
    PROCESS ON VALUE-REQUEST.
    FIELD TXT_DOCNO MODULE VALUE_BELNR.
    You also need to create an internal table where you wil store results of the select query fired below in the module.
    here you will get a F4 help on the filed Document Number(TXT_DOCNO) based on the field Company code (TXT_CODCO)
    MODULE VALUE_BELNR INPUT.
    progname = sy-repid.
      dynnum   = sy-dynnr.
      CLEAR: field_value, dynpro_values.
      field_value-fieldname = 'TXT_CODCO'.
      APPEND field_value TO dynpro_values.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname     = 'BKPF'
          fieldname   = 'BUKRS'
          dynpprog    = progname
          dynpnr      = dynnum
          dynprofield = 'TXT_CODCO'.
    CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                dyname             = progname
                dynumb             = dynnum
                translate_to_upper = 'X'
           TABLES
                dynpfields         = dynpro_values.
      READ TABLE dynpro_values INDEX 1 INTO field_value.
      SELECT  BUKRS BELNR
        FROM  BKPF
        INTO  CORRESPONDING FIELDS OF TABLE it_doc1
        WHERE BUKRS = field_value-fieldvalue.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield    = 'BELNR'
                dynpprog    = progname
                dynpnr      = dynnum
                dynprofield = 'TXT_BELNR'
                value_org   = 'S'
           TABLES
                value_tab   = it_doc1.
    ENDMODULE.                 " VALUE_BELNR  INPUT
    Hope you find this information useful, let me know.
    Regards,
    Aditya.

  • How to add supercripts in a text field

    How to add superscripts symbols like copyright,trademark and registered symbols in a static text field in the Livecycle designer 8.2?

    You can copy-and-paste special characters directly into a text object from a text editor such as MS Word. Alternatively, you can insert the hex character reference into the XML source for the applicable text object instance. For example, to add a copyright symbol, go to the XML Source tab and insert the reference &#x00A9; into the XML node <value><text>Foobar&#x00A9;</text></value>.
    Steve

  • How to add new data element to field list

    Hi,
    I am implementing Succession Planning 3.0 SP1.
    To make new data element was successful.
    I want to use them as sort field, however I don't know how to add them to the list of fields with caption.
    (i.e. to setting Visualize>My Org Units>Sort Fields)
    If you know how to config data elements usw. Please advise.
    Best Regards,
    Hiroshi Takimoto

    Hi Hiroshi,
    There are 2 ways to do this, both involving some customization of the application.
    1) Extend your HR-OCI views (TMC_O_SUCC_T & TMC_O_SUCC_B for My Org Units and TMC_IN_REP_T_DT & TMC_IN_REP_B_DT) to include Short Name. You probalby want to seek help from an OM consultant if this is not your area of expertise.
    2) Create a linked data element that links together the existing data elements and a new data element which includes Short Name. Your new data element must have the name of the existing data elements or you should change the hierarchy configuration that uses these data elements. Beware that this can prove troublesome for the Position Hierarchy because of the "virtual root" that is created - sometimes the join does not work because of this.
    Best regards,
    Luke

  • Designer 2010 - how to add a custom or calculated field ?

    Hello
    I have a list like this:
    [name][course][date][result]
    John Smith, Windows beginners, 01-01-2014, 10
    John Smith, Windows advanced, 02-01-2014, 7
    Jane Doe, Windows beginners, 01-01-2014, 5
    Wanted:
    A list that shows all the people that attended 2 courses and a sum of their results.
    Following the example above:
    John Smith, 17, (2 courses)
    How can you add a custom field in designer? I have been tinkering but can't find it. If I place the cursor in a bottom row of the list, and in the ribbon I choose Options/Formula, I can enter an Xpath expression. But after clicking OK, nothing happens, nothing
    appears.
    Is there a tutorial (for beginners) somewhere on how to add a custom field to a page?
    Thank you!
    D

    I think the easiest way to accomplish this is through using the jQuery SPServices library to call the list items into an array and group by name. Then you can count the number they have done and then also do your calculations.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to add F4 functionality to a field in the Custom Infotype

    Dear Friends,
    I have created a custom Infotype 9332 for tracking the career growth of the employee. now i want add F4 functionality to a field in this infotype. How to do it and where to implement the code. Please suggest your valuable options.
    regards.

    Hi,
      You have 2 options.
    1.Table Level
    create a search element and you can attch it in table.
    2.Screen Level.
    In the Flow logic, create a module like " FIELD P9332-fieldname MODULE f4_values" under PROCESS ON VALUE-REQUEST.you can do the coding in the module for populating.
    Reward points if helpful.
    Regards,
    Manoj.

  • How to add search help in Ztable fields and how to make filelad as check bo

    Hello Friends,
    I have one table named ZAUDIT with 5 fields.
    1 . I want to put search help for each field but it shows tht Inactive message.
    Sujjest me steps to create search help.
    2.. In my table I want to display content as check boxes in my last field.
    How to make it?
    Points awarded soon.
    Regards,
    NVM

    Hi,
    steps to create search help:
    Step1 : Go to Se11 and Select Search Help and Enter One Name and Click Create
    Step2 : Enter your Table name in 'Selection Method' Field.
    Step3 : Enter the field Name and tick the Flags Imp and Exp and Type 1 and 2 in Lpos,
    Spos fields.
    Step4 : Save and activate it.
    Goto the table, select the field which u want search help and press button search help, give the search help name which u created.
    To add check box for particular field,
    make use of data element <b>check_box</b>

  • How to handle "Validation failed for the field - Tax code" issue?

    We had mass uplaod the order that create on Mar with tax code effective date on Apr. Now we would like return on this order  and getting error of "Validation failed for the field - Tax code". How to handle this issue?

    Hi
    You will have to check if the Tax_Code of RMA being received is the same as the one in the related sales order.
    If not you will need to use the same tax_code.
    Refer below document : Doc ID 1584338.1

  • How to add F1 help for a field

    hello.
    could you plese send me a small program , add F1 help for a field ,
    it's very urgent !
    best regards
    srinivas

    data: it_ret like ddshretval occurs 0 with header line,
             IT_MSEG_TEMP LIKE IT_MSEG OCCURS 0 WITH HEADER LINE.
    At selection-screen on value-request for s_mat-low.
      Select MBLNR from mkpf into table it_mblnr.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
      DDIC_STRUCTURE         = ' '
          RETFIELD               = 'MBLNR'
      PVALKEY                = ' '
      DYNPPROG               = ' '
      DYNPNR                 = ' '
      DYNPROFIELD            = ' '
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
         VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
        TABLES
          VALUE_TAB              = IT_MBLNR
      FIELD_TAB              =
         RETURN_TAB             = IT_RET
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF SY-SUBRC = 0.
        read table it_ret index 1.
        move it_ret-fieldval to S_mat-low.
      ENDIF.
    At selection-screen on value-request for s_mat-high.
      Select MBLNR from mkpf into table it_mblnr.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
      DDIC_STRUCTURE         = ' '
          RETFIELD               = 'MBLNR'
      PVALKEY                = ' '
      DYNPPROG               = ' '
      DYNPNR                 = ' '
      DYNPROFIELD            = ' '
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
         VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
        TABLES
          VALUE_TAB              = IT_MBLNR
      FIELD_TAB              =
         RETURN_TAB             = IT_RET
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF SY-SUBRC = 0.
        read table it_ret index 1.
        move it_ret-fieldval to S_mat-high.
      ENDIF.

Maybe you are looking for