Sequential Number for Non-Approved Forms

Hello-
I'm building an InfoPath form that is submitted to a SharePoint library.  There is an approval workflow created in SP Designer.  Once the form is approved, it is moved to another document library and then deleted from the current one.  Our
goal is to assign a sequential number (RQNumber) to each form.  In InfoPath I have created 2 fields:  One that looks in the initial form library and grabs the max RQNumber and another that looks in the other form library and grabs the max
RQNumber.  Then I have a field that takes the max of those two numbers and adds 1.
The issue I'm having is I can't get the formula to grab the max RQNumber from the first form library.  I'm guessing this is because the form hasn't been approved yet, so it doesn't pull from the form until it's approved.  Is that correct? 
Is there any way around that?
Thanks! 

Hi Nivek,
Question: At what stage is the RQNumber assigned to the form in the first form library? Is it during submission of the form or during approval? If you are deleting the document from the first form library, arent you getting the max RQNumber same everytime?
If this number is assigned during form creation, you should be able to lookup in the form library from a data connection to the same form library. During Form load, set a field to have max of RQNumber. Hope it helps.
Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

Similar Messages

  • Sequential number for PDC messages

    i need information regarding field named PDSNR (Sequential number for PDC messages) in table named ASSOB.
    what are these PDC messages ?

    Hi,
    Number Range for your PDC message. The PDC messages are nothing, various message you are getting after the upload of time datas from PDC to SAP.
    Good Luck
    Om
    Reward it, if u feel hlepful.

  • How to check Unissued check number for NON-Seq cheques

    Dear experts,
                            i want to know the unissued cheques for non seq cheques where i issued nearly 900 from 1000 cheques in my cheque lot 1. Just i want to know the cheque number which are not issued.
    Thanks in advance

    Hi,
    You have 2 option
    1. Check in table PAYR in se16 , put check number in descending order and you will find the missing one.
    2.  Check in FCHN enter form and to check number, and find out the missing number
    Regards,
    Shayam

  • Vendor part number for non catalog item in shopping cart?

    I have a requirement to get the vendor part number field in shopping cart basic data for non catalog item. This field is available for catalog items, would it be possible to make the same field available for non catalog items as well?

    Hi Gummadi,
    You can create custom fields in Shopping cart uisng a BADI and can populate the information.
    BBP_CUF_BADI can be used to create customer fields.
    Please get discuss with your ABAP fellow for the creation of customer field.
    Award points for helpful answers.
    Rgds,
    Teja

  • Serial number for non stock material

    Hello,
    I would like to create a serial number for a non stock material  (material type NLAG) (PO with account assignment catergory K) and I receive the following error message during the goods receipt (transaction MIGO) :
    *Movement type 101 does not currently support serial number management*
    *Message no. IO306*
    *Diagnosis*
    **With the help of * under the business operation, the entry in table T156S used here under movement type 101 defines that no serial numbers are supported here.**
    *System Response*
    *Termination of the transaction called up.*
    Is there somebody who can help me with this problem please ?
    Thanks a lot in advance for your help.
    Kind regards,

    Hi,
    I'm not familiar with Serial Number Management but I guess you can apply it only to materials with stock.
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/f8c814b3f911d1896e0000e8284931/frameset.htm
    (no non-stock materials are mentioned...)
    BR
    Csaba

  • Changing layout for non interactive form - lisence

    Hi Experts,
    Here is the scenario. In ESS, display travel form would show up a standard adobe form. If we changed the format hiding or adding new field would be there any additional license for that (note that this form is not interactive)? From what i understand additional license only apply to interactive form. Please advice.
    Many thanks.

    You say "non-interactive", what means "print form". Adobe forms as "print forms" replace Smartforms and are ready to be used free of charge. You should need no additional license for your "new" form.
    Cheers Otto

  • 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

  • Assign sequential number for same records

    Please help in writing query for the below scenario
    Table                
    recordId
    Name
    date
    Abc-123
    Star
    23-09-2013
    Abc-123
    Neon
    17-09-2014
    Abc-123
    lap
    05-05-2014
    Xyz-789
    Note
    09-10-2013
    Xyz-789
    Sketch
    15-01-2014
    I must write query where the o/p would be like this
    Where same recordid  should be numbered sequentially ,and the sequence should start from beginning
     for the another record.only same recordid’s should be considered and numbered irrespective other fields
     in the tables
    O/p
    Numbering
    recordId
    Name
    date
    1
    Abc-123
    Star
    23-09-2013
    2
    Abc-123
    Neon
    17-09-2014
    3
    Abc-123
    lap
    05-05-2014
    1
    Xyz-789
    Note
    09-10-2013
    2
    Xyz-789
    Sketch
    15-01-2014

    thanks sofiya .. could you also  please  help in another requirement .
    recordId
    Name
    Abc-123
    Star
    Neon
    lap
    Xyz-789
    Note
    Sketch
    I want to get  to all the names associated with one recorded ..as shown in the above table.

  • Tax report for Spain - Sequential Number

    The layout that I have prepared for the Tax report (RFUMSV00, Tx: S_ALR_87100833) shows the column "Sequential number." Thus, I have a relationship without jumping straight to the numbering of all invoices with VAT.
    The system assigns a "Sequential number" for SAP document number. The "problem" arises when there is a bill, a SAP document, with more than one tax indicator of VAT. Then some lines appear in the Declaration of VAT with the Sequential number field in blank and that is because the number of the document (this bill) is already listed in the Declaration in another line with its own Sequential number .
    How do you work with it? Can I somehow avoid that remove this Sequential number blank?

    Hi (again)
    After reading the SAP note number 1628714 ( https://websmp107.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1628714&_NLANG=E ), I think that there isn't an SAP-standard solution.
    Best regards.
    Paco M

  • Sequential number visible to user

    Is it possible to have a field which shows a distinct sequential number for each form? I want to set up a Purchase Order system where a distinct number is visible to the person filling out the form online.

    This is not supported by Adobe FormsCentral.  This is something that you would be able to achieve using pdf forms created in Acrobat Pro.
    -Jeff
    Jeff Canepa
    Software Quality Engineer
    Adobe Systems, Inc.
    [email protected]

  • Sequence Number Generation in XML Form Buider??????

    Hi All,
    I want to generate some Sequence Number for each XML Form Generated by the XML Form Builder Application?
    Ex: my XML Form Builder Application is "MYAPP". Using this I filled data and Save, then an XML will be created, then it should have some unique Number(say 1234), then if I fill the differennt Data and Save, then another XML will be created. For this the Number should be 1235, next 1236, ........
    I can use the XML Form ID, but that is not User friendly format. Becaz I need to display this Number to the End User.
    (Example: 10b2ae7b-e269-2b10-d88e-ddade2e62015.xml)
    If anybody have idea on this, Please guide me...
    Thanks&Regards||
    Ashok M.
    Edited by: Ashok Kumar Munugoti on Oct 16, 2008 8:04 AM

    closing this Thread.

  • CRM 2013 On-Premise How to implement sequential numbering for records?

    Hi All,
    I don't know if someone could advise me on the following.
    I have two entities, Transport Routes and Stops with a 1:N relationship. I want to auto-number the Stops records sequentially (1, 2, 3, 4, etc.)  but want to start at 1 within each Transport Route. How should go about it? Is it possible to achieve this
    with JS, or would that be a bit clumsy and would you recommend a plugin instead?
    I have an auto-numbering solution (AdvancedCRMAutoNumber from Xbitz) but that will not restart the counter position to 1 for each Transport Route - at least to me knowledge it cannot.
    Would appreciate any help!
    Thanks, Viktor

    hi Victor,
    I think you can write plugin by following below steps.
    -->Create one field in the Transport route entity to store the sequential number.
    -->As soon creating the Transport stop record get the sequential from the Transport route and create the sequential number for the transport stop.
    -->Update the Transport route record by incriminating the sequential number field.
    So every Transport route record will have sequential number which we can start with 1 as based on the stops we can increment the number.

  • How I can change sequential number in RFUMSV00 (Spanish declaration of VAT)

    Hi!
    How I can change sequential number of Output /Input Tax in RFUMSV00 transaction (Spanish declaration of VAT)?
    In input declaration I would like to have one sequential number for input tax and for output tax that appears on in.  Is possible with standard Sap or I need a Z-transaction?
    Thanks

    Dear friend,
    Please refer the below note.
    SAP Note 849459
    Reg
    Madhu M

  • Security pane in preferences is missing cookies, databases and non-secure forms options?  Also Privacy Pane is totally blank?

    I wanted to delete some cookies.  But when I went to the Security Pane in Safari Preferences, it does not show any of the following categories/settings option:  nothing for cookes (nothing for accept or show or anything else about cookies), nothing for databases, and nothing for non-secure forms.  No controls for these are showing in the Security pane.  Also, the Privacy Pane in Safari preferenes is totally blank--I can't set anything on that.  Where are these controls/settings options, why can't I see them?  I am using OSX 10.6.8 and Safari Version 5.1.9, I have a Mac Book Pro 3.06 Intel. Thanks. 

    Uninstall SIMBL as follows. Back up all data before making any changes.
    Triple-click the line below to select it, then copy the text to the Clipboard (command-C):
    /Library
    In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V), and press return. A folder will open. From that folder, delete the items listed below (some may be absent.) You may be prompted for your administrator login password.
    Application Support/SIMBL
    InputManagers/SIMBL.bundle
    LaunchAgents/net.culater.SIMBL.Agent.plist
    ScriptingAdditions/SIMBL.osax
    Log out and log back in.
    Make sure you never reinstall SIMBL. It’s likely to come bundled with another third-party system modfication that depends on it. If you want trouble-free computing, avoid software that makes miraculous changes to other software, especially built-in applications. The only real exception to that rule is Safari extensions, which are mostly safe, and are easy to get rid of when they don’t work. SIMBL and its dependents are not Safari extensions.

  • Sequential number

    Hi All,
    What is the importance of  Sequential number for condition exclusion in Pricing Proce. where we assign one exclusion grp to other? How should i arrange the sequence of assignements of different exclusion groups?
    Can a exclusion group  contains more than one conditon type for comparision?
    Thanks,
    Pramod

    Hi madhu aaryaa,
    I think that you have some problem with you.
    You had posted similar question for the past 2 or 3 times and I had replied for them. You have not even rewarded points or closed them.
    Check these threads for your reference...
    logic generation
    number generation
    batch number
    batch number
    I have even posted the code for this. Hoping that you will do the needy...
    PARAMETERS p_i TYPE i.
    DATA d_i1 TYPE i.
    DATA d_i2 TYPE i.
    DATA d_i3 TYPE i.
    DATA d_i4 TYPE i.
    DATA code(4).
    DATA num(36) VALUE '0123456798ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
       d_i4 = p_i MOD 36.
       p_i = p_i DIV 36.
       d_i3 = p_i MOD 36.
       p_i = p_i DIV 36.
       d_i2 = p_i MOD 36.
       p_i = p_i DIV 36.
       d_i1 = p_i MOD 36.
       code+0(1) = num+d_i1(1).
       code+1(1) = num+d_i2(1).
       code+2(1) = num+d_i3(1).
       code+3(1) = num+d_i4(1).
       WRITE code.
    Message was edited by: Wenceslaus G

Maybe you are looking for

  • How to invalidate a session based on the session id

    How to invalidate a session based on the session id

  • Text Box to appear on the last page of the report

    Folks, I have a report where I am using SAP BW Hierarchy in rows. So the rows may increase or decrease. I also want to add a Text box with some Text at the end of the report. Since Report may have many pages or one pae how can I force this box to app

  • What is the flaw in this simple Swing program ?

    Hi all , I tried one simple animation in Swing . Here's what the program has to do : when a button called "play" is clicked a circle should be moved from upper left corner down to the lower right corner. import javax.swing.*; import java.awt.event.*;

  • Oracle installation for Win NT

    I went into follwoing link.. http://otn.oracle.com/software/products/8i_personal/htdocs/winsoft.html Downloaded following Oracle8i Personal Edition Release 3 Version 8.1.7 for Windows NT/2000 Download the Complete File nt817personal.zip (612,139,274

  • Missing incoterms in vl10g

    Hi Gurus, Please explain which authorisation object Claudia reffering..... Q: Hi experts, I'd like to have information about the incoterms of the sales order when I use the transaction code VL10G. But although the fields INCO & INCO2 are available in