Tracking Order release and Delivery Document

Hi,
   I have the belwo scenario. Sales order is enter and released by User1 and delivery document is created by user2.
   The sales order can have multiple releases by User1, USER1A, USER1B. The same as for Delivery document USER 2, USER 2 A, USER 2B.
  Is there a way to link all these?
Basically i am trying to link VBAP ( order Header ) CDHDR ( Change header table) and LIKP ( Delivery Header).. How can i recognize for 5 order releases 4 or 5 delivery is created and by which user?
Your help would be highly appreciated.

Hi Ashwini
I would suggest you this.
Create a Z table with SO Number, Line number, Status and user id.
Create an output type and assing it to the sales order.
In the program for the output type write a simple logic to update the Z table.
Now you can link the sales order line item from VBAP, Ztable and LIKP.
Please reward points if this helps.
Thanks

Similar Messages

  • Availability check on storages in sales order and delivery documents

    Hi all,
    I'm verifying if it's possible to find a standard or a custom solution for this type of problem:
    I have a scenario in which there are more storages relevant for MRP (ex. 01, 02, 03, 04), and, in if I check availability in sales order or delivery (using checking rules "A" or "B") with setting which considering storages location inspection in availability check control, system check if there's stock available on all these storages.
    I'm trying to verify if it's possible to consider only some on these storages (ex. 01 and 03 only) in sales order and delivery documents availablity check.
    I know that in sales order storage location field is normally filled only using exit, but i don't know if it's possible to do, using a user exit, check availability considering only some storages and not all. At delivery level i have tried to use stock strategy, but this functionality don't have consequences on availability check, also if it's relevant during good issue phase.
    Any suggestion will be appreciated.
    Regards
    Gianpaolo

    Hi Gianpaolo,
    We had some issues with availability check on a Customer Site.
    I don't remember right now if we had to exclude storage locations from MRP to take them out from ATP, but I guess Shiva is 100% correct.
    At the end, what was done was to always "force" a unique storage location in the sales order item, which will be the storage location used for shipping of the delivery of course.
    If you use WM in your plant, then you will have no problem in having a unique storage location, so no problem.
    Anyway you are correct in your analysis, if the Storage location is not informed in the sales order item, then all the plant stock is taken in account for ATP.
    Best Regards,
    Franck
    Freelance Logistics SAP Consultant

  • Reinitialize Sales Orders, Billing and Delivery (11, 12 & 13)

    Hi,
    Due to continues rollouts we need to reinitialize Sales Orders, Billing and Delivery do-cuments from R/3 into BW.
    This requires us to delete all loaded data, logs, queues etc. on the BW side - Fair enough.
    The real challenge come as we need to run the transactions OLI7BW(order), OLI8BW (billing), OLI9BW (deliveries) on the R3 side in order to fill the setup tables. Here we need to switch the "block all orders" on in order to ensure that no new documents are created while load-ing.
    In relation to the above situation I have a couple of questions:
    Is there no way of doing this in a more "online" fashion?
    What transactions are actually blocked by flicking the "block all orders"?
    Thanks in advance
    Michael Bisfelt
    Arla Foods a.m.b.a
    Message was edited by: Michael Bisfelt

    Hi Michael,
    I've seen this process accomplished without blocking orders, but instead by blocking all transactions that may in any way lock an order or related sales document.  Also, you can dramatically speed up the process of gathering the old documents by running multiple batch jobs (with different document number ranges) at the same time.  In this case, I believe you want to "uncheck" the "New run" flag.  I've seen runtimes for this reduced from over 24 hours to under 4 hours.  The important thing is that you don't want to have ANY activity that modifies or locks order documents until after the date and time of termination that you specified, otherwise you will lose data on your transfer to BW.
    Regards,
    Chris

  • Move Order lines and Delivery Detail lines - Relationship

    Hi All,
    Is there a one - to - one realtionship between Move Order Line and Delivery Detail Line?
    i.e., Each Move Order line will correspond to only one Delivery Details line Record?
    Thanks in advance.
    Regards,
    Gowri

    Hello,
    There is a one - to - many relationship between Move Order Line and Delivery Detail Line when you split lines in delivery.
    select * from mtl_material_transactions t you have source_id.
    select * from WSH_DELIVERABLES_v t you have move_order_id.
    Regards,
    Luko

  • Is the purchase order number and purchase document numer both are same

    is the purchase order number and purchase document numer both are same or different?
    thanks.

    Hi Sunny,
    Yes they are same. You will be creating a purchase order in ME21n. After creating purchase order you will shown a number for that order.
    Reward points if useful.
    Thanks,
    Swamy Kunche

  • Sales order document flow and delivery document flow are not in sunc

    Hi ,
    whan I look at the Sales order document flow  there are lot of line items rejected with specific reason , but for the same line items already delivery and PGI in place . When we try to do the invoice it shows error , it can't be invoiced because line items in sales order are rejected .
    Ideally in business when delivery and PGi created for the sales order , it should not allow the line item to reject . system should look at follow on documents in place . Reverse process should follow .
    Pls provide solution to stop item rejection when follow on delivery document in place .
    thanks and regards.
    Sunil Tripathy

    Hi,
    Goto the T.Code "VOV7".
    Select your item category.
    Details.
    Maintain the Completion rule as "A(Item is completed with the first reference)".
    Save.
    If you do this after the follow on document is created,the item is completed and you cannot reject the item.
    For your second question,
    Goto the T.Code "VTLA".
    Select your valid combination.
    Click on item.Select your item category.Details.
    There is a check box called as "Update document flow".Tick that one.
    Save.
    Regards,
    Krishna.

  • Sales order stock on delivery document and transfer order

    Hi all,
    At my current client I have a requirement where we need to put stock against sales order (sales order stock E). So, being a MTO process we create production order and perform goods reciept to unrestricted stock. To avoid getting picked up by a different sales order, we move the stock to sales order stock using 412 E (tcode: MB1B). Here are the issues I am facing currently:
    1. Is there a direct way of receiving production order directly to sales order stock?
    2. I couldn't find a way to do the first, so I am currently receiving production order against unrestricted inventory and then move it using MB1B. So, the stock can be seen to assigned to sales order.
       2a. When I create delivery it is not consuming same stock, it is consuming inventory out of unrestricted stock (if any, in case no inventory is available it throws error of 0 available quantity). Once I have assigned sales order stock why is it still looking into unrestricted? Is it due to the requirement type which is assigned. Do I need to change the item category so availability will check sales order stock (similar to item category TAB)?
      2b. This probably will be resolved if I get the delivery fixed but we have SAP WM and during TO creation I don't see the special stock reference filled in? I tested this process with item category ZTAB (copy of TAB) which creates purchase requisition and it seems to be working but I don't need the purchase req for my case.
    3. This is more of an accounting issue: when I attempt to move stock from unrestricted to sales order stock using 412 E, I was getting "Account XXXXX is not assigned to cost center". So, I went in an assigned a cost center to this cost element. IS THIS REQUIRED & WHAT IS THE RELEVANCE as it takes stock out of inventory.
    I understand it crosses other functional areas but even if you can clarify 1 part of it, will be very helpful.
    Thanks.
    Naren

    Dear Friend
    You are telling that it is MTO scenario and you are posting stocks into unrestricted stocks
    This is entirely wrong
    This is happening because of a simple thing missing in your sales order item category configuration in VOV7 that is special stock indicator E is missing which should be there
    This is the cause of whole problem
    MTO item categories will have special stock indicator E in standards
    In MTO based on the sales order production order is triggered and stocks are receipted against sales order and not into unrestricted use by defaut in standard
    You will receive MTO stocks as sales order stocks in your plant  only in standard
    But it is not happening for you because of  stock indicator E in VOV7 of your sales order item category is missing
    Posting MTO stock in to unrestricted use is meaningless  and the same is happening because of a slight miss out in setting in VOV7
    This is the solution for issue no 1
    For issue no 2
    You have created the sales order( MTO order) without special stock indicator E and now you are doing a transfer posting in MB1B with 412 E  referencing the order no sales order stocks  that is Fine
    You are getting an error that only zero qty is available either at delivery or at pgi eventhough in MMBE you will find sales order stocks in your order name
    This is happening because
    Reservation in MB1B is done with special stock indicator E for sales order
    But the  same sales order is not created with special stock indicator E in VA01 during creation
    There is a mismatch
    Hence the system is not able to sense while the order comes for delivery there are already stocks are reserved
    By inputting  special stock indicator E for sales order item category the whole issues will get solved
    By doing that there is no need to do MB1B itself
    The first step itself will get corrected  as the stocks will be posted to sales order stocks no need for MB1B
    No need to touch TAB make it ZTAB as it is meant for a different purpose it is for individual purchase order not to be used for MTO
    *By marking the special stock indicator as E in your sales order item category your entire issue will be resolved*
    Issue no 3
    MTO is based on costing for which you have take the help of FI person
    Note Very important
    If U make the settings now in item category it will not work for the existing or already created order
    With existing orders it will have the same error as the order is created without special stock indicator E
    Only for new orders it will work and from Now on it will work
    Test it with new order cycle starting from VA01
    Please let me know this issue has got solved or not?
    I am 200 % sure it will get solved
    Regards
    Raja

  • Find the sales order number with  delivery document

    hi:
    i want to quickly look for the delivery document  related the sales order ,now i find it via se16 in talble vbfa.
    please help me provied with means.
    best regards.

    hello, friend.
    you can go to your delivery document and click on the 'document flow' icon.  you will see the sales order number there.
    regards.

  • Relationship table of Sales Order (VA03) and Delivery Order (VL03N)

    Hi everyone!
    What table can I see the relationship of Sales Order document (VA03) and Delivery Order document (VL03N) as shown in VA03 > Environment > Document Flow?
    I mean, what tables saves the partnerships of each document (query sales order no. and get equivalent delivery order no. or nos.)
    Thank you very much!

    Hi
    U can use the fm RV_ORDER_FLOW_INFORMATION in order to get out those links or you can read the item table LIPS:
    LIPS-VGBEL  = sales order number
    LIPS-VGPOS  = salese order item
    Max

  • What is the link between schedule lines and delivery document item level

    Can any one please explain me what is the link between the schedule lines of the order/scheduling agreement and the item level of the delivery.
    Is there any link between VBEP and LIPS ?

    Hi
    Most of the item level data in delivery doc is copied from Schedlue lines in Sales order for eg delivery date
    So u may say that schedule line in sales order becomes the line item in Subsequent doc that is in Delivery doc .
    The table u are talking about i.e VBEP is related to sales doc and it contain data for Schedule line in sales order and the other table i.e LIPS give the delivry doc related data at item level.
    Hope this help

  • Sales Order -- Update the delivery Document Credit status using FM or BAPI

    hi All,
    The requirment is quite urgent......  Actually i am Using a userexit V56FSTAT through VT02N and want to update the credit status through VKM4 Transation. But i require a Function module or Bapi to Update the credit status of the delivery status.
    Please do give me suitable Function module or Bapi through which i can perform the VKM4 transation to update the credit status of delivery document....

    when we go to vkm4 there we click on the reassign button and save then the status is changed in VBUK table....
    so i have to perform this steps through VT02N transation....
    Ny ways thanks for the reply,
    i guess i require more support fom u all
    Message was edited by:
            siddharth samal

  • ATP check at order level and delivery level

    Hello SAP Gurus,
    We are implementing ATP ( Available to promise ) check for the product lines of our client.
    Client is asking for comparative benefits if we implement the check at order level or at delivery level . Which would be most beneficial .....activating check at Sales order level OR at delivery level?
    Kindly help me by sharing your thoughts or any through any standard help available on SAP site.
    Thanks and Regards,
    Abhijeet

    Its always better to have the best of both the worlds.
    Have ATP both at order and delivery level. Its important at order level since you would like to give the customer a confirmed date and quantity when he places the order. It ensures that you do not over commit or under commit the customer.
    ATP at delivery level is, i think, should be a must which would prevent creating ambiguous deliveries with huge quantities even if the stocks are not there and then getting stuck during goods issue. Also, it might happen that delivery is created lot later than when the SO gets created and in the meantime stock position might have got changed. A lot of rescheduling and manual backorder processing keeps happening and you can never be sure if a stock that was booked by a sales order would still be there with it.
    Other ppl might have different views

  • Letter of credit  maintenance for order and delivery documents

    Hi Friends,
    As there are three places where we can maintain Letter of Credit ( Financial documents) data.as
    1. Order Header data
    2. Order Item data
    3. Delivery Header data
    What is the importance of all these and ideally where shd maintain ?
    kindly guide
    Shailesh

    Hi,
    Process Of Letter of Credit for Imports
    1. The Clearing agent ask for amount, the person who receive the product will give Letter of Authority to Clearing Agent. The clearing agent move to bank and take check.
    For this purpose, we just issue LA.
    2. Prepare Purchase for the Vendor from whom we are going to receive the product. There may be 2 or more Vendors.
    1. Product cost to be transferred to Vendor A
    2. Freight or Other Charges to Vendor B
    3. Customs Duty and Others to Vendor C
    Tcode : Me21n
    3. First We have to pay Customs Duty to Commissioner of Customs after LA issued.
    Entry : Customs Clearing a/c Dr
    Cess on Custom a/c Dr
    CVD Clearing a/c Dr
    Cess on CVD a/c Dr
    Special CVD a/c Dr
    Vendor C a/c Cr.
    T-code :MIRO or YMIROOTH
    4. Cenvat credit for the product will be taken by person who handling Excise in that company
    Entry : Cenvat Clearing a/c Cr.
    RG23A Part II a/c Dr.
    5. Clearing of Cenvat Credit
    Entry : Cenvat Clearing a/c Dr.
    CVD clearing a/c Cr.
    Cess on CVD a/c Cr.
    Special CVD a/c Cr.
    6. After Bank payment they will transfter to us
    Entry : Vendor a/c - Dr.
    Bank a/c - Cr.
    Give ur mail id.. i will send the doc. its not easy to make u understand that concept.
    Regards
    Srikanthraj

  • Combined order based and delivery based billing

    Hey Gurus,
    We are using ZTAN items and ZTAD items on the sales orders.  We are trying to figure out how to combine these two together to create one invoice.  Can you guys help us with what the configuration should be in order do this?  I woudl like to knwo what settings I need to make in item category and also what settings need to be changed in the copy controls?  Do I need to change them for F2 and other settings in VTFA?
    Please let us know.
    Sincerely,
    Nina

    Hi,
    Delete the Assignment number and Reference number in the copy control at the header level details in VTFA.
    For this message and try it .
    We are using order based billing for the ZTAD items right now and using delivery based billing for the ZTAN items. So, to answer your question, we do want to combine these two together.
    I have tried setting the VTFA copy control settings to 001, and I still can't seem to get the two line items to combine.
    Note, I only created a new copy control for the ZTAD items.
    I looked to see if the header data was different and this was the log that was outputted but I can't seem to figure out what this means:
    Fld Name $000000001 $000000002
    Combination criteria in the bi 0013030 00330308000000064
    Assignment number $
    I am not sure how to analyze this. If you have any suggestions, I would be really appreciative. Thanks for all of your help Shivaji.
    Sincerely,
    Nina

  • Enhancement for Production Order Release and Batch Fixing.

    Hi Experts,
    I have assigned a enhancement for production order.The user exit is also given in the req as PPCO0001 through which i have to call a Z-Program for Batch fixing using Trans CO01 and release the order before saving once it is assigned to components.
    Now my probs is where to start working for the enhancement -is it possible to use any BAPI instead of Batch (BDC) or I can use any BADI instead User Exit.
    So if you guys have similar scenario worked on it or have similar example approach to solve it.Please do help.I will reward for all helpful answers.

    I figured out thr friends !
    Thanks,
    SriRam

Maybe you are looking for

  • How change image of a single folder?

    Is there a way to control the appearance of a single folder (or folder button, as I guess it's technically called) without changing the other buttons on a menu? When you add a folder, it defaults to a folder-like graphic. It seems that when you add c

  • Printing Problems since upgrading to 10.5.6

    We are having problems printing since updating to 10.5.6 1. We have a HP5000 black & white printer and when we print to it straight from InDesign CS3 it will enlarge the the job. We have to make a pdf then print from Acrobat. (We are connected by App

  • Jsp-ejb

              hi           I am trying work with ejb and jsp's using WLS 6.1 but nothing seems to work ,           with out using jsp if i am invoking ejb's by writing a simple client its working           fine           well here is what i have done    

  • About the specification of [app.project.file] from CS6

    Hello There is a question about the specification from CS6. [app.project.file] included the project in the time when filing was held in CS5, but when it isn't preserved, null enters at CS6. Isn't there a way to make [app.project.file] input a project

  • Different item arrangements for different folders... possible?

    Hi. I have some folders i need arranged in date added, and others in 'name'. It seems that when i change it for one it changes it for all. Is it possible to have different item arrangements for different folders? Thanks