BBP_TARGET_OBJECTS

Hi,
We're running SRM 5.5(level4) and NW2004s.
We're wanting to create backend reservations under certain conditions. To do this, I've activated BADIs BBP_TARGET_OBJECTS and BBP_EXTLOCALPO_BADI. We've followed the instructions outlined in note 891924 for configuring the number ranges.
Each shopping cart that is created, creates an error in RZ20 - Shopping Cart (number) Error Creating Follow-on Document.
I've tried different things to try and find out why but the error message doesn't tell you why.
I've tried putting a hard break point in the BBP_TARGET_OBJECTS BADI, activated system debbuging and etc.. but I can't get the process to stop in that BADI. This makes me think that it's not being called.
Has anyone experienced this or a similar problem? Are there additional configurations settings to activate this feature?
Thanks,
Jerry

Hi Jerry
I have not tried a hard break point in the BAdI before, but what you can try is to put an infinite loop in the BAdI and enter debugging mode via SM66.
Just another point, you are using BBP_TARGET_OBJECTS?
I believe this has already been replaced by BBP_TARGET_OBJTYPE. You might want to try that.
You can look for the thread: BAdI: Determine Target Object in BE System started by me in this forum for more information.
Regards
Nicholas

Similar Messages

  • Change the backend doc type from PR to PO in BADI BBP_TARGET_OBJECTS.

    Hi,
    We have followed below approach for backend document type determination.
    1. A custom function module contains the logic to determine the backend document type of a Shopping cart line item. THis function module, performs many checks and hence cannot be called in any BADI that is executed in Foreground.
    2. I am using BADI BBP_TARGET_OBJECTS to change the follow document type by calling the custom function module.
    Issue here is, if the backend document type of a line item is Purchase requisition (2) by SAP standard, and if I try to change it to Purchase order, it gives run time error and ends up in creation of Purchase order.
    After further investigation I found that this line item (with default backend doc type as 2) has a desired vendor. If we change the desired vendor of this line item to fixed(To Partner function 19 from partner function 39), it allows us to change the doc type from Purchase requisition to purcahse order in BADI BBP_TARGET_OBJECTS.
    But changing the partner function is possible only in BBP_DOC_CHANGE BADI, and I cannot call the custom function module there, as it may impact the performance.
    Is there any other way, I can change the partner function in any of the BADIs called in background?
    Or Is there any way by which I can change the backend document type from PR to PO in BBP_TARGET_OBJECTS?

    Hi Parab
    if you swaping 39 to 19 viadoc change badi
    REQUESTER has a control on Purchase ORDER Vendor and BUYER lost a control so your business has to decide.In this case procurement department lost their control.
    Fixed vendors are like inforecord and contract negotiated for best price ..
    Muthu

  • Badl BBP_TARGET_OBJECTS

    I've a problem. I need to have, in this badl, the vendor code of the item.
    unfortunately the table IT_CUST_ITEM is empty. I found a note of this argument, but not solves the problem.
    Have you any ideas?
    Thanks Bitta

    Hi Bitta,
    the table IT_CUF_ITEM contains the customer fields if you have defined some.
    Have you tries to run function module BBP_PD_SC_GETDETAIL to get the vendor code?
    Regards Olaf

  • EBP 3.0. Restrict Create PO in backend

    Dear SRM gurus,
    We use EBP 3.0, backend R/3 (4.7 enterprise). We have configuration inplace where a PO is created in the backend, per requirements.  However, for one particular vendor, we need to have a minimum price limit set for automatic PO creation, due to additional charges.  One option we were thinking is to send it as a PR instead of PO and may be use an user exit for ME59 and combine PR's to generate a combined PO. We also would like to have a check on ME59 to make sure that the minimum prrice is established.  Would it be better to do this using condition types in the R/3 or would you suggest any other ways.  As for transfering it to R/3 as a PR instead of PO, would it be appropriate to use BADi BBP_TARGET_OBJECTS. If so, would one of you be kind enough to help me with the code. I am not an ABAPer and do not have one available for some time.  Any assistance would be greatly appreciated for both on EBP side and on R/3.
    Kind Regards,
    Reddy

    Hi KS,
    You can use badi to convert prefered to fixed vendor in your shopping cart.
    Thus, you will be able to create a PO in R/3 instead of a purchase requisition.
    Please see my answer here :
    Re: convert prefered vendor to vendor
    Kind regards,
    Yann

  • Error during SC to PO: Recipient not found

    Hi Gurus,
      I am working on SAP SRM 7.0. The SRM system is configured in such a way all shopping carts (SC) will create a PR in ECC , but according to requirement for some conditions SC will create PO in ECC system. I have implemented 2 BADI's (BBP_TARGET_OBJTYPE and BBP_TARGET_OBJECTS ) to achieve the PO scenario. The PR get created successful but PO creation showing error: "Recipient not found".
    Please let me know the probale cause of this error.
    Message Class: BBP_EXC
    Message number: 004
    Thanks,
    Prakash Jha

    Hi Prakash,
    Could you please check if a valid 'Requisitioner' field value is being transferred from the SRM shopping cart to ECC PO.
    Cheers,
    Yateesh

  • Condition types from SRM to backend

    Hi All,
    When accepted bid (complex prices with condition types) is converted to PO, in backend PO is created with net price only. Is there a way to move the condition types also to backend. Can we use any Badi in this case?
    Thanks in advance.
    Will reward full points for the reply.
    Venu

    Hi
    <b>Either you need to maintain the Condition types locally in SRM system by maintaining Z tables and then create your own logic for pricing in SRM. I guess, this will be much more complex activity.</b>
    <u>I know there is some issues, but, Anyways, you have to go for this approach.
    You need to go for custom fields and then get the data passed back over to R/3 PO using any of the BADIs
    BBP_CREATE_PO_BACK / BBP_TARGET_OBJECTS / BBP_TARGET_OBJTYPE / BBP_CREATE_PO_NEW
    in SE18 Transaction.
    Refer OSS note - 672960 and 485891 for creating customer fields.</u>
    Also, incase this don't suits your requiremnents, Please raise an OSS message with SAP.
    Regards
    - Atul

  • Shopping cart Converted to Purchase order directly.

    Hello Experts,
           I have a question on what settings to check if the shopping cart created in a system is creating Purchase order directly as Follow-on document. The scenario we are using is SRM 5.0 (Standalone) for Strategic procurement. I checked the BBP_DOC_SAVE, BBP_DOC_CHANGE BADI's but there is no such coding there....any settings in SPRO that is enabling this thing to happen ???
    Please let me know about it ASAP. Would definitely reward for useful answers.
    Thanks,
    Rajeshree

    Hi
    <b>Couple of reasons can be possible for this -></b>
    1) Workflow is not getting triggered properly. Check workflow configuartion. Are you using standard or customer workflow ?
    <u>Seems to me there are no Approvers determined for the particular Product category and Purchase Group combinations, which in turn determines the Approvers (Managers) in this case.</u>
    2) Incase the shopping cart dat is complete, and the SRM SPRO system settings are defined to create a Purchase order. Then directly R/3 PO gets created.
    3) Check out for all the customer BADI Implementations in SE19 (starting with either Y or Z). Which all are active in this case ? What all code they have ?
    4) check out for BADIs especially - BBP_CREATE_PO_BACK
                                                        BBP_CREATE_PO_BACK_NEW 
                                                        BBP_TARGET_OBJECTS
                                                        BBP_TARGET_OBJTYPE
    5)  <b>Check SPRO Settings ->
    Here is the path</b>
    <u>Supplier Relationship Management -> SRM Server -> Cross-application basic settings -> Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders</u>
    <u>Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders)</u>
    You perform this step only if you create your Materials Management documents in a backend system.
    You specify the documents that are to be created in the backend system for a requirement coverage request.
    The following documents can be created:
    Purchase requisition
    Purchase order
    Reservation
    You enter a product category (such as office supplies, or hardware) and/or an organizational unit. The organizational unit contains the purchasing group that is responsible for procuring products in this category.
    You can enter the product category generically, such as Office*.
    Note
    The backend system is determined  using the product category in the requirement coverage request item. The item also contains the organizatinal unit.
    You can use the Business Add-In BBP_TARGET_OBJTYPE if you wish to implement a different logic for creating documents in the backend system.
    Example
    If purchasing group 01 wants to procure materials from the category Raw Materials, a reservation is to be created every time.
    If materials in the category PC are to be procured, a purchase requisition is to be created every time.
    Activities
    1. Enter the organizational unit and/or the category.
    2. Enter a source system.
    3. Choose the procurement type.
    Reservation if stock is available, otherwise external procurement
    The system creates a reservation if the material is subject to inventory management and sufficient stock quantity is available in the warehouse on the requested date.
    Always reservation for materials subject to inventory management
    The system creates a reservation if the material is subject to inventory management, irrespective of whether stock is available.
    Always external procurement
    The system does not create a reservation, but always procures the item externally. In this case, you specify the type of external procurement.
    The following options are significant if the system cannot create a reservation (for example, if there is no stock available or for a non-stock item) or the system must not create a reservation (choose Always external procurement).
    Purchase order if item data complete, otherwise purchase requisition
    The system always tries to create a purchase order. If the item data is incomplete (for example, the vendor or price is not known), the system creates a purchase requisition from the item.
    -> Always purchase requisition
    The system always creates a purchase requisition.
    -> Always local purchase order
    The system always creates a local purchase order.
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Passing Custom fields to Req and PO

    Hi,
    We are on SRM 5.0 and ECC 5.0.We are using the classic scenario .I am trying to transfer the catalog ID from SRM shopping cart to R3 Req .There are number of threads in this forum that describe the procedure, which i understand.
    But now if the Req is converted to PO in R3 either manually or auto, does the custom fields also get transferred automatically ,if i maintain the same custom fields in CI_EKPODB & CI_EKPODBX? or is there anything else i need to do.
    Thanks
    Raghu

    Hi
    Besides BBP_CUFMAP, you have to of course :
    - create the same Zdata element datain ECC as you have done it in SRM.
    - maintain CI_EKPODB with append of your Zdata element
    - create CI_EKPODBX and activate it !
    Then you will be able to sea your Zdata element (or CUF) in the EKPO table.
    You don't need to use BBP_PO_INBOUND !
    Re: Update Custom Fields in PO - BBP_ECS_PO_OUT_BADI
    Re: Mapping fields in SRM with R/3
    <u>Also, Please refer to SAP OSS Notes 672960 and 485891.</u>
    <b>The BADIs in SRM which can used in this case, using transaction SE18 are </b>
    <u>BBP_TARGET_OBJECTS</u>
    <u>BBP_TARGET_OBJTYPE</u>
    <b><u>In SRM Customization</u></b>
    In the following step : " Go to SRM --> SRM Server --> Cross Application Settings --> Define Objects in Backend System --> go to external procurement and select the function from the drop down box", it says "purchase order if item data is complete, otherwise Purchase Requsition.
    <b>Related links for source code and other configuration -></b>
    R3 field is not populated????
    implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
    Custom field values are not being transfered to the backend system
    Re: custom field values not passed to R/3
    Do let me know, incase you face any issues.
    Regards
    - Atul

  • BADI  for  Classic  and Extended Classic Scenario

    Hi,
       Please   provide  list  of  Reports and BADI's  for 
           Classic  and Extended Classic Scenario.
    Thanks,
    Srini

    Hi,
    In SRM there will be a number of BADI's are Available, We can utilize them according to the requirements
    As per the request few important BAID are provided below..
    Workflows
    1). BBP_CHNG_AGNT_ALLOW:          Allow / Allow Change/Add Approver
    This BADI is implemented not to allow users to change the approvers in the workflow.
    2). BBP_WFL_SECUR_BADI:          Overwrites the authorization level of the approver
    This BADI controls the restart of the workflow
    Purchasing Related
    1). BBP_PGRP_FIND:               Shopping Cart: Determine Responsible Purchasing Group(s)
    This determines the responsible purchasing group for the shopping carts.
    Shopping Cart Related
    1). BBP_SC_MODIFY_UI:          BADI to Change Shopping Cart Layout
    2). BBP_GROUP_LOC_PO:          Exit Grouping of Items for Local Purchase Orders
    This splits local PO if more than one contract in a PO.
    3). BBP_TARGET_OBJECTS:          Exit while determining target objects in backend
    4). BBP_WF_LIST:               Change Worklists and Search Results Lists
    This is used to restrict the search results for the user.
    5). BBP_CTR_BE_CREATE:          Exit when Creating a Contract in the Backend System
    6). BBP_CREATE_PO_BACK:          Exit while creating a purchase order in the backend system
    This BADI is used to add the shopping carts attachments to the PO and also to make adjustments in payment terms, currency etcu2026
    7). BBP_DOC_CHECK_BADI:     General BAdI in Cross-Check for Message Returns
    8). BBP_DOC_CHANGE_BADI:     BAdI for Changing EBP Purchasing Documents
    9). BBP_ECS_PO_OUT_BADI:     ECS: PO Transfer to Logistics Backend
    Thanks
    prasad .s

  • How to activate classic scenario?

    Dear experts,
    What are the generic settings required to activate classic scenario?Are there other settings required other than below?
    1. If extended classic scenario is not activated in global mode:
    a. Replicate product categories from ERP backend to SRM system.
    b. Define an ERP backend system as the target system for the product categories.
    c. Define backend Objects for the product categories (based on Purchasing group and source system).
    Does any additional settings required for classic scenario?
    2. If there is global activation of extended classic scenario?
    a. In such cases, We need to take care of BAdi 'BBP_EXT_LOC_PO' and 'BBP_Det_Logsys'.
    Do we need any other additional settings?
    Thanks in advance,
    Ranjan

    Classic scenario is the default scenario unless you have activated the Extended Classic. If you do not need Extended classic then you do not need to activate the Extended Classic and deal with BADI's BBP_EXTLOCALPO_BADI, BBP_TARGET_OBJECTS,BBP_TARGET_OBJTYPE.
    If the need is only to implement Classic Scenario accross the board then the steps are good to start with.
    Regards,
    Surya

  • Classic Scenario PO not creating, only PR

    Hi,
    I'm using SRM 5.0, in classic scenario to R/3 4.6C. My Shopping Carts to R/3 are complete, but is not creating a PO. It creates a PR. If i run, ME57, assign and process, PR is already assigned a Fixed vendor, and PO is created without any further data being added. (Vendor, price, etc)
    I'm confident my number ranges and Doc Type settings are correct.
    In SRM customising, my 'Define Objects in BE Sys, has vaild P.Group, Cat Id, R/3 Source sys, Always external and PO if item data complete'.
    When I trace RFC, RSRFCTRC, it is calling BAPI_REQUISITION_CREATE. Not BAPI_PO_CREATE1. Vendor master, set to auto create PO, not using material masters. Mat group and Vendor replicated from R/3 to SRM. Tax is calculated in R/3.
    Any help appreciated. Is there a FM in SRM to test why its not creating a PO?
    regards Adam

    Hi
    Couple of reasons might be possible ->
    1) Try de-activating all the Custom BADI Implementations using SE19 Transaction (name starting with Y or Z) in SRM System for the time being, and then try out again.
    Seems to be some BADI - BBP_TARGET_OBJECTS
                                 BBP_TARGET_OBJTYPE might be over-riding the back-end documents creation.
    2) Incase above step, does not help, Try creating a PO or PR directly into R/3 system (using ME21N or ME51N Transactions with the Document typeused in SRM), with the same data that is passed in the RFC call (you traced earlier) then see, what is happening in that case ? 
    Do let me know.
    Regards
    - Atul

  • Reservation in Classic scenario

    Hi Experts,
    How does the reservation fucntionality work in classic scenario.
    We do not want the application to create a reservationeven if there is stock in the backend. The system should always send the item to sourcing cockpit.
    Is there a configuration by which we can restrict Reservation.
    Regards,
    Jith

    Hi Dave,
    Many thanks for your inputs. We have already set Always carry out sourcing. But it still does an availability check and tries to create a reservation.
    Now we do not want to create reservation at all. We always  want to send the item to the sorcing cockpit and create a PO or contract after sourcing.
    If we use the BBP_TARGET_OBJECTS BADI we can set the object to resevation and the sourcing indicator is set.
    But standard behaviour shoud be not to do a availability check and create reservation, once we set Always carry out sourcing. Is this a bug or are missing any config. (BTW we are on classic scenario).
    Regards, Jith

  • Classic scenario: po is not created

    hai ,
    i am using classic scenario.In define backend objects configuration i made the following settings
    product category       purchasing group      internal procurement       external procurement
    555                              555                        always external proc     create po if data is complete
    when i created shopping cart it always creates purchase requisition in the back end.i have checked in shopping cart.delivery date,price ,quantity,account section,and source of supply .everthing is fine but in the backend pr is created instead of purchase order .how can i find out the solution.can anyone suggest me regarding the above problem
    thanks and regards
    chakradhar

    (1)there can be several reasons for creating PR instead of PO. Please see the FAQ note 1173815 for the possible reasons, and the guide for debugging under:
    https://wiki.sdn.sap.com/wiki/display/SRM/Howtoanalyzethefollow-ondocumentdetermination
    (From peter thread copied)
    (2)BBP_TARGET_OBJECTS BADi active in your system?
    (3) Do you have fixed source of supply in your sc ?
    555 555 always external proc create po if data is complete ? what is this 555 555
    do you given corrrect material group / purcase group correcly...
    regards
    muthu

  • PO created with Unknown Accounting Assgn in BE in SRM 3.0 classic scenario

    Hi Experts,
    When a Limit Shopping cart is created with known Account assign Cat ( cost center - L ) and cost distribution BY VALUE then it is creating a PO in the backend sys with UNKNOWN ACCOUNT ASSgn Cat ( U ) .
    Can any one tell me how to change this value to Known account assgn cat in the backend sys ?
    What is the Badi to find where it is exactly changing the value ?
    I tried in below Badi's
    BBP_ACCCAT_MAP_EXP and BBP_TARGET_OBJECTS but here I can see the value is comming Correctly ...
    Please advise me ....

    Note 848894 - SCL: Account assignment changed from Known to Unknown
    BUYER ACTION
    You create a limit shopping cart by selecting the option Account assigment 'Known' and place the cart on hold.
    You execute the check status transaction, expand the item and click on the detail of the item.
    Go to the change mode and order the cart. The Account assignment status is set to 'Unknown'.
    check it up. this note is applicable for you since BBPCRM400 .
    check this too
    Note 656859 - Limit item /account assignment known is reset
    Muthu

  • Transferring field "Unloading Point" from ECC to SRM

    Hello Everybody,
    I need to pass the field "Unloading Point" from the ECC side to the SRM side. Currently, SAP doesn't transfer this field when we execute the program BBP_EXTREQ_TRANSFER.
    The field Unloading Point has been enabled in the SRM and is displayed properly for any Shopping Cart created there.
    In order to pass the field, I have explored the BADI - BBP_BADI_EXTREQ_OUT, but there is no field in this BADI which can be used for passing the Unloading Point.
    One solution that I have is to create a custom field in the BADI structure and then move the Unloading Point in this custom field. But then again, a question arises, how will SRM know that this is the Unloading Point field.
    Also, will any of the following BADI's do the trick?
    BBP_CREATE_REQ_BACK
    BBP_TARGET_OBJECTS
    BBP_CREATE_BE_RQ_NEW  
    BBP_GROUP_LOC_PO
    Please let me know if there is any solution for this problem.
    Thanks & Regards,
    Nikhil.

    Hi Disha,
    Thank you for your prompt reply.
    As per your recommendation, I looked at the BADI "BBP_DOC_CHANGE_BADI", but it seems that the BADI is triggered when we order or hold the shopping cart and not when we transfer Purchase Requisitions from ECC.
    Also, I had seen the thread previously, but it wasn't helpful to me.
    I will be just creating the PR in the ECC side, and won't be having any SC in the SRM before I execute the program BBP_EXTREQ_TRANSFER. I want the field Unloading Point to be moved for every PR created whenever the program is executed.
    If I have missed your point somewhere, do correct me.
    Thanks!
    Nikhil.

