cancel
Showing results for 
Search instead for 
Did you mean: 

Saving information from invoice to a .txt file

Former Member
0 Kudos

Hi Gurus,

I need to save some information from my sales invoice to a .txt file. I already have the code to do this but I need to know how to call it once I have the invoice number.

I have tried to link it to an output type in tx V/40, but I have not been able to do it.

Thanks in advance

-Italo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

u can get invoide details from one of these.

BAPI_BILLINGDOC_GETDETAIL - BAPI ( it will give sd invoice data)

FI_DOCUMENT_READ -RFC (it will fi invoide data)

RV_INVOICE_DOCUMENT_READ.

u can also try this FM,

U can simply write an report, use ur invoice number to get rest of the details in bapi or fm.

Edited by: kartik tarla on Jan 10, 2009 1:54 AM

Answers (0)