cancel
Showing results for 
Search instead for 
Did you mean: 

SC to PO mapping error - Business Partners not transferred

Former Member
0 Kudos

Hi there,

We have just upgraded from SRM 3.0 to SRM 5.0. We are using Extended Classic scenario.....

When creating a shopping cart that has no approval....it does create a local PO on SRM but there are NO business partner details in the PO at all (when viewing it in BBP_PD)

I have looked at this note:

Note 1140956 - Partner fields are not updated in purchase order

But it is already in the system....;-(

I assume all the logic happens in function module "BBP_PD_SC_MAP_TO_PO_LOC"

I see how the code looks for each partner function....something like:

READ TABLE it_sc_partner WITH KEY p_guid = lt_h_ref_list-item_guid
                                        partner_fct = lv_partner_fct
                                         del_ind    = gc_no.
      IF sy-subrc EQ 0.
        et_po_partner              = it_sc_partner.
        et_po_partner-p_guid       = lv_item_guid.
        APPEND  et_po_partner.
      ENDIF.

Obviously this sort of READ TABLE is not working....and hence the PO business partners remain BLANK...

Any ideas?

Thanks for the help

Lynton

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Did the shopping cart have a supplier populated to it?

Only the Price field is mandatory for the Approval workflow to start. Hence, I assume that the Supplier field was originally blank when you created the shopping cart.

In such a case, a PO is created in the HELD status & that is the standard way SRM works.

Rgds,

Akash

Former Member
0 Kudos

Hi there,

The supplier / vendor partner function is populated in the SC....

Here are the Partners in the SC

0000000001 00000019 Vendor

0000000001 00000016 Requester

0000000001 00000020 Goods Recipient

0000000001 00000027 Ship-To Address

0000000001 00000075 Location

Any other ideas?

Lynton

Former Member
0 Kudos

Hi Lynton,

I see that you have actually mentioned the standard partner types in SRM - 19 for fixed vendor, 16 for requestor & so on...These are not the actual vendor or the requestor numbers.

Cheers,

Akash

Answers (0)