Creating Multiple POs from the shopping cart

Hi
I have a requirement to create multiple POs from shopping cart. we are in SRM 7.0 I have implemented the BADI BBP_SC_TRANSFER_BE GROUP_PO method. modified group_1 field with 1 and Doc_type with custom document type
and udpate the change parameter CT_PROC_ITEM with the above changed data for each line item.
But purchase order always taking original document type and its number range only. 
Please help me in this regard,
Regards,
Rama.

Hi,
Thanks for your reply. I have implemented the BADI BBP_BS_GROUP_BE method GROUP_PO_BACKEND. I modified BE_DOC_TYPE with the custom document type and REFNUMBER as the group number .
But  it is generating number range for the original document type only.  when i debug the code i found that it is taking original document type (which is hardcoded contant value mentioned in the code when number range is initial).
Please suggest me  after grouping the line items with document types and REFNUMBER how to assign number ranges for each group of line items.
Regards,
Rama.

Similar Messages

  • SRM 7 - Multiple POs from 1 Shopping Cart

    Hi Everyone,
    Is it possible to create multiple POs from 1 shopping cart?  1st PO will have partial order qty and the second PO will have the remaining order quantity.
    Thanks.

    Hi Everyone,
    Is it possible to create multiple POs from 1 shopping cart? 1st PO will have partial order qty and the second PO will have the remaining order quantity.
    In SRM7, it is not possible to create multiple POs from one SC. In sourcing you can combine multiple SC's (using BAdI BBP_SRC_DETERMINE) and process to create a single PO.
    Also the BAdI BBP_GROUP_LOC_PO is used for :
    If the shopping cart items do not have a source of supply, the standard system creates a purchase order with one purchase order item for each shopping cart item. This is necessary because once a source of supply is assigned to purchase order, the items can no longer be divided up between different purchase orders.
    You use this Business Add-In if you want to create a single purchase order for particular shopping cart items that do not have  a source of supply assigned to them.
    So if your SC has 2 or more line items, then it can be processed in sourcing for multiple PO based on above logic.
    But if your SC has one line item, then splitting of qty for multiple PO is not possible.
    Hope this clarifies your query.
    Regards,
    Ram

  • Unable to create a PO from a shopping cart in classic scenerio

    Hi Experts,
    I tried creating a PO from the Shopping cart, but i am getting an error Number range 70 doesnt exist. Whereas
    when i tried creating a PO from Rfx, PO is getting created. Can somebody suggest what would have went wrong.
    Regards,
    Santhosh

    Hi Santosh,
    It could be possible that the number ranges are not defined or altered. Please check the path in SPRO(in SRM) for the number range of backend follow-on-documents.
    IMG : Supplier Relationship Management -> SRM server-> Cross Application Basic Settings->Number Ranges-> SRM server number ranges->Define Number ranges for shopping carts and follow on documents.
    Please check if number ranges are maintained properly for PO. After maintaining the details, try to push the shopping cart again. Check in RZ20 for the error details further(if it occurs again).
    Hope it helps.
    Regards
    Bash

  • How can I autofill the "Amount" field in my eCommerce form using the "Total" from the shopping cart?

    I've found the tags to display the shopping cart summary elsewhere on the site, so I know there's a way to display the total, but I can't figure out a way to fill in the required "Amount" field in the eCommerce form used to process payments. I'd like that "Amount" field to be filled in automatically using the total in the shopping cart. Can anyone help? Thanks!

    You can use the shopping cart summary tag with custom layout.
    Here's the sample:
    <input type="text" value="{module_shoppingcartsummary template="/ModuleTemplates/Shop/cartsummary.tpl"}">
    Inside the shopping cart summary custom layout is a tag for total amount:
    {tag_currency}{tag_totalAmount} or {tag_totalAmountWithCurrency}

  • Creating Multiple POs for Contract

    Dear Team,
    Our Company has Yearly budget Allocation.
    For longterm Contracts (Say 3 Years),we are facing Porblem in creating Multiple POs from the Contract.
    The PO with ref to Contract  can be created only for this Year as only Sufficient Budget is allocated for the current year.
    For next year another PO need to be raised for Subsequent year.
    The users need to make sure they have to Plan the budget for the next yesr to Process the PO.
    Is there any way to address this issue.
    Apperciating ur ideas.
    Regards
    Zulfikar

    Hi,
    Thanks for your reply. I have implemented the BADI BBP_BS_GROUP_BE method GROUP_PO_BACKEND. I modified BE_DOC_TYPE with the custom document type and REFNUMBER as the group number .
    But  it is generating number range for the original document type only.  when i debug the code i found that it is taking original document type (which is hardcoded contant value mentioned in the code when number range is initial).
    Please suggest me  after grouping the line items with document types and REFNUMBER how to assign number ranges for each group of line items.
    Regards,
    Rama.

  • How to improve the speed of creating multiple strings from a char[]?

    Hi,
    I have a char[] and I want to create multiple Strings from the contents of this char[] at various offsets and of various lengths, without having to reallocate memory (my char[] is several tens of megabytes large). And the following function (from java/lang/String.java) would be perfect apart from the fact that it was designed so that only package-private classes may benefit from the speed improvements it offers:
        // Package private constructor which shares value array for speed.
        String(int offset, int count, char value[]) {
         this.value = value;
         this.offset = offset;
         this.count = count;
        }My first thought was to override the String class. But java.lang.String is final, so no good there. Plus it was a really bad idea to start with.
    My second thought was to make a java.lang.FastString which would then be package private, and could access the string's constructor, create a new string and then return it (thought I was real clever here) but no, apparently you cannot create a class within the package java.lang. Some sort of security issue.
    I am just wondering first if there is an easy way of forcing the compiler to obey me, or forcing it to allow me to access a package private constructer from outside the package. Either that, or some sort of security overrider, somehow.

    My laptop can create and garbage collect 10,000,000 Strings per second from char[] "hello world". That creates about 200 MB of strings per second (char = 2B). Test program below.
    A char[] "tens of megabytes large" shouldn't take too large a fraction of a second to convert to a bunch of Strings. Except, say, if the computer is memory-starved and swapping to disk. What kind of times do you get? Is it at all possible that there is something else slowing things down?
    using (literally) millions of charAt()'s would be
    suicide (code-wise) for me and my program."java -server" gives me 600,000,000 charAt()'s per second (actually more, but I put in some addition to prevent Hotspot from optimizing everything away). Test program below. A million calls would be 1.7 milliseconds. Using char[n] instead of charAt(n) is faster by a factor of less than 2. Are you sure millions of charAt()'s is a huge problem?
    public class t1
        public static void main(String args[])
         char hello[] = "hello world".toCharArray();
         for (int n = 0; n < 10; n++) {
             long start = System.currentTimeMillis();
             for (int m = 0; m < 1000 * 1000; m++) {
              String s1 = new String(hello);
              String s2 = new String(hello);
              String s3 = new String(hello);
              String s4 = new String(hello);
              String s5 = new String(hello);
             long end = System.currentTimeMillis();
             System.out.println("time " + (end - start) + " ms");
    public class t2
        static int global;
        public static void main(String args[])
         String hello = "hello world";
         for (int n = 0; n < 10; n++) {
             long start = System.currentTimeMillis();
             for (int m = 0; m < 10 * 1000 * 1000; m++) {
              global +=
                  hello.charAt(0) + hello.charAt(1) + hello.charAt(2) +
                  hello.charAt(3) + hello.charAt(4) + hello.charAt(5) +
                  hello.charAt(6) + hello.charAt(7) + hello.charAt(8) +
                  hello.charAt(9);
              global +=
                  hello.charAt(0) + hello.charAt(1) + hello.charAt(2) +
                  hello.charAt(3) + hello.charAt(4) + hello.charAt(5) +
                  hello.charAt(6) + hello.charAt(7) + hello.charAt(8) +
                  hello.charAt(9);
             long end = System.currentTimeMillis();
             System.out.println("time " + (end - start) + " ms");
    }

  • SRM 7 - defaulting values for multiple line items on shopping cart

    Hi,
    We are using SRM 7 - Employee self service - Punch out catalogues and describe requirements.
    Our scenario is this:
    - User is responsible for creating shopping carts for numerous cost centres/other users
    - Shopping cart will have multiple line items (but the cost centre/other user will be same for all line items)
    - Is it possible to define in a shopping cart that all line items will have a specific value?  E.g. all line items will be assigned to a specific cost centre?
    I know about assigning dedault values in PPOMA_BBP - but our situation is where user does not want to use this default value this time, but another value
    Any suggestions?
    Thanks

    Thanks Alex for quick reply
    To confirm, did you use the BBP_DOC_CHECK_BADI (in conjunction with the BBP_ITEM_CHECK_BADI) to look at different cost centres on the multiple lines on the shopping cart?
    Also - did you use the same BADI to give user opportunity to enter a default cost centre that is then automatically applied to all line items on the cart?
    Thanks
    Azam

  • Hi BC, I have an issue with BC. When the shopping cart is used it takes stock out of inventory and h

    Hi BC,
    I have an issue with BC. When the shopping cart is used it takes stock out of inventory and holds it, regardless of whether or not a customer proceeds to purchase. OK.
    To make matters worse, the stock is only cleared from the shopping cart when the customer closes the browser - not when they close the shopping window.
    Now lets say a customer doesn't close their browser for a month - it happens! .. when their stock is finally returned it may throw out our stock levels that have in the meanwhile been adjusted. So their stock will be added on top of an accurate stock take, putting stock in that isnt really available.
    This is causing us mayhem.
    We have not yet seen if stock is actually returned at all. In the test we did today where we filled a shopping cart then closed the browser without making a purchase, the stock was not returned immediately. So we dont even know when it will be returned - thats IF a customer actually closes their browser. Any solutions out there?
    Jo

    Hi there,
    The way stock is managed in this situation is desirable for many in that case otherwise shopping on a site and adding to cart would not be viable or use friendly.
    What you mention about not closing a browser though is a case that is not true. IF you go into the shop settings in the admin you can see the cart restore timer which is by default 24 hours but you can change this to as low as 1 hour if you wish.

  • Getting error while creating the Shopping cart.

    Hi ,
    I am getting error while creating the Shopping cart.
    a.Error in account assignment for item 1  (Item  Testing SC ) 
    b.Duplicates of Cost Centre T10063 are defined in SRM  (Item  Testing SC ) 
    Kindly provide the solutions.
    Thanks,
    Dev

    Try the following in the ERP backend system:
    Standard Hierarchy Inconsistencies
    Issue: one Cost Center is repeating in more than one node in Cost Center Standard Hierarchy.
    Update from SAP Global support, the following was the email received:
    in transaction KSH3 please run both the ambiguity and completeness check(Menu -> Extras -> Check and Help functions).
    If you think that your standard hierarchy is inconsistent you can check that as following:
    Run transaction Extras -> Hierarchy - Master data -> Test. The result shows you if there are in consistencies. If that is the case run also Extras -> Hierarchy - Master data -> Comparison.
    Alternatively, you can run the report 'RKCORRH1' (TN SE38).
    Run both the Hierarchy->Master data->test and the
    Hierarchy->Master data->comparison.
    As stated above inconsistency message showed after Test. Run the comparison and you get a similar message.
    Once the above two are run, again when you go to test, the inconsistency disappears.

  • Manual created PO not showing up in the shopping cart for non-catalog scena

    In non-catalog scenario within SRM, the shopping cart shows the purchase requisition and not the manual created PO after
    running the program BBP_GET_STATUS_2. Do I need to run the program CLEAN_REQREQ_UP to retrieve the manual created PO on ECC 6.0 after BBP_GET_STATUS_2? What is the selection criteria for both of these programs?
    Thanks
    Chris Htizke

    Hi,
    I'm not clear you issue. Is it SC -> PR(backend) -> PO(backend) classic scenario ? or You just created a PO in backend system?
    BBP_GET_STATUS_2 will update SC follow-on doc information from backend.
    Regards,
    Masa

  • Create a Purchase Order from a Shop Cart where Stock is held

    A customer requires a shop cart user (Requestor) to decide that they would like to go to straight to Purchase Order for a Stocked Item rather than a reservation being created and stock being transferred from a remote storage location. The customer would like the Requstor to still have the Shop Cart availability subscreen in order to check stock but also be able to enter account (cost) assignment details within the shop cart.
    Customer is on SRM_SERVER 550 SP14 with ERP ECC6 SP18.
    I would appreciate if somebody could share their thoughts and ideas.
    Regards, Kyle.
    Edited by: Kyle Freeman on Jan 28, 2010 4:50 PM

    Kyle,
    We are on SRM 550 as well and although we haven't implemented any stores business process in SRM we did look into it in some detail.
    If your store uses R/3 or ERP MRP processes then there is not a lot of advantage in transferring the stock replenishment to SRM, you just introduce more steps into what is already a fairly intensive process.  If you do not use MRP then transferring stock replenishment to SRM may be the way to go depending on your line of business.
    Basic process for using SRM with stores materials would be as follows.
    1. Transfer Material codes from the back end system to SRM - needs to be done regularly especially if you are creating new materials all the time.
    2. Make the store a business partner so that stock reservations process can be completed.
    3. Put materials in an internal catalog and make the catalog only available to users who require goods from the store via the stock reservations process.
    4. Also put the materials in another catalog where the source of supply is the external vendor who will deliver the goods to the stores for stock replenishment.
    5. Only make this stock replenishment catalog available to users who are responsible for re-stocking the store.
    You may already know that stores stock is normally held against a balance sheet account and not a cost center account so stores stock does not require a cost assignment unless you are generating a stock reservation for consumption against a cost center/order.
    If you wanted to make both sources available to user i.e. store and external you would only have to make both catalogs available to them.
    Hope these thoughts help
    Allen

  • 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

  • Work flow not created for the Shopping Cart

    Hi one of the customers created a shopping cart,in approval overview it is showing as no need of approvals,but the status of approval is 'awaiting approval', but workflow is not created for the Shopping cart. advised to re-order in change mode but still no use. please advise.

    Hi,
      what do you see in SLG1? Check the below t.codes
    SM58 - check for stuck remote function calls
    ST22 - check for system dumps
    SM13 - check for stuck update requests
    SM21 - check in the system log for anything unusual
    SWUD - run a consistency check on the workflow
    Saravanan

  • With WBS element unable to create the Shopping cart

    Hi,
    With WBS element unable to create the Shopping cart
    Problem description:
    Shiopping cart >Item detail > Account assignment
    A/c assignment category " WBS element", Assignment no (some no,eg 1000-2 ).System picks the G/L account and business area,unable to create the shopping cart.Getting error message that
    "The account assignment objects are defined for different business areas  "
    Did i missed anything ,please
    Thanks
    Hareesha

    Hi Hareesha,
    As Sreedhar has rightly said the issue is definitely with the correctness of the data.
    Check the assignment of WBS to the proper business area which you are using to create the shopping cart.Check your org. structure and attributes and their assignments once again.
    Neverthless some OSS notes for your reference if in case you can not able to make P.Os or the SC's / P.Os are not getting transfered to back end R/3.
    <b>Note 727897 - WBS element conversion in extended classic scenario</b>
    <b>Note 1000184 - Account assignment error when document transfer to back end</b>
    Even after validating the data if the problem still persists please explain it clearly with the errors for further help.
    Rgds,
    Teja

  • Creating multiple records from 1 record in the source file for Import DM

    Hi Experts,
    Today I am working on an interface/import where I want to get the following result:
    Source file contains a records like:
    Account, Entity, DriverX
    Sales,EntityA,ZZ
    The BPC appset contains the 2 dimensions Account and Entity next to CostCenter dimension. The DriverX field in the source file is just additional information in the source file. However based on this DriverX we need to determine what CostCenter to choose but we also need to have the same record assigned to a second record in BPC.
    Following my example, based on DriverX value I need to create 2 records:
    Account, Entity, CostCenter,
    Sales,EntityA,CC1
    Sales,EntityA,CC2
    I don't have a problem assigning the record to 1 CostCenter based on DriverX value but I have a problem creating my second record. Does any of you have had the same "challenge" and if so would you like to share the solution for this?
    Best regards,
    Johan
    PS: I am working on SAP BPC, version 7.0 Microsoft version.

    Hi Greg,
    Many thanks for your answer. And yes this would be a solution. However I just simplified my case as the decision to create an second record and where to post is depending on more than 1 field in the source.
    But I will keep it in mind, because I also can opt for a solution to store data differently in BPC fac-tabels which will help me to use script logic.
    If it is not possible to create multiple records from a single records in the standard functionality in the Transformation and/or Conversion file, I have to create a custom DTSX or change my way of storing data.
    Anyone else who is having an alternative idea like Greg came up with?
    Please let it know!
    Best regards,
    Johan

Maybe you are looking for

  • How do I permanently REMOVE the Face Recognition program in Windows 8.1?

    I want to Uninstall, permanently REMOVE, the Face Recognition program from Windows 8.1.  When I select this program from the list of all programs displayed, I am not given an "uninstall" option, only the option to "change", which then begins to insta

  • Audio And Video out of sync in Final Cut, but not in quicktime

    I heave searched the forums to no end to find the solution to this issue, unfortunatley, I have not solved the problem. I am using Final Cut 4.5 on a G4 running OSX 10.3.4. This system has worked perfectly for years with no problems. Neither the syst

  • Premier Elements 7 aspect ratio problem, XP

    I bought this program from a famous online store in UK and when I installed it I was unable to change the aspect ratio for my production. I got in touch with the trader who said they could not help me with this and gave me my money back, without aski

  • COLLECT with AT NEW and AT END OF....?

    Hi Experts, I'm trying to use the collect statement withiin a at new and at end of loop as follows. DATA: BEGIN OF gt_item OCCURS 0,       order TYPE order,       quantity TYPE quantity,       line_no TYPE line_no,       END OF gt_item.   DATA: BEGIN

  • Apps greyed out

    I have an iPad that I used with my Windows machine and iTunes. Syncing worked fine. I now have a new iMac (yea), but when I connect my iPad to iTunes on the iMac click my iPad device name and Apps at the top all of the Apps appear on the screen excep