Bid Invitation - BBP_DOC_CHANGE_BADI

Dear Gurus,
I have to implement BBP_DOC_CHANGE_BADI and the method is BBP_BID_CHANGE when creating /changea Bid Invitation. This BADI should suppose to copy fields from Shopping Cart to Bid Invitation. My question is how do I know whether my BADI is triggering for create or change mode? Do I have to check syst-pfkey? Lets say if user is changing the Bid invitation to add a new line item, if this is the case how do I know inside the BADI. Look forward to hear from Gurus?
Thanks,
GS

Hi,
Yes one of the ways is to use SY-UCOMM to check for creation or change.
ANother way is - query CRMD_ORDERADM_H based on the object ID (Bid number).
- If an entry exists means that the BADI is called for a bid which is already in DB - means a change.
- If no entry exists means that the BADI is called for a bid which doesnt exist yet in DB - means bid is being created newly.
Rgds,
Prasanna

Similar Messages

  • Create and Send  Bid Invitation

    Hello,
    Newbie here, so thanks in advance for any help. We are in design phase and trying to figure out what's feasible or not.  We want to automatically create a bid (RFQ) from an approved SC item.   We then want to send this bid (RFQ) to our middleware (egate).  Here are my questions:
    (1) Can I create a bid in SAP EBP from the SC item, without setting up the Bidding Engine? 
    (2) Is creation of bid in SAP EBP, the same concept in R/3 backend, that is, I can view it via ME43 and it's stored in EKKO?
    (3) Found several FM, what is the diference between BBP_PD_BID_CREATE and BAPI_BIDEC_CREATE?  Which one should I use for our purpose in (1) above?  
    (4) Then, there is the BADI, BBP_CREAT_RFQ_IN_DPE...this seems to be a user-exit connected with the Bidding engine, allowing the developer to change the bid?
    (5) How can I send the bid (RFQ) automatically to the middleware within SAP EBP in XML format?  Is this feature available in one of the FM in (3) above?
    Thank you.
    Regards,
    Irene

    Hi Irene Yu,
    Good Quesitons. I will try to answer what i can.
    1. You can create a Bid Inv in SAP EBP from the SC item.  You do not set up Bidding Engine separately. It is part of EBP, you just need to enable the Sourcing/Bidding transactions, Assign Roles and Authorizations.
    It is LAC, SUS, CCM, those are setup separately.
    2. Creation of bid in SAP EBP, One part of RFQ functions, as the same concept in R/3 backend, but have much features than what you do in R/3.
    3. The diference between BBP_PD_BID_CREATE and BAPI_BIDEC_CREATE.
    BBP_PD_BID_CREATE is used as parf of Bidding Functions, not an interface.
    BAPI_BIDEC_CREATE is an interface. You are trying to create Bid Invitation from external system, you should consider this interface. 
    4. Yes, there is the BADI, BBP_CREAT_RFQ_IN_DPE...this seems to be a user-exit connected with the Bidding engine, allowing the developer to change the bid inviatation in the background, Like other Doc Change Methods in BBP_DOC_CHANGE_BADI.
    5. How can I send the bid (RFQ) automatically to the middleware within SAP EBP in XML format? Is this feature available in one of the FM in (3) above? - I am sorry i do not understand this question.
    Regards,
    Jay

  • Product Number value from Bid Invitation

    Hi All,
      I have a requirement where product number from Bid invitation to be appeared in the Bid (QUOT). I made custom field avaliable as 'product'  in the Bid-Item level.. But when user click the bid he/she must see the product value which should drive from Bid inivitation.. I know we can do this by BBP_DOC_CHANGE_BADI - BBP_QUOT_CHANGE method.. But i don't know how can i get the Product number from Bid invitation by BBP_QUOT_CHANGE method.. can anyone help me out please..
    john.

    Call function module BBP_PD_BID_GETDETAIL by passing GUID of bid invitation. The results will give you the item and in which you can find your product.
    Hope this helps
    Regards,
    Pradeep

  • Bid Invitation - How do I know whether Bid Invitation is created from PR

    Dear Gurus,
    I am trying to implement a BBP_DOC_CHANGE_BADI and the method is BID_CHANGE. How do I know whether Bid Invitation is created based on PR (Shopping Cart) when I am implementing the above said BADI? Any help would be appreciated.
    Thanks,
    GSM

    Hi,
    Try to use BBP_PD_BID_GETDETAIL function module.
    Check E_HEADER_REL-OBJECT_A = 'BUS2121'. If the field value exists, then the bid document is from shopping cart.
    Regards,
    Kezia

  • BID INVITATION FIELDS BY DEFAULT

    Hi There,
    Can anyone tell me how can I set some fields of the BID INVITATION by default? by customizing? With a BADI? is necesary to change the dynpro?
    Scenario:
    When I create the bid invitation from Sourcing I need to set  'yes' by default to the following fields of Bid Invitacion:
    New items by bidder
    Show bidder weighting
    Bid all line items  
    Many thanks for your help!!!
    Regards,
    Sonia Roncero

    Hi,
    Many thanks for your answer!!
    I have done one part via customazing and it already works!!
    But I have another problem, I have a CUF for the field " bid_chg_allowed" that I need to set "yes" by default as well. It is included in the structure bbps_bid_ui_header but I don't know where I can find de CUF. Do you think I can use the BBP_DOC_CHANGE_BADI ?
    I have tried with BBP_BID_DET_PROCTYPE and I have modify the dynpro 1200 but it doesn't work.
    I'm working in SRM 4.0.
    Thanks a lot, regards,
    Sonia

  • BADI to change the document Tendering Text of Bid Invitation

    Hi Experts...
    Im need a BADI to change the document Tendering Text of Bid Invitation. Anybody knows?
    Thanks.
    Victor

    Hi,
    You can use the badi "BBP_DOC_CHANGE_BADI" to chnage the value for the long text "Tendering text".
    In the EXPORT  table ET_LONGTEXT,just pass the text ID deatils and the new content  for this text.
    The text ID for the longtext "Tendering text" is "HTXT"(for  header level) and ITXT(for item level).
    BR,
    Disha.
    Do reward points for useful answers.

  • Problem in creating follow-on document (RFQ) for a bid invitation.

    Hi Experts,
    We have an issue while creating follow-on document(RFQ) for a bid invitation.
    Process is as follows :
    We have a bid invitation and sent it to two vendors. After this, created two responses one is accepted and another one is rejected.
    Now the accepted bid is ready to "Create follow-on Document(RFQ)". But when we do this, the bid with rejected vendor also including in the follow-on document. This should not be the case.
    The follow-on document should include only the accepted bid, but not the rejected bid.
    Could anyone tell me how to achieve this ?
    Thank you very much in advance.

    As far as I understand, what you described is the standard behavior. ALL undeleted vendors are copied over to the follow-on RFQ regardless if their bids have been rejected or not. What you can do is to implement BBP_DOC_CHANGE_BADI for BUS2200 and explicitly remove the vendors which created rejected bids. Make use of the header field "copy_of_guid" to identify the originated RFQ.

  • How can we repair the output of  the downloaded excel in bid invitations?

    Hi
    We are intrested in changing the current format of the downloaded file. We would like to remove the header lines and that only the item lines will be performed,  we  are also intrested of removing the columns: line category, Field Attribute, Change Key. The only columns we need to be performed in the file are: Document Number, Item Number, Item Description, amount, Delivery time.
    Can anyone clarify how can this be done?
    Thanks
    Hilla

    Hi,
    Dave is right.
    You can use BADI : BBP_PD_DOWNLOAD to chnage the format of the file.
    Also see ths related thread:
    Re: SRM 4.0 - Upload function of Bid Invitations (Bidding Engine)
    BR,
    Disha
    DO reward points for useful answers.

  • Add a new button to BID Invitation screen

    Hi,
    How to Add a new button to Bid Invitation Screen in SRM?
    Thanks,
    Raveendra

    Hi
    Which SAP Version you are currently on ? What is the exact requirement ?
    If i understand you right, Incase you want to add a button to the existing screen template then it will require standard code change and also you need to plan out how will you will code the logic to activate the button.
    There is no BADI which can do this as this is not a SAP funtionality. You need to do a little bit of research on this to get the job done.
    Regards
    - Atul

  • SRM 4.0 - Upload function of Bid Invitations (Bidding Engine)

    Hello,
    I am currently working on the Bidding Engine in SRM 4.0
    I would very much like to use the Download/Upload function in Bid Invitations, but for now I have the feeling it doesn’t work.
    I tested it by downloading a Bid Invitation and changing just one info like an item quantity or description. I put “U” (for “Update”) in the corresponding cell of the “Change” column. I also held the bid invitation in SRM before returning to it to upload the modified Excel-file.
    When I upload the Excel file, I don’t have any error messages, but no changes are done either.
    Does anyone of you have an idea how I could make it work?
    Thanks!
    Andrea

    Hi,
    Please do the following things.
    Excel updown/download is very flexible functionality.
    (BADI : BBP_PD_DOWNLOAD)
    1. You can change the format (how the document should be downloaded, which fields : Control variants in BBPC_UP_DOWNLOAD table)
    2. You can also upload file (your own format : implement parsing method)
    3. You can add your own fields. (APPEND_UPLOAD_DATA)
    We are working on one such scenario for Contract Upload.
    You can also check the following notes.
    There is a SAP Note on downloading BID file.
    Note 734060 - SRM: Upload and download of documents using MS Excel
    They have given one example in this note.This is a consulting note,you will find it
    Two more notes which can help you
    734060
    734946
    I hope it will help.
    BR,
    Vijay Mittal
    Plz award the points for help.

  • Fill the custom fields of backend PO from bid invitation

    Hi all,
    From bid invitation I am generating a purchase order. A PO is getting created in the backend. But when I save the PO in the backend it gives an error because a custom field (created in both backend PO and bid invitation) is mandatory for creating a PO is not filled.  I have to map the Z field created in bid invitation to the custom field in backend. But in the badi ‘BBP_CREATE_PO_BACK’ there is no information regarding the quotation or bid invitation. Is there any way to get the bid or bid invitation details like bid guid or bid invitation guid or any other field which related the PO to bid in the badi ‘BBP_CREATE_PO_BACK’?
    Regards,
    Asha

    Hi Sundeep,
    This problem looks to be a program error. SAP suggest few notes for the account assignment errors. However i could not found out any relation for this error w.r.t commodity code.
    The related OSS notes are as under :
    <b>Note 1000184 - Account assignment error when document transfer to back end</b>
    <b>Note 966323 - Service Item: Not able to create PO in ERP backend</b>
    The note 1000184 is more relavent in your case and other related notes are mentioned in that note which may resolve your issue.
    Hope this note will definitely come to your help.
    Please let us know the outcome for further help.
    Rgds,
    Teja

  • Automatic grouping and creation of a bid invitation

    Hello everyone,
    we tried the automatic creation of a bid invitation in the case of items without assigned source of supply with report BBP_SC_TRANSFER_GROUPED.
    We get the correct errors in the report log of missing start date and end date of the bid and missing the bidder, because I never entered the information. The system doesn't give me a chance to enter the information. It is automatic.
    So what is this automatic creation of a bid invitation with report BBP_SC_TRANSFER_GROUPED for?
    Where is my mistake?
    Thank you in advance.
    Sebastian Beyer

    No answers have been given.

  • Help needed in SRM-Bid Invitation creation

    Can any one send me steaps to create Bid Invitation in SRM.
    Thanks in Advance.
    Regards
    Uday

    www.sap.com/solutions/business-suite/srm/pdf/BWP_SID_Sourcing_SRM.pdf
    http://help.sap.com/saphelp_srm30/helpdata/en/5a/4cc5376848616ae10000009b38f889/frameset.htm
    refer the above links
    regards
    vivek
    <b>please reward points for all the useful answers</b>

  • PO Creation error after processing bid invitation

    Hi Guys,
    I need small help from you. I have created one bid invitation with out shopping cart. I had processed the bid invitation. Few vendors have submitted their bids. Purchaser had accepted those bid and approver had approved those bids. Now I have the option to "Generate PO" and "Create contract". If I click on Generate PO button I am getting an error that “Purchase order has not been created”.
    I am unable to process further. Please help me. I have maintained PO number range in both the systems means in R/3 and SRM. Transaction types are also maintained in both the system. What else settings I need to configure?
    if i click on "Create contract" buttion then I am able to create Contract in SRM system in held state. When this Purchasing contract will be copy to Backend system?  once I chance the Contract status to release then this will be copied to backend?
    My requirement is to create Purchase Order ?
    Regards
    Apparao a

    Hi
    Please provide your system version details.
    In the bid invitation, the Follow-On Document field must contain the entry Purchase Order or Contract.
    · In the case of bid invitations that are created manually, purchase orders are local only (product category is not relevant). In the case of direct material purchase orders, a copy (that cannot be changed) is created in the backend. Whether or not it concerns direct material needs to be stated in the item details in the bid invitation. You must specify the goods recipient and purchasing group. Also:
    -> Outline levels can be displayed in a local purchase order
    -> Bid invitation texts, bid texts, and documents are transferred to the purchase order (however not internal notes).
    Also refer to this link for configuartion settings ->
    http://help.sap.com/saphelp_srm50/helpdata/en/d3/133dcd5641b244a60578baa996a597/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/38/4cc5376848616ae10000009b38f889/frameset.htm
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Add "Bid Invitation" field to PO create (ME21N)

    Hi Gurus,
    I have a request to add the 'bid invitation" field (AUSNR)  as optional entry to the PO and Requisition during creating.  I thought all I had to do is add it to table T162X (I put in position 210) and then configure it as required/optional/display in IMP / MM / Purchasing / Purchase Order / Define Screen Layout at Doc Level, but it is not showing on as an available field on the screens.  What steps am I missing?  Any help would be appreciated.
    Thanks,  Mike

    The 'bid invitation' field AUSNR is in the EKKO table.  I am trying to have it come up on the PReqn & PO create and change screens, but have not have any luck.  Please help me thru the proper steps.
    Thanks,  Mike

