cancel
Showing results for 
Search instead for 
Did you mean: 

I cannot access "Supplier Catalogue no" in BBP_DOC_CHANGE_BADI

Former Member
0 Kudos

In our catalog (Requisite) we have Part Number and Supplier Number information.

I would like to read this information in BBP_DOC_CHANGE_BADI.

But when I check the item in the shopping cart, I can see the Part Number

(c_item-manu_prod) but the Supplier Number (c_item-mfr_no_ext) is empty.

Do you have any ideas why this information is not available? I would like to implement a solution and I need it to complete the development......

Thanks a lot,

Cristiana

Accepted Solutions (1)

Accepted Solutions (1)

yann_bouillut
Active Contributor
0 Kudos

Hi,

The supplier part number is stored in PARTNER_PROD.

Kind regards,

Yann

Former Member
0 Kudos

But the PartNumber I can read. My problem is read the Supplier Number.....

yann_bouillut
Active Contributor
0 Kudos

Hi,

Read partner table with PARTNER_FCT value '00000019'

Kind regards,

Yann

Former Member
0 Kudos

Let me explain better....

In BBP_DOC_CHANGE_BADI, I create a local variable called ti_item_aux TYPE bbps_sc_item_badi, used in loop in it_item internal table (that is a imported parameter).

When I try to read ti_item_aux-MFR_NO_EXT, it is blank, but I could see the supplier on the web page of the catalog.... When I try to read ti_item_aux-MANU_PROD I can read the PartNumber.

Former Member
0 Kudos

Hi

<b>Please cross-check whether the Catalogue number is getting passed from the available catalog.

You can go ahead to find this ...

Before ordering for a catlaog item, in the ITS Web page, right click on that Catalog webpage and view source. See that the notepad, is having the Catalogue no... is avaialable there.</b>

Hope this will help.

Please reward suitable points.

Regards

- Atul

Former Member
0 Kudos

I can see the Supplier Name in ITS page, but nothing else in htm source code.

I tried to debug BBP_CATALOG_TRANSFER and I could not see the BBP_OCI_ENRITEM-MFR_NO_EXT is empty!

I believe it is not transferring this information to EBP.

yann_bouillut
Active Contributor
0 Kudos

Hi,

Can you confirm that the OCi has been correctly configured in order to transfer the value to your SRM field ?

I still don't understand what is your "supplier code" : SRM supplier code ? Manufacturer code ?

Kind regards,

Yann

Former Member
0 Kudos

I would like to read the field MFR_NO_EXT - "Manufacturer of the Shopping Cart Line".

In MARA table this field is MFRNR - "Manufacturer number"

yann_bouillut
Active Contributor
0 Kudos

Hi,

Thus your catalog OCi should be configured in the folowing way :

NEW_ITEM-MANUFACTCODE (manufacturer number of the item) to MFR_NO_EXT - "Manufacturer of the Shopping Cart Line

Can you confirm that the catalogue manufacturer code is sent from the catalogue to SRM ?

OCI document is here :

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/97abb390-0201-0010-718f-d6a...

Kind regards,

Yann

Former Member
0 Kudos

Hi Yann,

You are completely right!

We made a mistake in OCI configuration....

Thank you!

Cristiana

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Please try this...

<b>Field name -> MANU_PROD

In the item table of this BADI, et_item-manu_prod is the Supplier Part number which is available in BBP_DOC_CHANGE_BADI.

Otherwise.. Try implementing BBP_CATALOG_TRANSFER BADI to get all the details and move the data from there to the BBP_DOC_CHANGE_BADI.</b>

Hope this will help.

Please reward suitable points.

Regards

- Atul