VF06 Billing Jobs

Hi
We trigger the VF06 job (program RV60SBAT) for billing from ESP. This job in turn spawns some child jobs that start with INVOICE* as job name. This is creating a problem to properly monitor the billing job from ESP and also to trigger subsequent jobs that are dependent on billing. Problem is in ESP, the parent billing job shows as complete even when some of the child jobs are still running or go to cancel. How do you deal with this problem in Professional instance?
Expecting early response.
Thanks
Sriram

Hi Sriram
As no doubt you noticed RV60SBAT just reads the billing due index and calls SDBILLDL to
create the billing documents. This is a historical function as SDBILLDL was not background
compatible previously but it is now.
You can schedule you background billing directly with SDBILLDL.
Also for contention issues you can split the activities of billing.
When the billing job runs it does 3 things
1) creates the billing document
2) post the invoices to accounting
3) generates the billing output
Doing all 3 things together with parallel jobs etc is not a good idea and not necessary
To split the 3 activities
- put a posting block on the billing document type in transaction VOFA
- changing the timing of any output from immediate processing to run with a job
1) Create the billing documents with SDBILLDL as a stand alone job
2) Upon completion run RVFAKSPE to Release billing documents for accounting
3) run RSNAST00 or VF31 to create the output afterwards
You can simply manage the timing of the batch schedule and it should not be
necessary to create a custom program to handle this case
I hope this helps you further
Kind regards
Brian

