How to debug a failed shopping cart transfer to ECC in classic mode

Hello,
I am using SRM 5 in classic mode, connected to ECC 6.0.
I have an error message in the administrator monitor that tells me a transfer a shopping cart to ECC has failed.
"Shopping cart 1000000123: Error creating the follow-on document"
(Message is BBP_PU 367)
This is located in the "local errors" section of the administrator monitor.
The follow on doucment will be a PO in ECC.
This message does not tell me the cause of the problem therefore I need to retrnsmit the cart and debug to find the error message that is being returned from ECC.
I have browsed the forum and there are various answers about debugging but but have not found exact instructions on how to debug, and it is now always clear on whether the instructions apply to classic or extended classic.
I have seen reference to the method in note 539978 that creates test data with FBGENDAT for the ECC BAPI. However this method does not seem suitable for a production system because it will interfere with all shopping carts being transferred while the shoppign cart with the problem is being debugged.
Therefore I would like to debug in SRM just for the shoppign cart with the problem.
Hopefully this thread will become the defintiive poitn of reference for debuggin a classic shopping cart transfer to ECC  in SRM 5.
I propose to use function module BBP_PD_SC_TRANSFER to transfer the shopping cart again by entering the shopping cart GUID.
Question 1) Can this error message be returned by checks in SRM before the BAPI is called in ECC? If so, where do I place a breakpoint to find the error determined by the checks in SRM?
Question 2) If the system is getting as far as calling the BAPI in ECC, is it possbile to find the error message passed back from ECC by this approach, given that the actual transfer is carried out by the spooler?
Question 3) If this approach is valid, in which method/function module do I need to place a breakpoint, at which statement is the error message passed back to SRM from ECC?
Your help would be appreciated,
Reagrds

Hi Paul,
a small correction to Dishas comment:
The class CL_BBP_BS_ADAPTER_PO_CRT_470_1 is used for the backend release 4.7, so it is not relevant for you. Instead of this, you have to take the CL_BBP_BS_ADAPTER_PO_CRT_ERP10 and method CREATE_DOCUMENT. This is the last step, before the SRM calls the backend system.
From the alert "local errors" I suppose, that there is an error in the SRM customizing (in case the error message comes from the backend system, you get the message into the "Backend Application error").
Typical customizing error, when e.g. the number range of the purchase REQUISITION is not correctly customized (in case the prerequisits for a PO are not fulfilled, the system tried to create a purchase requisition). See the note 1173815 regarding this problem.
Back to your questions:
The activating of the FBGENDAT was a good idea, but I would give here two hints:
- I case of production system you can use only the "Mode B".
- Activate the FBGENDAT only for a short term:
-- at first set the breakpoint in the method CREATE_DOCUMENT (as above described)
-- execute the BBP_PD_SC_TRANSFER
-- you will be stopped at the breakpoint.
-- Now you can activate the FBGENDAT in the backend
-- go on with F8 in the debugger in the SRM system
-- >>> test data will be filled in the backend system (BAPI_PO_CREATE1)
-- deactivate the FBGENDAT
You can do this in one min. and the worst what can happen is that you have 2-3 test data in the BAPI_PO_CREATE1 additionally to the erronous SC.
Question 1) Can this error message be returned by checks in SRM before the BAPI is called in ECC? If so, where do I place a breakpoint to find the error determined by the checks in SRM?
- Maybe... Places for setting breakpoints
-- FM "BBP_PD_MSG_ADD"
-- System command "RAISE"
-- FM "META_BAPI_DISPATCH" (typical problem, see above, and also the note 1173815)
Question 2) If the system is getting as far as calling the BAPI in ECC, is it possible to find the error message passed back from ECC by this approach, given that the actual transfer is carried out by the spooler?
- Yes, you can find the message in the:
-- Test data of the BAPI_PO_CREATE1, if you have activated the FBGENDAT
-- In the method CREATE_DOCUMENT if you "comes back" from the RFC call from the backend
Question 3) If this approach is valid, in which method/function module do I need to place a breakpoint, at which statement is the error message passed back to SRM from ECC?
- see above, CL_BBP_BS_ADAPTER_PO_CRT_ERP10 method CREATE_DOCUMENT
Kind regards,
Peter

