cancel
Showing results for 
Search instead for 
Did you mean: 

Materials from CATALOG- PRICE_ORIGIN

Former Member
0 Kudos

Hi,

We need to know where to maintain price_origin field wich controls, in our case, wether a material price can be modified or not when creating a sc.

We've debuged the sc creation process and found out that for some materials

ET_ITEM[]-PRICE_ORIGIN = F (in LBBP_SC_APPF92) and these materials are suposed to come from catalog but haven't found this value in Material Master in R/3 or SRM. Also tried debugging with the following stack call:

But at the end it seems that item data comes from memory.

FORM ITEMLIST_F_MULTI_GETDETAIL SAPLBBP_PDIAD

FUNCTION BBP_ITEMLIST_MULTI_GETDETAIL SAPLBBP_PDIAD

FORM PROCDOC_GETDETAIL SAPLBBP_PD

FUNCTION BBP_PROCDOC_GETDETAIL SAPLBBP_PD

FUNCTION BBP_PD_SC_GETDETAIL SAPLBBP_PD_SC

METHOD IF_EX_BBP_DOC_CHECK_BADI~BBP_DOC_CHECK ZCL_IM__BBP_DOC_CHK_BADI======CP

METHOD IF_EX_BBP_DOC_CHECK_BADI~BBP_DOC_CHECK CL_EX_BBP_DOC_CHECK_BADI======CP

FORM DOC_CHECK_BADI_CALL SAPLBBP_PD

FORM PROCDOC_CROSS_CHECKS SAPLBBP_PD

FORM PROCDOC_UPDATE SAPLBBP_PD

FUNCTION BBP_PROCDOC_UPDATE SAPLBBP_PD

FUNCTION BBP_PD_SC_UPDATE SAPLBBP_PD_SC

FORM SC_UPDATE SAPLBBP_SC_APP

FORM SC_ITEMS_UPDATE SAPLBBP_SC_APP

FUNCTION BBP_SC_APP_EVENT_DISPATCHER SAPLBBP_SC_APP

FORM APP_EVENT_HANDLER SAPLBBP_SC_UI_ITS

FORM SC_EVENT_DISPATCHER SAPLBBP_SC_UI_ITS

MODULE (PAI) SC_EVENT_DISPATCHER SAPLBBP_SC_UI_ITS

So we'd like to know How SRM determines that a given Material comes from catalog.

Best Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

<u>To know whether a Item comes from a catalog or not : -</u>

(To know How SRM determines that a given Material comes from catalog.)

<b>Here is a simple way -</b>

<b>Implement BBP_DOC_CHANGE_BADI using SE19 Transaction for filter type BUS2121 (shopping cart).</b>

<u><b>For method BBP_SC_CHANGE, inside ET_ITEM[] table of this BADI

incase the catalog item is having fields populated with values for

CATALOG_ID / CATALOG_DESCPRIPTION (Then it is a catalog item) - Otherwise, the item is a free-text item.</b></u>

<u>In <b>BBP_PD</b> transaction, once you see this shopping cart after ordering or held the shopping cart, you will get the required details.</u>

Hope this will definitely help.

Do let me know.

Regards

- Atul

Former Member
0 Kudos

Hi

I've checked what you mentioned and didn't found any values in

CATALOG_ID / CATALOG_DESCPRIPTION

BADI BBP_SC_CHANGE is implemented but when data comes to this call, the price_origin filed has the value F.

in BBP_PD we can see data once sc is created but what we need is to change (from the source table) this field and thus control the display of price field during sc creation.

So any idea where this field comes from before sc creation? I mean once material is selected has to exists a function or something that sets the value F in price_origin

Regards