Posts

Showing posts from June, 2009

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. *&