Skip to Content
avatar image
Former Member

BAdI BBP_CATALOG_TRANSFER - Material Group Mapping issue

Hi all,

Currently, we have to map Vendor Product Category to SAP Material Group using a customized table, as the shopping cart items are transferred via OCI (Open Catalog Interface) from External Catalog. I realize mapping can be done using BAdI BBP_CATALOG_TRANSFER in SRM system.

Before any mapping logic is placed in the above BAdI, I notice Application Log (Tcode SLG1) returns me an error message after shopping cart items transferred via OCI:

000001 Unable to find appropriate Category Id 98218237

Hence, I have placed Product Category mapping logic in the above BAdI using CATALOG_CONTENT-MATGROUP (where Vendor Category ID 98218237 will be mapped to SAP Material Group 001803). However, once I attain Material Group 001803 from mapping z-table, I am not sure which internal table I need to update , should it be CATALOG_CONTENT, ENRICHED_ITEM_DATA, or ET_SC_ITEM_DATA?

I notice that ET_SC_ITEM_DATA having empty entry, while CATALOG_CONTENT and ENRICHED_ITEM_DATA contains the shopping cart items from External Catalog. I have tried to update ENRICHED_ITEM_DATA but I still get the error message from Appl. Log (SLG1).

000001 Unable to find appropriate Category Id 98218237

What is the different between ENRICHED_ITEM_DATA and ET_SC_ITEM_DATA, while EV_SC_STRUCTURES_USED = 'X', when I debug the BAdI? And which table I need to update after I attain the right SAP Material Group from Mapping z-table, while ET_SC_ITEM_DATA is empty?

Kindly advise.

Many thanks,

Patrick

P/S: I'm on SRM 5.0

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 07, 2009 at 07:11 AM

    If you use EV_SC_STRUCTURES_USED that means you use all the ET* tables in the badi. Instead of the old ENRICH structure.

    If the ET_SC_ITEM_DATA is empty, look at the ERROR structure and see if there is an error there. The OCI may not be working correctly. Most commonly the unit of measure is not correct. The item should be in the ET_SC_ITEM_DATA table.

    Regards,

    Robin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi all,

      I have resolved Vendor assignment issue in Detail page by referring back to the GUID Partner (using Partner Function '19').

      Hope this help to whom encounter this issue.

      Regards,

      Patrick