Creating a new report with drill-down is fun and easy with Crystal reports. I've just finished a full drill-down Profit and Loss report with multi level drill-down. The first level of drill-down displays the details, with the second level you can go directly to the transaction in SAP.
Drill down to SAP was easy, only small challenges:
- I had to find a golden arrow picture. I just cut it one from my screen, and paste it to my report.
- Drill Down to SAP Business One from the report requires a link.
Remember: when you add the link, click on the button next to the field of the link, and add the link. It was not enough just to fill in the field.
This is the syntax what I used for linking:
'http://$b1$/link?table=OJDT&key='+CStr({Command.TransID}, 0)
If you use this sample, you will be able to drill down to the Journal Entry in SAP B1.
Note: you will need the TransID to add to your report before you do the linking.
Easy?