Document Numbering Issue in user defined form

Dear All,
There is UDO with manageseries = true. Series and DocNum fileds are binded to database (Combobox And Edittext). I can easly get next number and assign to Docnum field while selecting series from Combobox. The problem is when i choose series diferent than default and add document i get warning message "The actual posted document number is :XXXXXXX". No matter which series i choose system always takes default one. I found other threads accourding to this issue but no solution found.
Regards,
Guru

Hello,
How guru. Is your problem solved? As i'm have a similar peroblem -
I have created a user form using screen painter and want to save data to my user defined table -
Document - U_OPCD
Document Rows - U_OPCD1
First i was using the SAPbobsCOM.UserTable object to save data to my usertable. But after registering it as a UDO (as i wanted document numbering series for it) i'm unable to save data using this SAPbobsCOM.UserTable object. As i'm uable to access the default fields (DocNum, DocDate, Series....)  added to the table by SAP.
Can u help please?

Similar Messages

  • Base Document and Target Document Menu for User Defined Forms

    Hi Experts,
    I am facing a problem regarding enabling the menu "Base Document" Menu UID="5898" and "Target Document" Menu UID="5899" . Both of these menu Items are not enabled for User Defined Form .Actually I have developed a user Defined form for Purchase Requisition that targets Purchase Order . User can Copy Line Items From Purchase Requisition to Purchase Order and I am tracking the DocEntry and LineId of PR into PO Item's using UDS . I want to Open this PR Document upon Click of BaseDocument Menu .I have tried all the options. I have used Form.enableMenu() method also . But none of those options work for this menu . I ahve also searched about this problem i this forum also but there is no soultion so far posted regarding this.
    I really want to confirm whether it is possible or not using SDK for User Defined Forms . Is there any possiblity of implementing any WorkArounds and Having this feature implemented .
    I am Expecting a true solutions as this Forum has so many Experienced Experts .
    Thanks and Regards,
    Pooja Singh.

    Hello Poja,
    It is not possible, because the requested menus are depending on the forms, and the are not exists,
    WorkAround:
    add the menus to the User Defined forms, and use right click to activate them:
    oForm.Menu.Add("5898", "Base Document", BoMenuType.mt_STRING, oForm.Menu.Count)
    oForm.EnableMenu("5898", True)
    And hanle the menu event when you clicked them and the form is your custom form.
    Regards,
    János

  • Opening a Crystal Report in B1 8.8 in a User Defined Form representing UDO

    Hi Experts,
    Is it possible to open a Crystal Report from a User Defined Form representing my UDO?
    I had developed a 'Vendor Quotation' UDO and its  User Defined Form
    I wanted to show the report while clicking the Preview menu in SAP B1 8.8 toolbar.
    I have created the Crystal report and used the record selection as {@OVQT.DocEntry} = {DocKey@}
    Please help
    Also, is it possible to add Print layout and assign a default Print layout to this User Defined Form?
    Thanks in advance
    Regards
    Arun

    Hi,
    I also face the same problem. I make a master type using UDO. But i want to print it.
    In my opinion ( i haven't tried this way ). If we make a UDO ( master or document type ) , we will find the docentry and object field in our UDT. Both of these will connect between SAP form and Crystal report. In crystal report we select the tmsp_doclinetypelayout. It is a store procedure which will connect between SAP form and CR. Before that try to modify this SP by adding the udo object.
    Fyi, if i'm not mistake dockey is connected to docentry SAP form.
    Thanks
    regards
    bodhi86

  • User Defined Form problem...

    Hi,
    I have the Item Master Data form opened with the User Defined Form opened.
    Now the Form has the focus and I'm trying to get an User Defined Item control on the User Defined Form
    but it says Form not found and I did try to select it or to use the GetForm with the "-" + TypeEx of the current form but nothing seems to work.
    Any idea how I can switch from the form to the User Defined Form on which I need to get the control ?
    I havfe to mention that I'm trying it on a second opened Item Master Data form so the FormTypeCount = 2  Could it be a BUG ?
    Edited by: Marc Roussel on May 28, 2009 4:20 PM

    if (mo.ItemUID.IndexOf("U_") != -1)
        oCurrentForm.PaneLevel = 1; // I tought this could help since the UDF form has a pane level of 1 but it does nothing.
        oCurrentForm = _SBOApplication.Forms.GetForm("-" + FormType.ToString(), FormTypeCount);
        // I get a Form not found here............ HUH WHY ??????? It's there and visible.  I DON'T UNDERSTAND...
        // and FormType is really "150" which is the actual form opened......

  • Give authorisation To User defined form

    How to give authorisation to User defined form
    Regards,
    Pravin

    hi,
    After you have created the additional Authorization in Additional Authorization Creator window you still need to define the authorization in the Authorization Window located at Administration -->> System Initialization -->> Authorizations -->> General Authorizations. then select your desired user and assign your desired Authorization.
    regards,
    Fidel

  • Type property for user defined forms

    Hi,
    When creating a user defined form using Screen Painter,
    how can we assign Type property for the form so that we are sure it will not clash with system forms in the future?
    Thanks,
    Satish.

    Thanks Juli
    Just one last question. It it be alright to assign a text value(Partner namespace in front) for the form type property.Does it have any drawbacks?
    Thanks,
    Satish

  • Regarding query generation to user defined forms

    Hi all,
    i had created user defined form with some fields and tables
    tables in the sense matrix
    i had entered the data in that table
    and added that data
    after that i came back to that form and used the fields that are below the table to calucalate the maximum and minimum from the columns of matrix
    so to get the data of that particular form only i used the $ command to extract data depending on the report number
    but iam unable to get the result
    any one help me regarding this
    it is required urgent
    Thanks And Regards
    sravanth.sm

    Sravanth,
    Let's see if I can help you.
    Assume your form's title table is called @TITLE and the matrix table is called @ROWS. In the form's title you have the record key DocEntry. In the Matrix you have a column COLUMN from were you are going to get some value. ok?
    Maximum of the column
    SELECT Max(T0.COLUMN) FROM [dbo].[@ROWS] T0 WHERE T0.DocEntry=$[@TITLE.DocEntry]
    To get the minimum, just use the Min() function.
    Regards,
    Vítor Vieira

  • SQL Query for user defined form

    Hi experts,
    I want query to update some fields in my user defined form using stored procedure on clicking of ADD button.
    Explanation:
    I have User Defined form call "DC request" with Object 'DCLM'..On click of Add button, it is saving my record info into the form. But in one field if value in not entered then it is saving as 'Null'.
    Addon is already made, can not change in coding.
    I want to update this field with '0' value through query in stored procedure on click of Add Button. Can anyone help me out to achieve this.
    Thanks

    Hi Team Bone.
    Please try below Transaction Notification which will Restrict User to ADD if Field_Name is NULL and then User Need to Enter ZERO i.e. 0 for Adding.
    IF @OBJECT_TYPE = 'DCLM' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
    BEGIN
    If Exists (Select T0.DocEntry from [Table_Name] T0 Where ( T0.Field_Name is null  OR  T0.Field_Name = ' ' ) AND T0.DocEntry  = @lisT_of_cols_val_Tab_del )
    begin
    SET @error = -100000
    SET @error_message = 'Filed_Name is NULL then So, Please enter ZERO Value i.e. 0 in Filed_Name'
    End
    End
    Please change Table_Name and Field_Name with with UDO field.
    Hope this help
    Regards::::
    Atul Chakraborty

  • 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

  • Problem When Try to add Master data record for User define form

    Hi,
    I have made one user define form. And assign UDO and fields proerly in form.
    But when I try to add the record from the form it will give me error
    Invalid Code [Operation Master  -Code] [Message 173-36]
    I have already bind the code field of the table to one field in the screen painter.
    Please give me the reply.
    Regards,
    Gunjan Shukla.

    Dear Shukla
    Can you please try to do the binding in the code (after loading the from).
    Doing that, do you still have the problem?
    Best regards,
    Miki

  • Regarding creation of document number for user defined form

    Hi all,
    we had created a form , but we don't no how to generate document number as in sap
    we created but it is not creating automatically
    after adding only it is showing that number in series
    but i need that number at the time of opening only

    hi srvanth
    Use this code in a data binding of the form to load automatically the doc numbers
        ds = oform.DataSources.DBDataSources.Add("@TODACT")
            oform = oapp.Forms.ActiveForm
            Dim reset As SAPbobsCOM.Recordset
            Dim qsr As String
            reset = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
            qsr = "SELECT max(T0.DocNum) as c  FROM [dbo].[@TODACT]  T0"
            reset.DoQuery(qsr)
            If reset.Fields.Item("c").Value <= 0 Then
                a = 1
            Else
                a = (reset.Fields.Item("c").Value) + 1
            End If
            oitem = oform.Items.Item("doct")
            oedit = oitem.Specific
            oedit.DataBind.SetBound(True, "@TODACT", "DocNum")
            oedit.Value = a
    this will load document number everytime you load the form at the edit box with unique id "doct"
    hope this helpful
    you have to bind this edit box with DocNum Userfield of the table.
    report back if there is any error
    Regards
    Cool Ice
    Edited by: Cool Ice on Aug 19, 2008 7:20 AM

  • Display of document line items with user defined fields

    Hi all,
    I have created two user defined fields in CI_COBL structure and they are available on OBC4 screen. I maintained  optinal for entry in the screen layout. I posted one document with user defined fields and saved.
    Now the document is updated in BSEG table. I then display the document, and it display the doucment
    But when i double click on the one of the line items system gives an error that there is some problem in customising and entries missing in Table COBM.
    I checked OXK3 and see that in field information for user fields, it says entries maintained in table COBM.
    But still i couldnt display my line items in detail.
    Any solutions
    Thanks in advance
    Ram

    Yes your are looking at the correct sap note.
    Things look pretty straight forward in the notes documentation.
    1)Extend the VBKRED structure with the fields you want.
    2)Populate thse values in the user exit in program DBKMVF02 in FORM routine USER_EXIT_FUELLEN_XVBKRED.
    For extending a standard structure you need to create a zstructuree in se11 first and then append it to the standard structure.
    In your case you need to  extend VBKRED_EX1 structure rather than VBKRED.
    Regards,
    ravi

  • Document Numbering for specifc users

    Hi Everyone,
    Is it possible to set up a specific numbering series for a specific user? 
    For example, we would like one of the order entry people to have a series of 100 while another order entry person has a series of 5000. 
    If I am able to set it up this way, how do I do it?
    I appreciate your help.
    Thanks,
    Amanda

    Hello Amanda,
    The document numbering series can be assign to
    different group and you can grant different user authorization to the
    group, it mainly includes two steps:
    1. Define Series:
    - Go to Administration -> System Initialization -> Document Numbering.
    - Double-click on the row number of the document type for which you want
    to define the numbering. The Serials window opens. Here you can assign
    number ranges to a group.
    - Up to ten different groups can be defined.
    - Only super users can create and maintain number ranges.
    - A user who is not defined as a super user can only change the
    definition of his or her own default number range, assuming he or she is
    authorized to maintain number ranges at all.
    2. Define Authorization:
    In Administration -> System Initialization -> Authorization -> General
    Authorization window, you select the user in the left and define his
    authorization under Administration
    ->System Initialization -> Series - Group.
    After the two steps above, a specific user can only view and add the
    documents within the series which has been assigned to a specific group
    that he has been fully authorized.
    Is this what you expect?
    Regards,
    Wilma Wang
    SAP Business One Forums Team

  • Numbers assigned to user defined dimensions

    Dear Experts
    I have created application set from APPSHELL and created three user defined dimensions viz., A, B and C
    Then removed all not required dimensions including 'P_ACTIVITY' which was a User defined dimension.
    System has assigned numbers as U4, U8 and U9 to these dimensions on its own (I do not know what is the logic system is following to assign numbers to these dimensions)
    Questions:
    1. What is the logic system is following for assignment of the numbers to User defined dimensions?
    2. Can I change these numbers to U1, U2 and U3 (for ease in ad-hoc reporting). If YES how can I do that?
    Thanks

    Hi,
    The userdefined dimensions are named Sequentially as they are created and these are not constant for them, the same dimension may have different names in different applications.
    Also the user defined dimensions are named as Ua to Ux in NW.
    For example, in App1 some dimension X may be named as Uc, the same dimension X in App2 may be named as Ud or some other.
    We need to manually work betweeen "a to x" with the below macro to find the exact name for the user defined dimension in the application.
    "MNU_eTOOLS_MEMBERSELECTOR_X"
    Eg:
    MNU_eTOOLS_MEMBERSELECTOR_Ua
    Also as suggested in earlier replies i dont think this naming can be changed.
    Hope this helps,
    Regards,
    G.Vijaya Kumar

  • Issue in user defined payload search.

    Hi Experts,
    I tried to configure the payload search in SAP PI 7.1 EHP1 ; I followed the guides given in the links given below. After following every step, I am able to view till the last step but I am not able to get any output.
    After I define filter, extractors and prefixes; the filter becomes active. Now if I try to search with the message id I am able to find the values which I required are extracted (as expected). But when I try the same in SXI_MONITOR there is no result. I end up in getting no message available for selection window. I tried every variation which was prescribed in this websites which helped me fine tune my filter but still the error is very much present.
    Could you help me in solving this and throw light on why the test extractor is working but user-defined selection criteria is not working.
    I am using this in lower environment only.
    Links referred:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/803b22cf-ad75-2f10-0790-da055f2e8c0e?overridelayout=true
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/c85598f63335bfe10000000a42189d/content.htm
    http://scn.sap.com/people/niki.scaglione2/blog/2010/02/22/payload-searching-without-trex
    regards,
    Bharath

    hi barath,
    Extract during message processing will work for the messages that went through PI after this configuration has been done and it will not work for older messages.
    Extract with External batch job will apply this filter for older messages as well. Bit for achieving this you have to run batch job for program “SXMS_EXTRACT_MESSAGES”.
    We need to run the job for program “SXMS_EXTRACT_MESSAGES”. In SE38 we need to give this program name execute the program and give the date and time.
    after we need to check the messages in SXMB_MONI.
    Regards,
    Rajendar K

