Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

need to extract sales data

Former Member
0 Kudos

i need to extract the entire sales data and download to a flat file, can any one give me the code for it.

1 REPLY 1

former_member386202
Active Contributor
0 Kudos

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