Maybe you are looking for

  • Saving a PDF file as a JPEG

    When a user is trying to save a PDF file as a JPEG, in Adobe 8 Professional, they go to File and Save As it is coming up with the message "Acrobat could not save a page in this document because of the following error: The image is too wide to output.

  • Internal hard drive failed - install Mac OS X on external firewire?

    Hi, hope someone can help me. The other day my internal hard drive in my MacBook started to click. I did a hardware test, and the drive now doesn't show up at all, either in the test or when I go to install Mac OS X. Is it possible to buy an external

  • White Border Around Template Images

    I recently created a "page layout" document from a template. This is my first attempt to use a template and it was all going well. Until I hit "print." When I print the document, the images that were already part of the template are printing with a w

  • Unable to configure SSO in Oracle11g

    Hi, I have tried to install and Configure SSO in Windows 2008 R2 server (64bit). I am facing issue with SSO Metadata repository installaion, please helpful on that. Steps I did 1. Installed Oracle 11g R2 2. Installed Oracle WebLogic Server (10.3.3) 3

  • How to Prevent duplicates on Combination of Lookup columns in sharepoint 2010 using infopath 2010 form.

    Hi All, I have list with some Lookup columns like  City, Pin, and Text Column Name. All these are required columns. Now I want to prevent duplicates while submitting InfoPath form if a Combination of  City,Pin & Name. (like a Composite primary in Dat