Maybe you are looking for

  • No longer an easy way to shuffle podcasts

    On my iPod, I listen to a mix of podcasts and music, and more often, I listen to a mix of podcasts which I put on shuffle. Over the years, iTunes has made this more and more difficult to do. By default iTunes sets "Skip when shuffling" to true for al

  • SQL Help for System Analysis

    Hi all, Can we seek for help in SQL? I have an system analysis which calculate the concurrent usage of a computer system. I have add all data which is stored in .CSV file and then insert into a table named as Activity. Can we select the data from act

  • Ipod touch playback issue

    I have just bought a new gen 32gb ipod touch and whenever it is playing music from a radio station it stops playing if I switch off the screen or come out of the radio application, what can I do so it continues to play until I turn it off myself?

  • Slice tool for /slice Wekzeug für Photoshop Elements 11 ???

    Hey, i need the slice tool for Photoshop Elements 11. is there maybe a Plug-In/add-on slice tool??? Or is there no chance to get the slice tool in PSE 11? Hat jemand vielleicht eine Idee woher ich ein slice tool für Photoshop Elements 11 bekomme? Ode

  • BPM for WebLogic 10.3 JMS listener problem: SecurityException

    Hi! I have a BPM 10.3 engine running on WebLogic 10.3 and a BPM process that uses JMS listener global automatic activity. The JMS queue is located in a WebLogic 8.1 server. The global activity receives a message and tries to create a new process inst