Using series for UDO document numbering

Hey All,
Does anyone know what else I need to do to implement series numbering on my UDO document? I have added the following line during the UDO registration:
oUserObjectMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tYES
And I have a docnum field on my custom form but I keep getting an error message stating document numbering must be setup for this form and the text box is empty.
How do I get the autonumber to populate that text box?

You haveee to declare the tables and link them. Mine usualy looks like this
Dim oUserTable As SAPbobsCOM.UserTable
        Dim Rs As SAPbobsCOM.Recordset
        oUserObjectMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)
        oUserObjectMD.CanCancel = SAPbobsCOM.BoYesNoEnum.tYES
        oUserObjectMD.CanClose = SAPbobsCOM.BoYesNoEnum.tYES
        oUserObjectMD.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tNO
        oUserObjectMD.CanDelete = SAPbobsCOM.BoYesNoEnum.tYES
        oUserObjectMD.CanFind = SAPbobsCOM.BoYesNoEnum.tYES
        oUserObjectMD.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tYES
        oUserObjectMD.CanLog = SAPbobsCOM.BoYesNoEnum.tYES
        oUserObjectMD.ChildTables.TableName = "DSH1"
        oUserObjectMD.Code = "DEAL"
        oUserObjectMD.LogTableName = "ADSH"
        oUserObjectMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tYES
        oUserObjectMD.Name = "Sheet" '"SM_DEAL_SHEET"
        oUserObjectMD.ObjectType = SAPbobsCOM.BoUDOObjType.boud_Document
        oUserObjectMD.TableName = "ODSH"
        lRetCode = oUserObjectMD.Add()
Then i usualy do all the binding in the screen painter. Do it once off. But when you load the document you must also say what it will browse by
oForm.DataBrowser.BrowseBy = "DealNo"
Mine does not populate the box when in add mode. But if i scroll through the old records that have been added it shows the recorde number and all the relvant detail. Under document numbering in SAP make sure that it has created your series.....you should see it there
Hope this helps.

