Dynamic sales order no. in Delivery item output Subject line

Hi Friends
I  need to send delivery output LQCA item level, by mail and E mail subject should contain sales order no and product description.
The method is to write:
& XXXX-YYYY& / &LIPS-ARKTX&  (XXXX is the table name containing sales order and YYYYis the field name of sales order)
in cover page text in output communication tab.
But I am not getting the sales order no. in any of the delievry table. It is there in LIPS table but not filled.
How can I pull sales order no. dynamically.
Regards,
Neeraj Srivastava

Hello Sales Document Number will be available in LIPS in VGBEL 9Reference) Field.
If not avaialbel there then you will have to go to Table VBFA & enter the Delivery number in Follow-on Document No. to get Preceeding Document number which is Sales Order number.
Hope this helps,
Thanks,
Jignesh Mehta

Similar Messages

  • Which table I can get sales order no from delivery numbar.

    Hi,
    I want sales order no from delivery no. right now I am using table VBFA where I am passing VBELN and POSNN and geting sales order no. but performance of select query is very poor bcouse I am not passing first two key fields in the select query.
    Is there any other tablefrom where we can get sales order no. from delivery no. so that performance of report can be improved.
    Thanks,

    hi,
    sales doc header ( table VBAK ) copy to Delivery header table( LIKP)
    sales doc item table ( VBAP) copy to Delivery item table( LIPS)
    you can see this in copy control VTLA ,
    now u want slaes doc no. from dilv doc. no.
    so go to t-code se11.....
    fill table LIKP u will get VBELN field for deliv doc no, & TERNR field for sales doc. no.
    so if u want to call sales doc no from dilv doc no.. u can use table LIKP in ur report.
    i hope it will help u.

  • REPORT-Sales Order Qty minus Delivery Qty

    How to find Sales Order Qty minus Delivery Qty  in a STd report  other than t.code v.02
    THanks in advance
    Paul

    Dear Paul
    The report which you are asking is a Pending Order Report.
    You  better go for a Zreport & call your required fields in the report.
    The selection field will be plant
    Eg: You can incorporate in the report Sales Doc, Order type, Doc date, SP, SH, Region, sales area, material code, material description, Order qty, Pend qty, Pending value, pant, PO ref no., date, Customer currency etc.
    Once all items delivered the doc number wont be in the report.
    Regards
    Deepu Pillai

  • Delivery from sales scheduling agreement with one item per schedule line

    Hi all,
    I have a sales scheduling agreement where the same part number has 3 different JIT schedule lines and I need to create a delivery with 3 item lines: every item line of the delivery has to be referred to one schedule line of the scheduling agreement.
    When I create the delivery with transaction VL10E it has only one item line and its quantity is the sum of the 3 schedule lines of the sales scheduling agreement.
    I've tried to change the customizing of the User Role, choosing the Split Schedule Line = 2 ("One item per schedule line") but the delivery is created again with only one item line.
    How can I solve this issue?
    Thanks in advance for reply

    Dear Alex
    The SAP standard behaviour is that all schedule items with delivery date in the past have to be rescheduled anyway to one date and are combined therefore.
    Partially this behaviour can be influenced in VL10* by 2 parameters in
    the user role : Split per sched.line and Rule (delivery qty).
    Please find below informations about these different parameters
    "Split per sched.line propose you 3 Rule for creating one delivery item
    per schedule line. In a delivery list in item view with multiple
    schedule lines, you can decide for the same document item whether you
    want to generate one delivery item per schedule line or whether you want
    to deliver the cumulated quantity of the last schedule lines selected.
    About rule for delivery quantity, the following rules are currently
    implemented:
    1. No cumulation
    The open schedule line quantity to be delivered is the quantity at which
    the list line is delivered.
    2. Sum of all open schedule line quantities to be delivered that fall
    before the chronologically latest date in the to field (following the
    Deliv. creation date field) of the selection criteria.
    3. Sum of all open schedule line quantities to be delivered whose
    delivery creation date falls within the selection time frame (between
    the dates in the Deliv. creation date and to fields, respectively),
    making the calculation of the quantity to be delivered consistent with
    selection criteria. However, calculationof the quantities delivered with
    the order's schedule line quantities is not affected."
    Hope this helps.
    Regards
    Tonia

  • 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

  • Sales order blocked for delivery but not showing in VA14L

    A Sales order is in delivery block and its not showing in VA14l Delivery block .
    Please help.
    Regards..
    Bhyrav

    Hi,
    Transaction VA14L report displays sales orders with header level delivery blocks & credit blocks.
    If the delivery block in sales order item level the VA14L will not display those orders.
    You may try V.14 transaction but it will not display sales orders with credit related delivery blocks.
    Otherwise, provide more inputs so that it would be easy to analyse the issue.
    Regards
    Suresh.

  • Multiple Sales Order to Single Delivery

    Dear All,
    Can anybody tell me how to create a single sales order to multiple delivery ?
    It would be convenient if anybody can explain me the process and the t-code to do the same.
    Rgds,
    Indrajit

    Hi Indrajit
    If you want to create a single sales order into Multiple delivery then make sure that the delivery split should take place
    The following are the parameters for the delivery split
    Ship to party ,  route , delivery date, Shipping point ,Confirmed quantity date  , Delivery priority
    Example :
    Say you have line item 1 & line item 2 , for line item 1 you have different ship to party and for line item 2 you have different ship to party then delivery split will take place for this two line items
    Regards
    Srinath

  • 1 sale order and 2 delivery doc (max) , 10 billing doc

    hai sap gurus
    this is my  customer senario . in that sd process max  sale order 1 & max delivery two , but customer required multible billing  documents
    EXMPLE:
    sale order : 10 penciles
    delivery allowed ; 2(two)
    billing doc        ; 10 billing doc foe each  bencile
    plz help me to solve the issue
    with advance thanks
    magha

    Hi Lingam,
    You can do it.This process shud be done manually
    /change the billing relevence of the item category to K.
    Create a order with 10 pencils.
    In the delivery split the quantity ordered qty as 5 and do pgi for 5.
    Again create delivery with the same order number and it will show the qty as 5. Do PGI.
    Go to billing and click on selection tab. It will give a option to change the qty.
    There u can change the qty.
    Gurus,
    Any way of automating this process?
    Please suggest.
    Regards,
    Ajit

  • Multiple Sales orders in 1 delivery require 1 invoice per sales order

    Good day all,
           Our current process utilizes order combination to pack multiple sales order into 1 delivery to reduce freight costs. We have found a drawback to this is that the billing document is being created only for the delivery which shows all of the sales order info but our customers require a billing document for each PO(Sales Order) as the current billing document makes it difficult for them to process. Is there a way to tweak SAP to allow this to occur, packing multiple sales order per delivery but billing is maintained per each sales order. I have search the forums for a while and I have not found an appropriate solution. Thank you for your assistance.

    I have search the forums for a while and I have not found an appropriate solution.
    Really surprised over this comments !!!!!!!!
    Standard SAP creates billing split from the preceding document, if any of the following differs.
    a)  Payer
    b)  Billing Date
    c)  Foreign Trade Data
    d)  Credit Control Area
    e)  Exchange Range (in case of export scenario)
    f)  Actual GI Date from delivery
    g)  Payment Term
    h)  Inco Term
    i)  ITC Code (subject to specific routine)
    j)  Item Division (subject to specific routine)
    So if any of these differs in your sale order, definitely it get split and of course, this depends on what routine you maintained in copy control VTFL for the field "Data:VBRK/VBRP".
    thanks
    G. Lakshmipathi

  • Report for viewing Sales order no against delivery date & actual GI date

    Hi Experts,
    Is there any report for viewing Sales order no against delivery date & *actual GI date*
    Because in VL06F , i can only able to get planned GI.
    Please guide regarding the same where i can get 'ACTUAL GI DATE ' against above combination .
    Regards,
    Sujit S.

    dear Hrishi,
    i followed your suggestion, but couldn't get desired results,
    here i can get planned GI date, where i wanted to get Actual GI date for complted deliveries,
    thanks for your valuable reply.
    @ G. Lakshmipathi ;-
    i think i will need to develop z-report for fetching the data from the tables
    VBAK (to get sale order reference) and
    LIKP (to get delivery and actual GI date)
    thanks for your reply,
    Regards,
    Sujit

  • 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

  • Sales Orders Blocked For Delivery

    Hi,
    Do we have T-Code for Sales Orders Blocked For Delivery other than VA14L,Because Customer name is not there in VA14L list.
    Thanks,
    NAG

    Hi naga sudhir
    Go to T-code--VA14L
    In that  go to menu-SettingsLayout--Current/Choose
    In this layout u can choose fields what u want to appear in that row.
    Any quries revert back to me
    Regards
    Srinivas.

  • Goods issue to customer without sales order or Outbound delivery

    Dear all gurus,
    I have a case like that: Supposing we don't have neither Sales Order nor Outbound Delivery (because not implement SD, for eg).
    Then, we stil want goods issue to customer. So can u advise me how to do: which Tcode, which movement type,...
    Thanks,

    Hi,
    Create a cost center for customer and issue the goods with respect to this cost center in MB1A transaction using movement type 201.
    Then all the issues will be tracked based on this cost center.
    Regards,
    Bharat

  • Plant Info is blank in Sales Order Due for Delivery (VL10A)

    Hi experts,
      In VL10A sales Order Due for Delivery, i have fields like Name, GI date, plant and shipping point. 
    There is data on shipping point.  However, the plant field is blank.  I like to get data for the plant.
    Can you pls point me to what user-exit or how  I can modify the program to bring data for plant ?
    I am aware that VL10A list orders at the header level.
    Thank you.
    Joyce

    closed.

  • Can't combine Sales Orders into One Delivery

    A customer has started sending us 850's for their products.  Each 850 creates a new Sales Order from the ORDERS IDoc.
    We can not combine two different Sales Orders into one Delivery even if all the data is identical other than the Order Number itself.  The Error Message is VL067.
    The log reveals that the only data difference is the Address number.  Each time a new Sales Order is built SAP creates a new Address Number even though the customer is the same, and then it won't let you combine those two Sales Orders into one Delivery because the Adderss Number is different.
    We either need to make SAP stop creating a new Address for the same Customer, or we need to make SAP ignore the difference in Address Number when combining them into one Delivery.
    Any ideas?

    Hello Shiva,
    My apologies - I am too focused and forgot to say thank you for your tip.  I appreciate your time.
    I have discovered that the address check is only made if the value of ADRDA in VBPA is B or E, which both mean that the address was manually entered - actually, it came in via IDoc.
    Does anyone know how to control that value so it is not B or E?
    Thanks in advance.