Similar Messages

  • How do i add a shopping cart to iweb

    how do i add a shopping cart to iweb

    The most common way to get paid for selling goods online is PayPal. Once you have setup an account and added the buttons to your site, PayPal takes care of the cart and collecting the money.
    Here's an example of a website page set up for selling. The following pages illustrate how to create the buttons and give an example of how a shopping cart works using one of PayPal's partner digital delivery services.
    http://www.iwebformusicians.com/Internet-Music-Sell-Distribute/Website-Buy-Page. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • How do i switch to shopping cart

    How do I switch to shopping cart in itunes store?

    There isn't a shopping cart in the iTunes store, you can only buy items one-at-a-time. You can add items to your wish list, but again you can only buy items from that one-at-a-time.

  • How to get the old shopping cart detail if I change the Business partner.

    Hi all ,
    Can any one help me in below describe query?
    Scenario:
    User was getting the error regarding business partner while shopping.
    So I repair the user from BBP_CHECK_USERS.
    Now definitly its business partner has changed.User can also shop.
    But the problem lies is he has lost his all the old shopping cart which was related to old business partner.
    Can any one tell me how to get those detail of the old shopping cart which was related to old business partner?

    Hi
    <b>Which SRM version are you using ?</b>
    <u>Please check out the links/pointers -></u>
    Moving workitems between SRM inboxes
    Re: How to re-instate the deleted Position of the user into Org structure.
    Re: Position Deleted for an User, created a new userid; Confirmation Issues
    Re: Need help to "access" deleted users's inbox & reassign work items
    Re: How to delete a user in the Organizational structure
    Re: Transfer of open POs or SCs?
    <b>Hope this will definitely help.</b>
    Do let me know.
    Regards
    - Atul

  • How to Debug the Failed Data loads?

    Hi..All
    Can Any one plz explain How to Debug the different types of Failed Data Loads?
    Thanks & Regards
    Jonn

    Hi Jonn,
             If any data failed ....1st analyze where it occurs according to that what we have to decide...
    Analysis:
    1.Check the Status Tab in RSMO--here we can get error information
    2.Check the Details Tab in RSMO--here we can get whether extraction is completed,and where it is exactly failed i.e while updating from PSA or in Update rules etc
    3.Check the corresponding request job log in SM37.
    4.Check whether any shortdump in ST22.
    5.Check the Request status in the Target...some times activation job failed in SM37 but in the Target we found as activated.
    6.Check BD87 Transaction for any IDOC errors.
    7.Check SM58 for TRFCs
    Hope this helps u.....
    Mohan

  • How can we Restrict Forwarding  Shopping Cart to appropriate levels

    Hi Experts
    Could u plese help me in this issue becase I am new to Workflow.
    In my organization using scenario is Clasic Scnario&SRM 5.0 Version
    In that Shopping cart has N Step Badi Approval Work Flow
    While  Shopping Cart Approval process it will go up to 6 Levels
    Level 1 is Manager
    Level 2 is Manager"s manager
    Level 3 is Superviser
    Level 4 is HoD   .....................like upto Level 6
    here they maintan Approval Limit also
    While Forwarding Work item From  level 1&2&3&4&5&6  it will go for Requisoner Also now .
    not going for appropriate Levels
    means we want while foreding at Level 1 The Work item must go for another Level 1 manegers only  .It must not  forward to requistinor
    While level 2 it must forward to Level 2  people .not forward to level 1 or Requisonars
    While level 3 it must forwrd to Level 3  people .not forward to level 1 &2 & Requisonars
    How can i achive this . Please Guide me

    One way is to create a role and restrict access through it
    see
    http://cwebbbi.wordpress.com/2011/06/22/denying-access-to-an-entire-level-with-dimension-security/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Hi! anyone knows how to embed the quick shopping cart from go daddy into a muse design?

    I am designing a web for a music shop and the client have bought the quick shopping cart from go daddy. I have made different categories within the shop and put the items there, but now I don't know how to embed that into my own muse design. I design a page for each categories and now I just want to embed the items there. Anyone knows how to do it? 

    Hi Laura,
    If there is some code that you need to include in your muse design, for the quick shop to work, then you can use the option of 'object -> insert html' and to insert any scripts that is required by this integration you need to insert it in the 'html for the head' section under 'page properties -> metadata'
    - Abhishek Maurya

  • How to find all the shopping carts for a Supplier

    Hello if i have the supplier , how can i find ALL the shopping carts associated to him?thx

    Hi,
    Try the below & let me know:
    1) Go to table "BUT000", enter the Partner No & get the PARTNER GUID.
    2) Go to table "BBP_PDVIEW_INDEX", copy the partner GUID in the field "IPARTNER_NO". Enter BUS2121 as the OBJECT_TYPE & execute. You could even restrict the display list by the Partner function value (39 or 19).
    Cheers,
    Akash

  • How can I delete a shopping cart.

    Dear All,
    I'm trying to delete a shopping cart but till now nothing works.
    I have been using bap CRM_status_update, but it does not place a deletion indicator on the shopping cart.
    Can somebody tell me which program/bapi I have to use to get the job done.
    Thanks,
    Regards,
    Alexander

    Hi,
    You can update database tables manually.
    If shopping cart has not been approved yet:
    - At document header set "DOC_CLOSED" = X;
    - At document item level, set "DEL_IND" = blank;
    - At shopping cart table status set I1040 - Deleted.
    If shopping cart has been approved and you want to delete all items:
    - At document header set "DOC_CLOSED" = X;
    - At document item level, set "DEL_IND" = X;
    - At shopping cart table status set I1040 - Deleted.
    If shopping cart has been approved and you want to delete only one item:
    - At document item level, set "DEL_IND" = X;
    You can find these tables in BBP_PD transaction.
    Kind regards,
    Ricardo

  • How to change the word shopping cart is empty in shoppingcartsummary module?

    Hi Everyone,
    Just wondering is there a way to change the text or wording on "shopping cart is empty" in {module_shoppingcartsummary,horizontal}? I'm building a site for education which the word shopping cart is not appropriate. Any help would be appreciated.
    Thanks,
    David

    Do a forum search David
    Several posts on this.

  • How to get Products from Shopping Cart(Basket) in ATG

    I want get all products from shopping cart
    can any one help on this requirement?
    Thanks in Advance.

    Hi ,
    If you want directly JSP , use the droplet as suggested correctly by shaik,
    If you want it in java code,
    A good way is to make a Droplet ( global scoped ) and pass the current shopping cart to the droplet.
    eg :
    <dsp:droplet name="MyDroplet">
    <dsp:param name="inOrder" bean="/atg/commerce/ShoppingCart.current"/>
    OR
    <dsp:param name="inOrder" bean="/atg/commerce/order/purchase/CartModifierFormHandler.order" />
    <dsp:oparam name="output">
    </dsp:oparam>
    </dsp:droplet>
    and in the droplet java file you can use it as :
    CommerceItemContainer inOrder = (CommerceItemContainer) request.getObjectParameter("inOrder");
    and you can use inOrder.getCommerceItems(); to get a list of commerce items from order.
    You can directly get the order in your droplet ,but then you will have to make it request scoped , making global scoped droplets is good practice.
    ~Praveer

  • Vendor from Contract not defaulting in Shopping Cart in SRM 5.2 Classic Scenrario

    We have the Classic Scenarios implemented for Indirect Procurement. There is only a one contract maintained for the Material group + Vendor combination on the ECC system. When creating a Shopping Cart the Vendor shows up under the "Source of Supply" section. Shouldn't this default into the Vendor field as there is only one contract maintained? Is there any configuration that can prevent the vendor from defaulting? Please advice.

    Hello,
      The MM PO price value is calurated as in INR only but it is still taking the conversion as it was earlier
    as the vendor currency is in GBR.NOw as it has changed to INR no conversion has to take place but
    it is still happening.
    If I need to debug, which programs I need to, because these are ITS templates where
    PO creation will happen at backend may be i think through RFC calls.
    Thank you for your inputs.
    Br,
    SAAK

  • Shopping Cart No not displays in Classic PO in ECC

    Hi Experts,
    We are configuring SRM7.0 with ECC6 ( Ehp4) having Classic Scenario .
    Its strange that, in the Classic PO craeted from SRM Shopping Cart, there is no any refernce of Shopping Cart Number anywhere like ECC PR ?
    Can anyone suggest is there is any std way to display the SC No in PO / PR craeted from SRM Shopping Cart ?
    If  not, what is the way ? Is any BADi..etc
    Thanks
    NAP

    Hi Narendra,
    You can implement the BADi mentioned by Muthu for passing the SC# to ECC PO .Sc info not stored in ECC tables but only SRM tables.
    You can get the SC details from the PO number by simply quering the table BBP_PDBEI.
    You must query BBP_PDBEI for each SC item GUID.
    You will find:
    - BBP_PDBEI-BE_OBJECT_TYPE = BUS2201
    - BBP_PDBEI-BE_OBJECT_ID = ECC PO number
    -- BBP_PDBEI-GUID = SC guid
    Another simple way would be implementing BBP_DOC_CHANGE BADI instead. The tracking number field exists hidden in the shopping cart in SRM, and will tranfer as standard to R/3. The field to change is ET_ITEM-BE_TRACKING_NO.
    The above development has been discussed in the below thread..Pls see the below link for code details :
    Pass SC numbber to Tracking number
    HTH.

  • PO attachment transfer to ECC - Extended classic scenario

    Hi all,
    We are on SRM 5.0 ECS.As standard,can the SRM PO attachments be transferred to  ECC PO?Is this possible in  ECS?If so,what are the steps?

    HI Alexander,
    The purchase order in the Extended Classic Scenario is transferred to the backend system with different Function Modules. The
    attachment transfer logic was only implemented in the Classic Scenario.
    One reason for this decision was, that the leading Purchase Order in the extended classic scenario is the local one, and in the local purchase order the attachments are available.
    At the moment it is not planned to support the attachment transfer in the Extended Classic Scenario. The transfer of attachments to backend PO is developed only for Classic Scenario.
    I am sorry that this is not the result that you wanted. This also explains why in the ECS PO transfer BADI BBP_ECS_PO_OUT_BADI does not have the parameters for attachments where as the Classic PO transfer
    BADI does (BBP_CREATE_BE_PO_NEW).
    We have some notes related to SC and POR reporting issues when transferring attachments to ECC side, but ther are related to Classic scenario:
    1400088: SC attachments transferred to ECC PR are lost on EHP upgrade
    1413792 Attachment deleted after changing purchase order
    I hope this information help you to understand this issue,
    Kind Regards,
    Rafael Rhoden

  • Services run at startup - logs ? How to debug the failed ones?

    Hi,
    Maybe it is a newbie question, maybe not, but I am trying to find which services fail at startup (and then why).
    I was expecting to find the named info in the dmesg files in /var.
    No such luck, as dmesg lists only the kernel info.
    I tried to look through the files in /var/log  (/var/log/messages.log daemon.log *.log)
    I could not find on file to list the services that start during the system init and if they do it successfully or fail (as it is printed on the screen, or similar).
    Any ideas where I could look for more info?
    Many thanks

    Thanks for the hint with /var/run/daemons
    On the other hand this solves my problem only partially, because using the /etc/rc.d/Serv start method I cannot see the proper order in which the services were started and at what point they failed.
    I was expecting to have something like http://www.freebsd.org/cgi/man.cgi?quer … ormat=html
    In freebsd the dmesg prints the system buffer, not only the kernel buffer.

Maybe you are looking for

  • Programming logic, passing data from a page to another

    Hi, I just began with developing with APEX 4.1.1, and I think I don't get how I should use it efficiently, I am more used to C-like programming. I have a table which contains the state of some electricity meters taken at some non-regularly spaced dat

  • Help! - I upgrade to itunes 6.0 and all my music disappeared

    I've had itunes for I while and I had a fair amount of music on it. My computer has been asking my for a while if I wanted to upgrade to itunes 6.0 and I always said no, but recently I did it. Now all of my music is gone except for the last two songs

  • Deleting element from binary search tree

    please could u tell me what is the wrong with this deleting function ..      private  BTNode deleteElement(int a,BTNode curNode)           BTNode s,q,p;           if (curNode==null)           return curNode;           HasId curObject =(HasId)curNode.

  • Can I Easily Time Stamp in Numbers?

    I want to create a Numbers form that automatically time stamps when I make the entry.  Is this possible to do on an iPad?

  • Travel Priviliges - Info type

    Hi, Could any one let me know if there is a BAPI to load info type 0017(Travel privilges). Thanks, Vivek.T