Sourcing Cockpit- Process All/ Selected Drafts

Hello All,
Is there a way to put a Hard Stop during Process all/ selected draft during Sourcing 3 rd stage.
We have made some validations on the PO based on price in the BBP_DOC_CHECK_BADI. The PO should not be created if the criteria is not met.
This is working when the user selects - Edit Selected Draft.
However when the user selects Process All Draft/ Process Selected Draft, the error is coming up, however the PO still gets created. There is no hard stop for the PO creation, when the user selects Process All Draft/ Process Selected Draft. Has anyone worked on such a requirement before? Please let us know.
Thanks, M

To prevent the PO creation, you can put a hard stop error in the same window (SoCo wizard step 3). To do this, you can create an enhancement on the UPDATE method of the mapper class.
In method /SAPSRM/IF_CLL_MAPPER~UPDATE of interface /SAPSRM/CL_CH_WD_DOM_SOCO_GAF3
SAMPLE CODE:
<insert validation logic here>
*add error message
         CALL METHOD mo_cll_message_handler->add_validation_error
           EXPORTING
             iv_msgno     =
             iv_msgid      = 
             iv_msgv1     = .
This should display an error on the message window to prevent the user from proceeding to the next step/window. This should fit your requirement.
Let me know should there be any questions.
Regards,
Justine