Maybe you are looking for

  • How to submit an email with a header/footer in the body of the email?

    I'm trying to submit an email with a PDF attachment but needs to have a static header and footer in the the body of the email before sending it.  How would this be done and is it possible to do this? I'm new at this and not sure how to even start thi

  • Itunes 10.2 wont open in my windows 64-bit

    hi guys, i've been trying to open my itunes 10.2 on my toshiba a665-s6089 windows 7 64-bit, but nothing works. from my past experience, i already used itunes 10.1 and it worked pretty well, but after i updated my itunes to 10.2, it won't work. Moreov

  • Injecting a bug in the working of the L2 cache of Opensparc T1

    As a part of my research work, I need to inject a bug in the operation of the L2 cache of Opensparc and then do some analysis of the RTL code based on the outcome of that bug. I have been working on Opensparc T1. I decided to target the writeback ope

  • Hr report with fi(urgent)

    I am given some standard transactions . POUC_10. After the first transaction all the payroll are hit to fi. pcp0. Now the requirement is such that they need What payment was made by the employee? which g/l is it posted? what is posting date? which wa

  • DOUBTS FOR MIGRATION FROM 10.1.2 TO 10.1.3

    Hi all, I have done an attempt to migrate a simple web app from 10.1.2 (using UIX technology) to 10.1.3; the migration seem ok, but at run-time appear the error in the browser: 500 Internal Server Error Cannot get request dispatcher for path /test.ui