Monday, February 27, 2012

ABAP: Important FMs for background/batch processing

Here is list of important FMs which are used for background processing/batch jobs ( creation/read/job log/abort etc.):

Basic FMs for scheduling background jobs:
  1. JOB_OPEN :  Create a new Job 
  2. JOB_SUBMIT :  Add the steps via JOB_SUBMIT
  3. JOB_CLOSE : Release Job via JOB_CLOSE 


BP_FIND_JOBS_WITH_PROGRAM : Find all jobs for a program/report 

BP_JOBLOG_READ : Read the job log 
BP_JOBLOG_SHOW : Display job log

SHOW_JOBSTATE : Show job status( Active/scheduled/canceled etc.) 

Cheers,
Sandeep 

Wednesday, February 1, 2012

ABAP: How to check if a note is implemented technically

Most often you are in situations wherein you need to implement SAP notes for fix issues in SAP standard.You can do the same via transaction SNOTE.

Additionally , you can check the status of notes via transaction SE95 as well.

But if one needs to find out through an program whether a note is implemented or not , here is a simple trick:

Use FM: SCWB_NOTE_CHECK_IMPLEMENTED and this will return the status of the note.
The status is tired in table CWBNTHEAD : Header table for OSS Notes in customer systems.

Cheers,
Sandeep 

NewG/L: Reports to check data consistency

If you are planning to migrate to New G/L environment and want to check consistency of the classic G/L data , here are few reports which might help you :)

RFINDEX : FI consistency check 
SAPF190 : Financial accounting comparative analysis for Balance sheet 
SAPF100 : Foreign currency valuation
RAABST02 : Reconcil. program FI-AA <-> G/L: List of accounts showing differences
RSANAORA : analysis of oracle tables for creating statistics.

Cheers,
Sandeep