cancel
Showing results for 
Search instead for 
Did you mean: 

Product category comes blank IN BID INVITATION process of SRM

Former Member
0 Kudos

Hi Gurus,

We are using the SRM Ssystem to process BID invitation.In this it uses the R3MMEXTRACT to get the product catalog information.The Information is fetched from R/3 using the RFC BBP_CATEGORY_GET_GUID.

The data which is fetched from R/3 is then transferred to SRM.but when the data is transfrred for some particular material groups the Product category comes blank.This happens in the case where the material group exists in two or more systems and the the function module is not able to identify from which system it is has to fetch the data.

Can anybody please help me with this.

this code is implemnted in the class ZCL_IM_CATALOG_CONTENT which is the class implemnted for BADI BBP_CATALOG_TRANSFER.

  • DETERMINE THE LOGICAL SYSTEM FOR THE ITEMS

LOOP AT catalog_content INTO wa_catalog_content.

MOVE wa_catalog_content-cust_field3 TO ls_logical_system.

EXIT.

ENDLOOP.

LOOP AT et_sc_item_data INTO wa_et_sc_item_data.

READ TABLE catalog_content INTO wa_catalog_content

WITH KEY line = wa_et_sc_item_data-number_int.

lv_matgroup = wa_catalog_content-matgroup.

IF sy-subrc EQ 0.

CALL FUNCTION 'BBP_CATEGORY_GET_GUID'

EXPORTING

category_id = lv_matgroup

IMPORTING

category_guid = lv_category_guid

EXCEPTIONS

nothing_found = 1

OTHERS = 2.

wa_et_sc_item_data-category = lv_category_guid.

wa_et_sc_item_data-category_id = lv_matgroup.

cAN ANYBODY HELP ME IN THIS,...

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi there,

If you have 2 backends, is there any way you can find out which backend this is supposed to be coming from?

FUNCTION com_category_get_guid

FUNCTION com_category_get_guid_ol

...

ELSE.

*

  • -------logsys is unknown -> read all categories with this ID------

You could have a look through the code and possibly debug it and see

FUNCTION com_category_get_guid_db.

FORM get_guid_by_id_multisys

table COMM_CATEGORY

Hope this helps.

Matthew