batch job schedule

12
Generated by Jive on 2016-04-06+02:00 1 Batch job for billing Hi All There are many Open discussion regarding Batch Job for Billing which inspired me to create this document for associates who wants to understand how Batch job works in SAP ?How can we schedule Invoice in background to automate the Billing Process. There are the steps to Keep in Mind when want to automate the billing. 1. Create Billing Variant (VF04) 2. Create Job-Sm36 using Job Wizard 3. Recipient address for Spool list recipient. 4. Specify Start Condition Scheduled The job steps but no start conditions have been defined. Released The job definition is complete and the job is waiting for the start conditions to be fulfilled. Ready The job is in its start phase, which normally takes only a fraction of a second. This status is of no interest for the end user. However, it is useful for error analysis by SAP support. Active The job is being executed. Finished The job is finished without errors. Cancelled The job execution was terminated due to an error. 5. Automated Job execution as defined in Start Condition 6. Check for Periodic or restriction for this job. 6. Report for Number of documents created and Error log. 1. 1. Create Variant for Invoice:- Here you define the most suitable conditions or Pr-requisite to Generate the Invoice .it can be on Billing Type/ Sales Org Level /Dis. Channel or the combination of all. VF04

Upload: azhadkhan

Post on 16-Jan-2017

9 views

Category:

Career


0 download

TRANSCRIPT

Generated by Jive on 2016-04-06+02:001

Batch job for billing

Hi All

There are many Open discussion regarding Batch Job for Billing which inspired me to create this document

for associates who wants to understand how Batch job works in SAP ?How can we schedule Invoice in

background to automate the Billing Process.

There are the steps to Keep in Mind when want to automate the billing.

1. Create Billing Variant (VF04)2. Create Job-Sm36 using Job Wizard3. Recipient address for Spool list recipient.4. Specify Start Condition

Scheduled The job steps but no start conditions have been

defined.

Released The job definition is complete and the job is waiting

for the start conditions to be fulfilled.

Ready The job is in its start phase, which normally takes

only a fraction of a second.

This status is of no interest for the end user.

However, it is useful for error analysis by SAP

support.

Active The job is being executed.

Finished The job is finished without errors.

Cancelled The job execution was terminated due to an error.

5. Automated Job execution as defined in Start Condition

6. Check for Periodic or restriction for this job.

6. Report for Number of documents created and Error log.

1. 1. Create Variant for Invoice:-

Here you define the most suitable conditions or Pr-requisite to Generate the Invoice .it can be on Billing Type/

Sales Org Level /Dis. Channel or the combination of all.

VF04

Batch job for billing

Generated by Jive on 2016-04-06+02:002

Test 01 Variant Created .

2. Create Job:-

Job Wizard Tab- Create.

Batch job for billing

Generated by Jive on 2016-04-06+02:003

Click On Continue

Batch job for billing

Generated by Jive on 2016-04-06+02:004

Define if using ABAP program or External Program

Batch job for billing

Generated by Jive on 2016-04-06+02:005

To know the Program Name:-

VF04-SYSTEM-STATUS

Batch job for billing

Generated by Jive on 2016-04-06+02:006

ABAP- Program Step- Write the program name

Batch job for billing

Generated by Jive on 2016-04-06+02:007

Specify the Names, you want to send spool

Create Job Start Condition

Batch job for billing

Generated by Jive on 2016-04-06+02:008

Define if you want to run this Job Periodically or you have any restriction like (Sunday, Sat )etc.

Batch job for billing

Generated by Jive on 2016-04-06+02:009

Click on Continue

Batch job for billing

Generated by Jive on 2016-04-06+02:0010

Status and my Own Jobs Can be checked in “MY OWN JOBS”

Here you can see how many jobs are active from individual user along with its status.

If you require to see the error log and Report for number of documents created after Job Run it can be traced

via T-Code V.21

1. V.21 :- Log for Collective Run.

Batch job for billing

Generated by Jive on 2016-04-06+02:0011

Execute .it will show the screen along with number of documents successfully created along with error.

Select the Group and click on Documents. It will show you number of Invoices created.

Batch job for billing

Generated by Jive on 2016-04-06+02:0012

Now Select the Notes or Shift+8. It will show you invoices with Error log.

You can also see the individual invoices and failing reasons so go ahead and do the required changes to get

the invoicing done.

This is end of job scheduling in background .Please leave your valuable feedback.