cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning R/3 products to a Product category in SRM

Former Member
0 Kudos

Hi,

When we replicate the products from R/3, i want to assign a set of products to a particular product category in SRM.

There is a BAdi BBP_PRODCAT_HIER. how can i make use of it.

Gurus ...please help me in doing this....

Thanks,

Sivagami.R

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi,

The BAdi BBP_PRODCAT_HIER is used at the time of replicating product categories from R/3 to SRM.

Chk the code below ...

if IV_CATEGORY_ID = '900400000'.

EV_PARENT_CAT_GUID = '4612B67A60AA03FC000000000A20066C'.

endif.

EV_PARENT_CAT_GUID is the guid of the local pdt. category created in SRM. It becomes the parent pdt.category of the R/3 pdt.category 900400000.

regards,

Sivagami.R

Former Member
0 Kudos

Hi all,

Please tell me when the BAdi BBP_PRODCAT_HIER is used & why this can not be used for this requirement.

Thanks,

Sivagami.R

Former Member
0 Kudos

Disha,

If the BAdi cannot be used for this purpose, I want to know when this BAdi will be used....

Thanks,

Sivagami.R

yann_bouillut
Active Contributor
0 Kudos

Hi,

This badi is used for building product category <u>hierarchy</u> in SRM

It is not intended to link product to product category.

Kind regards,

Yann

Former Member
0 Kudos

Hi

<b>See the follwoing BADIs as well.</b>

BADI name                                      Description
BBP_CT_PROD_ST_RULES           BAdI for Implementation of Additional Product Staging Rules     

BBP_CT_PROD_TRANSFER           Exit Before Transfer of Product Data to Product Master          

BBP_DP_PROD_CHK_BADI           Exit for Check if Product can be a Direct Material              

BBP_PRODCAT_HIER               Adaptation of Product Category Hierarchy                       

Hope this will help.

Please reward suitable points.

Regards

- Atul

Former Member
0 Kudos

Hi,

We have a process sending notifications to the Directors based on the products chosen by the supplier during self registration. If the director is not assigned to the products, the directors assigned to the Pdt. Category will taken into account for the processing.

Please help me in this assignment of replicated products to the locally created SRM product categories.

Thanks,

Sivagami.R

Former Member
0 Kudos

Hi,

I dont think BADI BBP_PRODCAT_HIER will help you in your requirement of your backend Product assignemnt to a local product category in SRM.

Also i fear this is not possible so better load the product categories from R/3 backend and then the products.

Also whats the basic reason for this requirement?

BR,

Disha.

Pls reward points for useful answers.

Former Member
0 Kudos

Hi

I hope you must have read the documentation of this BADI using SE18 Transaction.

<u>Here is the documentation -></u>

<b>BBP_PRODCAT_HIER BADI</b>

____________________________________________________
Short Text
Adaptation of Product Category Hierarchy

Use

You can use this BAdI (BBP_PRODCAT_HIER) to change a structure that you get from the ERP System into a hierarchical structure or tailor the existing structure to the required structure.

Requirements

You can use the BAdI in the following technical scenarios:

Classic scenario
Extended classic scenario
Standalone scenario
Standard settings

After calling the IMG activity, proceed as follows:

1. In the Implementation field, enter a name for the implementation of the BAdI and choose Transfer.

If implementations have already been created for the BAdI, the system displays a dialog box with the existing implementations. In this dialog box, select Create.

2. Enter a short text in the relevant field.

3. On the Characteristics tab, enter filter characteristics, if appropriate.

4. Select the Interface tab.

The name of the imp. class is generated by the system using the name of your implementation. You can change this name.

5. Save your entries and assign a package.

6. Position the cursor on a method. Call the class builder by double- clicking on it.

7. Enter your coding between method IF_EX_BBP_PRODCAT_HIER~BACKEND_UPLOAD and endmethod

8. Save and activate your coding and navigate back to the Change Implementation screen.

9. Save your entries on the Change Implementation.

Note: You can create an implementation for a BAdI and activate it later. If this is what you want to do, stop the processing at this juncture.

10. Select Activate.

When the application program is carried out, your coding runs.


Load product categories into the SRM System.
Functionality
You can use the method (BACKEND_UPLOAD) to upload the structure of a product category from the ERP System.

Parameters
The following parameters are transferred:

IV_CATEGORY_ID
This import parameter is optional and is for the transfer of the category to be processed.

IV_HIERARCHY_ID
This import parameter is optional and is for the transfer of the target hierarchy.

IV_CATEGORY_GUID
This import parameter is optional and is for the transfer of the

category GUID.

EV_PARENT_CAT_GUID
This export parameter is the return value of the father category of the processed category.

Hope this will help.

Please reward suitable points.

Regards

- Atul

Former Member
0 Kudos

Hi,

You r right. I want to assign the replicated products to be assigned to the product category created in SRM.

Please let me know the possibilities for the same. How can the BAdi BBP_PRODCAT_HIER can be used in this?

Thanks,

Sivagami.R

Former Member
0 Kudos

Hello,

If I understand your requirement correctly you want to assign the replicated products to the product category Locally created in SRM.

Any particular business reasons for this?

because I doubt whether it will be possible.

Instead,

Can you not create those material groups in R/3 and replicate them first?

BR

Dinesh