Item - The item is not a user-defined item

I have added a user defined field in Marketing Documents -> Title.In short I have added a user defined field at the header level.I have used this field for certain calculations while adding inventory transfer.I have created a combo for this field and added values as,
Private Sub AddSeries()
        Dim ddlSeries As SAPbouiCOM.ComboBox
        Dim objDTSeries As New DataTable
        Dim intI As Integer
        Try
            objForm = SBO_Application.Forms.GetForm("-940", 1)
            ddlSeries = objForm.Items.Item("U_ProdSeries").Specific
            strQuery = "Select Series,SeriesName FROM NNM1 WHERE ObjectCode=13"
            objDTSeries = GetData(strQuery)
            If objDTSeries.Rows.Count > 0 And ddlSeries.ValidValues.Count = 1 Then
                For intI = 0 To objDTSeries.Rows.Count - 1
                    ddlSeries.ValidValues.Add(objDTSeries.Rows(intI).Item("Series"), objDTSeries.Rows(intI).Item("SeriesName"))
                Next
            End If
        Catch ex As Exception
            SBO_Application.MessageBox("AddSeries()=" & ex.Message)
        End Try
    End Sub
Also,I want to clear the combo for certain condition.For clearing the combo I have used the code as,
Private Sub DeleteSeries()
        Dim ddlSeries As SAPbouiCOM.ComboBox
        Dim intI As Integer
        Try
            objForm = SBO_Application.Forms.GetForm("-940", 1)
            ddlSeries = objForm.Items.Item("U_ProdSeries").Specific
            While ddlSeries.ValidValues.Count > 0
                ddlSeries.ValidValues.Remove(0, SAPbouiCOM.BoSearchKey.psk_Index)
            End While
        Catch ex As Exception
            SBO_Application.MessageBox("DeleteSeries()=" & ex.Message)
        End Try
    End Sub
While Removing the value it gives error as,
Item - The item is not a user-defined item

Hello dilip
try this code .i hope yure problem may be solved
Private Sub AddSeries()
        Dim ddlSeries As SAPbouiCOM.ComboBox
        Dim objDTSeries As New DataTable
        Dim intI As Integer
        Dim oItem As SAPbouiCOM.Item
        Dim Rs As SAPbobsCOM.Recordset
        Try
            objForm = SBO_Application.Forms.GetForm("-940", 1)
            Rs = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
            oItem = objForm.Items.Item("ITEM ID").Specific
            ddlSeries = oItem.Specific
            strQuery = "Select Series,SeriesName FROM NNM1 WHERE ObjectCode=13"
            Rs.DoQuery(strQuery)
            Rs.MoveFirst()
            For k As Integer = ddlSeries.ValidValues.Count - 1 To 0 Step -1
                ddlSeries.ValidValues.Remove(k, SAPbouiCOM.BoSearchKey.psk_Index)
            Next
            If (ddlSeries.ValidValues.Count >= 0) Then
                While Rs.EoF = False
                    ddlSeries.ValidValues.Add(Rs.Fields.Item("Series").Value, Rs.Fields.Item("SeriesName").Value)
                    Rs.MoveNext()
                End While
            End If
        Catch ex As Exception
            SBO_Application.MessageBox("AddSeries()=" & ex.Message)
        End Try
    End Sub

