Creation of Billing Document

Hi Experts,
     while creating Billing Doc in Logistics with deliveryNo as reference i am getting error that no accounting document generated. can u suggest me why this occured
    thanks in advance

Hi,
If no Accounting document is generated means, The system is creationg a proforma invoice and the created invoice is not posted to accounts.
You can check in the customizations for sales document types, Which billing document type is assigned to the corresponding Sales document document type.
Its not an error, its just a information message.
Regards,

Similar Messages

  • How identify closed accounting period to restrict creation of billing document in sap

    Hi Experts,
    I have a requirement to identify the  closed  periods in sap based on this we need to restrict the creation of billing document .
    Actually we are working for  Brazil  client, there we have notafiscal   which created along with billing document.we are maintaining  periods monthly basis.
    When the periods are closed  accounting document not created and billing document is created  this is working fine . But over scenario along with billing document notafiscal number is also created which  is causing the problem. This notafiscal should not be created without a accounting  document.
    so my client wants to restrict creation of billing document also when these monthly periods are closed.
    Please suggest me a solution.
    Regards
    Ravi

    Helllo Ravinder,
    To check if a period is closed using the FM FI_PERIOD_CHECK.
    First calculate the period of the FI document date.
    DATA: GJAHR LIKE BKPF-GJAHR,
           MONAT LIKE BKPF-MONAT,
           POPER LIKE T009B-POPER.
    CALL FUNCTION 'FI_PERIOD_DETERMINE'
           EXPORTING
                I_BUDAT        = I_BUDAT
                I_BUKRS        = I_BUKRS
    *          I_PERIV        = ' '
    *          I_GJAHR        = 0000
    *          I_MONAT        = 00
    *          X_XMO16        = ' '
           IMPORTING
                E_GJAHR        = GJAHR
                E_MONAT        = MONAT
    *          e_poper        = poper
           EXCEPTIONS
                FISCAL_YEAR    = 1
                PERIOD         = 2
                PERIOD_VERSION = 3
                POSTING_PERIOD = 4
                SPECIAL_PERIOD = 5
                VERSION        = 6
                POSTING_DATE   = 7
                OTHERS         = 8.
    IF SY-SUBRC = 0.
    MOVE MONAT TO POPER.
            CALL FUNCTION 'FI_PERIOD_CHECK'
                 EXPORTING
                      I_BUKRS          =  I_BUKRS
    *                I_OPVAR          = ' '
                      I_GJAHR          =  I_GJAHR
                      I_KOART          = '+'
    *                i_konto          =
                      I_MONAT          = POPER
                 EXCEPTIONS
                      ERROR_PERIOD     = 1
                      ERROR_PERIOD_ACC = 2
                      OTHERS           = 3.
    ENDIF.
    Tutorial ABAP How to check that posting date belongs to closed period - ABAP Development - SCN Wiki
    I hope you help.

  • Block cancellation/creation of billing document on CLOSED posting period

    Hi Experts,
    Currently, user is allowed to cancel/create backdated billing document where period already closed, but it does not release to accounting automatically, due to the period has been closed.
    When account user found out that the accounting document is missing for the billing document, they have to re-open the period and manual release it to accounting, in order to generate the accounting document.
    Therefore, we need the billing document to be blocked for cancellation/creation on CLOSED posting period.
      Is there any settings in stardard SAP to block cancellation/creation of billing document on CLOSED posting period?
    would appreciate your inputs.
    Thanks and Regards,
    N.C.Reddy

    Hi ,
    We have blocked cancellation/ creation of billing document through below  user exit. Below is the progran code also.
    ***INCLUDE RV60AFZC.
    FORM USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN.
    Example: Number range from TVFK like in standard
    US_RANGE_INTERN = TVFK-NUMKI.
    *{   INSERT         KPDK904773                                        1
    *Block creation or cancellation of billing doc in closed period
    DATA : gv_gjahr TYPE bkpf-gjahr,
           gv_monat TYPE bkpf-monat,
           gv_poper TYPE t009b-poper,
           gv_bukrs TYPE t001-bukrs,
           lv_gjahr TYPE t001b-frye1,
           lv_monat TYPE t001b-frpe1,
           gv_oper  TYPE t001b-frpe1.
      CLEAR : gv_gjahr, gv_monat, gv_poper, gv_bukrs.
      gv_bukrs = vbrk-bukrs.
    IF NOT likp-wadat_ist IS INITIAL.
    *- First determine the Period of the Actual GI date.
      CALL FUNCTION 'FI_PERIOD_DETERMINE'
        EXPORTING
          i_budat              = likp-wadat_ist
          i_bukrs              = gv_bukrs
       IMPORTING
         E_GJAHR              = gv_gjahr
         E_MONAT              = gv_monat
         E_POPER              = gv_poper
       EXCEPTIONS
         FISCAL_YEAR          = 1
         PERIOD               = 2
         PERIOD_VERSION       = 3
         POSTING_PERIOD       = 4
         SPECIAL_PERIOD       = 5
         VERSION              = 6
         POSTING_DATE         = 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.
            CLEAR : lv_gjahr, lv_monat.
            lv_gjahr = gv_gjahr.
            lv_monat = gv_monat.
    *- Once period is determine check whether Period is open or not for 'D' - Customer Account
            CALL FUNCTION 'FI_PERIOD_CHECK'
              EXPORTING
                I_BUKRS                = gv_bukrs
                i_gjahr                = lv_gjahr
                i_koart                = 'D'
                i_monat                = lv_monat
             IMPORTING
               E_OPER                 = gv_oper
             EXCEPTIONS
               ERROR_PERIOD           = 1
               ERROR_PERIOD_ACC       = 2
               INVALID_INPUT          = 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.
              ELSE.
    *- Once period is determine check whether Period is open or not for 'S' - All G/L Accounts
                CALL FUNCTION 'FI_PERIOD_CHECK'
                EXPORTING
                  I_BUKRS                = gv_bukrs
                  i_gjahr                = lv_gjahr
                  i_koart                = 'S'
                  i_monat                = lv_monat
               IMPORTING
                 E_OPER                 = gv_oper
               EXCEPTIONS
                 ERROR_PERIOD           = 1
                 ERROR_PERIOD_ACC       = 2
                 INVALID_INPUT          = 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.
             ENDIF.
         ENDIF.
    ENDIF.
    *- Check Billing Date period is closed or not
    IF kom-fkdat is not initial.
      clear : gv_gjahr, gv_monat, gv_poper.
    *- First determine the Period of the Actual GI date.
      CALL FUNCTION 'FI_PERIOD_DETERMINE'
        EXPORTING
          i_budat              = kom-fkdat
          i_bukrs              = gv_bukrs
       IMPORTING
         E_GJAHR              = gv_gjahr
         E_MONAT              = gv_monat
         E_POPER              = gv_poper
       EXCEPTIONS
         FISCAL_YEAR          = 1
         PERIOD               = 2
         PERIOD_VERSION       = 3
         POSTING_PERIOD       = 4
         SPECIAL_PERIOD       = 5
         VERSION              = 6
         POSTING_DATE         = 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.
            CLEAR : lv_gjahr, lv_monat.
            lv_gjahr = gv_gjahr.
            lv_monat = gv_monat.
    *- Once period is determine check whether Period is open or not for 'D' - Customer Account
            CALL FUNCTION 'FI_PERIOD_CHECK'
              EXPORTING
                I_BUKRS                = gv_bukrs
                i_gjahr                = lv_gjahr
                i_koart                = 'D'
                i_monat                = lv_monat
             IMPORTING
               E_OPER                 = gv_oper
             EXCEPTIONS
               ERROR_PERIOD           = 1
               ERROR_PERIOD_ACC       = 2
               INVALID_INPUT          = 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.
              ELSE.
    *- Once period is determine check whether Period is open or not for 'S' - All G/L Accounts
                CALL FUNCTION 'FI_PERIOD_CHECK'
                EXPORTING
                  I_BUKRS                = gv_bukrs
                  i_gjahr                = lv_gjahr
                  i_koart                = 'S'
                  i_monat                = lv_monat
               IMPORTING
                 E_OPER                 = gv_oper
               EXCEPTIONS
                 ERROR_PERIOD           = 1
                 ERROR_PERIOD_ACC       = 2
                 INVALID_INPUT          = 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.
               ELSE.
                IF kom-fkdat4(2) <> likp-wadat_ist4(2).
                ENDIF.
               ENDIF.
             ENDIF.
         ENDIF.
    ENDIF.
    *}   INSERT
    ENDFORM.
          FORM USEREXIT_FILL_VBRK_VBRP                                  *
          This userexit can be used to fill fields in VBRK and VBRP     *
          Be aware, that at this time the work areas KUAGV KURGV        *
          KUWEV and KUREV are not filled.                               *
          This form is called from FORM VBRK_VBRP_FUELLEN.              *
    FORM USEREXIT_FILL_VBRK_VBRP.
    Example: change Tax country
    VBRK-LANDTX = T001-LAND1.
    ENDFORM.
    *eject

  • Backgorund job for automatic creation of billing document

    Dear All
    Could you advise me on how to set up a bacground job for automatic creation of billing document?
    Thanks and regards,
    Sylwia

    In standard, you cannot generate automatic billing but you can set date and time so that you can generate invoices at the specified time in bulk.  The TCode to achieve this is VF06.
    thanks
    G. Lakshmipathi

  • Bacground job for automatic creation of billing document

    Dear All
    Could you advise me on how to set up a bacground job for automatic creation of billing document?
    Thanks and regards,
    Sylwia
    Edited by: S. KOWALSKA on Jan 12, 2009 10:12 AM

    Dear Sylwia
    Please dont post the same question in multiple threads.  You are receiving feedback in the other forum.  Check this link
    [Backgorund job for automatic creation of billing document   |Backgorund job for automatic creation of billing document;
    thanks
    G. Lakshmipathi

  • Automatic creation of billing document

    Hi all,
    i want to automate creation of billing document for all the deliveries for which PGI done.
    i think we have to define a job which will call VF04.
    my question is when we do VF04 manually, we have to give selection criteria like sales org etc and then it displays the list of all the deliveries and then we have to select the deliveries manually and press collective billing/individual billing.
    so when the batch job calls the VF04, how will the batch job tells VF04 to select all deliveries and generate the invoices.
    regards
    sachin

    Hi Sonu,
    Go to VF04 and provide the inputs in the selection screen. Now save this as a variant.say ZZ_INV_DUELIST
    After saving the variant, find the program name of the tcode VF04. This can be found by going to System----Status in the menu. The resultant screen will have the program of the tcode VF04. Lets say it is BILLDUELIST
    Now go to SM36. Give some name for hte job name and click Step button
    Here you have to give the program name(BILLDUELIST) and the variant name(ZZ_INV_DUELIST). Here you can also configure whether the job should run immediately or in some schedules.
    Once this is done, you can create a delivery and then run this program in SM37. Now you can see the log of this program. It will tell you that the invoice is created
    Hope this helps

  • Automatic creation of billing documents

    Hi all,
    i want to automate creation of billing document for all the deliveries for which PGI done.
    i think we have to define a job which will call VF04.
    my question is when we do VF04 manually, we have to give selection criteria like sales org etc and then it displays the list of all the deliveries and then we have to select the deliveries and press collective billing/individual billing.
    so when the batch job calls the VF04, how all the deliveries are selected and the selection criteria taken into account by the batch job,
    regards
    sachin

    hi,
    thanks for the reply.
    my mian question was when the batch job calls the VF04 and the slection criteria is filled using variants, then the list of deliveries is called up by VF04. my question is how will the batch job select all the deliveries for invoice creation beause whn we run the VF04 witout bathc jb ,we need to select the deliveries for billing (either collective or individual)
    reards
    sachin

  • Excise Invoice creation error -Billing document does not exists

    Dear Experts,
    I have created supplementary sales order, billing with refernece through sales order by VF01.
    Now I want to create Excise Invoice but system gives error Billing Document does not exists
    I have checked billing document in VBRK table & it is showing in table.
    My item categroy is L2N -and set it to C
    I have assigned Billing type under Outgoing excise invoice ->Assign billing type to delivery type still my excise invoice is not generating.
    Pl. guide me.
    Thanks
    Trupti

    Resolved my problem.
    Actually in Billing item categroy if you put SD Doc. Catg. as M you can do excise invoice even if you have not created the
    outbound delivery.
    So cycle will be Supplementary Sales Order->VF01 with ref. to SO->J1IIN -Excise invoice creation.
    Thanks to all.
    Trupti.

  • Error during creation of Billing Document

    Dear All,
    we are getting an error while creatin billing document . The error message is as follows.
    1.0154000188 000010 Order item 0139000078 000010 is missing .
    Here my delivery number is 0154000188 .
    my order no is  0139000078.
    when i go technical data section it gives message no 029.
    i have already seen the copy control it works fine.
    kindly reply soon.
    Regards,
    Ajinkya.

    hi,
    once your order is created and also delivery, there is no problem in the data of the material.
    the only possibility is that you must have skipped the post goods issue step or if PGI is mandatory for delivery creation then there must not be appropriate stock for that item.
    you can check the stock of that particular material in the specific plant by t.code MMBE.
    regards,
    Siddharth.

  • Error in creation of billing document: update was terminated

    hi experts,
    i am facing one problem while creating "Billing Document" in VF01 . After i save it says 'Document 941700032 has been saved' but later after i click on tht it shows d error "update was terminated' and billing document no i not getting created .
    Thanks

    After save, and during SAP's update processing, a fatal error occured, causing a rollback of the transaction.  Since the user is no longer in that same transaction at this point, SAP issues the Express Document to attempt to inform that there was a failure.  Check ST22 for abend...in the meantime, check for exit coding that may be causing an error...In my previous life, working with SD/LE at lot, I was able to get these regularly by fouling up my exit coding....lol.

  • Stop Creation of Billing Document in Future date

    Hi Experts
    We create Billing Document in VF01 on basis of Outbound delivery, system create Billing Document in current date.
    but when we choose future date that time also system create billing Document l in future date .
    Issue : While create Billing Document in future date system should not allow to do the same.System should give error message while creating Billing document in future date.
    please reply as early as possible
    Regards
    Pash@SD

    Hello
    Refer following link:
    - Restrict from entering future billing date
    Thanks & Regards
    JP

  • Creation of Billing Document - Item is not relevant for billing

    Hi
    While trying to Create a Billing document after entering the Order No.the following error msg shown in the Tool Bar
    No Billing Documents were generated. See log
    The Error Log shows the following msg with Yellow coloured indication :
    000000xxxxxx 00010 The item is not relevant for billing.
    Technical Data
    The Technical Data shows the Client
    Group Number
    Sales Document Number
    Item Number of the SD Document
    Schedule Line Number
    Counter in control Tables
    Message in Identification VF
    System Message Number 044
    We need to issue the credit note.
    How to solve this issue?
    If any one knows pls guide me.
    Govind Bhaskaran

    Hi
    Thanks for all of your guidance.
    I checked with existing Sale Order and compare with this S.Order.   I found the following:
    Reason for rejection column selected by "XXXXXXXXXX" - for Curren Sales Order
    Reason for rejection column emply - for existing Sales Order
    I removed the contents and kept it blank.   Then we can create billing document as well
    Cr. Memo without any problems.   Document posted.
    Thanks for your valuable suggestions to get some idea.
    Regards,
    G Bhas

  • Error - Creation of Billing Document - Item is not relevant for billing

    Hi
    While trying to Create a Billing document after entering the Order No.the following error msg shown in the Tool Bar
    No Billing Documents were generated. See log
    The Error Log shows the following msg with Yellow coloured indication :
    000000xxxxxx 00010  The item is not relevant for billing.
    Technical Data
    The Technical Data shows the Client
    Group Number
    Sales Document Number
    Item Number of the SD Document
    Schedule Line Number
    Counter in control Tables
    Message in Identification                        VF
    System Message Number                       044
    We need to issue the credit note. 
    How to solve this issue?
    If any onw knows pls guide me.
    Regards,
    G. BHASKARAN

    Hi friends,
    I checked with existing Sale Order and compare with this S.Order.   I found the following:
    Reason for rejection column selected by "XXXXXXXXXX" - for Curren Sales Order
    Reason for rejection column emply - for existing Sales Order
    I removed the contents and kept it blank.   Then we can create billing document as well
    Cr. Memo without any problems.   Document posted.
    Thanks for your valuable suggestions and guidance to get some idea.
    Regards,
    G Bhas

  • Issue for creation date of Billing document in third party ???

    Hello SAP Folks,
    This issue is related to third party scenario. The basic requirement is to create to a billing document with a creation date same as
    Good issue date of Sales Order.
    For your information, with the help of enhacement we have passed on the value of posting date of material document generated
    from MIGO to Goods issue date in Sales Order. I am very much aware that setting up a new copying routine would help me but
    relating the GI date field of Sales Order from the techincal point of view is a complete work stopper. Could anyone throw light on
    the workaround for mapping this case ???
    Regards,
    Sarthak

    Hello,
    Thanks Alex for your input on the topic !!
    But i would like to say that the billing relevance of the item category has to "B" as this process of Third part Sales talks about creation of billing document after the MIGO. And i am basically interested to Populated the posting date of MIGO for Biling creation date. 
    In Sales Order, the GI date is modified to Posting date of MIGO through enhancement. I have been looking around relevant tables to fetch the GI date of Sales Order but not getting the right track...
    Could anyone provide any other workaround to implement this sort of requirement ???
    Eager to hear from Lakshmipathi ...
    Regards,
    Sarthak

  • Creation of excise invoice before billing document

    Hello Experts,
    Our user is creating excise invoice for xyz material (own manufactured products) dispatched from the plant after creation of the commercial invoice.
    Now it is required to create the excise invoice before creation of billing documents.
    How this is to be done? suggestions please.
    Regards,
    Raj

    First, U Need to Change the SPRO Setting Like Below:
    In VTFL, you should maintain both copy controls for
    u2022     Delivery (LF) --> Proforma (F8)
    u2022     Delivery (LF) --> Commercial Inv (F2)
    Once you do PGI, in VF01, you have to select manually the billing type F8 and save the proforma. Based on this proforma, when you access J1IIN, system will ask for Billing document reference where you can input proforma reference.
    Creation of Proforma Invoice is required for the creation of Excise Invoice for Sale.
    The transaction codes are :- VF01 :- for creation of Proforma Invoice
                                              VF02 :- for change of Proforma Invoice
                                              VF03 :- for display of Proforma Invoice
    While creating Proforma Invoice the Billing Type to be changed to u201C Pro Forma Invoice for Delivery u201C as shown in the screen shot and then Delivery Number to be entered in u201CDocument u201C field . After executing and Saving the transaction Proforma Invoice will be generated.
    So restriction in Authorization is required to allow only Billing Type u201C  Pro Forma Invoice for Delivery u201C for those who will prepare Proforma Invoice .
    P Kamal Kumar

Maybe you are looking for

  • Can I delete an iCloud email account?

    I like iCloud but it confuses the **** out of me. I want to just get rid of it and maybe start fresh later on. I switched mobile me  over to iCloud (more than one email) and iCloud list the wrong one as primary. mobile me was aliases  emails iCloud i

  • E52 screen display

    the display on my nokia exceeds the screen, and even if I reduced the size of icons, I find the same problem, such as on the Welcome screen I only see dd / mm / y ... in place of dd / mm / yyyy. please help me ! Solved! Go to Solution.

  • Will this DVD Drive work in a Lombard?

    Hello my friend has a PB G3 Lombard running 10.3.9 with a 333MHZ CPU. It has a CD Drive in it, and I have a drive that i pulled from a Dell Laptop that had a bad logic board, well i took the dell housing off and found it is a HL Data Storage drive (w

  • Adobe Official Support for Adobe Flash Builder

    What is Adobe's official support end date for Flash Player and Adobe Flash Builder generated applications (inclusive of version of the Flash Builder SDK)?

  • Mythweb with myth 0.25 [SOLVED]

    I'm having my first stab at setting up mythweb and having problems because of the new and Arch-specific paths, meaning I get "Object Not Found" errors when accessing "localhost/mythweb" in the browser and also "srv/httpd/mythweb/: file not found" err