Skip to Content
author's profile photo Former Member
Former Member

Classic Scenario- How we can restrict the creation of purchase order twice for same Rfx in sap srm.

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



Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Jan 03, 2014 at 07:22 AM

    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


    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • Posted on Jan 03, 2014 at 08:38 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2014 at 02:22 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 10:47 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.