Problem with creating User Defined Fields

Hello,
I have a big problem on one customers db. Everytime when user logs in SBO, he got immediatley after login message, that db structure was modified and user must click OK to continue (close all form - in this case is still no form opened).
I tried to uninstall all addons to be sure that its not addon related but when is only clean SBO there, the message still pops up. It seems that somewhere in db is stored that this message must pops up.
When I copied this db localy from custromer, the message still occurs.
Is here someone who met this prolem and solved it?
Thanks
Petr

Hi Petr,
Just to remind that if you send a message to SAP based on Suda's answer belows:
Petr,
This is very unusual, Please check SAP Notes and also send a message to support. This should not be happening.
Madhan: Just FYI - Petr is one of the Senior Implementation and SDK consultants who has spent a long time on the product and I am 100% sure that he knows the basics you are pointing to very well.
Suda
you must really make sure that you have performed support level 1 and level 2. If not, the SAP support will be happy to bill the message about 80 euro.
Rgds,

Similar Messages

  • Problem in creating user defined fields

    hi,
       i created nearly 25 userdefined fields. after that b1 is not allowing me to created further, I like to know any restriction is there to create or kindly give me the solution to create.
    Regards
    R.vijai

    Vijaya,
    This kind of bottlenecks are common when using SQL Server 2000 where it has a row size limitation.
    Click on the link below and read the thread as it also related to the similar error.
    Error in defining the User Defined Fields
    Suda

  • Binding a Check Box with a User Defined Field

    Hi everyone,
    i v created a user defined field (U_CheckPro)in the system table "OITM" with two values: Y for Yes and N for No. In relation to that i v also created a check box on the form "150" and would like to know how can i bind my checkbox with  my user defined field properly.
    The user would be than able to enable or disable the check box for each item (article). The user setting schould be than be active and valid in sbo-business logic, each time an item is selected. (for example in case of sales order ID 133, "OINV").
    Any helfpul hints? Samples would be welcome as well.
    Thanks and regards
    Alban

    > First of all you should remove the valid values
    > because checkboxes does not work with valid values...
    > Just give a default value.
    Hi Rasmus,
    thank you very much for your helpful hint. I guess my problem is solved by that - nevertheless here is my complete code sequence once again in case of possible errors.
    I would appreciate any additional suggestion for improvement of the same.
    Thanks and regards
    Alban
    >>>
    Private Sub AddItem()
            ' Test UserSource
            oForm.DataSources.UserDataSources.Add("U_CheckPro", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
            oItem = oForm.Items.Item("122")
            ' Adding a Static Text item
            oNewItem = oForm.Items.Add("StaticTxt2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oNewItem.Left = oItem.Left + 20
            oNewItem.Width = 100
            oNewItem.Top = oItem.Top + 12
            oNewItem.Height = 25
            oNewItem.FromPane = oItem.FromPane
            oNewItem.ToPane = oItem.ToPane
            oNewItem.LinkTo = "CheckBox1"
            oStaticText = oNewItem.Specific
            oStaticText.Caption = "Test_Caption"
            ' Adding a Check Box item
            oNewItem = oForm.Items.Add("CheckBox1", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
            oNewItem.Left = oItem.Left
            oNewItem.Width = 20
            oNewItem.Top = oItem.Top + 15
            oNewItem.Height = 19
            oNewItem.FromPane = oItem.FromPane
            oNewItem.ToPane = oItem.ToPane
            oNewItem.DisplayDesc = False
            oCheckBox = oNewItem.Specific
            'binding check box to source
            oCheckBox.DataBind.SetBound(True, "OITM", "U_CheckPro")
        End Sub
    >>>

  • Not able to create user defined field

    hi experts
    i am not able to create a user defined field through, 'user defined field management ' window,
    when i am selecting this window SAP B1 is hanging ,later i need to close the application .what should be the problem ,
    please help me to solve this issue
    thanks in advance
    ajith

    hi
    thanks for reply
    following is the my sap b1 version and PL
    SAP Business One 2007 B (8.60.035)  SP: 00  PL: 08  2007B_CORE_080709_0214
    yes i created user defined fields in employee  master records
    kind regards
    ajith

  • Creating User Defined Fields via DI API

    Hello,
    Has anyone tried creating User Defined Fields via DI without direct database intervention ? My add on relies on some UDF's that have to be created on install.
    Thank you

    I regularly use the UI API to do this.  You can find several discussions on this forum.  I have not put this in my installation program, but I use UserFieldsMD in the DI API and a CSV file from Excel to store the information about the fields.

  • Create User-defined field for Marketing Documents

    I need to create a User-Defined field for Marketing Documents under Title and Rows.
    I need to do it via .NET instead of manually go into SAP to create it.
    Does anyone can give me idea on how to do this?

    Hi David,
    There are examples of how to do this in the SDK samples (look for MetaDataOperations project in the DI samples).
    There are also examples in the SDK help. Here's one:
    Private Sub AddUserField()
    '// The UserFieldsMD represents a meta-data object that allows you
    '// to addremove fields from tables or change the fields' characteristics
        Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
    '// In any meta-data operation there should be no other object "alive"
    '// but the meta-data object, otherwise the operation will fail.
    '// This restriction is intended to prevent a collisions.
        '// The meta-data object needs to be initialized with a
        '// regular UserFields object
        Set oUserFieldsMD = oCompany.GetBusinessObject(oUserFields)
        '// When adding user tables or fields to the SAP Business One database
        '// use a prefix identifying your partner name space
        '// this will prevent collisions between the various partners add-ons
        '// SAP's name space prefix is "BE_"
        '// Set the Fields' mandatory properties
        oUserFieldsMD.TableName = "OCRD" '// BP table
        oUserFieldsMD.Name = "BE_UserField1"
        oUserFieldsMD.Description = "A user field"
        oUserFieldsMD.Type = db_Alpha '// am alphanumeric type
        oUserFieldsMD.EditSize = 20
        '// Add the field to the table
        oUserFieldsMD.Add
    End Sub
    Kind Regards,
    Owen

  • Can i create user-defined fields that are checkboxes?

    I need to create a set of user defined fields on Activities that are a checkboxes. I cant see any options in the manage user fields dialog to set the field as a checkbox, the only options are alphanumeric, Datetime, Units & Totals etc.
    Can user defined fields be added that appear as checkboxes? if so, how do i do it?

    What you need will not be available by UDF.  You need SDK programming for any Check Boxes.  However, you may use predefined list for UDF to imitate part of functions of the check box.
    Thanks,
    Gordon

  • Problem with the user-defined message search in PI 7.3.1

    Hi, all
    I having been trying out the new user-defined message search in PI 7.3.1(with TREX). I am stuck on creating the search critera section and could not move forward. Here is how I define the filter:
    Here is a sample payload:
      <?xml version="1.0" encoding="utf-8" ?>
      <ns:JOB_MT xmlns:ns="urn:peoplesoft:batch:job_r:message">
        <MsgData>
          <JOB>
             <ACTION_FLAG>NewPerson</ACTION_FLAG>
             <EMPLID>XXXXX</EMPLID>
             <REG_NO />
             <LAST_NAME>XXXX</LAST_NAME>
             <FIRST_NAME>XXXX</FIRST_NAME>
          </JOB>
        </MsgData>
      </ns:JOB_MT>
    I have tried the xpatch search criteria as the following:
    /ns:JOB_MT/MsgData/JOB/EMPLID
    /ns:JOB_MT xmlns:ns="urn:peoplesoft:batch:job_r:message"/MsgData/JOB/EMPLID
    Both failed to return the emplid field when I clicked on the "test search criteria" against a PI message. Can you advise what I did wrong?
    Thanks,
    Jonathan.

    Hi.
    Did you put the prefix?
    Regards

  • Create user defined field categories programatically

    i have an addin that creates multiple UDF's that are then managed/validated on the main form  and i would like to prevent the user from amending the UDFs from within the UDF pane so that my validation is always used.
    What I would like to do is to create a UDF category from within the addin and assign my UDFs to that category so that they are not shown by default.
    I cannot see that this is possible, does anyone know if it is?

    Gordon,
    The functionality via code is not currently available in looking at the UserFieldsMD and UserTablesMD objects offered.  If you need to keep users out of this area, you can use Authorizations to block users, but of course if they need to create other tables or user fields outside of your add-on ... that could cause a problem.
    Apologies,
    Eddy

  • Error when Create User Defined Field

    Hi all, i got an error when create UDF
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Here is part of my code
    oUserFieldMD.Name = fieldname
            oUserFieldMD.Description = fielddesc
            oUserFieldMD.Type = fieldtype
            oUserFieldMD.DefaultValue = defaultValue.ToString()
            If fieldtype <> SAPbobsCOM.BoFieldTypes.db_Date Then
                oUserFieldMD.Size = fieldlength
                oUserFieldMD.EditSize = fieldlength
            End If
            If fieldtype = SAPbobsCOM.BoFieldTypes.db_Float Then
                oUserFieldMD.SubType = SAPbobsCOM.BoFldSubTypes.st_Price
            Else
                oUserFieldMD.SubType = SAPbobsCOM.BoFldSubTypes.st_None
            End If
            oUserFieldMD.TableName = tablename
            lRetVal = oUserFieldMD.Add()
            prgbar.Value = prgbar.Value + 1
            If (lRetVal <> 0) Then
                msgs.Add(tablename & " - " & fieldname & " : " & oCompany.GetLastErrorDescription())
            Else
                msgs.Add(tablename & " - " & fieldname & " : successfully created!")
            End If
    the error come when reach lRetVal = oUserFieldMD.Add()
    what is wrong with my code ?
    thanks.

    This could be a x64/x86 problem. Try following this thread
    [GetCompanyService|GetCompanyService] and recompile your code for the platform you need.

  • B1 create User Defined Field as nvarchar(max) in SQL 2005 database

    Hi everyone,
    I just created a UDF in B1 as alphanumeric(12), and noticed that B1 created a field in SQL 2005 as nvarchar(max) instead of nvarchar(12). I tested with both 2005A SP01 patch 14 and patch 20. It always creates UDF as nvarchar(max). Is this a bug? It will cause db file use more disk space and also reduce the query performance. Also, B1 won't create the index on the UDF even if you select the option.
    Thanks for help,
    David

    Hi David,
    I was running on patch 19 when I wrote my earlier posts. I'm now running patch 20 without any issues. I also have a range of clients who are running SBO 2005A SP1 on various patch levels above 10 (though not all are on SQL 2005) and I've yet to come across this issue.
    Did you log this with SAP Support? Have they come up with any suggestions?
    Maybe this will work:
    1) Start SBO. When you get to the login screen, click on Choose Company.
    2) Change the Current Server field from SQL 2005 to SQL 2000. Reenter your server settings if prompted
    3) Login as normal and try and create your field.
    4) Log out and go back in to change back to SQL 2005
    Kind Regards,
    Owen

  • User Defined Field Print Layout Designer print problem

    I am having a problem with a user defined field in the Business Partner - Addresses table. The user defined field is a "directions" text field that is intended to print on packing slips generated from the sales order. When I use the PLD to add the UDF in the header or in the table, all data lines in the body of the report repeat.
    Please advise if others are seeing this and what work around or SAP plans exist to resolve.
    Glen Kinney
    Corrpac
    [email protected]

    Hi Glen,
    I am facing the same problem.
    I need to add UDFs in Business Partners - Addresses at row level. The field will be used for some Taxation Nos. like CST, LST, VAT. I have tried to add. the fields are added and data saved too.
    But when I am going to PLD of Invoice and tried to get, the Business Partners - Addresses Table not showing in the list.
    Shell I have your help to resolve this.
    Thanks a lot.
    With Warm Regards,
    Chintesh Soni
    India

  • User Defined Fields & Tables Problem

    After the upgrade to B1 2007 and converting our database to 2005 compatibility as per the upgrade directions, we’re having some weird issues with our user defined fields and tables. 
    •     Our user defined fields that used to be alpha-numeric when set up in B1 are now in the database as nvarchar(MAX), even after updating the fields in the Manage User Defined Fields screen.  B1 is obviously not setting the right field information as per its interface.
    •     We’re can no longer add records to user defined tables through the B1 interface, though we can add them fine through SQL Server or an ODBC interface.  The error we are getting is
    [Microsoft][SQL Native Client][SQL Server]Conversion failed when converting the nvarchar value '-3 @PASSWORDS' to data type int. (CINF)
    .  I don’t understand where this problem is coming from because there isn’t even a data field that is an integer, so I don’t know what it’s trying to convert.

    Derek,
    I would suggest you post this question to SAP Support by creating a message.  Also search for any notes on this from https://websmp201.sap-ag.de/notes
    Suda

  • Creating a user-defined field in VL06

    Dear all ,
    Please guide me how to add few user defined fields in the output list of standard VL06 transaction code - (Delivery Monitor Report - WS_DELIVERY_MONITOR) - I have to add in the option of 'List Outbound deliveries' -
    Pls revert.
    Thanks in Advance.
    P.G.R

    Hai
    Follow the bellow steps for creating User Defined Field Exit
    Step by step procedure for creating Field Exits
    There are eight steps to creating a field exit:
    Step 1: Determine Data Element
    Step 2: Go To Field Exit Transaction
    Step 3: Create Field Exit
    Step 4: Create Function Module
    Step 5: Code Function Module
    Step 6: Activate Function Module
    Step 7: Assign Program/Screen
    Step 8: Activate Field Exit
    Step 1: Determine Data Element
    - Before you can begin adding the functionality for a field exit, you must know the corresponding data element.
    - An easy way to determine the data element associated to a particular screen field is to:
    Go the appropriate screen.
    Position the cursor in the appropriate field.
    Press ‘F1’ for field-level help.
    Click on the ‘Technical info’ pushbutton (or press ‘F9’) on the help dialog box.
    On this Technical Information dialog box, the data element will be specified if the field is 'painted' from the ABAP/4 Dictionary.
    Step 2: Go To Field Exit Transaction
    - The transaction to create field exits is CMOD.
    - You can use the menu path Tools -> ABAP/4 Workbench -> Utilities -> Enhancements -> Project management.
    - From the initial screen of transaction CMOD, choose the Text enhancements -> Field exits menu path.
    - After choosing this menu path, you will be taken to the field exits screen. From here, you can create a field exit.
    NOTE : Even though you use transaction CMOD to maintain field exits, you do not need to create a project to activate field exits.
    Step 3: Create Field Exit
    - From the field exit screen of transaction CMOD, choose the Field exit -> Create menu path.
    - After choosing this menu path, a dialog box will prompt you for the appropriate data element .
    - Enter the data element name and click the ‘Continue’ pushbutton.
    - Now, you will be able to create the function module associated to the data element’s field exit.
    Step 4: Create Function Module
    - You will automatically be taken to the Function Library (SE37) after entering a data element name and clicking the ‘Continue’ pushbutton.
    - In the ‘Function module’ field, a function module name will be defaulted by the system based on the data element specified. This name will have the following convention:
    FIELD_EXIT_<data element>
    - You can add an identifier (an underscore followed by a single character ).
    - The first function module for a data element’s field exit must be created without an identifier.
    - To create the function module, click on the ‘Create’ pushbutton, choose menu path Function module -> Create, or press ‘F5’.
    - After choosing to create the function module, you will get the warning: "Function module name is reserved for SAP". This message is just a warning so a developer does not accidentally create a function module in the field exit name range. By pressing ‘Enter’, you will be able to go ahead and create the function module.
    - Before coding the function module, you will have to specify the function modules attributes -- function group, application, and short text.
    Step 5: Code Function Module
    - From the function module’s attributes screen, click on the ‘Source code’ pushbutton or choose the Goto -> Function module menu path to the code of the function module.
    - Here you will add your desired functionality for the field exit.
    - Remember that field exit’s function module will have two parameters -- one importing parameter called "INPUT" and one exporting parameter called "OUTPUT". These parameters will be set up automatically by the system.
    - You must remember to assign a value to the OUTPUT field. Even if the value does not change, it must be moved from the INPUT field to the OUTPUT field.
    Step 6: Activate Function Module
    - After coding the function module, you must remember to activate it.
    - Use the Function module -> Activate menu path to activate the function module.
    - At this point, you can return to the field exit transaction.
    - You should be able to 'green arrow' back to this transaction.
    - When you return to the field exit transaction, you will see an entry for the newly created field exit.
    - At this point, the field exit is global. That is, it applies to all screens that use a particular data element. On any screen that uses the data element, the corresponding field exit function module will be triggered, once it is active.
    - Also, the field exit will not be triggered yet because it is inactive.
    Step 7: Assign Program/Screen
    - This step is only needed if you want to make a field exit local.
    - To make a field exit local, select the field exit and click on the ‘Assign prog./screen’ pushbutton.
    - In the dialog box , indicate the appropriate program name and screen number.
    This information indicates that the field exit is local to the specified screen in the specified program.
    - In the dialog box, you determine which function module gets executed for the field exit by specifying the identifier in the ‘Fld. Exit’ field.
    - If this field is left blank, the function module triggered will be 'FIELD_EXIT_<data element>'.
    - If a single-character identifier is entered into the field, the function module triggered will be 'FIELD_EXIT_<data element>_<identifier>'.
    Step 8: Activate Field Exit
    - The field exit must be active for it to be triggered by the system.
    - Activate the field exit by choosing the Field exit -> Activate menu path.
    - After assigning the field exit to a change request, its status will change to ‘Active’ and it will be triggered automatically on the appropriate screen(s).
    NOTE : In order to activate the field exit the profile parameter abap/fieldexit = YES must be set on all application servers
    Regards
    Sreeni

  • User Defined Fields/ XML loading problem

    hai,
    1. i can able to create user defined fields , but i need my fields are in UNIUQE KEY how can i achive through the
    VB Code. ?
    2. I load a XML form but i cant able to make it as fixed single form, or deactivate the minimize / maximaze button , how can i achive it through the VB Code?
    regards
    Thiru

    I don't think you can disable the min max button, but you can just remove them
    The following XML create a form that can't be Resize, maybe it can help you.
    <?xml version="1.0" encoding="UTF-16"?>
    <Application>
      <forms>
        <action type="add">
          <form AutoManaged="0" BorderStyle="6" FormType="60007" ObjectType="-1" SupportedModes="15" appformnumber="" client_height="119" client_width="60" color="0" default_button="" height="121" left="0" mode="1" pane="0" title="Toolbar Like" top="0" type="6" uid="Try" visible="1" width="160">
            <datasources>
              <dbdatasources>
                <action type="add" />
              </dbdatasources>
              <userdatasources>
                <action type="add" />
              </userdatasources>
            </datasources>
            <Menus />
            <items>
              <action type="add">
                <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" height="21" left="112" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" top="0" type="100" uid="Line1" visible="1" width="1">
                  <AutoManagedAttribute />
                  <specific />
                </item>
              </action>
            </items>
            <FormMenu />
            <DataBrowser />
          </form>
        </action>
      </forms>
    </Application>

Maybe you are looking for

  • In Need of an Application Launcher

    Does anyone know of an application launcher that will launch multiple applications simultaneously and remember their window state (size, position and desktop)? I'm running OS X Mavericks so I'm looking specifically for an application that was release

  • Sharing a communication object between test sockets

    Hi everyone, I am having some trouble using teststand in batch mode as it is my first time doing so. Here is my question: I am creating a test sequence that uses multiple test sockets. I am using a switching matrix that is controlled over ethernet to

  • Storage network slow backups

    Hi all I dont know if anyone can help on here, We are having issues backing up to some LTO 4 drives on our SAN, the san switches are old brocades running at 2 Gig, the devices are backed up via a HP G5 server running netvault, the servers sit on the

  • Please help me on this palindrome program

    import java.io.*; public class lab16b2 public static void main (String args[]) throws IOException           BufferedReader input = new BufferedReader(new InputStreamReader(System.in));           boolean finished = false;           clearScreen(31);   

  • What is SPDD ?? What is it Role during the upgrade

    I want to know what is SPDD what is it Function??