err3za, 12:03 PM
Batch job for iling | SAP Blogs
Aska Question Write a Blog Post
wt Like
3) RSS Feed
Former Member
January 10,2013. | 3 minute read
Batch job for billing
Fi20 b15 @ 28,835
HiAl
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
ettor analysis by SAP support.
Active ‘The job is being executed,
Finished ‘The job is finished without errors.
hitps:ologs.sap.com/2013/01/10ibatch-jobfor- bling!
aserr3za, 12:03 PM Batch jab foriling | SAP Blogs
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.
VFO4
Test 01 Variant Created
‘Matitain Bling Due Usk
2. Create Job:-
Job Wizard Tab- Create.
hitps:ologs.sap.com/2013/01/10ibatch-jobfor- bling! ans.err3za, 12:03 PM Batch job for iling | SAP Blogs
Define if using ABAP program or External Program
ans.err3za, 12:03 PM Batch jab foriling | SAP Blogs
To know the Program Name:-
\VFO4-SYSTEM-STATUS
ABAP- Program Step- Write the program name.
hitps:ologs.sap.com/2013/01/10ibatch-jobfor- bling! ans.err3za, 12:03 PM Batch jab foriling | SAP Blogs
Create Job Start Condition
Define if you want to run this Job Periodically or you have any restriction like
(Sunday, Sat )ete.
hitps:ologs.sap.com/2013/01/10ibatch-jobfor- bling! srs.err3za, 12:03 PM Batch jab foriling | SAP Blogs
Click on Continue
hitps:ologs.sap.com/2013/01/10ibatch-jobfor- bling! ans:err3za, 12:03 PM Batch jab foriling | SAP Blogs
JobHasbeenreleased.
Status and my Own Jobs Can be checked in “MY OWN JOBS"
‘Define Background Job
Here you can see how many jobs are active from individual user along with its
status.
Ifyou 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
A.V.21 :- Log for Collective Run,
hitps:ologs.sap.com/2013/01/10ibatch-jobfor- bling! mserr3za, 12:03 PM Batch job foriling | SAP Blogs
45 | al) Oe
Log of Collective Run
jes)
Number of elective mun
Type of call run
hipang port to
surted by SANTOS to
on to
‘st ssectien, ~
wath notes
With created docuntents
‘Owithout cancatotruns
Execute it will show the screen along with number of documents successfully
created along with error.
Log of Collective Run
a+ AQ 48 8 FE & & choose | (save GB cccuments
——E—xx——_—>_—>>>>____=
\Geated by Created.on No,
‘1oonoNN698|SaNTOSHY 12.10.2012
opaconses|SaNTOSHV O2.102012 | 1
ionacoa700)/SANTOSHV 02.10.2012 | 1
TOOROONTOL|SANTOSHY O2.I02012 |B? [ive
Select the Group and click on Documents. It will show you number of Invoices
created,
@ ON 0000 BB OB
Log of Collective Run
Av SGAF EN & Bem Boe Heo. de Dome iow Rovese d
(Bing Gate _Cescrpten.
oe {19.06.2012 |moce 2) |!
DOODO7O SOURED OO ANI veces 2)
ioomo7Di| NOTE. vce F2)
‘bocmo7oi son2e03 2.07 202 [twoce 2) |
OOOH OSE OTA [eee 2)
‘oor SOMERS 0GO7AIZ fiw ada wood |
PSS eee Ree
Now Select the Notes or Shift+8. It will show you invoices with Error log
hitps:ologs.sap.com/2013/01/10ibatch-jobfor- bling! ans,err3za, 12:03 PM Batch job for iling | SAP Blogs
Glue Babree B amisted vew
(ae ‘oy for coll. nam 1090000701
(0080003946 00000 Document 0980003946 is currently beiny processed
Le Tongrect
Technical data
[= WOO 0080007763 ono000 Customer ODON002A01: Custorer nester table RIV is nissing
[= WOO 0000007763 000010 The bil-to party could not be devecmined
J WOO 0080007763 000010 Tue paver could not be determined
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.
Alert Moderator
Assigned Tags
SD Sales
SAP ERP
SD (Sales and Distribution)
enterprise resource planning
sap erp sales and distribution
Similar Blog Posts ~
Third Party Service selling through customer service.
By Former Member May 03, 2013
Advanced Intercompany Sales in SAP S/4HANA OP/Private Cloud
By Kazuhisa lwamoto Mar 07,2023,
Documentary batches and its integration to SAP EWM
By shailesh mishra Mar 06,2020
Related Questions “~
FOR CLUBBING OF MATERIAL IN BILLING DOCUMWENT IF MATERIAL CODE |S SAME
hitps:ologs.sap.com/2013/01/10ibatch-jobfor- bling! ons: