cancel
Showing results for 
Search instead for 
Did you mean: 

How to identify a PO as a manually created PO

Former Member
0 Kudos

Dear all,

I am newbie for SRM.

As you know, the PO was created manually (a buyer creates a new purchase order via full-buyer process) vs. automatically (PO was created and ordered automatically after approval of a catalog based shopping cart).

now, when I take a look a PO, I how to know this is created manually?

and I want to make a identify ON SRM system. what must I do?

and now I find a FM BBP_PD_PO_GETDETAIL. I think it can be done.

if FM is okay, what should I do? where call this FM? BAdi? BAPI?

perhaps you can give me a detail info. thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You can check this in Tx BBP_PD with object type BUS2201.

Look at the field CREATED_BY in table CRMD_ORDERADM_H.

If the value in that field is WF-BATCH, PO is created automatically by workflow after approval of Shopping Cart.

If you find any user ID in that field, means PO created manually (buyer manually creates this through SOCO, purchaser worklist).

Rgds

Reddy.

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks all. thanks you very much.

Former Member
0 Kudos

Oh, business requirement is <b>PO Creation & PO Response in SRM</b> and ask me to do:

The system shall identify this PO as a manually created PO (not an auto PO).

Maybe I add something on SRM PO Screen? if use BAPI who can tell me the BAPI name, thanks.

yann_bouillut
Active Contributor
0 Kudos

Hi Alice,

I do not understand why you need to identify if Po was created manually or not ...

What for ?

Do you have a different process if PO is created manually ?

Do you need it for reporting purpose ?

...

Kind regards,

Yann

Former Member
0 Kudos

Hi

Until and unless there is a link to previous doucment, you can get the details of the PO created in R/3 or SRM, using BBP_PD_SC_GETDETAIL / BBP_PD_PO_GETDETAIL (Incase of SRM Local PO) / META_POGETDETAIL (incase of R/3 PO).

<u>Please go through the Consulting SAP OSS Notes as well -></u>

1026638 GR Output Integration with MM-SUS Scenario for R/3 <= 47- 28.05.2007

848909 Size of the table BBPCONT is very big.

946201 Using Back-end P Org/ P grp directly in ECS local PO 10.05.2006

409211 XML Invoice entry

Regards

- Atul

Former Member
0 Kudos

Thanks all

Your mean is two way:

1. table CRMD_ORDERADM_H: CREATED_BY field value is WF-BATCH or other to distinguish it.

2. use this FM.

Where I do the coding?

thanks a lot.

Alice

Former Member
0 Kudos

Hi

Are you creating a new report in SRM system or where you will use this FM / BAPI ?

What's your detailed business requirement ?

Regards

- Atul

pvanhoove
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

when using the function BBP_PD_PO_GETDETAIL, you have the detail on the linked object. You can identify with it if the po comes from a shopping cart or from nothing.

Rgds,

Pierre

yann_bouillut
Active Contributor
0 Kudos

Hi,

As Pierre said, just check if there was a previous document (such as shopping cart) before the PO creation.

Kind regards,

Yann