Posts

Showing posts from 2009

FI Transaction Codes

OB41 Maintaining Posting Key F-63 Park/Post AP Invoice FV60 Park/Post AP Invoice FB60 Vendor Invoice Posting F-04 Posting with clearing FBN1 Number Ranges for Accounting Documents - Each document type need to have a number range assigned to it. OBA7 Define documents type - Double click on the documents type to view or change the settings. OBU1 Change the default document type and posting keys - Here you can view or change the default document type and posting keys used as per FI transaction. OBBH FI Substitution OB28 FI Validations OB29 Fiscal Year Variant configuration FIBF BTE (Business Transaction Events) FB60 Vendor Invoice F-43 Vendor Invoice F110 Payment Run FBZP Payment Run Configuration DMEE DME COnfiguration FBL1N Vendor Line Item Display

How to Debug Background Jobs

We can not debug background jobs directly with the breakpoints set inside the program like usually we do during running program in foreground. But this is posibile too !! Go to SM37 - Job monitor Select the specific job you want to analyse (let's a failed job) Use transaction code - JDBG (type the transaction code in transaction code input box - at the top left corner of your screen) It will start ABAP debugger. Continue to debug !!

Sample Program to Create Sales Order – Create Billing Doc – Attach a PDF Document and Release to Accounting

This sample program will create sales order from a data feed from a file, create billing document for those orders, attach a PDF document for these billing document and release those documents to accounting. This program can also be referred to get sample code for following SAP Function modules: SD_SALES_DOCUMENT_INIT SD_SALES_DOCUMENT_COPY SD_SALES_DOCUMENT_SAVE SD_SALESDOCUMENT_CHANGE Though this program uses a Z function module to attach a PDF document to the billing document (invoice) I will share the source code for the same in my next post. *&---------------------------------------------------------------------* *& Report name : Conversion Program - Cost Centre Copy *& Purpose : This program will create invoices from data *& provided through a flat file. This program *& is needed for ePT project - migration of open *& invoices from PeopleSoft. *&