Similar Messages

  • From Sourcing Cockpit all PO should go in HELD status

    Hi all,
    When I am specifying the missing data in SC from Sourcing Cockpit, Its creating a PO and has been ordered.
    Now my requirement is when ever a PO is created from Sourcing Cockpit it should go in Held state so that the Purchaser can have a control on it from "process purchase Order".
    I am trying with BBP_DOC_SAVE_BADI but after updating the status of the PO here the follow on document not getting created and the I could get a PO number by the system which does not exist in DB.
    Have anybody achieved this by any process. Do let me know.
    Thanks in Advance,
    Smita

    Hi Smita,
    I proposed a solution to Diego for similar requirement (Send all the PO documents to BBP_POC ?), but never got any answer neither reward !!!!
    Here it is:
    you have 2 solutions to accomplish this:
    - modify standard code of include LBBP_PD_SCF0X used to create PO from SOCO, by changing parameter 'i_save' to gc_no:
    CALL FUNCTION 'BBP_PD_PO_CREATE'
    EXPORTING
    i_header = is_po_header
    i_src_guid = iv_src_guid
    i_src_object_type = iv_src_object_type
    i_testrun = iv_simulate
    i_save = gc_yes
    i_park = gc_yes "try to park if save not possible
    it_attach = it_po_att
    - use BADI Check for BUS2201 to raise an error message if transaction code (SY-TCODE) = BBPSOCO01. So the PO will be parked and will wait for purchaser action.
    I think the last solution is the best and should work.
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • Sourcing Cockpit: Document still being processed in background

    Dear experts,
    we are facing the following problem in SRM 5.0 extended classical szenario.
    In transaction Sourcing Cockpit when I click on create PO I reach the "Sourcing - Document Preview" screen, where I can click on button "Process PO".
    Everytime I click on button "Process PO" I get the error message "Document is still being processed in the background; try again later".
    PO is created but in status HELD. I have to go to transaction "Process Purchase Order (BBP_POC)" in order to create PO so that status changes to ORDERED.
    There are no entries in table BBP_WFLOCK.
    Thanks in advance and best regards
    AD

    Thanks for your answer.
    Regarding your points:
    1) It happens in almost 95% of the cases but as per now we could not figure out a rule when it happens and when not.
    2) yes, it happens also after logoff.
    For the user that is working in sourcing cockpit, the following entries are in SM12:
    100     USER1     14:06:36     X     CRMD_ORDERADM_H     10047BDCB4F6CD52BF8E1000000AC1ABC35     1     0
    100     USER1     14:06:36     E     PRCD_HEAD     10047BDCDBE6CD52BF8E1000000AC1ABC35     1     1
    Regards
    AD

  • (1) Is there any way that I can get the transition menu to remain on the screen. I select a transition, drag it to the timeline and after I click done I have to start the process all over to perform this action on the next transition. I have premiere elem

    (1) Is there any way that I can get the transition menu to remain on the screen. I select a transition, drag it to the timeline and after I click done I have to start the process all over to perform this action on the next transition. I have premiere elements 12. In older version the menu would stay on the screen.
    (2) In pan and zoom how can start zoom on a photo in the original picture and zoom in and the next picture zoom out and the next photo pan from right to left and the next photo pan left to right.
    Thanks
    Sam

    TidyCup
    What computer operating system is your Premiere Elements 12 running on? If you have not already, be sure to update 12 to 12.1, using an opened project's Help Menu/Update.
    But to the immediate questions, assuming Windows 7, 8, or 8.1 64 bit....
    1. No, it is what it is. But, are you applying the same transition each time? If so, then highlight/select all the clips involved (all at one time), then Timeline Menu/Apply Default Transition will do just that for the highlighted/selected clips.
    To highlight/select more than one clip at a time, hold down the Shift key of the computer main keyboard and then click on each clip that you want in the group selection
    or
    with your mouse cursor draw a rectangle around the clips that you want to select
    2. Are you using the Premiere Elements 12/12.1 Expert workspace Pan and Zoom Tool? Or the pan or zoom presets under fx Effects/Presets/? With those you can do pan or zoom, not pan and zoom.
    Or, are you in the Elements Organizer 12 Slideshow Editor using the pan and zoom effect there? Or, are you using keyframing the Motion Scale property for zoom and the Motion Position property for pan?
    Are you asking about photos with landscape or portrait orientation?
    The pan and zoom tool does one photo at a time.
    Have you read the Adobe documentation on the Pan and Zoom Tool?
    http://help.adobe.com/en_US/premiereelements/using/WSeffff8bffc802084-494411db12fd35452dd- 8000.html
    Please review and clarify and then we can get into greater details on this.
    Thanks.
    ATR

  • PONAPPRV - Sourcing process stuck in draft negotiation approval

    In sourcing while creating RFQ, the draft negotiation (before review and publish the negotiation) was submitted for approval to a collaboration team member. This was done by mistake, the workflow was not setup for this. In system administrator login, an error message was created "Error in Workflow PONAPPRV/100000-1 ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "APPS.FND_MSG_PUB", line 279 ORA-06512: at "APPS.HZ_TIMEZONE_PUB", line 808 ORA-06510: PL/SQL: unhandled user-def". After submitting for approval the approver was removed, so now the collaboration team member cannot approve the document as well. The draft negotiation cannot be deleted as it is in the status "In Process" (Submitted for approval). A requisition line is linked along this draft negotiation. Is there anyway this draft negotiation could be deleted and release the requisition line to the Buyer's Demand Workbench? Or any way the team member could approve this draft negotiation now? Any concurrent programs through which this could be done?

    Hi,
    The difference is a draft can still be changed, it isn't ordered yet and therefore not yet awaiting any possible necessary approval. Draft and saved are maybe most similar however draft isn't a real document status. A local po is an ordered PO that while in approval can still be changed and re-ordered, however after being completely approved it will receive the status 'ordered' and can't be changed anymore.
    You could use any workflow per business object, the local po is just as much a BUS2201 document as a draft PO is. To answer your final question; Yes i think it's possible.
    Kind regards,
    Tim

  • In Apple Mail, the "All" selection has disappeared so I cannot search All Mailboxes. I can only see "Inbox" "Sent" "Flagged" and "Drafts" as search options.

    There used to be an "All" selection before "Inbox" -- How do I get it back? I rely heavily on searching All mailboxes.

    Please post a screenshot.
    http://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem

  • Transacation types missing in sourcing cockpit

    Hi All,
    we are on SRM7.01 ECC6 EHP5.
    I have created a new transaction type ZTED also  I added to Buyer attribute Transaction type.
    when buyer is going to sourcing cockpit select SC and create a draft RFX and when see in the transaction type ..the ZTED transaction type is missing.
    strangely, when buyer click on create RFX this transaction type  ZTED is appearing.
    Abdul Raheem

    Hi Abdul ,
    As per standard transaction types wont be shown in the sourcing cockpit if you are creating standalone RFX then it will work .
    Thanks & Regards
    Pradeep Kumar Dondeti

  • Business use of bypassing sourcing cockpit

    Hi experts,
    In which scenario, 'process purchase order in draft' is used instead of sourcing cockpit? What are the benefits in such cases?Personally, I donot see much of any benefits here. Say, a shopping cart with three items have been ordered. If we configure 'sourcing not carried out' for three items, the ordered shopping cart will result in three purchase orders in draft stage. Even if all three items could have been sourced from the same supplier, we now cannot bundle it together to create a single purchase order.
    Your thoughts and feedback are highly apprciated.
    Thanks and regards,
    Ranjan

    Hi,
    The business case for not using the sourcing cockpit would be as follows:
    You are using catalogs, where prices, vendors and contracts all come with the item and there is no need to search for these via the sourcing cockpit.
    There is a difinite source of supply, ie you can use Vendor lists where you have a predefined list of vendors that you wish to
    source your items from...then the source is already found and again no need for sourcing cockpit.
    In the shopping cart itself there is a Source of Supply tab where you can search for all valid sources of supply, ie, vendor, contract etc. So this is like a mini sourcing cockpit, the sources found would be the same in the SC as in the Sourcing Cockpit. So there then would be no need to send the item to the sourcing cockpit.
    Like above also you can still use the Grouping report to group any items your wish to group in the same PO.
    Also please see note 1380879, where it lists all splitting critieria on why your items would split into different PO's, normally if all criteria are the same then no split happens and one PO would be created for multiple items.
    The benifits of using the sourcing cockpit would be more flexibility:
    You can create different kinds of follow-on documents eg. PO, Contract, Bid Invitation.
    With the Bidding option there is a negotiation side of things where your vendors can submit their prices etc. This would suit some customers.
    All customers needs are different, this is why you can choose to use this or not.
    I hope this helps with the decision process.
    Kind Regards,
    Lisa

  • Purchase Order error message when on Sourcing Cockpit.

    Hi All,
    I have encountered a series of error messages when I try to convert my Shopping Cart into a Purchase Order in SRM 5 within the Sourcing Cockpit. I am using Extended Classic Scenario and have defined the number range in SRM and ECC5. The error messages are below, the moment i try to concert the cart to a Po;
    - Internal number range is missing for transaction type. Inform syst. admin    
    - Transaction type * does not exist. Check entries    
    - Some backend documents could not be generated, or they contain errors  Further Information 
    - No status object is available for 
    I have checked the transaaction type, number ranges assignments, attributes in PPOMA_BBP but fail to find the cause.
    Any pointers would be welcome!
    Thnx,
    Mike

    Hi Muthu,
    The number ranges are consistent as I have checked the number range for local purchase order and this is set as an internal between the range 3000000000 - 3999999999. On the transaction type for BUS2201 Purchase Order, 30 has been set as the Int Number Range, with all other fields left blank.
    The strange thing is that the documents that failed to convert into a PO had been reprocessed in the Application Monitor for Purchase Orders, but when I go back into Sourcing to create the PO, I now get the message:
    "You have either failed to select an item, or you cannot create a follow-on document due to an error that has occurred"
    Regards
    Mike,

  • Need Information on Sourcing cockpit and Business rule framework

    Hi Experts,
    I am having 2 general qustions :
    1. ) What is sourcing Cokpit and what are the things that we can done from sourcing cockpit.Please explain in detail.
    example  : what i knw abt sourcing is...... It means from where we are going to source our material means vendor.
    My idea is to know everything abt sourcing cockpit.
    2. ) In SRM 7.0 what is the Busniess rule framework concept and if i need to configure a BRF approval process with respect to Shopping cart and a Purchase order in Extended classic scenario then how do i need to move ahead.
    Thanks
    Sunny

    Hi,
    Q no 1:
    Sourcing Cockpit is an area from where you can source the requirements..There are two ways  by which sourcing can be done.
    1. The Purchase requisiton created from ECC 6.0 can be pushed to SRM for Sourcing . Either direct material with Part no or
    Service requirement without part number
    2. The shopping cart created in SRM can be converted to sourcing.
    once the requirments are flown from ECC 6.0 and  SRM . in the SRM server in sourcing node--click Carry our sourcing.
    you can get all the requirements.
    From this  you can convert  it to Purchase order,contract,Auction. Bid invitation.
    Q. no 2 :Business Rule Framework.(BRF)
    This is related to Workflow .From SRM 7.0 this workflow is called Process controlled workflow. Only by simple rules the
    Workflow for  Approval process for P.O ,Contract,Bid invitation can be done.
    If you are SAP ABAP person they you can confugure this .Normally  ABAP person will do this.. Please go to S ID and get the
    details there for Business rule framework
    Just check in this forum in Search you can get more details and notes
    go to  Google.com and enter business rule framework you get more material
    check this link
    http://www.sdn.sap.com/irj/sdn/nw-rules-management?rid=/webcontent/uuid/d00df7db-c783-2b10-aa97-ccfeacc19fcb [original link is broken]
    Regards
    G.Ganesh Kumar

  • Should the vendor in the Shopping Cart be updated from the Sourcing Cockpit

    Hi All,
    hopefully an easy question for someone to answer.
    When a vendor is assigned in the Sourcing Cockpit and the Purchase Order is created should the vendor be updated in the linked shopping cart?
    Cheers
    Chris

    Hi Chris,
    All questions are welcome irrespective of the criticality so you are free to ask anything related to SRM.
    The vendor will not get updated in the shopping cart if you assign a vendor at the time of sourcing while creating a P.O. The same can be checked out by selecting the Source of supply / service agents link in the check status for a particular shopping cart.
    The source of supply field will only be populated when you assign the vendor at the shopping cart level and not during the P.O creation.
    Hope this will make you clear.
    Rgds,
    Teja

  • Resctriction while displaying work items in sourcing cockpit..

    Dear all SRM gurus,
    We are using SRM 5.0 extended classic scenario.
    We are having a requirement to restrict the work items in sourcing cockpit based on the purchaser user id, i mean particular SC's should be visible to particular users only..
    Is there any BAdI or any other procedures to restrict the display.
    Thanks in advance,
    Chandra Sekhar.

    Hi,
    You can easily do this by implementing the badi "BBP_WF_LIST" for the object type SOCO.
    Here is the documetation of the BADI -
    BBP_WF_LIST
    Short Text
    Display Worklists and Search Results Lists
    With the Business Add-In BBP_WF_LIST , you can tailor the
    display of worklists and search results lists for purchase order documents (and Sourcing applications) in SRM Server according to your own criteria.
    Standard settings
    The following methods are available:
    BBP_WF_LIST for purchasing documents
    <b>BBP_WF_LIST_SOCO for the Sourcing application</b>
    In the standard version, the following differences exist between the display of worklists and search results lists:
    Normal employees see only their own requirements and documents
    The purchaser's worklist in Sourcing and in the application for processing purchase orders is dependent on assignment to an organizational unit.
    The goods recipient and invoicing party can find all purchase orders, confirmations, and invoices.
    As standard, the system sorts the purchasing documents in ascending order by the last date of processing.
    To distinguish between the worklists and search results lists of the SRM Server applications, the BAdI is implemented dependent on the following filters:
    BUS2201
    Filter value for the worklist in purchase order processing in SAP Enterprise Buyer
    BUS2203
    Filter value for the worklist in confirmation processing in SAP Enterprise Buyer
    BUS2205
    Filter value for the search results list in invoice processing in SAP Enterprise Buyer
    BUS2121
    Filter value for the worklist in shopping cart status check in SAP Enterprise Buyer
    BUS2200
    Filter value for the search results list in bid invitation processing in SAP Bidding Engine
    BUS2202
    Filter value for the search results list in bid processing in SAP Bidding Engine
    BUS2000113
    Filter value for the search results list in contract processing in SAP Enterprise Buyer
    Activities
    Implement and activate the BAdI if you wish to adapt worklists and search results lists.
    Note that the filter value Object type (field OBJECT_TYPE) determines for which application the BAdI implementation is active.
    Example
    Using the BadI BBP_WF_LIST you can sort the worklist by document number, for example, or remove documents belonging to a particular user from the worklist.
    The implementation of the BadI using Business object type BUS2205 allows you to change the list of invoices and the purchase orders associated with these invoices independently of one another. For example, you could sort the purchase orders by purchase order number and the invoices by the name of the user who created them.
    You can exclude bid invitations from a certain product category, for example, from the purchaser's search results list in SAP Bidding Engine.
    You can exclude contracts from a certain purchasing organization or purchasing group, for example, from the purchaser's search results list in SAP Enterprise Buyer.
    Further notes
    If the BadI is used for confirmations and purchase orders, it always accesses the list of the actual document and its purchase orders.
    The purchaser's worklist contains only requirements that, according to Customizing, are to be processed in the Sourcing application. See the IMG activity Define Sourcing for Product Categories.
    Sample code in foll threads:
    Filtering content in the SRM confirmation worklist
    Re: Purchaser worklist
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Influence PO document type in ECC from Sourcing Cockpit in Classic Scenario

    Hello experts: we are running SRM 7.0 with ECC 6 EhP 4 in a classic scenario.
    Our business requirements are: all SC item created with reference to a catalogue item must result in a PO not subject to release strategy in ECC6 MM. For this purpose, document type ZEC has been entered under parameter BSA in tcode PPOMA_BBP.
    Due to Sourcing customizing, some Shopping carts items without source of supply are sent to Sourcing Cockpit.
    In sourcing cockpit application, buyer completes the open items by including the vendor, price, etc and create draft POs that are finally converted into backend purchase orders in ECC6. These Purchase orders, created without reference to a catalogue item should be subject to release strategy and approved by the corresponding approval body in ECC6.
    Due to that, we must change the document type in backend and enter another one which is subject to release strategy. We tried it thru badi BBP_TARGET_OBJTYPE but we could not get it. we change BE_DOC_TYPE to NB when the catalog id is blank in the SC item and follow-doc is PO. However, system always creates PO with document type ZEC
    We would like to know how to influence the PO document type when we are trying to create POs from SOCO.
    Any clue about it?
    Many thanks in advance
    Best Regards
    Valentí

    Solved

  • Reject SC from Sourcing Cockpit

    Hi All,
    My client has some different kind of requirement,
    We have implemented SRM 4.0 Extended Classic scenario in which we have turned on Sourcing Cockpit to provide buyer functionality to add various Shopping Carts and create one single PO to one Vendor.
    Now client want a functionality in which Purchaser (Buyer) can Reject some shopping Cart back to Requestor. As a standard SRM Sourcing cockpit, It allows to set flag as complete and send one email to requestor that Shopping Cart has been complete. They didn't like this functionality and they want to have multiple selection at the click of "Complete" button where they can select option such as "Reject" Or "Can not Order" Or "Complete". Along with this option they want a free text form where Purchase can enter the the reason for Rejection which then goes into email to Requestor.
    Prsent Standard SRM Sourcing Cockpit is ambigutous to the Requestor whether Shopping Cart has been created PO or Rejected.
    Does anyone come acorss this kind of situation? Is there any BADI available where we can call some custom screen and based on custom screen we can send emails to Requestor? I could not find any such BADI available for Sourcing Except few which does not solve the purpose.
    Kindly let me know.
    Thank you
    Ritesh

    Hello Ritesh,
      I have similar requirements where I need to group the Sourcing rquirements as per SC ID and then display them in Sourcing Cockpit.
      Purchaser would have the option to reject entire SC or individual item of the Shopping cart...
      Could you please let me know how you have handled the grouping part ??
    Is there any BADI by which we can define the grouping rules???
    Currently, I am planning to do this by modifying ITS template (1100) in SOCO.
    PLease let me know if there is better way of doing this.
    Regards,
    Girish

  • Number of Purchase Order is not displayed anymore in Sourcing cockpit

    Hi,
    It was possible to get back the PO-Number created in ERP when processing requirements within the sourcing cockpit.
    I don't know what caused the problem that the PO-Number doesn't appear anymore. But this is essential: how to get the created PO-Number after processing a requirement to PO in SourcingCockpit?
    ThanX for your help in advance
    Isam

    Hi,
    Please refer below SAP note
    498153  FAQ: Addresses in the purchasing
    1. Question:
    When trying to display an address in the purchasing document, the system
    displays message AM010 " Address doesn't exist & & & &", why?What can
    you do?
    Answer:
    The causes of the error are described and corrected in Notes 91001,
    154208, 165106, 170461, 306078, 332470, 418670. Check these notes in
    your system.The documents can be corrected with report ZCORADDR from
    Note 91001. If the defective situation can be reproduced, even though
    your system contains all the corrections, open a message under component
    MM_PUR-GF-ADR with a reproducible example
    regards,
    Lalita

Maybe you are looking for

  • Cannot Control Bleed - White Border - CS4

    Good morning.  I was hoping someone could point me in the right direction regarding how to get rid of the white border that is being printed on my paper. I have looked around and found the following posts a little helpful but they weren't able to sol

  • After upgrading itunes to 7.7.1 touch makes  windows restart

    Since ugrading when I plug my ipod touch in it cause windows to restart. My older nano doesn't do this. I am running win xp pro SP2. thaks with any ideas?

  • Cannot 'Synchronize with database' my entity objects

    Hello, I have successfully created entities in my model using the 'new buisness components from tables' function. But now my database moddel has changed and I would like to synchronize my entities with database to get newest colums, but when right cl

  • Is it a bug in Mavericks Calendar?

    Hi, adding new events in my Calendar app i just realized that whenever i try and set a custom alarm to notify the event more than 2 days before it, it doesnt keep it. In particular i want to set an alarm 1 week before the event, and it seems there is

  • Displaying Properties/Resources in two columns

    Hi, is there any way to display resources (links, files,...) (for example in PortalFavorites) in two columns (that means two resources in one row). Can anybody help me? Thanks Ray