Similar Messages

  • Print Excise invoice in Series grp 111 using J1IP for Billing document 1234

    Dear Gurus,
    I have an issue in which I create Sales Document>>Delivery Document and after that if I save my Billing Document a message pops up like:
    Print Excise invoice in Series grp 111 using J1IP for Billing document 12345
    And Excise Invoice gets generated automatically without J1IIN, to which I can view in the display mode in J1IIN.
    I wish to Create Excise Invoice by using T Code: J1IIN not automatically.
    I have checked all the number ranges and search the forum extensively but couldnu2019t found a possible solution.
    Please help me!
    Regards,
    Ashu

    Hi,
    Create Excise Invoice Automatically
    Instructs the system to automatically create an outgong excise invoice immediately you create a commercial invoice or a pro forma invoice.
    The system creates the excise invoice in the background.
    Dependencies
    If you want to make use of this function, you must also define the default plant, excise group, and series groups in Customizing for Excise Duty, by choosing Business Transactions -> Outgoing Excise Invoices -> Maintain Default Excise Groups and Series Groups
    SPRO>Logistics General>Tax on Goods Movement>India>Basic Settings-->Maintain Excise Groups.
    Under the Outgoing Excise invoice tab there is a check box (Excise invoice during billing)
    Regards,
    Saju.S

  • Can i use iCloud for pages documents iMac?

    can i use iCloud for pages documents iMac?

    Hi lmdavis72,
    It looks like you can.
    From "iCloud: Documents in the Cloud overview"
    You can download a document from icloud.com/iwork to your Mac or Windows computer, edit it, and then drag the revised version to icloud.com/iwork. It’s then automatically updated on all of your iOS devices. You can also drag an iWork ’09 (Keynote, Pages, and Numbers) or Microsoft Office (PowerPoint, Word, and Excel) document created on your computer to icloud.com/iwork.
    So it looks like it can go between iOS devices and your iMac.
    ivan

  • What's the  uses of "group" in "Document Numbering".

    What is the uses of "group" in "Document Numbering"?
    How can we link various "groups" to different "user"?
    How can I set, if I want some user to be restricted to a particular series?
    Pl Reply asap.
    Khushwant

    Hi Khushwant
    The solution is In the authorisation form,
    Go to the following module: Administration >System Initialization>Authorisations -->General Authorisations.
    In the Authorisations form select the simple user on the Left collumn and on the right of the form go to Administration --> System Initialization --> Series
    There you can determine the user's authorizations on particular series.
    Hope this was more helpful
    Regards
    George

  • Open several PDFs in the same Reader window using tabs for each document

    How do I open several PDFs in the same Reader window using tabs for each document?  I'm using Reader 11.0.03 and Windows 7.  

    That would be a nice feature!  Suggest it at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform - hopefully it will make it into Reader XII.

  • Graph Types getting shuffled when use Series for both graph types

    Hi,
        I have a requirement to use two Graph types in a single Business graphics UI element.
    First Graph type is of STACKED COLUMN, and the second one is of LINE. When i use Series for both graph types; they are getting shuffled and not readable.
    Same is happening on use of Simple series for STACKED COLUMN Graph type and Series for LINE graph type..
    How can i solve this problem?
    vinod.

    > unfortunately when i run this i am getting the following error for all my types:
    ORA-00904: "INHERITED": invalid identifier
    Yep, quite rightly "unfortunate". One of my pet peeves about Oracle's o-o implementation. You cannot call inherited methods using the inherited command - it is not supported.
    Which explains the Oracle error message - it is telling you it has no idea what the command (identifier) called "INHERITED" means.
    There are ugly workarounds (one which I have posted in the PL/SQL forum I think in the distant past - 8i?)... but it is pretty much a hack and not something I would like to consider for production.
    Not sure if recent Oracle versions step up to the mark in this case - I have not seen anything that supports calling the inherited class methods from within an override for example.
    Perhaps if you show us a basic example of what you are trying achieve we can suggest alternatives?
    > does any one know what i am missing?
    Better coach and/or players so that the Wales rugby team can give England and France proper hidings and win the 6 Nations? ;-)

  • How to obtain the default serie for a document

    Hi,
        Anybody know how can obtain the default serie for a document throw a query??
    I can`t see the relation between the ONNM and the NNM1 tables because the 'dfltseries' field of the ONNM not corresponding with the 'Series' field of the NNM1.
    For example for an A/P Invoice
    Thanks!!

    Hi Mariano,
    According to the SDK Help file, you need to query the NNM2 table
    Series Default
    Table name: NNM2
    ObjectCode     UserSign     Series     DocSubType
    So, the query to retrieve the A/P default series for the manager user would be:
    SELECT T0.Series FROM [dbo].[nnm2] T0 WHERE T0.ObjectCode='13' AND T0.UserSign = 1
    From the SDK you can replace the T0.UserSign = 1 for T0.UserSign = oCompany.UserSignature to retrieve the default series for the current user...
    Regards,
    Vítor Vieira

  • Number Range (series) for Billing Document (F2) and Excise Invoice

    Hi All,
    I want to know how the number ranges / number series is defined for billing documents (F2) and excise invoice, for India business scenario.
    In India, the excise invoice is given to the customer so that he can the excise duty/ cenvat. This invoice acts as the Tax invoice (having all pricing elements apart from excise duty) against which customer outstanding is considered. That is, the payment due will be tracked against this Tax (excise) invoice.
    But in SAP, the accounts posting is done (customer a/c debited) when we creaate and post the billing document (type F2). Hence, the outstanding amount is tracked against the billing document created. This billing doc/invoice will have all the pricing components like price, discount, freight, etc apart from excise duty.
    The excise invoice is created separately....with ref to the above billing doc....for posting the excise duty.
    If the number ranges for billing document and excise invoice are different then it is difficult to trace the outstanding amount from a particular customer on the basis of excise invoice created in the system.
    Can somebody provide inputs/solution on this?
    Thanks indvance.
    Rgds,
    Amit

    Hi Saurabh,
    My question is not how to define number range for billing doc and excise invoice? i mean what procedure / tcode to be used for the same?
    My question is whether we need to define same number range for Billing doc (F2) as well as Excise Invoice.
    For example: number range 1000 to 1999  --- same for F2 and excise invoice....
    Lets say billing doc 1000 is created. Further, when we create excise invoice w.r.t. this billing doc....the excise invoice created will also need to be 1000. ....so that we can identify that against this excise invoice, we need to collect the payment from customer.
    If the number ranges for billing doc and excise invoice are different, then it is difficult for the user to trace the outstanding payment .....because genarally the excise is treated as Tax invoice by companies in India ...(so that the customer can claim the excise duty....when he purchases the goods from the company).
    Whereas the customer account is hit when the billing doc is posted .....hence i feel, we need to keep the same number range for billing doc and exice invoice.
    Hope the question/scenario is clear now.
    I would appreciate the inputs on the above, from the consultants/experts who have worked on SAP implementation projects in India.
    Rgds,
    Amit

  • Using Save_text for Billing Document

    Hello,
    I've created BDC program to create Billing Documents in SD. I will be required to use the function module "save_text" to upload the long text. However the long text does not get updated. I've tried calling the save_text and this time the long text gets uploaded. Does anyone know why this is happening?
    Thanks
    Gladys

    This is my code. I've used the very same codes for creating sales order, delivery note and quotation and it works. Somehow it just doens't work for Billing document.
    form save_header_text tables text_line using tdid.
      DATA : HEADER LIKE THEAD.
      data: v_function(1).
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = record-billdoc
        IMPORTING
          OUTPUT = record-billdoc.
      header-tdname = record-billdoc.
      header-tdobject = 'VBBK'.
      header-TDID = record2-tdid.
      header-tdspras = 'E'.
      CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
      CLIENT                = SY-MANDT
          HEADER                = header
      INSERT                = 'X'
       SAVEMODE_DIRECT       = 'X'
      OWNER_SPECIFIED       = 'X'
      LOCAL_CAT             = ' '
    IMPORTING
       FUNCTION              =  v_function
      NEWHEADER             =
        TABLES
          LINES                 = text_line
    EXCEPTIONS
      ID                    = 1
      LANGUAGE              = 2
      NAME                  = 3
      OBJECT                = 4
      OTHERS                = 5
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • Reg : Movement Types For Material Document Numbers

    Hi All,
           Is there any any field in MSEG  table that links Movement Types 101 / 102 with the movement types 261 / 262.
           Here 101 / 102 Mvmt types Are meant for (GR goods receipt / Goods Return)
           and  261 / 262 Mvmt types Are meant for (GI for order / Reverse GI Order).
    Regards,
    Kalyan.

    Dear Prashant,
                           Field "SMBLN"  in MSEG table is linking Material Document Numbers with Movements 101 & 102 Only,
                           but I want a link between Mvmt types 101 & 261, which I think may not be possible with SMBLN.
                           correct me if i'm wrong.
                                                             Thank You
    Regards,
    Kalyan.

  • I use publisher for work documents. Can I get that for my MAC?

    Can I get Publisher mor my macBookPro?

    Microsoft Publisher is not available for OS X, so you have to look for another app that can do the same job.
    LibreOffice allows you to open and edit PUB files, so you can still use these documents > http://www.libreoffice.org

  • Where-used lists for many part numbers

    I could use CS15 to view the parts one by one. Is there a way to input a list of part numbers to see the where-used list?
    Pls share

    Ya very true. This particular message was called dynamically so it was not showing in the where-used list.
    However  I was able to get the code where this code was populated by putting a debugger at a standard macro that was used for populating the SLG1 log file. From there I was able to get the code where this message was called dynamically.
    Thanks to all
    Debashish
    Edited by: debashishjsr4 on Oct 11, 2010 12:25 PM

  • Using illustrator for technical documents, heavy text

    Hi,
    First, apologies for the total noob question. I'm sort of at a loss.
    A technical writing instructor recommended Illustrator to me for creating all of the technical documentation for my company.  Essentially we have documentation in many forms, but mostly already on our website. I'm trying to migrate this material, mostly text, from the site and into an Illustrator document (essentially copying and pasting, formatting later).  Well, I am sure I don't have to tell anyone here, but it's a struggle to get text into an artboard, muchless to the point where it's easy to manipulate.
    Can anyone point me in a better direction? I have a lot of books, and have been googling all day, but so far I'm not having any success.  I feel like I should be able to figure this out.
    Did we buy the wrong software for the job?
    My sincere thanks for what I can only assume is a somewhat irritating post.

    function(){return A.apply(null,[this].concat($A(arguments)))}
    Did we buy the wrong software for the job?
    For text-intensive documents of more than a few pages length, yes.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    Essentially we have documentation in many forms, but mostly already on our website.
    LM, this doesn't help. What does that mean? What "forms"? When you say most are "already on our website" do you mean they are merely posted as downloadable links, or are the web pages themselves the documents?
    For anyone to advise you correctly, they would need to know what kind of content you are dealing with. Instead of creating guessing games, can you post a link to the website?
    For example: Did you know that Adobe Acrobat Pro can automate the creation of PDFs directly from a web site, including functioning links?
    JET

  • Custom print button using javascript for landscape document

    I am working on a document that has 50+ pages and am wanting to have a print button on most of them to print the exact page. The document is landscape and I need the "Auto-Rotate and Center" toggle to be checked on, but I don't know how to code that. This is what I have so far:
    this.print({
    bUI: true,
    bSilent: false,
    bShrinkToFit: false,
    nStart: 2,
    nEnd: 2
    Does anyone know how to get the "Auto-Rotate and Center" checked on and where to add it to the code?
    Thanks so much for any help.

    Hi Jaydeep,
    I had already debugged and removed
    'Include(Users)'. 
    if i remove 'Include(Users)'. i'm not getting user enumerator. It will be empty.
    Since there are no users loaded in the object, the entire function not working.
    Thanks,
    Bharath P N
    P N Bharath

  • When will be possible to use iPhone for uploading documents, please this problem make me be really frustrated. Thank you

    I Try to upload a document using my iPhone but the single option is to upload pictures  please let try to fix this problem

    Its possible now, though not through Safari.
    You'll need to use a Browser that supports uploading of other files such as iCab Mobile
    https://itunes.apple.com/en/app/icab-mobile-web-browser/id308111628?mt=8

Maybe you are looking for

  • How do I transfer my data to my new macbook pro using an external hard drive?

    I've already set up my new MacBook Pro is my issue. It asked me if I'd like to "Migrate" my stuff or use an external hard drive etc but at the time I didn't transfer my data from my old MacBook yet. I was going to manually do it later as I had to wai

  • Recipe Box Crashes on Recipe Edit

    After successfully visiting a site and saving a recipe, trying to change the name crashes the program. When you return the recipe is gone (but apparently still there as indicated by trying to re-enter the same recipe - recipe exists message). The pro

  • Video iPod Shows 1777 GB, Shows it's Full of "Other"...

    iTunes shows it has music on board, but when I eject and try to see the music. There's nothing there. Anyone seen this issue before?

  • How to encrypt a mail attachment

    hi, anyone know a module i could use to encrypt the attachment of a mail that i must send to receiver system? i must encryt the attach and the mail. for mail encrypt i'm ussing S-MIME protocol. Rgds. RP

  • Firefox quits after I go to a web site and open it. firefox crashes

    I don't understand I just can't work with firefox. it is always quitting and crashing. and/or it says it cant find the web internet access. Plus loading takes forever == Crash ID(s) == Don't ask me because it will quit if I ask for detailed instructi