SC is split in multiple PO when delivery date is different

Dear Expert,
We are on SRM 5 (SRM SERVER 550) in classic scenario.
When we create a shopping cart in SRM , a PO is directly created in R/3. When we use multiple items, the system is generating multiple PO's because the delivery date is different. We do not want the system to create multiple PO's, even if the delivery date is different. Therefore we tried to implement BADI BBP_BS_GROUP_BE with method GROUP_PO_BACKEND, but this does not seem to do the trick. Any suggestions on this?
Regards,
Tom

Hi Tom,
you can check the splitting criteria in the SC transfer (bbp_pd_transfer - methode SPLIT_BACKEND_PO):
SORT lt_object_split BY
fixed_vend
proc_org_ot|
proc_org_id
proc_group_ot
proc_group_id
agreement
ctr_hdr_number
be_doc_type
be_co_code
vper_end
vper_start
plant_country
number_int.
With BAdI badi_group_po_be can you change this for the PO.
If the delivery date is different between SC lines, just one PO should be created with different lines.
Delivery date is not an split criteria.
Regards
Laszlo

Similar Messages

  • Why does a mail-merge in MS Publisher split into multiple files when printed as a pdf file?

    Why does a mail-merge in MS Publisher split into multiple files when printed as a pdf file?

    'Cuz that's what mail merges do.  They create multiple documents based on the parent doc and all the names/addresses in your data tables.
    Perhaps if you describe exactly what you're trying to do & why you need PDF, we can point you to relevant tutorials.
    Nancy O.

  • VA01 ATP incorrecct results when delivery date is programmatically changed

    Hi Guru's,
    When creating or modifying a sales order (VA01 & VA02), we need to programmatically assign the delivery date a) for certain customers or b) when the delivery priority is changed from downs to regular order and visa-versa. For examples: 1) user enters a delivery date 02/01/2012, the program (userexit_check_vbep) will automatically replace it with a calculated
    date (i.e.. 2/20/2012). 2) if user changes the delivery priority from regular order to a downs order, the program will automatically replace delivery date to current date.
    But are getting incorrect ATP results when requested delivery date (based on what user enters in VBAP-LPRIO "delivery priority") is programmatically changed and then user manually enters the date and run ATP (see steps 8 & 9 below).  
    VA01 execution steps:
    1) Used VA01 and entered a material of quantity 1, requested date 2/01/2012, delivery priority = regular. Date was overwritten automatically with program calculated date 2/20/2012 as expected.
    2) ATP automatically ran successfully for the initial entry.
    3) I then changed the delivery priority from regular order to downs order & requested delivery date was automatically changed to current date 02/01/2012 as expected.
    4) ran ATP manually and all is well.
    5) I then changed the delivery priority back to a regular order and date was automatically changed back to 02/20/2012 as expected.
    6) I ran ATP manually and again all is well.
    7) I then manually changed the delivery date 02/25/2012.
    Incorrect / bad results:
    8) ATP then passed back 2 sub-items lines with the quantity of 1 each. The quantity on the main line item is doubled to 2.
    9) I then tried to delete the main line item manually to start all over, but the transaction just hangs because it tries to go to ATP, but cannot resolve what to delete.
    Do you have any suggestions to help resolve this?   
    The following SAP user-exits were modified:
    a) MV45AFZB
      1) userexit_check_vbap
      - for certain customers (a custom "override days" field stored in VBAP is populated), delivery date is automatically calculated using this field (i.e.  current date + override days).   If user entered date < calculated date,   calculated date is used (xvbep-edatu).
      - If user changes delivery priority, xvbep-edatu will be set automatically to either the calculated date (regular order) or current date (downs order).
      2) userexit_check_vbep : if user enters a delivery date (vbep-edatu), it is checked against calculated delivery date & overwritten, if it is < calculated date.
    b) MV45AFZZ - userexit_move_field_to_vbap :
      - override days is determined & delivery date is automatically calculated. If user entered date < calculated date, calculated date is used (xvbep-edatu).
      - If user changes delivery priority, xvbep-edatu will be set automatically to either the calculated date (reg.order) or current date (downs order)
    Reason for updating xvbep: if only vbap-lprio or vbap-override (custom field) fields are changed, the VBEP user exit routines (userexit_move_field_to vbep or userexit_check_vbep)  do not run.  Change to xvbep does trigger userexit_check_vbep.
    Please advise.
    Joe

    This is not an SD question and should be moved to ABAP forum. It seems to me that the issue is not with incorrect ATP but with the subitems / main item updated incorrectly. This needs to be resolved by a developer who wrote the user exit. Most likely either a user exit is triggered when not expected or a wrong line updated, etc. Debugger should be helpful.
    Also instead of setting delivery priority, why can't the users just change the delivery date to current date? This seems just as easy to me...

  • One Purchase Order: Different delivery dates in different ports

    Hi All
    I have a Purchase order.  The material is coming through 3 ports.  So, I need the system to automatically calculate the delivery dates into these ports.  I amso need to enter the actual delivery dates in these ports.  And finally I need to do the GR in my storage location.
    Is all this possible without ant ABAP development work?
    Regards
    Jack

    Yes, it is sort of Imports.
    I do not have full details as of Now.
    But, if we have GTS, is it feasible?  If Not, what are the options?  I dont think we have a way out in std PO.  Any pointers will be very useful.

  • How do I show multiple images when I hover over different areas with the MouseOver function?

    I’ve been working on a flash simulator to show what our Expert Range Finder binocular product would look like. The idea is to hover over an area, or image and it show the range or how far the object is from you.
    I have been successful in making it work with the following code below.  Yet I cannot add several "range" images (or symbols) when I hover over a certain area.  Can someone help me with the code?  I looked for hours on the internet and I cannot get it to work.  I am new to Flash but am starting to learn as much as I can.  Any help is appreciated!  Thanks!
    Actionscript 3 Code:
    img_nv.mask = mask2_mc;
    mask2_mc.buttonMode=true;
    mask2_mc.addEventListener(MouseEvent.MOUSE_DOWN, onDown);
    mask2_mc.addEventListener(MouseEvent.MOUSE_UP, onUp);
    function onDown(e:MouseEvent):void{
    mask2_mc.startDrag();
    function onUp(e:MouseEvent):void{
    mask2_mc.stopDrag();

    Ned:
    I can't thank you enough for your help!  I just have a few questions left if you don't mind.
    If you look at the picture, the text shows up in the "tfield" yet there is a weird symbol after "37Y" that I cannot get rid of.  In the code I erased in line 29 " + " zone" " Is that the reason why it is showing a weid symbol?
    One more question. I tried placing multiple ranges and text fields and they are not working.  All I did was duplicate the code for the first range and text like below but I am missing something.  Will you kindly help me?
    Actionscript Code:
    range2.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver, false, 0, true);
    range2.addEventListener(MouseEvent.ROLL_OUT, manageMouseOut, false, 0, true);
    function manageMouseOver(event:MouseEvent):void{
      tfield2.text = "over "+ event.currentTarget.name + " zone";
    function manageMouseOut(event:MouseEvent):void{
    tfield2.text = "";
    range3.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver, false, 0, true);
    range3.addEventListener(MouseEvent.ROLL_OUT, manageMouseOut, false, 0, true);
    function manageMouseOver(event:MouseEvent):void{
      tfield3.text = "over "+ event.currentTarget.name + " zone";
    function manageMouseOut(event:MouseEvent):void{
      tfield3.text = "";
    . . . .and so on for two more ranges and text fields.

  • Best way to show multiple copies of same data to different users

    Hi,
    I am new to configuring and using Oracle. I have an oracle db installed on a server machine and I loaded it with a set of data. I have multiple users who would all like to access the tables but they need to see unique copies of the data.
    What is my best approach? Should I create a new database instance? If so what is the best way to copy data to the new instance?
    Any help is greatly appreciated.

    Each developer should copy from the 'base' schema to his own the tables he requires to do his work. Give each developer select privileges on the 'base schema' tables so he cannot change them. This way, the developer can refresh his data as needed on his own. Public synonyms for the base schema tables will enable developers to only have to copy tables they wish to modify.
    Creating a separate fully loaded schema for each developer is going to create a never ending load of work for you as developers will be constantly asking you to refresh their schemas. Alternatively, you could create an export of production on a schedule and let the developers do the import to their schema when they wish.
    Basically, these folks are developers and, IMNSHO, should be managing their own development schemas.

  • APEX Sequence number when passing data from different instances

    Hello there,
    I have a question for you guys.
    I have an application sitting in my Production area, and the one in test needs to be up-to-date (the data). So I grab the excel file, truncate the table in my test area and load the table from prod into the one in TEST.
    The problem with this is that when I tried to insert a record to the table it gave me the unique constrain error. Because the sequence for the table in test next number is 500 and the last number (primary key) in PROD is 10,000.
    I tried to change that number in APEX but it won't alow me to. The only thing I can change is the minimum and the maximum value.
    Can I change the min to 10,001 so it can now start fro there or what would you recommend to shance the last sequence number of the table to 10,001?
    Regards,
    Ruben Tapia

    Hi,
    Copy your sequence SQL e.g. to notepad. Drop that sequence.
    Edit SQL in notepad by changing number after START WITH to be 10001.
    Then just recreate sequence from your edited SQL =)
    Br,Jari

  • Hi cani use multiple statment to past data frm different work area

    hi i am doing like this is it ok
    LOOP AT it_inv_data  INTO wa_inv_data.
    READ TABLE it_zfi_inv_master INTO wa_inv_master  WITH KEY
                                    CUSIP = wa_inv_data-CUSIP.
              IF SY-SUBRC = 0.
               wa_maturity-cusip = wa_inv_data-CUSIP.
               wa_maturity-status = wa_inv_data-status.
               wa_maturity-zdate = wa_inv_data-zdate.
               wa_maturity-CREDSUPP =  wa_inv_master-CREDSUPP.
    here ineed some data from wa_inv_data and some from wa_inv_master can i combilnely use this as above using data from wa_inv_master and wa_inv_Data to pass to wa_maturity
               APPEND wa_inv_data TO it_maturity.
               CLEAR: wa_inv_data.
              endif.

    Hi,
    It is possible to do it. Your logic is almost right.
    You can use Move-corresponding to assign values from workarea if the field names are same in the source and target fields.
    Loop at itab1 into wa1.
    move-corresponding fields of wa1 to wa3.
    read table itab2 into wa2 with key key1 = wa1-key1.
    move-corresponding fields of wa2 to wa3.
    append wa3 to itab3.
    endloop.
    Regards,
    Lakshmi.

  • Delivery Date in delivery Vs. Delivery Date in Orders

    Hi Everybody,
    I've a problem building a query in Sap BO:
    I'm trying to check if date of delivery in each row of the Sales order has been respected looking at the delivery date in delivery.
    This is the query I built:
    SELECT T0.DocNum, T0.U_CAUS, T1.ItemCode,T1.ShipDate, T2.ShipDate, CASE WHEN (T2.ShipDate <> T1.ShipDate) THEN 'DIFFERENT' ELSE ' ' END as 'SCOSTAMENTO' FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN RDR1 T2 ON T1.DocEntry = T2.TrgetEntry INNER JOIN ORDR T3 ON T2.DocEntry = T3.DocEntry WHERE T0.DocDate > '01/01/08' AND T1.ShipDate IS NOT NULL GROUP BY T0.DocNum, T0.U_CAUS, T1.ItemCode,T1.ShipDate, T2.ShipDate, CASE WHEN (T2.ShipDate <> T1.ShipDate) THEN 'DIVERSO' ELSE ' ' END
    Problem is that, in sales order, where I've more than one delivery date for different codes, SAP gives me multiple results.
    I thought to concatenate T1.DocEntry with T1.ItemCode and T2.TrgetEntry with T2.ItemCode and then link them with LEFT OUTER JOIN. Do you think is good? If so, can you help me with the sintiax of this function? Is ther a better way?
    Thanks in advance
    Edited by: Philip Eller on May 13, 2008 8:48 AM
    Edited by: Philip Eller on May 27, 2008 11:32 AM*

    Hi Suda,
    thanks for your help but it doesn't work
    Query now is:
    SELECT DISTINCT T0.DocNum, T0.U_CAUS, T1.ItemCode,T1.ShipDate, T2.ShipDate, CASE WHEN (T2.ShipDate <> T1.ShipDate) THEN 'DIFFERENT' ELSE ' ' END as 'SCOSTAMENTO' FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN RDR1 T2 ON T1.DocEntry = T2.TrgetEntry WHERE T0.DocDate > '01/01/08' AND T1.ItemCode = T2.ItemCode
    I still have duplication where I've the same ItemCode with 2 or more delivery dates in delivery...
    Any ideas?

  • Different Delivery Dates in STO's

    Hi All,
    At present in our system if the delivery dates is different in STO (Stock Transfer Order) it will create different Outbound Deliveries, In Practical Snenario, We are sending the stock from One Warehouse to One Store with different delivery dates,Our question is If We have created multiple STO's from One Warehouse to One Store with different delivery dates It needs to create only one outbound deliveryfor all multiple STO's.
    kindly suggest how to create only one outbound deliveries for multiple STO's as We have same Vehicle for carrying the multiple STO's. from Warehouse to Store.
    Note :- We are using the T-code VL10Fand VL10B for creating the outbound delivery against the STO'S.
    Thanks & Regards,
    Murali.M

    Hi,
    Go to customizing VTLA (copy control for deliveries). Then find at Header level the Source/Target that corresponds to your Replenishment Delivery.
    And then go to Header Data transfer routine (I have routine 301 maybe yours is other) and put a Break Point in it. Then in VL10B select two STO's with different dates you would like to have their deliveries COMBINED and process with button "Background". The debugger should stop at your breakpoint.
    manually replace LIKP-LFDAT for a common date (for example today) when debugging routine and see what happens.
    This should result in a combined delivery with the date you specified in debugger
    Best Regards,
    Sebastián Ligueros
    Alynea-MVC

  • Stat. Delivery Date SLFDT not updated in ME21N

    Hello.
    We have updated SAP from 4.6C to ECC 6.0 and now SLFDT is not filled when creating PO (ME21N).
    Not first time and not when delivery date is changed (and not printed).
    Does anyone have an idea on where to look/debug? Where in the code is this field updated?
    Could there be a userexit/BADI that stop this field to be updated?
    Regards,
    Allan Finden

    The document which are already exist before your changes than it will not report.
    becuase the info sturcture updates is not happend for those transaction.

  • Delivery dates in schedule lines is not changing in sales order

    Dear all,
    delivery dates in schedule lines on line item in sales order is not changing.delivery dates are different in schedule line of partial qtys.i have to do same delivery date on all schedule lines.
    Regards,
    Praveen

    Hi Praveen
    1. Schedule Line dates can be changed manually or by doing an availability check only.
    2. In case if you change the delivery date in the header it will not change automatically in the line item level.
    3. You need to do it manually only.
    kindly let me know more details.
    reg
    dsk

  • PR delivery date calculation for TAB orders

    Hi All,
    1) The PR which is created via TAB item in the sales order - the delivery date for such PRs is equal to the delivery date in the sales order. This is happening only for TAB orders without BOM explosion in the sales order.
    2)In BOM exploded sales order - (meaning the parent item is entered in the sales order with item category TAP. ) -The sub components of this parent item is auto populate in the sales order. If any one of these sub components have item category TAB...then it creates a PR which has the delivery date equal to the "Planned delivery time" in the info record.
    Can anybody please explain why the PR default delivery date is different in the two cases explained above. Both are TAB items...the only difference is one is a stand alone TAB item and the other is via BOM explosion.
    Your help will be highly appreciated.
    Thanks
    Ashok

    Hi Sasy
    Delivery date calculation for MRP generated PR will follow the below settings
    1) Purchasing processing time in the Plant parameters in the customization and is calculated based on the Factory calendar days.
    2) Planned delivery time maintained in PIR and is calculated based on Normal calendar days
    3)GR Processing time Maintained in Material master record, calculated based on Factory calender.
    If you add up in the following sequence then you will get the exact delivery date.
    Purchasing Processing time + Plnd delivery time + GR processing time.
    Hope it will solve your  issue.
    Thanks / Karthik

  • Request delivery date

    Hi,
    almost all sales order that have been created in date 23.09.2010 have request delivery date to 24.09.2010. I checked holidays calendar and there is no holiday at this date.
    What was the problem? Why request delivery date was different from creation date?
    If anyone has any idea....
    Thank you.

    Hi
    KIndly check the calender assigned to the below org elelments
    1.sales org-
         Enterprise Structure
            Definition
               Sales and Distribution
                      Define, copy, delete, check sales organization
    2.Plant
        Enterprise Structure
             Definition
               Logistics - General
                 Define, copy, delete, check plant
    Regards
    Dam

  • Splitting of text fields when using multiple fonts within a text field and exporting it to XFL.

    Hi All,
    I have been trying out  InDesign and exported files to XFL for use in Flash. If I use a single font for a text box then everything looks fine in flash, but if  I use multiple fonts for the same text box its split into multiple text boxes. For making this more clear I have attached an image.
    Any help to resolve this!!!

    Paragraph styles are tied to the paragraph, not the page.
    You don't say which version you are using, but here's something you could try in CS3 or CS4. Set up a baseline grid in the preferences to match the main pages. The spacing should match the leading of the body text. Make a special paragraph style (you can base it on the body text style) that you will apply to text onthe chapter start page, and as part of that style set it to align to baseline grid. Now for the trick. Select the  text frame onthe start page and define a custom baseline grid with the spacing you want. Save it as an object style, too, while you're at it. The strating text should align to the custom grid on the start page and the documetn grid on the next page.
    Peter

