I am using ECC 6.0 version.
In my scenario , Once notification is closed , workflow should trigger. and along with this , one report should execute in background with input parameter as a Notification no. from workflow . Report should pick up input parameter dynamically.As I know instead of function module we can choose report option in business object .
My question is how that report will get input parameter as notification no.& How I do the binding for this (Between report & workflow)?
Valuable suggestions are excepted.
You can create a subtype of your standard BO. In this way you can execute and pass parameters to your report directly.
For this create a subtype and in it create a method (give any relevant name), goto ABAP tab and enter name of your report. After that click on your method (you just created) and click on button 'Program'. Select 'Yes' when it asks for automatically generating code. You will find an access to your report is created (you can pass your parameters now). Also do not forget to delegate your 'ZBO' to the standard BO.