Delivery creation based on Customer PO number

Hi Friends,
My requirement is like this
suppose i have 5 Sales orders - S1, S2, S3, S4 & S5.
If Customer PO numbers in S1, S3, S5 are P1 &
                                        S2 & S4 are P2.
Then there is a background Job which runs a Program
RV50SBT1 (Transaction VL04) which creates the delivery.
Now the Problem is that Only those sales Orders with same Customer PO Number (S1,S3 & S5 With Cust PO number - P1) should be combined in 1 delivery say D1 and (S2 & S4 With Cust PO number - P2) in another delivery D2.
all sales orders have same shipping point say SHP1. Now i have to write the Logic in some user exit and VL04 creates a delivery and how can i write the logic such that 2 deliveries are created in this case.
Thanks in advance

Hello,
Can a Sales order have more than one Customer PO number?
Is it possible to split the delivery order into as many number of
Customer PO numbers in the sales order?
For the Sales Order type in t-code VOV8, please use the option called "Check purch.order no" and leave this field blank and you can go for multiple Sales Order with a single Customer PO number.
Coming to your second query, Could you please refresh your question as there is lack of clarity on the requirement ? I mean do you mean to split the Delivery Document on the basis of PO number at the item level ? For this you can go for a requirement and attach this requirement in the copying control between Sales Order Delivery Document in VTLA.
Regards,
Sarthak

