cancel
Showing results for 
Search instead for 
Did you mean: 

FM to get number of PO waiting for approval to user

former_member413959
Participant
0 Kudos

Hi Experts,

I need to build an application that display for a user the number of requisitions/orders ...that waiting for his approval.

Do you know what is the best way to do it ?

Do you know a FM that do it ?

Regards,

FF

Accepted Solutions (0)

Answers (3)

Answers (3)

rafael_zaragatzky
Active Contributor
0 Kudos

Hi FF,

Thre PR/PO are not assigned to a specific user for release, but to a release code. To find all PRe'q waiting for approval you can use the field EBAN-FRGRL (not empty = PReq not fully released).

Then BAPI_REQUISITION_GETRELINFO can be used to obtain all release codes for the PReq in the table RELEASE_FINAL and already affected release codes in RELEASE_ALREADY_POSTED.

It is only the WF that can be configured to send the PReq for release to a specific user, but even this is not certain - the Preq can be sent for approval to an organisational unit.

BR

Raf

asik_shameem
Active Contributor
0 Kudos

Hi,

ME55 and ME28 will do this.

Former Member
0 Kudos

hi

yoi have to make a Z report having combination of ME2L & ME5A transaction so that user get clear idea about how many requisitios & po are pending for approval