cancel
Showing results for 
Search instead for 
Did you mean: 

To check whether a PO is blocked or not.?

Former Member
0 Kudos

Hello All,

Is there any FM which can be used to check whether a PO is blocked or not..?

Regards,

Imran.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Imran,

What exactly is your require? PO Block mean someone is processing or it is marked for deletion?

Please state in detail.

Thank you

Ritesh

Former Member
0 Kudos

Hi Ritesh,

PO block means someone is processing..

It is not related to deletion..

Regards,

Imran.

Former Member
0 Kudos

Imran,

Then use this FM for checking the lock.

DEQUEUE_EMEKKOE                Release lock on object EMEKKOE

ENQUEUE_EMEKKOE                Request lock for object EMEKKOE

if lock failed means its locked by someone else.

Thanks

ankit

Answers (2)

Answers (2)

former_member190689
Contributor
0 Kudos

Hello Imran,

     Why you need a FM when standard tcode is there you go check with SM12 and see which user is processing the PO . If required you can close his session as well.

Cheers

Gaurav Gautam

Former Member
0 Kudos

Hello Gaurav,

We can use SM12.. But if we need to check during program run time, then we need some table or FM to check whether a PO is blocked or not..

Regards,

Imran.

Former Member
0 Kudos

Use FM  : BBP_PD_PO_GETDETAIL

In ECC     BAPI_PO_GETDETAIL

You will find deletion indicator.

Thanks

Ankit Jain