on 08-05-2013 11:46 AM
Hi Experts,
We have requirement related to stopping Sourcing for the Shopping Cart Ordered.
1. Create Shopping Cart with Source of Supply and the QTY for Example is 10.
2. Order the Shopping Cart and the PO is created.
3. The Shopping Cart can be seen in Perform Sourcing in portal.
Now when I edit the PO Qty to 8, then Ordered then we can see Ordered Qty as 8 and the Open Qty as 2 in Sourcing Cockpit. So our requirement is when a PO is edited with change in the PO Qty and Ordered then we should not see the Sourcing Cockpit in the Perform Sourcing.
Can you please share your ideas if any to achieve this solution.
Regards,
Mohammed
Hi Rafi,
It was really useful.
Thanks.
Regards,
Kalpana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rafi,
I suppose you may need to modify report BBP_GET_STATUS_2 - it sets shopping cart back to sourcing.
Best Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Konstantin,
Thanks for your reply.
I have implemented the implicit enhancement from lines 1138 to 1160 with the below code
Data : i_refupdate TYPE STANDARD TABLE OF BBPS_SC_REFUPDATE,
is_refupdate TYPE BBPS_SC_REFUPDATE.
i_refupdate[] = et_sc_refupdate[].
LOOP at i_refupdate INTO is_refupdate.
if is_refupdate-SOURCE_REL_IND = 'X'.
CLEAR: is_refupdate-SOURCE_REL_IND.
modify i_refupdate[] FROM is_refupdate INDEX sy-tabix TRANSPORTING SOURCE_REL_IND .
endif.
ENDLOOP.
et_sc_refupdate[] = i_refupdate[].
But still could see the Shopping Cart in Sourcing.
Could you please share if any things needs to be added plz.
Regards,
Mohammed
Hi Rafi,
we could have different versions of the report and line numbers can differs by us.
I would use a context
IF h_index IS INITIAL.
APPEND et_sc_refupdate.
ELSE.
MODIFY et_sc_refupdate INDEX h_index.
ENDIF.
ENDLOOP.
SORT it_old_refdata BY reqno reftype.
LOOP AT lt_reqref.
and insert the code between these 2 loops, make a loop via et_sc_refupdate.
And would use not a
CLEAR SOURCE_REL_IND
but
SOURCE_REL_IND = gc_clear_sourcing_flag.
Best Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.