Hi Guys,
We have workflows triggered for Invoices created.
My requirement is to develop a report that will take the following input.
- Workflow submit date
- Workflow Status
- Invoice No.
The report should output the Invoice level details and the workflow status.
Currently I achieve this by joining SWWWIHEAD and sww_wi2obj. I pass the date / status / wf definition id / Object key / category ID .
However, this is little slow when we run for long date range.
I am planning to create an index on SWWIHEAD for the following fields:
- WI_STAT
- WI_CD
- WFD_ID
Is there any better way of fetching the data from these two tables( Or even are there any other table that I need to access )?
I am unable to find a standard function module to achieve this.
Thanks,
Ajith Cheruvally