11-13-2007 8:33 AM
i need to extract the entire sales data and download to a flat file, can any one give me the code for it.
11-13-2007 8:41 AM
Hi,
Use tables.
TABLES : vbak, "Sales Document: Header Data
tfacs, "Factory calendar (display)
vbrk, "Billing: Header Data
vbrp, "Billing: Item Data
vbpa, "Sales Document: Partner
lips, "SD doc: Delivery: Item data
mkpf, "Header: Material Document
mseg, "Document Segment: Material
konv. "Conditions (Trans Data)
And use FM GUI_DOWNLOAD to download the data to flate file.
Regards,
Prashant