Similar Messages

  • Error erase Queries in Query Manager- The query is used with user-define...

    Hello Experts
    I have deleted a User Field that had a Formatted Search and now I can not remove it because it is linked according to a UF, the error message is as follows:
    "The query is used with user-defined values [Message 952-23]"
    There will be a way to resolve this issue???
    Thanks in advance

    Hi Juan,
    I have tried this very limited, but the formid, is this a number in your case?
    SELECT * from cshs t0 inner join ouqr t1 on t0.queryid = t1.intrnalkey
    where t1.qname = '[%0]'
    Running this query I can get the form id that I need to recreate, but I have a feeling you already know the form id, is this correct?
    - Is there an error when you try to recreate the form id?
    - Will it not let you recreate the same form id because the id is given by the system?
    If it is not possible to recreate the form id, please prepare a backup and log a message. Support should be able to correct the entry in table cshs.
    Hope it helps.
    Jesper

  • Could not load user defined filter. - Weblogic 8.1 sp2

    Hi,
    I got an error in the server output when starting a server with filter. The jar file is located in the WEB-INF/lib but it seems that it could not be loaded. The same application runs fine in Weblogic 7 sp2. Any idea?
    $ cat web.xml
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
    " "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <!-- Register the GZIPfilter -->
    <filter>
    <filter-name>Compress</filter-name>
    <filter-class>com.jspbook.GZIPFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>Compress</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>Compress</filter-name>
    <url-pattern>*.html</url-pattern>
    </filter-mapping>
    <Jul 16, 2004 4:53:10 PM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter: com.jspbook.GZIPFilter.
    <java.lang.ClassNotFoundException: com.jspbook.GZIPFilter
    <     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:198)
    <     at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:62)
    <     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    <     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    <     at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:223)
    <     at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)
    <     at weblogic.servlet.internal.WebAppServletContext.loadClass(WebAppServletContext.java:5574)
    <     at weblogic.servlet.internal.WebAppServletContext.registerFilter(WebAppServletContext.java:2901)
    <     at weblogic.servlet.internal.WebAppServletContext.initFilters(WebAppServletContext.java:2878)
    <     at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3176)
    <     at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
    <     at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
    <     at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
    <     at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    <     at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    <     at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    <     at weblogic.Server.main(Server.java:32)
    <>

    This is probably some jsf library issue.
    Which technology are you using? (ADF is not supported on WLS 12c)
    If you have jsf-api.jar or jsf-impl.jar in your deployment, try to remove them.
    Dario

  • Could not load user defined listener: examples.webapp.lifecycle.OpenBrowser

    Hi all,
    I'm facing the following error when my Weblogic 10.3 servers starts .Any one have an idea why ?
    +<14-Sep-2010 16:58:41 o'clock CEST> <Error> <HTTP> <BEA-101163> <Could not load user defined listener: examples.webapp.lifecycle.OpenBrowserServletContextListener+
    java.lang.ClassNotFoundException: examples.webapp.lifecycle.OpenBrowserServletContextListener
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    +>+
    +<14-Sep-2010 16:58:41 o'clock CEST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'examplesWebApp' due to error weblogic.application.ModuleException: .+
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: examples.webapp.lifecycle.OpenBrowserServletContextListener
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    +>+
    Thanks

    This is probably some jsf library issue.
    Which technology are you using? (ADF is not supported on WLS 12c)
    If you have jsf-api.jar or jsf-impl.jar in your deployment, try to remove them.
    Dario

  • Include the COPY TO Option in User Define form

    Hi Experts
    How can we include the COPY TO Option in User Define form
    Thanks In Advance
    A S VAMSI KRISHNA

    Hi,
    In SAP B1 i think there is no default functionality  for copy to in user defined form. As Parminder said you can use the control button combo and write your own method for populating  data.
    Regards
    Arun

  • What the best way to create User defined table with ADDON purpose

    Hi folks, how are you ?
    I´m beginner in development to business one, and I m studying to develop ISV addons.
    But, during my exercises and analisys, I learned that have two ways to create tables and fields in business one. One way is throght by wizard in business one using Tools Menu > Configuration Tools > User Defined Tables >
    Obs: I ´m using Business One Patch Level 9.
    Other way, is create the tables and fields using DI API
    But, my question is. When I develop one addon, or one UDO form that uses one set of user defined tables or used defined fields that where created by the first way (by wizard in B1), how I deploy this in other business one installation ? The package process will ensure the creation of this tables in another enviroment or I must implement the creation of user defined tables using DI API so that this code is called during the installation?
    If in cases of addon develop I must use DI API to create user defined tables, How can I use my classes with this responsibility in package process ?
    Thanks my friends.

    Hi Renan,
    You just need to put your logic in to the startup of your application, after you've established your connection to the UI API and DI API. All this will be triggered in the constructor of your main class.
    namespace MyNamespace
    public class MyAddon
      bool runAddon = true;
      bool initialised = false;
      const string ADDON_NAME = "My Addon";
      public static void Main()
            MyAddon addOn = new MyAddon();
            if(runAddon)
                  System.Windows.Forms.Application.Run();
            else
             Application.Exit();
      public MyAddon()
            // Connect to SBO session for UI
            if(!SetApplication()) runAddon = false;
      private bool SetApplication()
            // Code goes in here to establish UI API and DI API connections
            // See SDK samples for examples
            // You should also define and filter the UI API events your addon will trap at this stage and create any menus
            // Call your routine to check if the required UDFs/UDTs exist on this company
            initialised = CheckInitialisation();
            if (!initialised)
               //  AddOn not yet intialised on this company so prompt the user to run the intialisation process
              int iResponse = app.MessageBox("The " + ADDON_NAME + " addon will now create all required fields and tables."
                                             + System.Environment.NewLine + System.Environment.NewLine
                                             + "WARNING: It is strongly recommended that all other users are logged out of this company "
                                             + "before running this process. Are you sure you wish to continue?", 2, "Yes", "No", "");
              if (iResponse == 1) initialised = InitialiseAddOn(); // Call your routine to create the objects
            return true;
    Kind Regards,
    Owen

  • FDF Returns the entire form not just user input

    Using the properties dialog box on a submit button I set my form actions to return 'FDF Include' which according to the help menu will only return the results of the user input and not the entire filled out form. I only want user input because I plan to embed each results file in a website.Unless I am misunderstanding what should happen, it is not working. It is returning the entire form.  I would appreciate any help or tips anyone has to offer. If I'm doing it wrong and there is another way, please let me know. I just want to see the answers in the form fields, not the entire form.  Thanks!
    http://help.adobe.com/en_US/acrobat/X/pro/using/WSBB6EF75F-BC3D-4094-B787-FB76DAE1EBDC.w.h tml

    Thanks so much for your assistance. I made a form, and then set the distrubuted settings to email me the form when submitted. I posted it to our intranet and then tested it. The form I posted is the 'distributed' form that Acrobat made from my original form. I posted it on a public site so you can have a look. Here is a link.  This should allow you to download it instantly. If not, remove everything from the question mark to the end and then paste that link into a browser. I checked and double checked everything, but maybe I am missing something.
    https://sites.google.com/site/ccpsgadgets/xml-documents/pbl%20form_distributed.pdf?attredi rects=0&d=1

  • The sequence of system modules & user-defined modules

    Hi Experts,
    can u help me clear about the execution sequence about system modules , user-defined modules & the adapter of XI/PI ??
    I presume the sequence is first adapter ,second own modules, finally system modules at the sender end. 
    and the sequence at the receiver end is first own modules , second system modules ,third adapter.
    im right?
    by  the way,  how about the sequence when the scenario is be setted to synchronization, specially the sequence of the
    response.
    thx in advance.
    Brian.

    http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/f13341771b4c0de10000000a1550b0/frameset.htm
    1. for async sender/receiver adapters, you use modules before the standard adapter module.
    2. for sync sender/receiver adapters, you can wither use modules before the standard adapter module (they will affect the request message) or after the adapter module (affecting the response message).

  • How can I change JUST the root password, not my user's passwords?

    I'd like to have access to this machine remotely and be able to drop files onto it's multiple users' desktops from anywhere on our network.
    I can do this with a root login. I have enabled root, but I am unable to log in using the "Connect to Server" utility using my root credentials.
    Is there a way for me to set up my root account so that I can log in remotely using a unique password? Not the password of the account I used to enable root?
    Thanks
    -----------S

    You could do this without enabling the root account, via ssh and an ssh-keygen key properly setup.
    Then you can use
    scp file [file ...] [email protected]:/User/username/Desktop/
    This is without enabling the root account, but rather having your account's ssh-keygen generated public key stored in the remote.system.address's /private/var/root/.ssh/authorized_keys file.
    Or if you prefer you could sftp (but I find scp much more flexible).
    rsync is also available to transfer files via ssh connections.
    However, ssh, scp, sftp, rsync are best discussed in the Mac OS X Technologies > Unix Forum
    <http://discussions.apple.com/forum.jspa?forumID=735>
    Message was edited by: BobHarris

  • How to send the email alert to some users (defined users hasn't post document to a library within a specified time frame)

    Hi,
    Native alert on a document library can setup to email to the predefined user when any changes on the document.
    However, I would like to setup a document library and alert me when
    [email protected] [email protected]
    [email protected] hasn't yet put a document to the library by 2014-07-01 (e.g today is 2014-06-26). The reminder email will send to
    [email protected] [email protected] on 2 days before the dead line (ie. 2014-06-29) because
    [email protected] and [email protected] hasn't put their file to the library on or after 2014-06-29..
    Thanks

    Hi,
    http://stackoverflow.com/questions/17571562/creating-email-alert-workflow-for-sharepoint-file-libraries
    http://stackoverflow.com/questions/18868479/how-to-send-automatic-email-notification-to-user-two-days-before-expiry-date
    http://social.msdn.microsoft.com/Forums/en-US/acb12dd2-d6a5-4b7e-b233-037558bfa2e5/start-workflow-x-days-before-expiry-date?forum=sharepointcustomizationlegacy
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How can I lock access to Firefox so that only I can fo on the internet and not other users of my computer?

    I have a computer which I let several other people use, but I don't want them to have access to the internet. I would like to see if there is a "lock" choice so that no one else can access the internet - or another means? I've tried to select "Lock" to the whole computer (when it gives you the "lock," "shut down," "sleep," etc. choices - and it says the computer is locked but the next time I try it it opens the computer (and internet) just like it never was "locked" so I don't even know how to effectively lock the whole computer either as a second option to block access ot the internet!

    I had the same problem (issue with Google Apps and XUL runner etc) of needing to downgrade. To pull it off I went to the main Firefox download page (http://www.mozilla.com/en-US/firefox/new/) and followed the link to OTHER SYSTEMS AND LANGUAGES which took me to a page that included a link on the right hand side to download Firefox 3.6.16.
    (The stuff below pertains to Windows. If you are on a different OS your steps will vary)
    To do the actual downgrade (and there may be some other steps that would be wise to take but this is what worked for me) I merely renamed "c:\Program Files\Mozilla Firefox" to "c:\Program Files\Mozilla Firefox bad" (in case I want to try troubleshooting the issue later) and then ran the "Firefox Setup 3.6.16.exe" file that downloaded from that link. That solved my problem and I'm back and running 3.6.16.
    In case you don't feel comfortable changing things in your Program Files directory you might try a different approach and try uninstalling via the Control Panel and Add and Remove Programs (or whatever it is called on the version of Windows you are on) and then running the installation file. I didn't go that route so I can't tell you how well that might work.

  • 2.1.1 Problem with User Defined Reports with actions on the context menu

    I use the User Defined Reports quite a lot, and export and publish these to other members of the team as Shared Reports. I'm also quite disappointed that there seems to be no further development in this area of SQL Developer.
    One of the totally undocumented features of User Defined Reports is the ability to attach actions to a context menu, and pass data from the grid to a procedure, for example. Copying, then exporting the sessions report (from All Reports -> Data Dictionary Reports -> Database Administration -> Sessions) exposes the XML for adding actions to the context menu. The snippet for killing a session looks like this:
    <item  reload="true"  reloadparent="false" removeFromParent="false">
      <title>Kill Session</title>
      <prompt type="confirm" >     
        <label>Kill Session?</label>     
        <default><![CDATA[]]></default>     
        <value><![CDATA[]]></value>        
      </prompt>
      <sql><![CDATA[ALTER SYSTEM KILL SESSION '#SID#, #SERIAL#' IMMEDIATE]]></sql>
      <help>Kill the selected session.</help>
    </item>So to add this type of functionality to your own user defined reports, you need to export the report, edit the XML, and import it again. It seems to work fine to add this to the master reports, but if you add an <item> element to the child reports, the context menu items appear on the master report too, and they are duplicated many times. I'm not sure if the action of exporting the report adds to the number of times the context menu appears.
    Warning - if you edit a report using SQL Developer, all the <item> tags are removed. Once you've added actions to a context menu, you can only edit the report by exporting it, modifying the XML and importing it again.
    Has anyone else seen this behavior? Have you found a work-around?
    To the SQL Developer team: Are there any plans to allow the adding of user defined context menu items to reports using the GUI in the near future?

    You're right the context menu needs a GUI desperately. You can request this at the SQL Developer Exchange, so other users can vote and add weight for possible future implementation.
    Regards,
    K.

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • User Defined Types menuitem not appears in Server Explorer at Remote Server

    Hi,
    I'm working on oracle 10g,odp.net with 2.0. i created two types which are input and output parameters for a function. I installed odp.net (ORACLE DATA PROVIDER FOR .NET 11.1.0.6.20) and generated UDT custom class code. It's working in my system. But when i installed odp.net (ORACLE DATA PROVIDER FOR .NET 11.1.0.6.20) in my remote server, its not showing the UDT Custom Class Code Generation Wizard to create UDT Custom Class Code. I have installed oracle Client 10g,.Net Framework 2.0 and ODP.Net(11.1.0.6.20) in the server.
    In my Local system server explorer it's showing
    Tables
    Views
    Procedures
    Functions
    Packages
    Synonyms
    Sequences
    XML Databases
    Java Classes
    User-Defined Types
    In server explorer it's showing only
    Tables
    Views
    Synonyms
    Sequences
    Procedures
    Functions
    Packages
    Package Bodies
    Why its not showing User-Defined Types.
    Pls Help.
    Ideas are highly appreciated.
    Anil

    As you noticed, not all database objects are available in Server Explorer, and because of this they can't have scripts generated for them, nor can they be compared with Schema Compare.
    In a pinch, you should be able to use SQL Developer to do this.

  • User Defined Fields and Reference Fields on the B/S

    Dear Experts,
       On the balance sheet in SAP 9.0/8.82 once you click on the expanded button, there are user defined fields and reference fields which are blank. Could someone assist on how to use them ?
    Kind Regards

    Hi Martin,
    If you add any user defined fields (UDF) in Journal Entry (JE) screen, You can use the udf's in the
    balance sheet report.
    Regards
    Neslin

Maybe you are looking for

  • ITunes Error 11 received when doing a normal restore on iPod Touch 4G iTunes.

    Hi. I'm trying to do a normal restore on my iPod Touch 4G on iTunes. I'm running on the up-to-date firmware of 6.1.6 What I am basically doing is putting my iPod in Recovery Mode, plugging it into my PC, click "Restore and Update", allow iTunes to do

  • Why does completed encrypted disk have converted size of "-none-"?

    Under Lion 10.7.3 I've encrypted both partitions on an external drive. I'm confused how the two partitions can display different converted sizes if both are indeed truly completed: one indicates converted size is same as total size, but the other say

  • Validation while create data type

    HI All , I have a pop-up in my report that user can create data type in  didc, There is a simple way to support validation for data types , I have pop-up where the user need  to provide name of attribute he need to create and the data type for it (ch

  • Set button to accept key input

    Hello, I wrote this JSP page that has 4 choices presenting in the button style (A,B,C,D). How do I set its property (or whatever code) so that when a user pressed the letter 'a' on the keyboard it will invoke the same method as when a user click on t

  • Cropping tool for illustrator

    hello, does anyone know of a similar plugin or a script or something that can do Cropping like Kimbo did, but for CC? I've searched, but I haven't found anything and it seems crazy that no one would try to replicate that function. this is the plug I'