Repetitive no range for the sales Invoice

Dear friends,
Can I have the Sales invoices as year specific?My requirement is the Sales Invoices should start with again say 0001 in the coming financial year as well.
Iam sure unlike Excise invoices which are year specific we cant have the same for Commercial invoices.
But I guess this should be possible through user exit.Can somebody pl provide me inputs on this?
Thanks
Isaac

hi
This may be possible by creating a ZEE table with
interval
year
number range from
number range to
with these fields
and this has to be fetched by using the user exit
Use the Exit RV60AFZZ.
FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
Just discuss with u r abapper
regards

Similar Messages

  • Rate and accessable value is not displaying for the tax invoice output

    Hello All,
      Rate and accessable value is not displaying for the tax invoice output. Rest of all outputs for invoices shows Rate and accessable value.
    Scenerio is free of charge sales order (samples) removing the goods from pant so excise invoice has been created and also updated. but for tax invoice out put rate and access value is not displaying.
        Pricing procedure: In pricing procedure account keys have not been maintained because there is not gl account upadation during billing for free of charge delivery.
    Thanks & Regards,
    ramesh

    hi Gurpreet,
    You can add values to that transient column programatically,either by getiing the row from the iterator and then row.setAttribute('Column_name','Value');
    Or providing value to it in the SQL...

  • How to email the sales invoice to customer on his email id

    hi masters,
    i have got one report for development in which i have to send the sales invoice to that respective customer's email ID(email id of any domain like yahoo, gmail etc). and like this they want to send the there respective invoice to all customer's email id. i am first time working on email sending report for the external email address. plz help me how to sort out this problem?
    thanks
    Vicky

    Hi check the following program:
    REPORT zemail_gm.
    *********Variable Declarations *****************************
    DATA: gv_form_name TYPE rs38l_fnam, " Used to store the function module generated by Smartform
    gv_bin_filesize TYPE i, " Store the file size
    gv_pos TYPE i,
    gv_len TYPE i,
    gv_tab_lines TYPE i.
    ********Constants *******************************************
    Data : gc_text(11) type c value 'Form Output',
    gc_tst(3) type c value 'TST',
    gc_testing(7) type c value 'Testing'.
    *********Work Area Declarations *****************************
    DATA: gs_docdata TYPE sodocchgi1, " Data of an object which can be changed
    gs_ctrlop TYPE ssfctrlop, " Smart Forms: Control structure
    gs_outopt TYPE ssfcompop, " SAP Smart Forms: Smart Composer (transfer) options
    gs_otfdata TYPE ssfcrescl, " Smart Forms: Return value at end of form printing
    gs_reclist TYPE somlreci1, " SAPoffice: Structure of the API Recipient List
    gs_pdf_tab TYPE tline, " Workarea for SAP Script Text Lines
    gs_objbin TYPE solisti1, " SAPoffice: Single List with Column Length 255
    gs_objpack TYPE sopcklsti1. " SAPoffice: Description of Imported Object Components
    *********Internal tables Declarations *****************************
    DATA: gt_reclist TYPE TABLE OF somlreci1, " SAPoffice: Structure of the API Recipient List
    gt_pdf_tab TYPE TABLE OF tline, " SAPscript: Text Lines
    gt_otf TYPE TABLE OF itcoo, " OTF Structure
    gt_objbin TYPE TABLE OF solisti1, " SAPoffice: Single List with Column Length 255
    gt_objpack TYPE TABLE OF sopcklsti1. " SAPoffice: Description of Imported Object Components
    CLEAR : gv_form_name,
    gs_ctrlop,
    gs_outopt,
    gs_otfdata,
    gv_bin_filesize,
    gv_pos,
    gv_len,
    gv_tab_lines.
    START-OF-SELECTION.
    • Generate Function Module name
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZPDF_G'
    IMPORTING
    fm_name = gv_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    • Assigning values to Form Control Structure and Form Composer
    gs_ctrlop-getotf = 'X'.
    gs_ctrlop-no_dialog = 'X'.
    gs_outopt-tdnoprev = 'X'.
    • Getting the OTFDATA
    CALL FUNCTION gv_form_name
    EXPORTING
    control_parameters = gs_ctrlop
    output_options = gs_outopt
    user_settings = 'X'
    IMPORTING
    job_output_info = gs_otfdata
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 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.
    • Assigning the OTFDATA to OTF Structure table
    CLEAR gt_otf.
    gt_otf] = gs_otfdata-otfdata[.
    • Convert the OTF DATA to SAP Script Text lines
    CLEAR gt_pdf_tab.
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    IMPORTING
    bin_filesize = gv_bin_filesize
    TABLES
    otf = gt_otf
    lines = gt_pdf_tab
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    OTHERS = 4.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    • Assigning the Description of the object sent in the mail
    CLEAR gs_docdata.
    gs_docdata-obj_name = gc_tst.
    gs_docdata-obj_descr = gc_testing.
    • Assigning the email id to Structure of the API Recipient List table
    CLEAR : gt_reclist, gs_reclist.
    gs_reclist-receiver = w_id. " Here give the mail ID
    gs_reclist-rec_type = 'U'.
    APPEND gs_reclist TO gt_reclist.
    • Passing the SAP Script text lines to SAPoffice: Single List with Column Length 255 table
    CLEAR : gs_objbin, gs_pdf_tab.
    LOOP AT gt_pdf_tab INTO gs_pdf_tab.
    gv_pos = 255 - gv_len.
    IF gv_pos > 134. "length of pdf_table
    gv_pos = 134.
    ENDIF.
    gs_objbin+gv_len = gs_pdf_tab(gv_pos).
    gv_len = gv_len + gv_pos.
    IF gv_len = 255. "length of out (contents_bin)
    APPEND gs_objbin TO gt_objbin.
    CLEAR: gs_objbin, gv_len.
    IF gv_pos < 134.
    gs_objbin = gs_pdf_tab+gv_pos.
    gv_len = 134 - gv_pos.
    ENDIF.
    ENDIF.
    ENDLOOP.
    IF gv_len > 0.
    APPEND gs_objbin TO gt_objbin.
    ENDIF.
    • Filling the details in SAPoffice: Description of Imported Object Components table
    DESCRIBE TABLE gt_objbin LINES gv_tab_lines.
    CLEAR gs_objbin.
    READ TABLE gt_objbin INTO gs_objbin INDEX gv_tab_lines.
    IF sy-subrc = 0.
    gs_objpack-doc_size = ( gv_tab_lines - 1 ) * 255 + STRLEN( gs_objbin ).
    gs_objpack-transf_bin = 'X'.
    gs_objpack-head_start = 1.
    gs_objpack-head_num = 0.
    gs_objpack-body_start = 1.
    gs_objpack-body_num = gv_tab_lines.
    gs_objpack-doc_type = 'PDF'.
    gs_objpack-obj_name = 'ATTACHMENT'.
    gs_objpack-obj_descr = 'test'.
    APPEND gs_objpack TO gt_objpack.
    ENDIF.
    • Sending the Form Output in the PDF format to email
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = gs_docdata
    put_in_outbox = 'X'
    commit_work = 'X'
    TABLES
    packing_list = gt_objpack
    contents_bin = gt_objbin
    receivers = gt_reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
    WRITE 'Sent Successfully'.
    ENDIF.
    SUBMIT rsconn01
    WITH mode EQ 'INT'
    AND RETURN.
    END-OF-SELECTION.
    Regards,
    Rock.

  • Is it possible to have Different Interval Ranges for the same Doc Type

    Dear All,
    Here is the issue.Is it possible to have different interval ranges for the same document type according to certain condition.Like my client , wants his interval ranges  be divided according to region(which are many)
    Regards,
    Sameer Jalees

    Hello,
    As you know we can only assign one number range for External and one number range group for internal in the sales document type.
    If you want different number ranges based on the regions, then as Jignesh suggested, you need to go for an enhancement.
    Use the exit USEREXIT_NUMBER_RANGE in program MVA45AFZZ, include a Z table with region as a critera and number range group for different numbers based on the regions. Talk to the business and get more details, get the help of ABAP team for technical details.
    Regards,
    SAM

  • Standard IDocs for Inbound Sales Invoice

    Hi All,
    Beginner in the forum.
    I have a requirement to develop an IDoc interface for Sales Invoice. I am not sure about the Basic IDoc Type, Message Type and Inbound Function Module to be used.
    I can see Basic Types INVOIC02/01 and Message Type INVOIC. And the Function Modules IDOC_INPUT_INVOIC_FI and IDOC_INPUT_INVOIC_MM assigned in WE57. As my requirement is in SD perspective, I am little confused which one to use.
    Any pointer would be helpful.
    Thanks in Advance,
    Khanshi

    Sales invoices are generated referencing existing orders and deliveries through VF01 or VF04. Most if not all data for creating the invoice comes from the existing order/delivery documents (except may be freight costs etc which are know only during invoice time). So there is no standard IDoc (as most data for creating sales invoice is already there in SAP in the form of reference delivery/order) to create a Sales invoices. Sales invoices created through VF01/VF04 are outbound and can trigger INVOIC message type IDoc through IDOC_OUTPUT_INVOIC which is sent from SAP to the customer for billing purposes.
    The IDOC_INPUT_INVOIC_FI and IDOC_INPUT_INVOIC_MM are for creating inbound vendor FI invoice (like that created by FB60) and MM vendor invoice (like that created by MIRO) respectively.
    If you want to create a sales invoice through BAPI the below modules are available but I am sure there isn't a standard IDoc function to post a inbound INVOIC IDoc to customer/sales invoice. These BAPIs will of course require you to input the reference document (delivery or order) to create the invoice.
    BAPI_BILLINGDOC_CREATE
    BAPI_BILLINGDOC_CREATEFROMDATA
    BAPI_BILLINGDOC_CREATEMULTIPLE
    Best regards,
    Vishnu Tallapragada

  • Oracle Incentives, Different plans applicable for the same invoice

    Dear Oracle incentive exports,
    I need to know how we can apply 2 plans for the same invoice?
    Suppose we have ONE plan that says 2% from $0-$750,000 and 4% from $750,000 to $1,000,000. If the sales is $800.000 the 2% will be applied for the 1st 750.000 and the remaining amount (50.000) will be calculated for 4% . This needs to be done without dividing the amount into two invoices.
    How can this be applicable???
    FADI

    Fadi,
    when you define formular, you may use split option to handle this
    Regards
    Srini

  • External number range for billing document (Invoices)

    Hi guys,
    I have a requirement from one of client to implement external number range for billing documents.
    I can only see a provision for internal number range in customising for Billing document type.
    Please can you assist me with detailson how to set up external number range for billing documents (Invoices).
    Thanks, Felix

    Hi Felix
    I think the similar requirement is in Venezuela also.
    So pl. check the SAP Note 849438 . As per the note :-
    The solution is delivered in the indicated support packages. In case you can not implement the correspondin support package for your release immediately, please follow the procedure described below:
    1. In the Data Dictionary Editor (transaction SE11) please open the definition of domain J_1AOFFNREL, go to the fixed values and add value 'P' with description 'Number Assingment using Prenumbered Forms' in a position so that the possible values remain sorted alphabetically.
    2. In the Message Editor (transaction SE91) please go to message class ICC_CN and add the new message 837 with text '&1: Official doc. numbering is not available for delivery documents!'.
    3. If you are implementing the note in release 4.6C, please create the following function modules:
    o     OFF_NUMBER_LOCAL_ASSIGN_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_ASSIGN_TW
    o     OFF_NUMBER_LOCAL_NUMBERING_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_NUMBERING_TW
    o     XBLNR_BUILD_AND_SPLIT_VE in function group IDSDCNUTIL, and then copy the interface (all parameters and exceptions) of the function module XBLNR_BUILD_AND_SPLIT_PECL
    4. Implement the source code corrections as shown below.
    The following customizing actions should be also executed when the solution by delivered by the corresponding support package. If you applied the solution manually, then please use the IMG activities listed in the section Cross-Application Components -> General Application Functions -> Cross-Application Document Numbering -> Taiwan as a reference. After the installation of the corresponding support package the customizing node for Venezuela can be used.
    1. Enable the use of business place for country Venezuela as described in the OSS Note 726537.
    2. Define the necessary document classes and configure the document types you would like to get an official document number as relevant for official document numbering in the desired mode. Please check the OSS Note 571376 for some explanations about the meaning of the different settings.
    3. Define the necessary number ranges and intervals and assign them to the combination of company code, business place, document class and validity period. If you use the customizing activity for Taiwan, then please leave the prefix field empty.
    Regards
    Amitesh

  • How can we make the value of pricing condition flow to the sales invoice?

    At an intercompany process, we have the condition type PBXX at the purchase order. On the other hand, at the sales invoice (which is created by VF01) of the sames process, there exists the condition type PR00. The calue of the condition types PBXX and PR00 should be the same. How can we make the value of PBXX flow to the sales invoice? I can create new pricing procedures if needed. I can change the types of the pricing conditions (such as PBXX or PR00) included at the procedures (by customization) if needed. All I need is to have the value of the price at the purchase order the same with the sales invoice at the same process. The transaction codes used at this process are:
    ME21N - Create purchase order
    VL10D - Create delivery
    VF01 - Create invoice
    Thanks in advance for the answers...

    Yes, i verified that the config item id in the pricing table and the cz_config_items table are the same (once we save the configuration).
    The reason we have to do this is coz I have to pass additional parameters, which are item speciific (captured at confiugurator runtime session) while making a call to the pricing engine.
    Hence, we are capturing some additional pricing parameters (during a runtime configurator session) in a custom table, and plan to link those to the corresponding items in the 'CZ_Pricing_Structure' table thru the config_item_id.

  • Maintain Vendor for the excise invoice

    Dear Guru's,
    While creating goods receipt (In STO Process), I am facing the following error,
    "Maintain Vendor for the excise invoice"
    How to solve this one.
    Regards,
    CS

    Hi CS,
            Check whether you had maintained the vendor(supplying plant) in J1ID and also check whether excise indicator 1 is there.
    And also check whether vendor (supplying plant ) is linked with customer in vendor master in Account control tab and also check whether vendor master (supplying plant) is linked to your customer master in control data ....
    Hope this will serve you..
    regards,
    Patil

  • Error :Maintain pricing conditions for the material for the excise invoice

    Hi
    i have maintained excise data for material, after that i have created scheduled agreement with lp and with 0 value private and dummy tax code  and delivery schedule is released. Now when i do the goods receipt i am getting error " Maintain pricing conditions for the material for the excise invoice date
    Message no. 8I629" can some body can help me.
    with regards
    Narendra kumar

    Hi,
    goto tcode fv11 u have to maintained the condition.
    first enter the condition type like jmop -
    then enter, next screen u have the select the below comination.
    select the plant/vendor/material base u have to maintain the conditions.
    Thank's
    MVS

  • Different No. Ranges for the GR in  one client.

    The rquirement is as follows:
    We have two different company codes in one client . These two company codes have their respective plants assigned to it. The GR No. range should be different for different plants as this is the requirement for the client.
    Let me know that how we can create the document type for the GR's so that we can assigh the different No. range for the different plants.
    Thanks and Regards,
    Mahendra Dev.

    Hi ,
    Thanks for ur reply,
    I also know that different number ranges in this situation are not possible and as per your suggessation we can create a new document in OBF4 and assign new number range to it but this assigned number range will be applicable to whole client, that means suppose we are doing a goods receipts in different plants of different company codes in same client the number range assigned to the goods receipt document will be from the same number range but my requirement is whether it is possible to assign different number ranges to goods receipt for two different plants.

  • I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can

    I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can't  believe that the monthly CT tax is higher than the payment for the phone itself. Does this make sense. Last time I spoke with them on the phone it was for 1 1/4 hours for something simple. I don't want to call unless I need to. The salesman told me nothing about any of this. Thank you for any help you can offer.

    The bill from last month states:
    CT state sales tax**     $38.10
    ** In some states sales tax or surcharges are calculated on the full cost of the full retail price or VZW cost of the device you purchased and not on the discounted price you pay. The sales tax or surcharges charged on your device was based on $599.99 and appears on this first bill.
    The current bill says the same.
    Actually, now I'm realizing that last month's bill stated I was making the first payment toward the phone. Now this month also says it's the first payment toward the phone when it's really the second.

  • Special stock indicator for the sales order (VBAP-SOBKZ=)

    Dear All,
    I am getting a warning message while making an initial entry of stock with Mov.Typ : 561 and Special Stock Indicator (E), i.e., "The special stock indicator for the sales order (VBAP-SOBKZ=)is different from the special stock indicator in the goods movement.
    The system is allowing to post the initial entry of goods but when I am trying to do a PGI, it is throwing an error saying that, deficit of stock in the specific storage location.
    Can anybody help me out with this problem ?
    Reward points shall be awarded.
    Rgds,
    Indrajit Dey

    Hi Indrajit,
    Please post the stock with Special Stock Indicator (E), and againest sales order and item.
    Go to MB1C transaction enter Movement type,Plant and special stock indicator E.
    After that you enter Sales order Number and Item then save the document.
    Noe you try to do PGI,
    I hope it will help you,
    Regards,
    Murali.

  • How I can get the Billing Type for the sales order and its items

    How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?

    Hi,
    You need to use two tables.
    First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
    Then use the billing document numbers in table VBRK, where in you can get the billing document type.
    Regards,

  • Storage Location Error duing GR of Subcontarct for The Sales Order Stock.

    HI ,
    Is there any settings  to avoid individual entry of Storage Location field for the child components during  the  Goods Receipt from Subcontractor  for the Sales Order Stock.
    As per SAP standard , I have created Separate storage location for Sales order stock components as the Stock provided to vendor  . While receiving the header component , System showing error to enter storage location for all the BOM component s .  My Requirement is , Storage location should come automatically for the child component while receiving the Header Component.
    Yogesh.K.

    Hi Jurgen,
    He's right, the posting is not a bug.
    In case of MTO scenario, if components are managed in the sales order / project stock system withdraw them from storage location.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/4d/2b90b043ad11d189410000e829fbbd/frameset.htm
    The subcontracting orders are account-assigned to a sales order or a WBS element. Thus, the components are not transferred (using a transfer posting) to the "stock of material provided to vendor" but are directly withdrawn from the sales order stock or the project stock at the time of the goods receipt.
    Since the components are not transferred to the "stock of material provided to vendor", we recommend that you use a transfer posting to transfer the provided components to a new storage location (for example, 9999). This enables you to obtain an overview of those stocks that are physically located at the subcontractor. This information is particularly important when you carry out a physical inventory of the sales order stocks and project stocks.
    Cs.
    Edited by: Csaba Szommer on Jan 5, 2010 7:17 PM

Maybe you are looking for

  • F4 display of tax codes in fb60 not having alll taxcodes?

    Hi All. Can anyone please address the following issue? We are mainataining tax codes say A1 and A2 for reporting Country NZ under our country AU. 1. In Miantainainace of Additional data for Company code ( via OBY6) we have the Planys Abroad selected

  • CPU Problem with Fl studio running bootcamp

    I have the latest MPBr 13' 8gb i5, I'm running FL Studio on bootcamp but for some reason the CPU is always maxed even though i have like four channels running. Any reason why?

  • Date Sorting is not working as expected

    Hey, I am using Report builder 3.0 to create one daily report where I need daily metrics and I am putting it under columns. I want it in day wise order but somehow it shows data in below format. My dates are in M/D/YYYY format. Notice how 1/10 is dis

  • Help with Elements 2.0

    Sorry I'm still stuck using 2.0 until I can afford to build a 64bit machine for my CS5 master.  In the past I've used other programs to create a DVD and burn discs however I have recently been working on a project and wanted to try  Adobe's system; u

  • Changing ActiveX class reference pdf creator

    Hello, We are creating pdf docs of our test record.  We use different computers to run our tests.  This .vi has been working fine on one computer, we went to run the same .vi on a different computer and it did not work.  I had to open the vi and set