Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Using ABAP report in SAP workflow

Former Member
0 Kudos

Hi everyone,

I have developed a leave workflow, in which an employee submits an earned leave request, his line-superior approves/disapproves the earned leave request & finally HR Officer unlocks the earned leave request. The workflow uses 'ABSENCE' business object.

Our company has a policy of giving LFA to employees on a certain number of leaves. Employee has the option of either take the LFA amount through cheque or payroll.

Previously when the process was outside 'SAP Workflow', the HR Officer used to execute an ABAP report which prints out an advice(letter) mentioning the amount of LFA (according to employee's pay scale group) & directing the Finance Department to pay that amount to the employee.

Can anyone tell me how can i use the same ABAP report in the newly developed workflow, so that the LFA amount can be directly forwarded to the Fianance Department.

(I am using SAP R/3 4.6c)

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Asim,

You can follow following steps for achieving your requirement:

-Create a ZABSENCE object by inheriting ABSENCE object

- Add mehtod to this object which calls report.

- Create task using this method

- Call this task in new step of your workflow

By doing this, when this newly created step is exected, workflow will call the desired report.

Hope this helps.

Regards,

Akshay Bhawgat

Message was edited by: Akshay Bhagwat

2 REPLIES 2

Former Member
0 Kudos

Former Member
0 Kudos

Hi Asim,

You can follow following steps for achieving your requirement:

-Create a ZABSENCE object by inheriting ABSENCE object

- Add mehtod to this object which calls report.

- Create task using this method

- Call this task in new step of your workflow

By doing this, when this newly created step is exected, workflow will call the desired report.

Hope this helps.

Regards,

Akshay Bhawgat

Message was edited by: Akshay Bhagwat