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

Similar Messages

  • 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

  • Automatic creation of billing from VF04

    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 there,
    When you schedule a job, there is something called variants that you maintain for each prog in the job. The variants wiol take care of all the entries that we manually do in VF04. In the variants you will mention the shipping points, sales org, dates etc.
    In SM37,search the relevant job, select the job & click on steps. It will display the progs of the job. Next to the progs you will find the variants. Select the prog in the step & display variants. It will display the variants will all the selection options.
    Regards,
    Sivanand

  • Configure the automatic creation of accounting document while billing

    Hi,
    Could you telme where to find the customization where you configure such that
    triggering of automatic creation of accounting document takes place during billing itself.
    Regards
    anil.

    Hi Anil,
    In VOFA Document type in General contrlo is related to Accounting Document.If it is blank the system Automatically pics RV as accounting Document.
    If posting Block is Ticked then Automatic posting will not happens.
    You need to pass to Accounting in VF02 and release for accounting(Green Flag)
    Regards,
    Reddyy

  • 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

  • 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.

  • Automatic clearing of billing document error

    Hi All,
    When user try to cancel/reverse the billing document following error occurred.
    "no accounting document created". but when user try to release to accounting in VF02. it gives following message.
    "Automatic Clearing of Billing document 900000034 and cancel document 1000000070 not possible."
    Message no.VF208
    Diagnosis
    The system cannot clear billing documents and cancellation documents beacuse, for example individual item updating is deactivated.
    System Response.
    The Billing Document can be created.
    Precedure
    The FI Documents are cleared manually.
    Please help me
    Thanks
    Sap Guru

    Dear Friend,
    IMG - SD - Billing - Define Billing Types.
    Go to your BIlling Document Definition (T-Code - VOFA) & remove the Tick mark (Check) In POsting BLock Check box.
    This check box is located in General Control.
    Hope this helps...
    Reward if useful...
    Thanks,
    Jignesh Mehta
    98700 10230

  • Functional module for automatic creation of pur requisition & pur order

    hello,
    what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
    please let me know as early as possible
    regards,
    rajesh kumar raju

    Hi,
             Please check with following.
    IDOC_INPUT_ACC_PURCHASE_REQUI
    IDOC_INPUT_ACC_PURCHASE_ORDER
    /ISDFPS/OR_PURCHASE_ORDER_CR
    BS01_PURCHASE_DOCUMENT_CREATE
    CO_MP_CREATE_PURCHASE_ORDER
    Thanks & Regards
    Sadhu Kishore

  • Define Control for Automatic Creation of Pick HUs

    We are using full blown HU management and in the customizing for the Control for Automatic Creation of Pick HU's you define the packaging materials to use.  The help in from of this customizing says that if this is blank the system attempts to find a common packaging material for all materials in the transfer order. 
    My issue is that when I leave this blank the packaging material that the system proposes is not the packaging material that is contained on the source HU nor is it the packaging material that is contained in the Packing Instructions.
    How does the system determine the packaging material on the destination HU?  Am I required to maintain a value in this customizing?
    Thanks
    Nick

    I found my own answer so i will give myself many points.  See question to get answer.

  • 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

  • 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.

  • Automatic Email of Billing document output to customer

    Dear All,
    We have following requirement @ our client. You valuable inputs will be very helpfull.
    Currently output (RD00) are taken via printout and later scanned and sent to customer.
    Now client wants following requirement , where in once the billing documents are generated, output  should be sent to customer automatically via EMAIL (mentioned in the customer master : contact person).
    I kindly request you to help me with steps required to configure this scenario in SAP.
    Thank you
    Chaithru.

    Hi
    For the output type RD00, Maintain the medium SIMPLE MAIL
    then maintain condition record for output in VV31
    Speciefy medium as 7 and in communication method mention email id to whom u want to send
    As soon as you save billing document system will send the email to party.
    Kapil

Maybe you are looking for

  • Digital Publishing and Interactivity with digital magazine on my own server

    Hello... I am researching what would be the best plan of action for my project... need to design a digital magazine for the web that is interactive and has rich media like video, animations, etc. I am thinking of doing the following... design my anim

  • Bridge CS6 Mac cannot browse Mac OSX server 10.8

    Hello: We had a drobo file server which was mounted on the desktop and had no issues browseing the volume in bridge.  After we moved to a new Mac OSX server running 10.8 we can no longer browse the mounted server.  We get a primission violation. Usin

  • Abap program for delivery note output

    Hi, I would like to send a delivery note by email using standard output type. I already custumized the outpt type, assigned communication strategy and all other necessary data, but when I tried to send this document via email nothing happened... Is t

  • Monitor Port Issues

    Hi everyone, i've looked through the forums for an answer to my problem but to no avail. Ok i'm using a 2002 quicksilver g4 with the stock geforce mx graphics card. I think this card has only ADC and VGA outputs. Anyway i tried to connect this 19" vi

  • Credit control on Parent companies

    Hi All, Is it possible to control credit check on parent customer ,if goods sold to child customers. Credit limit maintaied in parent customer like bill to party and goods sold to child customers like ship to party. Rgds SumaMani