cancel
Showing results for 
Search instead for 
Did you mean: 

Approver details for created SC

Former Member
0 Kudos

Hi ,

I have Object ID (SC#), based on the Object ID I need to get the status of the Shopping cart and with whom the SC is waiting for approval. Need to display the name of the approver also. I dont have workitem ID.

Do we have any standard FM to achieve this... ?

Replies are highly appreciated.

Thanks

Rupachandran G

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

There is no one standard FM to achieve this. But you can achieve this as below :

Run the FM BBP_DOC_STATUS_GET with the SC Guid , object type BUS2121 and also input the IT_STATUS with the available status of the SC.

You can get this list by running the FM BBP_PD_STATUS_GETDETAIL. The resultant ET_STATUS can be input to the FM BBP_DOC_STATUS_GET .

The resultant status of the FM BBP_DOC_STATUS_GET is the latest SC status.

Former Member
0 Kudos

Hi Sapna,

Thanks for your Input. The FM BBP_DOC_STATUS_GET will give the status description. But I want to know with whom (Which Approver) the SC is waiting for or if it is approved, Who has approved it ?

Basically trying to capture here the approver details. Any Help is appreciated.

Thanks,

Rupachandran G

Former Member
0 Kudos

Hi,

Check the routine simulate_approval_pbo in function group bbp_pdh_wfl. All the logic stands there.

To get the Work item id you can use CALL FUNCTION 'BBP_PDH_WFL_TASK_FROM_WI_GET'.

Regards,

Sapna