Maybe you are looking for

  • Error when downloading adobe reader

    hello, I am trying to download Adobe reader; however, i recieve this error message ERROR 1935. I have tried to change the server and i tried several links but i was not successful. I have windows 8 and I am using google chrome and internet explorer.

  • I have CS3 web standard. What is the best way to add Photoshop CS 3/CS4

    CS3 web standard works perfect for me. I just misses Photoshop. Perhaps you know the best way to solve this problem. Because if I buy an upgrade, it'll be a Studio. Second qustion: What does a Studio mean and where can I buy a studio? Thanks!

  • Delete Server Bahavior

    I am trying to create a delete record page page as instructed in the Dreamweaver help pages.  All pages work perfectly until I add the delete record behavior on the confirmation page.  The problem is that the confirm button never gets to work.  The d

  • Work center & Routings migration

    HI,   i want to migrate the Work center master Data and Routing master data thru ALE,   i didnt get any Process code and message type for those.    which is the best process to migrate Work center and Routings Master Data... Reply me ASAP, Regards Sa

  • CS5 Premium - won't accept update - it is an upgrade...but due to a HD crash Adobe doesn't recognize that I had a previous version.

    I've upgraded from CS2 to CS 3 to CS 5... The Adobe updater thinks that I'm updating CS4 Due to the changes in Maverick, I need to update Photshop so that I can print without the application crashing