Maybe you are looking for

  • Programming Key Functions in Web Dynpro Java

    Hi, "Amigous" How can I Programming Key Functions in Web Dynpro Java, like F1, F2, F3...?? Thanks in advance. P:D. I don´t have Swine Flu.

  • Why is our CRM and Acrobat Reader breaking each other ?

    Hi everyone. We are facing here a probleme for years, since Reader 6 thru the latest 9, installed yesterday. We have 4 Windows Server Terminal serveur (2x2000 with Citrix,2x2003 with only Microsoft Terminal server.). We are hosting a simple CRM appli

  • Problem in testing UI add-on after login method changes

    Dear All Experts/Gurus, I have changed login method to a new one of a UI Add-on (because I just have SDK implementation version license). Using add-on identifier generator, I generate the add-on identifier string and put on the source code : Public S

  • Scanlines with DVI-out

    Hi, Like many others I'm a new switcher and my experience with Mac has been good all along so far - except for this one thing; My external monitor is behaving quite strange since I began using it with OSX (formerly used with Win XP). The problem is t

  • Disable a field at Item level for SC confirmation Screen

    Dear All , PLEase help me with a step by step instruction on how to disable field at Item level of  confirmation screen of SC . I tried in Webdynpro component : Web Dynpro Component:/SAPSRM/WDC_DODC_CONF_IBD in se80 and below is what I get ; When I c