Invoice Number Generation

Hi all,
In APEX with Oracle 10g Express how can be generated the some invoice number more than one record,
example:
Order table we would like to load three or four transactions at one time with one invoice number.
I would appreciate for helping this issue urgently.
Regards

create a sequence on the table in question, in your form get the sequencename.nextval when you want to display an invoice/purchase order #. However when saving multiple rows you will be using a different column as a unique primary key, right?
Thank you,
Tony Miller
Webster, TX
You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
If this question is answered, please mark the thread as closed and assign points where earned..

Similar Messages

  • User exit after invoice number generation

    Hello,
    I need to fill the VBRK-XBLNR field with invoice number during creation of invoice.
    Can any one tell me if there is any user exit available after the number generation.
    Thank you!
    Best regards
    Sasi

    Hi Sasidhar,
    You can test whether the following Exit is applicable or not - using break-point --
    Exit Name           = V05N0001
    Function Module = EXIT_SAPLV05I_004
    Include                = ZXV05U04
    Kindly update us also.
    Thanks.
    Kumar Saurav.

  • Enhancement point in billing doc creation at invoice number generation

    I need to find an enhancement during billing document creation.
    This is my requirement.      Within function module RV_INVOICE_DOCUMENT_ADD, standard SAP determines the invoice number using Function Module NUMBER_GET_NEXT.  now, there is an enhancement point available immediately after the standard SAP invoice number has been determined.
    I need to find that enhancement point.
    Please advice what enhancement points are available at this point.
    Any advice is appreciated. Thanks in advance..

    Hi
    Here is a little program that when you type in the t-code it will give you all the user exits available.
    <Code>
    *& Report Z_FIND_USER_EXIT *&
    REPORT z_find_user_exit NO STANDARD PAGE HEADING.
    TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    TABLES : tstct.
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(30) text-001.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    IF sy-subrc EQ 0.
      SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR' AND object = 'PROG' AND obj_name = tstc-pgmna.
      MOVE : tadir-devclass TO v_devclass.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
        IF trdir-subc EQ 'F'.
          SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
          SELECT SINGLE * FROM enlfdir WHERE funcname = tfdir-funcname.
          SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                          AND object = 'FUGR'
                          AND obj_name EQ enlfdir-area.
          MOVE : tadir-devclass TO v_devclass.
        ENDIF.
      ENDIF.
      SELECT * FROM tadir INTO TABLE jtab WHERE pgmid = 'R3TR'
                          AND object = 'SMOD'
                          AND devclass = v_devclass.
      SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu
        AND tcode EQ p_tcode.
      FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
      WRITE:/(19) 'Transactie Code - ', 20(20) p_tcode, 45(50) tstct-ttext.
      SKIP.
      IF NOT jtab[] IS INITIAL.
        WRITE:/(95) sy-uline.
        FORMAT COLOR COL_HEADING INTENSIFIED ON.
        WRITE:/1 sy-vline, 2 'User exit', 21 sy-vline , 22 'Omschrijving', 95 sy-vline.
        WRITE:/(95) sy-uline.
        LOOP AT jtab.
          SELECT SINGLE * FROM modsapt WHERE sprsl = sy-langu
            AND name = jtab-obj_name.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WRITE:/1 sy-vline, 2 jtab-obj_name HOTSPOT ON, 21 sy-vline , 22 modsapt-modtext, 95 sy-vline.
        ENDLOOP.
        WRITE:/(95) sy-uline.
        DESCRIBE TABLE jtab.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'Aantal gevonden user-exits:' , sy-tfill.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No user-exit Found'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transactie code bestaat'.
    ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    <Code>
    Hope it helps.
    Regards
    Vic

  • Excise Invoice number not display in case auto generate

    Dear Experts,
    we have use auto excise invoice generation functionality, it is working properly, but only Excise Invoice number not display after saving billing document. what to do for display the same after saving billing document.
    Regards
    BK GAIKWAD

    Thank you Lakshmipathiji,
    My question is when we have create excise invoice through J1IIN excise invoice number has been display in bottom line after saving billing document.
    But in case we have creating  auto generate Excise invoice, Excise Invoice number not display in same screen. How to do to display excise invoice after saving billing document.(Excise invoice generating in background but number not display in same screen)
    We have changeover manual to auto generate excise invoice system.
    Regards
    BK GAIKWAD

  • Excise invoice number range.

    Dear Sirs,
    For a new trading business I have assigned a new number range for commercial invoices but I am unable to create a new number range for Excise Invoices.
    Please suggest how I can create a new Excise number range for this particular business & how I can interlink it with the commercial invoices.
    Looking forward for your kind support.
    best regards,
    Rajdeep

    Hi
    As Ratish alraedy mentioned that Excise Invoice No. Range is maintained on the basis of Series Group, so check your series Group.
    T-Code : SNRO
    Following is the No. Range Objects related to Excise, select the proper no. range object as per your requirement.
    J_1I57FC - 57FC Number Range
    J_1IARE1 - ARE1 Doc No object based on Series Group
    J_1IARE3 - ARE3 Doc No object based on Series Group
    J_1IBOND - Excise Bonding: Bond number object
    J_1ICERT - Withholding Tax Certificates (India)
    J_1ICHLNNO - Internal number range for challans
    J_1ICONPLA - Consolidated PLA serial no. generation
    J_1IDEPINV - Excise Invoice Number for Depot Invoices
    J_1IEXCEXP - Export excise invoice number range
    J_1IEXCINV - Excise invoice number
    J_1IEXCLOC - Local excise invoice numebr range
    J_1IEXCTST - Excise invoice with intervals
    J_1IEXINEX - Excise invoice number for export
    J_1IINTNUM - Internally document number to be generated
    J_1IINTPR2 - Despatch serial number
    J_1ILIC - Excise Bonding: License number object
    J_1IPLA2 - PLA part II number range object
    J_1IRG1 - RG1 Number range object
    J_1IRG1_T - No. Range for RG1 - Excise group / Material
    J_1IRG23A1 - RG23A part 1 no. range object
    J_1IRG23A2 - RG23A part II number range object
    J_1IRG23C1 - RG23C part I number range object
    J_1IRG23C2 - RG23C part II number range object
    J_1IRG23D - Folio Numbers for RG 23D
    Regards
    Amitesh Anand

  • Escise Invoice number range

    Hi Gurus,
    I created the number range for the objects using SNRO.
    But when i am creating the billing document and excise invoice in month of march, using posting date of say 270307, it is taking the Excise document no from year 2007 number range...that is starting from 1.. although it should happen from 1 April..and it should post this excise invoice in year 2006. but it is posting in 2007
    If i don't make the number range for year 2007, then while creating the Excise document i am getting the error message " Update wa terminated".
    Could you please help..
    Thanks & Regards,
    Divya

    T.Code: SNRO
    <b>J_1I57FC</b>     57FC Number Range Object
    <b>J_1IARE1</b>     ARE1 Doc No object based on Series Group
    <b>J_1IARE3</b>     ARE3 Doc No object based on Series Group
    <b>J_1IBOND</b>     Excise Bonding: Bond number object
    <b>J_1ICERT</b>     Withholding Tax Certificates (India)
    <b>J_1ICHLNNO</b>     Internal number range for challans
    <b>J_1ICONPLA</b>     Consolidated PLA serial no. generation
    <b>J_1IDEPINV</b>     Excise Invoice Number for Depot Invoices
    <b>J_1IEXCEXP</b>     Export excise invoice number range
    <b>J_1IEXCINV</b>     Excise invoice number
    <b>J_1IEXCLOC</b>     Local excise invoice numebr range
    <b>J_1IEXCTST</b>     Excise invoice with intervals
    <b>J_1IEXINEX</b>     Excise invoice number for export
    <b>J_1IINTNUM</b>     Internally document number to be generated
    <b>J_1IINTPR2</b>     Despatch serial number
    <b>J_1ILIC</b>     Excise Bonding: License number object
    <b>J_1IPLA2</b>     PLA part II number range object
    <b>J_1IRG1</b>     RG1 Number range object
    <b>J_1IRG1_T</b>     No. Range for RG1 - Excise group / Material
    <b>J_1IRG23A1</b>     RG23A part 1 no. range object
    <b>J_1IRG23A2</b>     RG23A part II number range object
    <b>J_1IRG23C1</b>     RG23C part I number range object
    <b><b>J_1IRG23C2</b>     RG23C part II number range object
    J_1IRG23D</b>     Folio Numbers for RG 23D
    You require to maintain appropriate number ranges for above relevant number range object.
    Regards,
    Rajesh Banka

  • Excise Invoice number and Internal Number

    Hello Friends
    I have some queries ,I will be thankful to you if you could guide me, in understanding themu2026
    1) When we see the document in J1IEX ,in excise invoice tab, we see two fields :Excise invoice number and Internal Number.
    For Internal number we define the range in object J_1INTNUM, but how do we define range for Excise invoice  number
    2) Where do we maintain the relation between GRPO (Excise Transaction type) with the Excise Invoice number
    3) When do we require updating of register ,is it done on daily bases, and  how can we see the entries of RG23A part 1.
    4) We have excise invoice number  range of posted ,in process and cancel documents which is  assigned to GRPO transaction type, while running J1I7 though we select last option   part 1 posted  and part 2 not  posted, still the system shows the cancelled documents, How can I avoid  the cancel documents
    Thanks
    Siddharth

    1) When we see the document in J1IEX ,in excise invoice tab, we see two fields :Excise invoice number and Internal Number.
    For Internal number we define the range in object J_1INTNUM, but how do we define range for Excise invoice number
    -->> Ex inv nbr will be entered based on the vendor ex invoice .. this is external nbr assignment
    2) Where do we maintain the relation between GRPO (Excise Transaction type) with the Excise Invoice number
    --->> there is no relation between grpo vs. ex inv nbr
    3) When do we require updating of register ,is it done on daily bases, and how can we see the entries of RG23A part 1.
    >> u can see in J1I7 or thru table J_1IPART1
    4) We have excise invoice number range of posted ,in process and cancel documents which is assigned to GRPO transaction type, while running J1I7 though we select last option part 1 posted and part 2 not posted, still the system shows the cancelled documents, How can I avoid the cancel documents
    >> wait for others answers..

  • Depot Excise Invoice number skipped ???

    Hi Everyone
    For Ex. say our depot excise invoice number range is from 1to 100, assuming the current number is 51. Some day back there was a jump in the depot excise invoice number range. In between 1 and 51 the number "25" is missing.
    So the excise department has asked the company as to why we have skipped the number 25.
    I have checked the table J_1IRG23D, but the skipped excise invoice number is not appearing in the tables, I mean it says "No table entries found for the specified key"
    Our Company wants to know the exact reason as to why the system has skipped the depot excise invoice number "25".
    Whether it is the system mistake or user mistake or some body else fiddling with the system.
    Please offer you valuable suggestions to solve this problem
    Thanks & regards
    satish

    Hi,
    SAP 99.9 % will never skip the number range on its own.
    As per my understanding:
    1.Some one has manually deleted the Depot Excise Invoice number after creation (due to the user mistake at selecting the 
      appropriate Incoming Excise invoice, Price , material or etc reason. And while creating the New Depot excise Invoice Number  
      he forget to adjust the number range at object 'J_1IDEPINV' for corresponding Series Group. This u can confirm by checking
      the entry at Item level, instead of Header at it will not show that entry.
    2.May be due to the Depot Sales Returns for respective Depot Invoice canceled and Deleted by the user.
       Here, deleting the excise Invoice is not Valid practice as per Excise Tax rules of GOI.
    3. Kindly check, whether Number Range Changes happend for respective Series Group between the Fiscal Year 2010-11.
    Please feel free to correct me and It will be a value addition if you find any other solution.
    Thank You,
    RB

  • How can i get an old itunes invoice number if I permanently deleted it from my email

    I need an old itunes invoice number to fix an itunes ID issue but i delete these invoices every three months from my email and email trash i can i get a copy

    Login to the iTunes Store.
    From the menu bar click Store > View My Account
    Click Purchase History from the Account Information window.

  • To get the invoice number of amount applied in view prepayment applications

    hi all
    In AP abc Manager-Invoices--when we give invoice number in the invoice number field we get to see supplier name etc in the same Invoices Form there is a
    tab called General from which we can get Amount Paid ,
    Similarly there is a tab called View Prepayment Applications ,when clicked on this tab we can see Amount Applied and invoice number corresponding to that amount applied
    KIndly help me from which table or view this invoice number can be obtained
    i got amount applied from the view AP_UNAPPLY_PREPAYS_V,but i cant find the invoice number.
    kindly guide
    thanking in advance
    Edited by: makdutakdu on Dec 19, 2011 11:29 AM

    Thanks Robin,
    i was able to get a work around for this. For the time being i am using the following code snippet, i will try using the one u sent an will see if this works too.
    // create nodeinfo object for the node that table will bind to
    final IWDNodeInfo nodeinfo = wdThis.wdGetContext().node<NODENAME>().getNodeInfo() ;
    //get the structure of the node
    final IStructure struct = nodeinfo.getStructureType() ;
    Iterator iter = nodeinfo.iterateAttributes() ;
    if (null != struct)
    totalFields = struct.getNumberOfFields();
    else
    for ( Iterator i = nodeinfo.iterateAttributes(); i.hasNext(); i.next() )
              totalFields++;
    for(count = 1; count <= totalFields; count++)
         fieldName = nodeinfo.getStructureType().getField(count).getName();

  • Purchase Order report with MIRO invoice and/or FI invoice number

    Hello,
    I am searching for a standard report which will allow PO number as input and dispaly the MIRO invoice number/s and if possible the corresponding FI document numbers.
    I have exhausted all the reports I know of - ME80FN. ME2* series, FBL3N.
    These are two options I know of but want to avoid:-
    SQVI query
    Z-report
    If there are no standrad reports, can someone explain use of Flexible analysis to create such a report.
    (Must confess that I have not fully explored that option yet).
    Thanks,
    Saurav.

    Hi,
    You can get invoice number in RSEG table
    pass this invoice number in BKPF into field  AWKEY field where you will get invoice number+fiscal year and in same table you will get BELNR FI dc for same invoice number
    Regards
    Kailas ugale

  • Report showing Invoice number, vendor,material and qty

    Hi Guys
    Is there any report where we can take report for vendor, invoice number, material and qty.
    Regards

    Dear
    yeah! yau can check ME80FN with purchase order history setting.
    full marks to me if solved
    regdsd
    dev...!

  • PO number and Invoice number paying the payments using FBZ1 tcode?

    Hi all,
    i developed a report for pending payments as per client requirement.
    i'm getting the records in my output.
    but some records are not getting the PO number,Invoice number and due date as per requirement.
    the client some times doing the payments using the FBZ1 tcode.
    That items not displayed in my report.
    so, plz give me suggestions for getting the above fields data in my report.
    Thanks,
    Srini

    Yes..But they need Po number, Invoice number and due date fields in the report
    and they need days of pending  payments also.
    That is the reason, They need z report
    Thanks,
    Srini

  • Excise Invoice Number

    Hi Sap Guru
    Can u elobarate explanation regardind  this. I need Can i get the Excise invoice number or Bill Number  in FBL5N open item report without development. If yes/No, Can u guide me how to resolve this.
    Its Urgent,
    Thx in Advance
    Neha

    Hi,
    In Change Layout --> Hidden Fields: Billing Document.
    Best reagrds,
    Amit.
    Note: Also, Column: Document No (Sort it by Type: BL)

  • How to find Invoice number linked to FI accounting document number ??

    Hello All,
    I have been looking around for all possible combinations to find the link between FI accounting document number (BSEG-BELNR) and Intercompany Invoice number (for which billing corr. to STOs' or POs' is done).
    The requirement is that during ERS posting, we have accounting document numbers (BSEG-BELNR) and associated STOs' for this (BSEG-EBELN), but we are unable to map the Intercompany Billing Invoice number(s) (where the billing corr. to STOs' obtained from BSEG-EBELN) to this accounting document number (BSEG-BELNR).
    Any pointers or detailed view solution would be of great help.
    Thanks,
    Ansh

    Hello DPM,
    Thank you for the descriptive help. But my requirement is to look for Intercomapny Billing number (VBRK-VBELN) linked to an accounting document number (BSEG-BELNR) and not Invoice Receipt Number.
    The steps that I am following are:
    From BSEG, found EBELN (Stock Transfer Order) and XREF3 (Reference Key, combination of fiscal yr., some ref. number, maybe GR no. and ref item no.), based on BELNR (Accounting document number).
    From EKBE, found XBLNR (Reference Delivery Number or Direct Intercompany Billing Number on which GR is done) based on
    EKBE - EBELN = BSEG - EBELN
    EKBE - BELNR = BSEG - XREF3 (only ref and item no., considering it to be a GR no.)
    EKBE - VGABE = '1' and EKBE - BEWTP = 'E'.
    From VBRP, found VBELN (Intercompany Billing No., which is a desired number) based on
    VBRP - AUBEL = EKBE -EBELN (Stock Transfer Order)
    VBRP - VGBEL = EKBE - XBLNR (Delivery number)
    Here, I am not sure about 2 things:
    Whether the reference no in BSEG-XREF3 will always be Goods Receipt number for Stock Transfer Order or not. If not, then what it can be and how I will have to proceed further then.
    Secondly, If in case for an accounting document number, I have 2 Stock Transfer orders (BSEG - EBELN) and same reference number (BSEG-XREF3), then from History table (EKBE) I get only single delivery based on which GR was doen for both STOs', then I shall be getting single Intercompany Billing Invoice from VBRP or different ?
    Kindly provide your inputs.
    Thanks,
    Ansh

