on 12-26-2013 11:16 AM
Hi,
i want to create a SC without setting the supplier.
it will be set by the buyer.
How should i create it.
Thanks,
BR.
Hi Meriem,
Since you dont have the vendor handy, while creating the shopping cart you can leave the SUGGESTED VENDOR field as blank. You will be able to order the shopping cart without assigning vendor. Once the cart is approved, it will go to carry out sourcing (Purchaser Worklist) since no vendor assigned to the shopping cart. Then purchaser (Buyer) will setup the vendor in the system and using that newly created vendor, s/he can create the PO for that shopping cart.
Regards
Sivakumar Kandasamy
Message was edited by: Laure Cetin - Please don't ask for points on SCN, it's again the rules of engagement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Usually Vendor is not a mandatory field for creating a shopping cart. It seems to be a explicit enhancement implementation done in BBP_DOC_CHECK_BADI where partner function 19 - Supplier is made mandatory.
Check with any abaper to if any validation is added for partner function 19 for shopping cart object.
Regards,
Karthik.
Hi Karthik,
Can you explain more what should i do ?
I have this:
c_defi(8) TYPE c VALUE '00000019'
..................
IF NOT me->sc_item IS INITIAL.
wa_partner_fct-sign = c_i .
wa_partner_fct-option = c_eq.
wa_partner_fct-low = c_pref.
APPEND wa_partner_fct TO r_partner_fct.
CLEAR wa_partner_fct-low.
wa_partner_fct-low = c_defi.
APPEND wa_partner_fct TO r_partner_fct.
CLEAR wa_partner_fct.
LOOP AT me->sc_partner INTO wa_partner
WHERE partner_fct IN r_partner_fct
AND del_ind IS INITIAL.
APPEND wa_partner TO i_partner.
ENDLOOP.
LOOP AT me->sc_item INTO wa_item WHERE del_ind = space
AND reject_wi IS INITIAL .
IF wa_item-ordered_prod IS INITIAL.
CLEAR wa_partner.
READ TABLE i_partner INTO wa_partner WITH KEY p_guid = wa_item-guid
del_ind = space.
IF sy-subrc NE 0.
wa_message-msgty = c_e .
wa_message-msgid = c_msgid .
wa_message-msgno = c_msgno .
wa_message-msgv1 = 'Vendor is Mandatory'(007).
wa_message-item_guid = wa_item-guid .
APPEND wa_message TO messages .
EXIT.
ENDIF.
ENDIF.
ENDLOOP.
thanks.
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.