cancel
Showing results for 
Search instead for 
Did you mean: 

FM to complete the SC approval WF

Former Member
0 Kudos

Hello,

Is there any function module to complete the SC approval workflow with the names of the approvers.

Regards,

Madhan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

yes, use the transaction bbp_bgrd_approval.

type in the workitem ID (you got it from swi1) and the name of the approver.

Regards,

Daniel

Former Member
0 Kudos

When i use this transaction with user id, work item id and the action field 'F'. The system throws a dump.

Can you give me someother option.

Former Member
0 Kudos

leave the action field empty -> this means approve

And do not use the header workitem id (seen in bbp_pd), opent the swi1 with the header workitem id, and you will see the workitem Id belonging to this approval step.

Regards,

Daniel

Former Member
0 Kudos

I took the work item ID from SWI6 transaction. if we leave the action field empty, the SC remains at the same work item id, It doesn't proceeds further.

If we use 1 in action, the SC get rejected.

and if we use 0 in action field, the SC gets approved and proceeds to next work item id (For next approval)

This is what i observed.

Thank you.

Former Member
0 Kudos

Hi

you are correct

0 -approval

1 rejection.

I usually leave it blank and it gets approved...

Interesting that it did not worked for you

Daniel