12-08-2020 11:17 AM
Currently Customer statements are generated in PDF only using the T.code f.27
My requirement is to send the data in excel format rather than in PDF. Please suggest some BADI or exits if anybody came across a similar requirement.
12-08-2020 12:07 PM
I assume the PDF is generated by a print program, you should find out how which one, because that's where you'll have to make changes.
Next, writing an Excel file can be done with abap2xlsx which comes with plenty of examples.
12-08-2020 12:32 PM
Hi Andrea,
Thanks for your comment, Yes print program is there for PDF.
Problem is this is a standard code. I want to know is there any BADI that can be used for this.
Regards,
Sushant
12-08-2020 1:37 PM
Why? In OB96 you can configure a new printing program and then do as you want.
12-08-2020 2:16 PM
You could look at BTE (process) 00002310 ‘User exit for different transmission media e.g. print, FAX, mail'.
However, I agree with c5e08e0478aa4727abc4482f5be390b2, to fulfil your requirement you will also have to define (*) a customer form report to generate a XLSX file by the available tools.
(*) SPRO: Financial Accounting Global Settings, Correspondence,