Hi,
We have requirement to create a report in PI(single stack) in the below format and send the same in an email:
***************************************************************************************************
Source system = XXX
Total Number of Invoices in File = 7
Destination system = XXX
Total Number of Invoices sent to ECC = 6
Number of invoices for CC1 = 5
Number of invoices for CC2 = 1
Total Number of IDOCs = 6
Total Number of Invoices Dropped by PI = 1
***************************************************************************************************
Invoices sent to ECC:
<invoice number> Sending Company:
<sending company> Type: <invoice type>
Invoices Dropped by ECC-PI:
<invoice number> Sending Company:
<sending company> Type: <invoice type>
***************************************************************************************************
Total Number of Conversion Errors = 1
Company code <XXXX> not found on table <table name>.
<<
end of transmission
Let me know how I can generate a report for an interface on daily basis and send the same over an email?
Thanks.