Similar Messages

  • Delivery creation based on Customer Preferred Days

    Hi,
    We are on SAP 4.7 version.
    My requirement is to have delivery create date (i.e. schedule line date) to be based on certain specific days of the week. For example one customer picks up their goods on Wednesdays only. I want all deliveries due before wednesday to be created on wednesday. These days are specific by customer. I therefore cannot set up shipping point calendars.
    How can this be achieved ?
    I tried, Unloading points -- calendar assignment in customer master. It does not help is determining the schedule line date. I only get a warning message saying "customer will accept delivery on dd/mm/yyyy".
    Any suggestions are highly appreciated.
    Regards,
    Ron

    Hi,
    You should be able to do it via route scheduling - I haven't used it myself yet, but see an extract below from SAP Help about Route Scheduling. In Route Scheduling you can specify by customer what dates and times the customer can receive a shipment. The system does backward scheduling based on the date and time that the customer can receive the shipment, and the delivery creation date should be based on the route schedule. The key is to ensure that the route schedule is used to determine the delivery creation date. Like i said, i havent done this before, but it is worth investigating.
    =================================================================================================
    Processing a Route Schedule  
    Implementation Options
    Wholesale trade customers and stores can receive goods at regular intervals. These delivery rhythms have an influence on the workload in the warehouse. To help delivery planning, the route schedule serves as a tool for planning regular, repetitive customer deliveries on a particular route. At the time of planning, potential deliveries that have not yet been created are grouped in the route schedule. When the deliveries are created, the system can automatically determine a route schedule and assign it to the delivery. All deliveries with the same route schedule and the same date can be processed together in the shipping point. All these deliveries leave the shipping point together at a particular time. They are distributed along the same geographical route.
    · Deliveries for route schedule MO10H leave the shipping on Mondays at 10:00 in the direction of Philadelphia.
    · Deliveries for route schedule MO10M leave the shipping point on Mondays at 10:00 in the direction of Boston.
    · Deliveries for route schedule MO10S leave the shipping point on Mondays at 10:00 in the direction of New York.
    You can print picking lists for all deliveries that belong to route schedules MO10H - MO10S together.
    Maintenance of the itinerary should be uniform for all the route schedules used. To ensure exact planning, maintain the itinerary for all the route schedules. If rough planning is sufficient in this case, you do not need to maintain the itinerary for a route schedule.
    If you do not define any goods accepted times in the customer master for the unloading points of the ship-to party, the system assumes that the goods acceptance is possible at any time. The system determines the delivery time from the departure time in the route schedule plus the required traveling time to the ship-to party, as set in the itinerary (specific move time). This delivery time must be within the goods acceptance time of the unloading point of the ship-to party. If not, the respective route schedule is not determined during delivery creation.
    For more information on route schedules, refer to the Implementation Guide (IMG) under Route Schedules.

  • Delivery Creation based on Backdate stock

    Hi
    Could anyone advise the procedure to have the delivery creation based on the back dated stock.
    IN DETAIIL detail The system should be able to allocate stock in sales order shedule line item based on the back date of last week (example) stock avilablity,  though today no system level inventory due to goods movement.
    Appreciated if could advise in detail.
    Regards
    RG

    Provide with an example.
    At present system checks the stock which is posted in backdate,
    To determine confirmed delivery date, Backward scheduling performed first , if not derived the req del date, then system does forward scheduling- which is a std functionality
    Regards,
    Reazuddin MD

  • Making Customer PO Line Filed Mandatory basing on Customer PO Number in SO

    Hi Gurus,
    I have the following requirement of making Customer Po Line Filed Mandatory basing on Customer PO Number at Sales Order Line level.
    We need to use Sales Order line "Customer PO" line level number to manage the "Cust PO Line" field.
    1.When ever "Customer PO" line level modified make Cust PO Line" field empty and as required field.
    2.When ever "Customer PO" at line level removed make Cust PO Line" field empty and as non required field.
    3.When ever "Customer PO" value at header level is also there,then Customer PO Line value should be Mandatory and Empty after REQUERYING.
    Please suggest me the possibilities as soon as possible.Please provide the soltuion steps as soon as possible clearly.
    which is the best one to accomplish the given requirement?
    1.CUSTOM.pll
    2.Form Personalization
    3.Form Customization
    Note:
    RDBMS : 11.2.0.1.0
    Oracle Applications : 12.1.3
    Oracle Forms Version : 10.1.2.3.0
    Thanks,
    RS

    Hi,
    Thanks for your Reply.I have gone through that metalink note 1309458.1.Can you please elaborate the step by step process so that i can complete my task.
    Thanks,
    RS.

  • Undesiarable Delivery split based on customer group

    Hi Gurus,
    This is very urgent,
    One of my business requirement is to avoid splitting of Delivery when the reference sales order contains line items that belong to different customer group.
    I have a sales order with three line items. Two of which belong to one customer group and one belong to another customer group. When delivery is created it gets split into two based on the customer group. But I dont want splitting based on customer group.
    Is there any SRO settings or enhancement or SAP note etc available for this purpose.
    Helpful answers will be rewarded.
    Thanks in advance
    Ramachandran Babu

    This is indeed the routine I was referring to. This ZUKRL field is created for each order and only orders with exactly the same content in this field will be or can be combined into one delivery.
    However, I don't see customer group here (only distribution channel and division), so this will not be the cause of your problem.
    Regards,
    John.

  • Delivery control based on customer's GRN

    Dear Gurus,
    We follow Scheduling agreement (LP) process. We have a requirement like, when we do the PGI of the delivery (along with the commercial and excise invoices), the goods goes to Transporter's warehouse and kept there.
    Whenever customer ask the transporter to send some of the goods (say PGI made for 500 qyt and customer wants to GRN for 300 initially) then transporter sends the same. Rest will be sent as per the customer's request by transporter. ( FYI..Here transporter updates the delivered qty dispatched status to the client)  
    In this, my client wants to have a control that when we create the next delivery to the same customer and the same material, system should indicate them that out of the earlier dispatched goods, how much of them are inwarded by the customer and left out qty in transporteru2019s WH details.  So that they can avoid creating dispatch again to that customer
    How to map this in SAP. If we have to do with some developments then pls suggest me on how to do the same.
    Thanks in advance.
    Reg,
    JJ

    Hi,
    here you need to have clarity on below points-
    - On whose name goods issued initially?
                           if its customer's name, then stock is out of the system & no chance of tracking, as ownership of the goods transferred from client to customer.
                if its transporter's name, then transporter should treat as ship to party. still you will not have track to consider in availability check.
           Final option will be consider the transporter location as depo/warehouse , then whenever customer demands for goods, first transfer to warehouse/depo & from there issue to customer. Delivering Plant should be always transporter warehouse.
    -Invoice & Excise invoice has to be created on customer, if goods are sending to customer, but not to transfer to the warehouse.
    -Just for the business convinience / for immediate dispatch or timely dispatches to customer, transporter's warehouse is hired to place the stock.  if the stock at warehouse is still client's property then only availability check is possible.
    - Legally, client should show in their books until goods are their ownership, if transferred physically to the other location which doenst belongs to client then that is not considered as client stock.
    Re-discuss about this process with the client & we had similar discussion and convinced FI & their internal auditors as well to set up / consider the transporter warehouse as depot. mapped accordingly.
    Tracking of GR qtty is part of report requirement , where as availability check is a function which needs to be carried out at transaction level. GRN is nothing but a POD.
    Regards,
    Reazuddin MD

  • Determining service level offer for delivery date based on customer/materi

    Hi,
    we operate R/3 4.7 enterprise and are looking at a new requirement to present a service level offer at time of sales order input va01, drvin by customer number or group and the material number... For example customer 123456 orders two materials, ABC, ZXC... ABC has a proposed delivery date of today +2 while ZXC has +5 days, this would populate the "first date" ETDAT and then if not available schedule lines would be based on ATP scope of check. To further explain a second customer 654321 orders the same two materials, ABC and ZXC but this customer has a service level of today +4 days for ABC and +10 days for ZXC... I do not recollect in my experience such functionality in standard sap, perhaps with CRM? OR ABAP user exit?
    Appreciate your thoughts and direction, perhaps siome one has developed a similar scenario or knows with greater experience that the solution is not in standard R3 4.7...
    Thanks and look forward to your thoughts...
    Craig

    Hi,
    When u creates sales order, system reserve material in c u r case
    ABC = Today + 2 days
    xyz = today + 5 days
    Now another order come for same material then system automatically gives u next date if material is not availabe
    ABC = Today + 4 days
    XYZ = Today + 10 days
    But if u have stock then this will not give u further dates,it will confirm as early as possible.
    Kapil

  • Inspection type 01 - inspection lot creation based on vendor batch number

    Hi Guys,
    this topic has been discussed several times here, but I was not able to find a suitable answer for my question.
    I am facing the folowing requirement:
    I have activated inspection type 01 for a raw material.
    I am receiving a firs goods receipt from vendor A with vendor batch number 0001.
    The system creates its own goods receipt batch number 0546 based on internal numbering.
    A new inspection lot is created.
    I am posting a second goods receipt from vendor a with vendor batch 0001.
    The system creates a new batch number 0547 based on internal numbering.
    A new inspection lot is created.
    I do not want to get the second inspection lot, because I received vendor batch 0001 before and I am assuming it has been inspected or is in inspection.
    Option 1: Post the second goods receipt against the first internal batch number created.
    I am aware of this need at the moment, but a user is not always checking if there is an internal batch with the same vendor received before.
    Can I customize the system to create inspection lots based on the fact that the vendor batch number was received before?
    Or do I have to use an exit and some ABAP code to get the wanted result?
    Thanks for your advice in advance.

    You need to use one of the enhancements that Do-Wook has suggested.  There is no standard SAP way to suppress the inspection based on the vendor batch number.
    With the first enhancement you use the system to check for a previously received vendor batch and if one is found, then that batch number is proposed and not the next one from the numbering series.  In this case, the lot isn't created than due to the inspection lot control of the inspection type.
    With the second enhancement you check the vendor batch number and if it's been received you suppress the inspection lot creation and the stock goes right to unrestricted.
    You'll probably need to do one or the other.  Myself, I prefer the first enhancement.
    Craig

  • Need to have a Delivery split based on number of line items

    What are best possible ways to have a control on the delivery creation based on the no. of line items.
    Scenario : Suppose if i have a sales order with say 1200 lines (same to ship to party, same del date & Same Shipping point) and suppose if i want to have a deliveries created for this order that should not exceed 400 lines (hence 3 deliveries for the same order), how can i proceed?. Kindly Advice.
    Thanks & Regards
    Ilango

    hi
    there are  2 options
    If you are creating delivery manually then you can give the no of line items on the first screen of VL01N.
    second option is to use field LIKP-ZUKRL.  You can popluate this field with some logc that for first 400 line itmes the value is 1 and beyond that it is 2 and next 400 it is 3.  The system will split the delivery according to the field ZUKRL.  It the values are different at header it will split the deliveries. you can do this at the time of copy control or user exit.  Please chek the best feasbility with the technical consultant
    Regards
    Yatin Thakkar

  • Customer Sales Order number & Customer PO number

    Hi experts,
    We are doing third party sales. So once we create Customer Sales Orders manually via VA01, users also manually create Purchase Req for it.
    We do not automatically create PR from Sales Order, as this is not my clients requirement. So we don't use item category group BANS in the material master.
    In the item level in the PR under the Contact Person tab, the creation indicator shows "V Sales & distribution document".  Once PR is created this updates the PR number under the item level Schedule lines in the Sales Order.
    After PR creation, we run a job to create PO's.
    But the new requirement from the client is to automate this PO creation thru EDI.
    Our SAP is 4.6C & the Idoc type we use is ORDERS05 & Message Type is ORDERS. We are using EDIFACT std.
    Once I get the idoc xml file for this PO, I find that my Customer PO number (from the Sales Order) & also the Customer Sales Order number is not copying to the xml output.
    Please advise what needs to be done inorder to have it.
    This will be great help & I will reward for the answers !
    Rgds,
    Pri

    Hi,
    In VOV8 you can only Check whether the purchase order number already exists or not.
    If you want to do any other check like you said based on customer & PO number combination then follow steps below:
    Ask your ABAPER to
    1: Create a Z-table where you can store the required Customer No & PO No combinations.
    2: Write a code to check the PO no & Customer No entered in Sales order with the entries in the Z-table & throw an error if there is no match.
    This code needs to be written in the User exit Save_document_prepare by your ABAPER.
    3: This will work at time of Save & not a point of entry. The result will be same "error msg will be thrown"
    regards
    Edited by: Innovation is key on Feb 28, 2011 6:08 PM

  • Auto delivery creation without settings!!

    Dear SD wizards,
    At my place the sales order - delivery settings are NOT for automatic delivery creation. However, in
    some cases, the delivery is getting created automatically in the background and can bee senn in the doc flow.
    Have done some introspection in these 'some' cases and found that they pertain to a few of our sales ofifces / storage locations and probably with some of our users not ALL the users.
    Would there be any settings for auto delivery creation based on storage locations / user access?
    Do advise how to go about resolving this unnecessary 'deliveries'!
    Thanks and regards,
    Tariq

    Dear Lakshmipathi,
    Thanks for the response but thats not the case. I had earlier checked the order settings and not found the "create delivery immediately" settings for the said order. However, on your advise I again went in there to find the 'tick' you said but I don't find any 'checkbox' to enter a tick, but the same drop down in the section 'Shipping' box named "Imediate delivery". the entry is blank in there, thereby signifying no automatic delivery is configured.
    Moreover, Do recall my initial point that it is for SOME of the cases only for which this is happening, doc type is common for all. What I have found is the storage location / sales office / userid as the main differentiating factors, till now.
    Any pointers anybody...??
    Regards,

  • Serial Number validation during Delivery Creation itself(PGI-system checks)

    Process:
    Sales Order PR(Purchase Order) GR( New Serial Numbers are created automatically or manually keyed in)
    Once the Goods Receipt is received, we do the (SO) DELIVERYu2014SERIAL NUMBER ASSIGNMENT Post Goods Issue
    Issue:
    Current Serial Number Profile Management does not do a valid serial number check during DELIVERY CREATION where we do a SERIAL NUMBER ASSIGNMENT.
    Only during POST GOODS ISSUE, the check happens for valid serial numbers; this is too late in the game for business as there is a time lag of 3 days from the DELIVERY CREATION and PGI.
    Reason being--- We donu2019t check the following u201C Existing Stock Checku201D( which does a serial number validation during delivery creation as well)
    SPRO>Plant Maintenance and Customer Service>Master Data in Plant Maintenance and Customer Service>Technical Objects>Serial Number Management>Define Serial Number Profiles
    If we check this option, the business requirement to do a valid serial number check does happen during delivery creation, however we cannot create new serial numbers during Purchase Order- GOODS RECEIPT.
    QUESTION:
    Can we have the system check the valid serial numbers from stock during delivery creation and serial number assignment.
    And Also create new serial numbers during Purchase Order- Goods Receipt.

    Hi
    1.In std SAP its not possible to check the serail number during Delivery creation, through enhancement it can be done.
    2.During GR for PO serial numbers can be created.
    Rgds
    Ramesh

  • Updating Batch Number while delivery creation from sales document

    Hi Experts,
         I have to write code inside user exit MV50AFZZ which updates batch number during delivery creation. Suppose I have a sales having more than one line items. Each line item have different material numbers, and one material number may have more than 1 batch number. And all these batch numbers have to be updated for their corresponding material numbers. Batch  number corresponds to LIPS-CHARG. So how we can maintain values for this field more than once for a particular material number?

    Hi Pankaj,
    Were you able to update the Batch Number?
    What is the function Module that you used? and where exactly did you code in the logic?
    Thanks,
    RV

  • How to pick the data based on customer number

    Hi All ,
    greets....
    i have a requirement to select  the data based on customer number and then do furthur processing .
    example:
    this is some 10 dcouments in customer nr:v1000
    and 20 documents in customer v2000 in a internal table how to select that,
    thank s in advance.

    thier is an internal table which is having some 1000records.
    and their is 6 customers.
    in which i should pick the data based on customer number.
    how to write a code for that?

  • Blocking a particular customer for immediate delivery creation

    Hi All,
    I have the following requirement
    Right now whenever the sales orders comes from the customers through EDI, the deliveries were created immediately. This was set up through the sales document. This is being used for the document KE.
    Now we need to stop this immediate delivery creation for a particular customer when orders come through EDI.
    We can not do this by blocking the customer for deliveries(VD05) because this will block all the sales documents for deliveries. We need this to happen only for KE.
    We cannot remove the immediate delivery creation set up from the sales document(KE) because this will affect all the customers(for other customers this should create immediate delivery).
    I feel this has to be controlled through a user exit.
    In that case what should be the logic used?
    What should be checked before blocking the delivery for a particular customer?
    Please advise on this.
    Thanks in advance for your help.

    Harini,
    I am sure you do not want to take the route of achieving this by u2018Userexitu2019
    Here is the alternate solution by simple customizing.
    You need to do it in two steps:
    Step 1:  Define reasons for Blocking the delivery
    IMG > Logistics Execution > Shipping > Deliveries > Define Reasons for Blocking in Shipping
    Select :  Deliveries: Blocking Reasons/Criteria 
    u2022  Define a blocking reason : say  ZZ u2013 delivery Hold.
    u2022  Check  the Order check box
    u2022  Save
    Select:  Delivery Blocks
    u2022   Assign  SO to Delivery ( I guess KE to whatever delivery type you have configured)
    STEP 2:
    Go to Customer Master record for whom you want to block them for normal process:
    XD02 > enter customer master in change mode.
    Select u2018Extrasu2019 tab in main menu
    You see u201C sales and Distribution blocksu201D
    Under this click on  delivery block ( for  All sales areas or desired sales area)
    You will find the reason for blocking (ZZ)  you created in STEP 1
    Assignu2019 ZZu2019  to this customer and save.
    Thatu2019s itu2026u2026 !!!!!
    When  a sales order received with this customer through your EDI, the order will be blocked for delivery.
    One need to release the order manually by releasing this block
    VA02 >  sales tab : remove the block from the delivery block
    Hope this helps.

Maybe you are looking for

  • Relocating and moving my Mac

    Hi Everyone, I'm about to relocate to another state and plan on sending my G4 by Fed Ex - Do I need to prepare my Mac for the journey other than placing it back into it's original mailed to me box/container? I may also change my move plans for my Mac

  • Slide show auto start

    trying to figure out how to have a simple slide show automatically start when someone goes to my iweb site. Any suggestions would be greatly appreciated

  • Read a file content into Variable

    Hi There, I've a file in Unix and the content of it need to be assigned to an ODI variable. How can I do it? Regards. -Bhavani

  • HP Pavillion dm4 - 1002tx Entertainment Notebook - Hardware Upgrade

    Hi, Does anyone can help me answers my silly questions regarding above subject. I have just installed a simulation games on my laptop HP PaviIlion dm4 - 1002tx Entertainment Notebook. I have problem on running it and beleive that my laptop system doe

  • Classic on 10.4.10 after Migration

    hello, I just purchased a new Mac, and Migrated apps and files from my previous Mac. I can see the OS9 System folder (it is now named System Folder (from old Mac)). Classic will not launch so I thought this folder needed to be renamed (to System Fold