on 01-03-2014 6:45 AM
We are working on SRM 7.0 version and we are using SRM Classic scenario where the PO number is generated in SRM and latter flows to SAP ECC. The Rfx is created via CPPR (Collective processing of purchase requisition) and also in SRM directly.
After accepting the best quote bidder we are creating the purchase order for that Rfx .But then after creation of Purchase order has already taken place or created for that Rfx ,the user can be able to create another Purchase order for that same Rfx .Please let us know how we can restrict the creation of Purchase order twice for the same Rfx.
Help is appreciated.
Regards,
Shweta Rathore
Hi Shweta, this is the standard behavior, and as far as I know there is no customizing to restrict the number of follow on documents that you can create.
As a workaround maybe you can implement some code in badi check (or another badi you choose) in order to check if for that RFx response already exist a follow on document and in case yes trigger an error message to avoid the creation.
hope this help!
Celeste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shwetha
In ECS scenario system allows to create MULTIPLE PO's from the same Rfx and that is the standard behaviour.
If you want to restrict multiple creation of PO then you can enhance /SAPSRM/WDC_DODC_QTE_H_PO in which method ONACTIONCREATE_BO can be overwritten in the "overwriteexit".
copy the same code as in the above method and change the mesasge type to '1' from '2' that is ERROR type.
here below
if ls_text is not initial.
* report message
call method lo_message_manager->report_message
exporting
message_text = ls_text
message_type = 2
cancel_navigation = 'X'.
One more change required is
CLEAR ms_text in the below class
/SAPSRM/CL_CH_WD_BOM_QTE
method:
CHECK_CREATE_PO
at the end do a implicit enhancement and write the below code
clear : ms_text.
this will solve your problem
Thanks
Abhishekh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shweta,
We have no restriction of number of POs created from RFx response without PR reference.
This is standard design.
However you can restrict this via check badi as below:
BADI IF_EX_BBP_DOC_CHECK_BADI~BBP_DOC_CHECK
Code example (only for your information):
*********************************************
*get the open quantity of SC
lv_open_qty = ls_sc_item-quantity - lv_ordered_qty.
IF ls_po_item-quantity GT lv_open_qty.
CLEAR ls_message.
ls_message-msgty = 'E'.
ls_message-msgid = 'Z***'.
ls_message-msgno = '***'.
ls_message-item_guid = ls_po_item-guid.
APPEND ls_message TO et_messages.
***********************************************
Best regards,
Ivy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shweta,
best solution is the one described by Anubhav.
Create a custom dynamic control class for metadata and its method to control follow-on document creation based on FOLLOW_ON_PROCESS method from /SAPSRM/CL_PDO_DYN_MDA_HD_QTE class: if at least one PO exists as follow-on doc for Quotation, do not display the create PO button.
Regards.
Laurent.
Hello Shweta,
After accepting the best quote bidder we are creating the purchase order for that Rfx.
As you said you are into Classic Scenario , then why are you trying to create PO in SRM. I didn't get you with this sentence are you talking about ECC side or SRM side.
And if you are creating PO in srm then you are into ECS not in CS.
Please confirm
Thanks
Gaurav Gautam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've created a RFx with reference to Purchase requisition.The vendor has entered the bid.The bid has been accepted by the purchaser.After accepting the bid the button to create a PO appear in Rfx.
We are using SRM Classic scenario where the PO number is generated in SRM and latter flows to SAP ECC.
Help is appreciated.
Regards,
Shweta Rathore
Hello Shweta Rathore
There is no standard process to restrict the creation of PO from Rfx response multiple times.Moreover when once the PO is created , then if someone tries to create a PO from same RFx response then always a warning is displayed. You can change that warning into error and then it will restrict the PO creation for multiple times.
But I would suggest not to make any changes to the standard behavior.If you could explain me why you want to restrict it.
Thanks
Gaurav
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.