on 11-09-2010 3:36 AM
Hi ppl,
My requirement is to blank out the Fixed Vendor field from the PR (the PR gets created via SRM shopping cart).
For this, I have mentioned the logic in the BADI 'BBP_CREATE_BE_RQ_NEW'.
The logic written is to clear the fields: Fixed Vendor (fixed_vend), Agreement (agreement), Agreement Item (agmt_item) and Info Record (info_record) from the parameter 'CS_RQ_DOCUMENT-IT_REQUISITION_ITEMS.
But, still, when the PR gets created in backend, the Fixed Vendor appears (picked from an agreement in backend, perhaps).
Please let me know if there is an alternate solution to this requirement or I am missing out on something.
Regards,
Dawood.
Hi
if you clear the fixed the vendor - PR only created .
if it is a fixed vendor ,the standard way, PO will be created.
partner function --19 fixed vendor - PO created
partner function -39 prefered vendor - PR creates.assume that you cleared a vendor it treated like no vendor so Purchase Requisition created.
Muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
method 1:-
if you were cleared partner details in the shopping cart ,even you can not see the vendor details in the source of supply folder before /after you order a cart.
i understand your requirement, whatever REQUESTER has added a vendor fixed or preferred must be cleared in SC as well as PR.
please update here piece of code how you are clearing the vendor data in the sc. some one review and help you to achieve this,
Muthu
Hi,
This is what I have tried till now:
1. In BADI BBP_CREATE_BE_RQ_NEW:
LOOP AT cs_rq_document-it_requisition_items
ASSIGNING <fs_badi_rq_item>.
CLEAR: <fs_badi_rq_item>-fixed_vend,
<fs_badi_rq_item>-agreement,
<fs_badi_rq_item>-agmt_item,
<fs_badi_rq_item>-info_rec.
ENDLOOP.
Outcome: No effect.
2. In BADI BBP_DOC_CHANGE_BADI:
a. Change part fct 19 to 39.
LOOP AT et_partner ASSIGNING <fs_et_partner>
WHERE partner_fct = '00000019'.
<fs_et_partner>-partner_fct = '00000039'.
ENDLOOP.
Outcome: Desired Vendor started appearing along with Fixed Vendor.
b. Delete part fct 19
DELETE et_partner WHERE partner_fct = '00000019'.
Outcome: No effect.
Regards.
1.BBP_CREATE_BE_RQ_NEW - De-activate this BADI implementation
2 BADI BBP_DOC_CHANGE_BADI - let this BADI clears vendor data in the shopping card
Are you assigning vendor in PR ECC via Back job check change history item data
in bbp_pd item data can you see the reference of fixed vendor contract or info record?
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.