cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the Status of a PO

venky_k
Explorer
0 Kudos

How to get the status of the PO in a customized program when I have only PO Number as reference.

(any specific Function Modules)

Accepted Solutions (0)

Answers (1)

Answers (1)

khan_voyalpadusman
Active Contributor
0 Kudos

bbp_pd_po_getdetail --> ET_STAT table

venky_k
Explorer
0 Kudos

Thanks for quick response,

However, the status table contains all the status pertaining to an Purchase Order.

How exactly I can get the correct status using the status table?

Former Member
0 Kudos

Hi Venky,

The way you know which is the current status is with the FM BBP_DOC_STATUS_GET, but you have to use as input all the status listed in ET_STAT table, the output of this FM is the actual status for the document.

I hope this helps you.

Regards,

José Luis Delgado

Please rewards points for helpful answers

Former Member
0 Kudos

Hi,

Can you please give me the example for this FM BBP_DOC_STATUS_GET to get the correct status.

Regards,

Neelima

Former Member
0 Kudos

Hi venky,

Can u please let me know did u get any table to know the current status.I also have same requirement

Regards,

Neelima

Former Member
0 Kudos

Hi ALL ,

I have the same requirement. Could you please let me know how to get the PO status ?

Regards

Saurav

Former Member
0 Kudos

Hi,

Please use FM BBP_DOC_STATUS_GET to get the current status of Document.

Inputs: SC,PO guid, All the status in the CRM JEST table.

Output: Current Status of the Doc

Hope this helps.

Regards,

Neelima

Edited by: S Neelima on Apr 27, 2011 10:38 AM

0 Kudos

Hi Neelima,

Kindly let me know. How to find the PO current status. I followed the steps which you mentioned. Stil i could see all the possible status only.

Please let me ASAP.

Thanks & Regards,

Sridhar

venkatakrishna
Active Participant
0 Kudos

Hi Sridhar,

CRM_JCDS this table you will get date and time of the all the status , from this get the

latest status of the document.

Eg:-

select * from crm_jcds
        into table it_jcds
        where objnr = guid of the document .
     if sy-subrc eq 0.
       sort it_jcds by udate utime.
     endif.

Regards,

Venkat