on 05-04-2009 9:49 PM
Dear Experts,
I was wondering if there is a BADI that I could possbily use to replicate SRM shopping carts to ECC Purchase Requisitions using the Extended Classic scenario.
Thanks in advance,
Mark
Hi Mark,
in case of extended classic scenario you can not create purchase requisition (the basic of this scenario, that you create at first the local PO, then this will be replicated into the backend system).
Therefore I would suggest to activate the BAdI BBP_EXTLOCALPO_BADI. With this BAdI you can choose between classic and extended classic scenario depending on your business logic (and create ECC PO or purchase requisition).
E.g. depending on the product category:
method IF_EX_BBP_EXTLOCALPO_BADI~DETERMINE_EXTPO.
clear: bbp_extpo_gl-bbpexpo,
bbp_extpo_gl-mandt.
data: cat_guid type COMT_CATEGORY_GUID,
category type COMT_CATEGORY.
cat_guid = ITEM_DATA-CATEGORY.
CALL FUNCTION 'COM_CATEGORY_READ'
EXPORTING
iv_category_guid = cat_guid
IMPORTING
es_category = category
EXCEPTIONS
OTHERS = 0.
if
* category XYZ
category-CATEGORY_ID EQ 'XYZ'.
bbp_extpo_gl-bbpexpo = 'X'.
bbp_extpo_gl-mandt = sy-mandt.
return.
endif.
endmethod.
Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use badi BBP_EXTLOCALPO_BADI to process some of the requirements in the path classic
scenario based on product category defnition , even though implemented Extended classic as main
scenario.
Thanks,
Koushik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.