Similar Messages

  • Background for billing job in VF06

    Hi
    can anyone help me how to do background job for billing in VF06 also the procedure
    Thanx.

    Hi,
    Goto T.Code VF06.
    Enter the Sales organisation and Distribution channel and division.
    Enter the customer number if you want to create billing document for a particular customers.
    If you want for range of sales documents you want to create billing then enter the range in sales document.
    Documents to be selected are sales orders if you want to create billing with reference to sales orders or tick deliveries if you want to create with referencce to delivery.If you want with reference to both then tick both.
    Select start immediately.Donot Tick Test.
    And in the output tick "list display" and "issue collective processing log".
    Execute.
    A job number will be appeared here.
    Note down it.
    If you want current status then goto SM37 T.Code and then release it if the status is not released.
    After that check in V.21.
    Regards,
    Krishna.

  • VF06 - Background job

    Hello Experts,
    We are having a requirement to consolidate the deliveries with same PO into a single billing document.
    > For this, we have created a custom copy control routine and added customer PO to the ZUKRI field. This is working fine in VF01 or VF04 (Collective billing online).
    > But, when we schedule the job using VF06 for almost 90 deliveries with same PO (Payer, Bill-To are same), the split is happening and I am getting billing documents equal to number of different sold-to's. We can have different sold-to here.
    > I am unable to figure out why this is happening only with the automatic processing and I am confused if I am missing anything in the job schedule of VF06. I know that VF06 in turn calls VF04 program so was in a thought that VF06 job should work same as VF04 collective billing.
    I tried to schedule SDBILLDL with a variant created using SE38 and schedule a new job but this doesn't help though.
    I have looked into few posts but could not figure out any particular solution. Same is the case with few notes like 111813, which are not relevant to our release.
    Appreciate if anyone can help me with some good inputs.
    Thanks,
    Sandy

    Hello Alan,
    Thanks for your time and responding to me.
    We are good at the config side. If there is something we are missing in the config, then the online process through VF04 should also split but it is working as we needed (consolidating all the deliveries with same PO and creating a single invoice).
    I finally figured out a solution for this.
    VF04 - Online processing looks the split criteria based on the copy control routine.
    VF04 (background) or VF06 - This also executes the copy control routine BUT, there is a function module 'SD_COLLECTIVE_RUN_EXECUTE' which is triggered ONLY during the background process. So, in this FM the invoice document split is again happened based on different sold-to's.
    Finally, I could find a user exit above this split and I could clear the sold to value. It works perfectly now in background process too.
    I would like to thank Shiva for that note. It actually explains similar logic.
    Thanks everyone for your time in responding to my post.
    Thanks,
    Sandy

  • Unable to disable Cover Page printing on automatic billing jobs

    Unable to disable Cover Page printing on automatic billing jobs

    Hi
    Goto VV32 for your billing output type. Double click on your condition record for this output type. On next screen we can find "SAP cover page", select 'Do not print' here.
    try and revert

  • Create billing failue with job

    hi
    i meet a question.
    After created sales order, i changed  plant and shipping point of one item, then create DN and post goods issue with job. It's correct until this step.
    But when i created billing with job, the invoice was missed, but i could created manual.
    Who can tell me its reason.
    Thanks.

    Hi  Kevin Zhou,
              I have few questions for you, Was the delivery created for this item?, I asked that because this item is not in the same Delivery document where the others item of the sales order are. Is the Billing date of the item between of the billing date from which the Billing job runs, i.e. if your item has billing date 01/05/2009 and the billing job has as billind date 01/06/2009 to 01/07/2009, then this item is not taken in consideration.
              Please check the all field of the variant used for the Billing Job and see if your item is filtered for anyone of that.
    Thanks,
    Mariano.

  • VF06 not creating invoices for some customers

    Hi,
    We generate billing documents every night. For some reason VF06 is not creating invoices for a particular customer. All these are Delivery related billings. I checked the Job log and VF06 has supplied the correct parameters to VF04. The billing index (VKDFS) is correct. There is no error in the Sales Order or Delivery. In fact when I use the simulation on VF04 I can see that SAP correctly displays this data. I was even able to create invoices using VF01.
    The billing index for this customer is getting accumulated and invoices are not being created. Any help will be appreciated. We are on ECC 5.0
    Thank You,
    sckr

    Check if some invoicing calendar is defined in the payer customer master, since the VF06 bills only the deliveries of the customers that have no invoicing calendar OR the the right date.
    regards
    Roberto Mazzali
    Pls. reward if helpful

  • Billing Output Variant

    Hi All,
    Kindly suggest how to create a variant for the billing output type so that when we run the batch job for the billing docs that automatic printouts is done. What is the T-Code for this. What should I check and where to do the settings. Also where should I need to maintain the time in VF04 if I want the batch job to run at night.
    Please suggest.
    Thanks
    Sumit

    Go to T code: VF04
    In Organizat data tab :
    1) Enter Billing Type :  (what ever your billing type is )
    2) Sales area
    In Documents to be selected tab :
    3) Select documents according to your needs or you can select order related , delivery related or no docs with billing block
    4) Then on top   Go To - variant  click on save as a variant  ( Do not save without performing step 5-6-7 )
    5) Give variant name and meaning you want
    6) In screen assignment select all the screens
    7) in line 1000 :1 selection d  = current date
    8) Click on Save as a variant
    Now you should have successfully created billing job variant.
    In your batch job-processing page add this billing job.
    Vishal

  • How to send a report for particular job chain every hour regarding the job

    Hi Gerben/Anton
    We are running one jobchain for all billing jobs . Is any chance is there to send a report automatically to certain pupils for every one hour regarding the job status(excel format ) .
    Coudl you please help on this it should be good if i get any reply on this .
    Thanks
    Ramkumar

    Hi Ram,
    I need your help on getting mail alert with  log file.
    here is how i have provide the parameter valure for job definition: system_mail_sent.
    Step1 with one job1 and step2 with one job1
    In step2 , i have included the job definition to send mail. with below parameter.
    Relative Job: Step 1, Job 1
    Job File: step 1, job 1: step 1/log.txt
    Please let me  know if the above method is correct or not.
    NOTE: mail server and from address are configured.
    Thanks,
    Karthik

  • Date in the billing document

    Hi, expert,
    I have a question about the date of billing doc.,
    If we set up invoicing date for customer-A is at the last day of every month, and SAP billing job only run every workday.
    Apr.30 is Sunday, so SAP billing job will run on May 1st instead of Apr.30, when Customer A's billing doc. come out, which date will be shown in that doc.? May 1st or Apr.30?
    If it shows May 1st, Can we make some configuration in SAP that let it back date to Apr.30??

    Hi,
    The sytems works on the Factory Calender. what ever the dates you set here as per that
    the system works. the factory Calender will be assinged to Plant.
    This Plant will be assigning to Sales Org and Distribution Channel and Company Code.
    Obviously if the billing date falls on sunday the next day will be takes into consideration.
    Please Reward If Really Helpful,
    Thanks and Regard,
    Sateesh.Kandula

  • How to identify the batch job

    Hi guys,
    we have a batch job for
    1. creating invoice
    2. and printing invoices.
    How do i identify the background job being used for the above two.
    REgards,
    Anand

    How do i identify the background job being used for the above two.
    1. creating invoice
    In t.code VF02/VF03, go to the header level. Here you can see the created by field. This carries background billing job user name (for example SDBATCH).
    2. and printing invoices.
    In VF02/VF03, go to menu Goto->header->outupt. Highlight the output and click on the further data button. Here you can see created by at the botton(for example batch billing). By this way, you can identify, these are created by background  jobs.
    Regards,

  • Pending for billing.

    Hi,
    Is there similiar screen to let user to view what is pending for billing but not allow then to run the billing job as VF04.
    How this requirement can be meet?
    Please guide.
    Regards

    Dear Mrunal,
    You do NOT need to create a new Z-report for this purpose...
    If you rae using SAP version ECC 5.0 or 6.0 then use T-Code VF05N
    Here you get list of all Open Billing Documents without selecting payer or material.
    Hope this helps.. .
    Reward if useful...
    Thanks,
    Jignesh Mehta
    98700 10230

  • Multiple deliveries getting combined into one invoice automatically by job

    Hello All,
    I'm facing issue, multiple deliveries are getting combined in one invoice automatically. The invoices are created by background jobs. It should not combine the multiple deliveries into one invoice ideally as it is being created by background jobs. Could any one please share what might be the cause of it.
    Thanks in advance.
    Regards,
    Sumit

    Hi
    When you run the dialog or batch billing job the prgram SDBILLDL is triggered.
    It simply reads the billing due index (VKDFS) and retrieves all due documents
    for processing (internal table V60P_INPUT_VKDFIF)
    The program in the standard processes 1000 entries at a time as required
    and if each entry processed passes the split criteria (outlined in note 11162)
    The system could in theory create one invoice for all 1000 entries picked up.
    You see this processing here:
    CALL FUNCTION 'SD_COLLECTIVE_RUN_EXECUTE'
    LOOP AT V60P_INPUT_VKDFIF WHERE SELKZ NE SPACE.
        ON CHANGE OF V60P_INPUT_VKDFIF-KUNNR OR
                     V60P_INPUT_VKDFIF-VKORG OR
                     V60P_INPUT_VKDFIF-V_FKART.
          IF COUNTER > 0.
            CLEAR SY-CALLD.
            DELETE ADJACENT DUPLICATES FROM XKOMFK.
                  PERFORM RV_INVOICE_CREATE                         >>>>>
    As you see above, the system tries to bill all entries together
    where the customer, sales org and billing type are the same.
    It will do this 1000 times before it forces a split.
    (you will also notice user exits here which can be used to change this
    outcome)
    Check note 11162 for the details of what header fields will cause a split.
    As outlined previously you could use an item data transfer routine and the field
    ZUKRI to force a split on your own terms.
    Hope this helps explain the system behaviour
    Kind regards
            PERFORM RV_INVOICE_CREATE                                       >>>>>>

  • Billing block on order with proforma invoice

    Hi,
    In our process, we take on new customers who need a pro forma invoice to pay us but often the final amount varies from what was initially expected. There is no delivery and the Proforma will create from the order. However, we will correct the order with the final quantity (service time) once the customer visit ends. e.g. an order was $100 and the pro forma invoice was sent for $100. it turns out the final service was for 150 - the customer at the moment pays only 100 but will pay the rest when we send the bill. Once the service is complete the order is corrected to 150. The volume is high so we have billing jobs running to create the invoices from the orders.
    Exploring 2 options:
    1. To make the correction, we want an automatic billing block put on the order once a proforma is generated. When the order is corrected subsequently, we will remove the block too. If it can't be done automatically, then 2 below:
    2. One can't generate the pro-forma if there is no billing block on the order. This is to prevent the person responsible to print it if he/she forgets to put the block
    Either of the 2 scenarios will work for us. Is there any user exit which can do this?
    Thanks a lot.

    If you are handling these orders with a different order type, then just default the order with a billing block"Review pending" using OVV3, don't assign this block for the Proforma invoice, but assign it to the regular invoice using OVV4 .
             Then you can always make sure that a billing block exists on the order before the proforma invoice gets printed.
    Option 2.  If you are not using specific order type for the process.
      In this case think about assigning the billing block for the orders that are being placed by the new customers, try to figure out a logic to identify the new customers..
    On the whole, <b> If possible</b> I feel its better to assign the default order block rather than creating a new program to assign the BILLING BLOCKS for all the orders that have Proforma Invoices printed and run this program in Background every day or twice a day  when ever required..
    Let me know if you need any more help
    Regards,
    Ajai.
    Don't forget to reward points if helpful.

  • Single billing document for each sales order

    Hi,
    We currently have a Contract to Invoice process, wherein we created Sales Order related invoice directly.
    However i need to create a single invoice for each contract separately although they share the same characteristics, i do not want to combine the contracts into single invoice, but want a 1:1 relation as we intend to batch the billing job.
    I tried the routine 003-Single invoice at  copy control at item level, this does not seem to work.
    All suggestions are welcome.
    Thanks.

    HI
    You could try the following if you want the delivery also to be separate for each Sales Order.
    Order Combination Indicator
    Indicates whether you are allowed to combine orders during delivery processing.
    The Order combination Indicator is maintained in the customer master. Sales Area Data, Shipping Tab Page.
    Procedure
    The system proposes the indicator from the customer master record. You can change the value manually in the sales document at both header and item level.
    The other option is Maintain the field
    ZUK-VGBEL = VBRP-VGBEL.
    in the data transfer routine for the relevant item category copy control settings.
    with kind regards
    Sundar

  • DN and billing background output log

    hi,
    had set the background job of DN and billing, and it is sucessfully to create. But how can i check the output by log which mean those DN or billing no. had created. pls advice. thanks

    Hey,
    Use  the T.Code  V_SA.
    In the field "Type of  Coll. run"   enter   L  - for Delivery Jobs
                                                            F    for Billing Jobs.
    and rest of the selection criteria is self explanatory.
    Hope this helps you.
    Regards,
    Ajai
    Don't forget to reward points if helpful.

Maybe you are looking for

  • Run SAP PI Interfaces 24X7. How

    How I can run PI Interfaces 24X7 to achieve Business Continuity. The solution provided as u2013      Install Separate additional PI System u2013 called as Federation PI. Is this solution really applicable? Details: 1.     Our Current Production Lands

  • "unable to open project file" after importing layered Photoshop file

    After spending a day of work, I saved and closed my 720p project. Today, I can't open it. I get a message saying: "Unable to open project file." Same thing happens with the auto-saved copy. I have narrowed down the problem to this: I made a new 720p

  • Won't turn off

    Satellite s55t-A5237 Ever since i got this thing ive been having so many problems with it. Before i had to send it in because the processor failed and could no longer start up, it would have the slowest start up in all history of computer wake ups. T

  • Closing a PO

    Hi Can anyone explain me what are the different ways in which we can close a PO?. If the POs is closed, how to know that this PO is closed?. Is there any report to see the closed POs and Open POs seperately? Thanks in advance

  • How to download a zip drive to my ipod?

    How do I download a zipdrive from the library to my ipod?