on 02-07-2008 12:28 PM
Hi All,
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.
Regards,
Sheetal
hi,
you can call the required method of workflow to your report program and get the notification number.
this will work.
ashok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sheetal,
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.
Best regards,
Abir.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abir ,
Thank for ur reply . What procedure u have told me that already done in my scenario . But my problem is how to get that notification no as dynamically in report.
For e.g . Suppose i have created notification and Notification No is generated as '12345'. This notification i want as a input parameter to report .
So how i should get it ?
Please reply.
Regards,
shital
Hi Sheetal,
As I had mentioned earlier (you have already implemented), add the report to your BO as a method. Then click on method and then click 'Parameters'. Create the required parameters, which is 'Notification No.' and go to the system generated 'Program'. Here you will have to do a bit of macro coding. Obtain the No. (once you add as parameter, you will get it through binding) and pass to report.
You might also retrieve (only if required or only in certainb cases) values, for that observe how the attributes are retrieved on the basis of key field.
Best regards,
Abir.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.