cancel
Showing results for 
Search instead for 
Did you mean: 

generating txt file from invoices

Former Member
0 Kudos

Hi Gurus;

My customer needs a requirement.

He wants to generate txt files from SAP invoices. For example we will write material code, price, discount....He will forward this txt file to his customer.

We will select invoices according to the payer and sales document type. For example we will select invoices with sales document type TA, RE and payer=100000016.

What is the best method to generate this txt file?

How we will know a invoice is written or not?

The sample txt output will be like this:

90000000112 1000000048 49,47

90000000101 1000000045 45,67

invoice no material no price

Thanks Gurus.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can create a layout for the Invoice using SMARTFORM and fetch these data from the BILLING DOCUMENT tables

You can check with Developer to cerate the SMARTFORM and assign this to the OUTPUT created in the NACE transaction

Once the invoice was created, the layout will generate and you can generate the PDF file from this INVOICE using the Program RSTXPDDFT4 in the transaction code SE38.

Please check this solution and leverage according to the requirement.

regards,

santosh