on 01-02-2007 7:35 AM
Hello Friends
We use SRM Server 5.5 (Classic scenario).
As you know that, purchasing group has the responsible product categories in PPOMA_BBP, when user creates the shopping cart to determine the purchasing group.
In our case, we should determine the purchasing group using other criteria.
MM side is OK to determine the purchasing group using specific criteria.
Because Material Master has the purch. Group information.
In case of SRM, we should develop the logic using BBP_PGRP_FIND BADI.
But Im not sure how to use this badi.
We want to determine the purchasing group based on the following logic.
If described shopping cart without product ID
Do Standard purchasing group determination logic.
Else
Assign the purch group from MARC- EKGRP (Purchasing Group)
Is it possible to determine above the logic?
If yes, Could you give me some information?
Thank you,
Best regards,
SH
Message was edited by:
So Hee Lee
hi,
You can check for BBPS_RESP_ITEM_DATA_BADI-PRODUCT NE initial, then create a custom function module(RFC enabled in SRM) whcih will fetch the required Pur group from r/3.
The BADI BBP_PGRP_FIND is used to overwrite the settings from the Org structure or when you want to assign multiple Purchasing groups in SRM.
BR,
Disha.
PLs reward points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your answer.
I found the way to develop the our logic using BADI: bbp_pgrp_find.
But Im not sure the following logic is correct.
To differentiate described req. or product id req, We check the E_ITEM PRODUCT using BBP_PD_SC_GETDETAIL.
IF E_ITEM PRODUCT is blank, Read the category ID to find the purchasing group.
To find the purch. Group, we can use FM: BBP_OM_DETERMINE_RESP_PGRP.
Import parameter: IS_RESP_ITEM_DATA Category _ID
Export parameter: ES_PURCH_DATA
ELSE
CALL the customer function to read the R/3 purchasing group from MARC- EKGRP
Search the HRT5500-TABNR using purchasing group from R/3.
Search the HRP5500 OBJID using HRT5500-TABNR
Call the FM: BBP_OM_DETERMINE_RESP_PGRP
Import parameter: IS_RESP_ITEM_DATA PROC_GROUP OBJID
Export parameter: ES_PURCH_DATA
Thank you
Best Regards
SH
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.