cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering BADI BBP_CATALOG_TRANSFER

Former Member
0 Kudos

Hello People.

I have implemented BBP_CATALOG_TRANSFER badi ( I want to use customer fields) , but its implementation is not called, the badi is active but is not called.

We have SRM version 5.0 and Enterprise Buyer 3.0. ( ITS integrated)

How I can triggering this badi?

Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

BBP_CATALOG_TRANSFER can be used to change/map values returning from an OCI linked external catalog via the hook url. It lets you map out some of the data.

See the foll related threads:

Also sample code for the BADI for your reference:

Like this, you can do much more things. Basically, you can map the data coming from external into SRM SC.

loop at enriched_item_data into wa_enriched_item_data.

category_id = wa_enriched_item_data-category_id+0(6).

select category_guid

into comm_category-category_guid

up to 1 rows

from comm_category

where category_id = category_id.

endselect.

if sy-subrc eq 0.

wa_enriched_item_data-category = comm_category-category_guid.

wa_enriched_item_data-category_id = category_id.

modify enriched_item_data from wa_enriched_item_data.

else.

select category_guid

into comm_category-category_guid

up to 1 rows

from comm_category

where category_id = c_category_id99.

endselect.

if sy-subrc eq 0.

wa_enriched_item_data-category = comm_category-category_guid.

wa_enriched_item_data-category_id = c_category_id99.

modify enriched_item_data from wa_enriched_item_data.

endif.

endif.

endloop.

BR,

Disha.

Pls reward points for useful answers.