Maybe you are looking for

  • Questions about going to multiple iCloud IDs for Family

    My wife and I have an iPhone and we also have an iPad that stays at the house everyone uses including our kids. I've always had my Apple ID logged in to the store part so we can share all paid apps and music. The iPad also has my id logged in under i

  • Reinstalled itunes 10 64bit on pc running Windows 7 64 bit but nothing plays now.

    itunes 10 stopped playing tracks when I clicked on them. So have just reinstalled ver10 64 bit on pc running Win 7 64bit, rebooted computer but still won't play. Have recently updated Nvidia display drivers (64bit) but wouldn't think this would affec

  • I have a mobile app that crashes when I call camera roll or camera. Is there a bug in Air 15.0.0.252?

    I have some code that I created a couple of years ago and it worked fine but when I use the exact same code with Apache Flex 4.13 and Air 15.0.0.252 when tghe camera roll or camera is invoked the app crashes. protected function uploadCamera_clickHand

  • How do I find corrupt file?

    Recently a huge FCP project will not open. I just found out that it opens just fine when my media drive is not attached. I have trashed all my render files, cache files, settings/pref files, ran disk utilities, etc. I believe it's one of my video/aud

  • Query re universe export

    Hi All, I imported a universe <name of the universe is weekenddemo> from the repository and then renamed it and saved it with name demo_MS.  After that I made few changes to demo_MS universe and after that when I tried exporting it back to repository