Print sales and delivery no

HI ALL
MY problem is that how can we print sale order and delivery no  on a/r invoice . we can print base docnum but  we want both no  so and delivery .
Let we create a sales order no is 19 and through it we  create deliver note no 25 and through deliver note we create a/r invoice 26 no . then i want print both no  po and deliver .
thanks in advance

Hi Areeba,
Try this,
Sales Order Doc. Number
->> Create 1 UDF on A/R Invoice for Sales Order Document No.
SELECT T0.DocNum
FROM ORDR T0
INNER JOIN RDR1 T1 ON T1.DocEntry = T0.DocEntry
INNER JOIN ODLN T2 ON T2.DocEntry = T1.TrgetEntry
INNER JOIN DLN1 T3 on T3.DocEntry = T2.Docentry
INNER JOIN OINV T4 ON T4.DocEntry = T3.TrgetEntry
Deliver Document No.
->> Create 1 Database field in Repetitive Area on A/R Invoice PLD.
Table -> INV1
Column -> BaseRef
Regards,
Madhan.

Similar Messages

  • How to combine sales and delivery data

    hi
    i have requirement to make a report from sales as well as deliveries. Important fields in report are sales document , material , plant , sales document type , country key , sold to party , ordered quantity , delivered quantity , price from vakon ( KBETR ), actual goods issue date.
    The required extractors are 2LIS_11_VASCL, 2LIS_11_V_SSL ,2LIS_11_VAKON.
    Problem is how to combine sales and delivery data as V_SSL has different key figures.Multicube is not the solution as dont have plant , sold to party and many other fields in V_SSL.
    Kindly suggest how to combine sales and deivery data.
    Regards,
    Monika

    I guess you do have shipping point in delivery.
    In most scenarios shipping point may not(or) may be same like order plant.
    Although they are different you can still roll up the delivery information to order level by plant since you have order # available as reference key in delivery.
    With this reference key you can convert all delivery information to order (item) level.
    I guess you can use one merge ODS with one cube (or) with 2 ODS for each at order level for validation.
    You may have to map delivery type to order type as per R3 configuration as well.
    speak with any Logistics guys for help.
    cheers
    Martin

  • Report on Sales and delivery

    Hi,
    I have 3 ODS for sales,delivery,billing.
    I am trying to create report on these by using InfoSet.
    i am getting only matched records from all ODS, even if i used leftouter join( i tried with inner join also).
    Ex : sales item delivery item billing item
         1000   10   2000     10  3000   10
         1001   20   2001     20 
         1003   30  
    i am getting only the first record
    i would like to display all the sales order.
    what method i need to use  infoset or anyother
    Thanks
    madhu

    Sha,
    You cannot add that column to the standard cube 0SD_C03. It is a business content standad cube. You have to copy the cube in a Y or ZCube and then you can change the design change. It is a lot of work when ever you have add a column to an existing cube.
    1. Copy 0SD_C03 to a say ZSD_C03 cube. Save
    2. Add the 0DOC_NUMBER to the cube since it is a serial number, good idea would be declare it as a line item dimension, Save and Activate.
    3. Change your Commenuication Structure. Save.
    4. DO adjustments in your transfer structure or Transformation. Save and Activate.
    I am under the impression you are doing it for the first time to add a column to a standard cube.
    Hope this helps,
    Alex(Arthur Samson)

  • Sales and Delivery

    Hi Gurus,
    Please consider the following scenario.
    I am using sales order flow (2LIS_11_VAITM) and delivery (2LIS_12_VCITM)
    Whenever we change or create a sales order in ECC system it would be captured as a delta record and pulled to BW system on the very next delta load (2LIS_11_VAITM). Same would happen when we change or create or change a delivery in ECC system.
    Each delivery is actually created against a sales order in ECC.
    Now, if we created a sales order 5 days ago with that record being pulled into BW system the same day and
    Today, if we create a deivery on that sales order, then will we get a delta record of Sales Orders  today?
    Putting the same thing in different words, does a change/creation of delivery trigger a delta for sales orders?
    Please have a look and suggest on the same.

    Hi,
    Now, if we created a sales order 5 days ago with that record being pulled into BW system
    This we call it is backdated postings,  so don't worry, DataSource wil support it, so whatever the changes will happen since last load(init/delta), the system will capture the information, so from that date and time system will extract the data from ECC, so it will come.
    Eg: Today is 13-03-2010, but today you posted data on 01-03-2010 (backdated postings), as per system point of view this change is happend 13-03-2010, so in delta it will come.
    Thanks
    Reddy

  • How to create third-party sales and delivery

    please provide tcode of third-party sales  Sales and delivery

    Hi,
    There is no Tcode for Third Party Sales.
    You need to configure the scenario for the same. Following link will help you to do the necessary configuration settings.
    http://help.sap.com/bp_bblibrary/600/html/J54_EN_DE.htm
    I hope this will be helpful to you.
    Regards,
    Shailendra

  • What's best approach to handle - Sales and Delivery on account without INV

    Hello Experts,
    How to handle this situation in SAP B1 8.8 or 8.81 pleasse.
    1. Customer walks in to the counter for sale on account.
    2. He/She receives the item from inventory and is given a Delivery or sometiype of confirmation printout without price on it. It is not the Invoice - Idea being, delivery pickers need not know the price paid for the item etc.
    3. Eventually Customer company will pay the accumulated sales.
    Thank you.

    Hi,
    For this process, you still need all sales documents. You can create delivery directly for printing without price showed. Then you can copy the delivery to A/R invoice later.
    A better way is to create sales order and then delivery to keep all records in consistent manner.
    Thanks,
    Gordon

  • Program:SDRQCR21 recovery of sales and delivery requirements

    Hi guys:
      could you please tell me  the usage of this program?

    Dear,
    This prog SDRQCR21 isused to remove the unwanted requirements (where you cannot peg  or even though the delivery is completed in MD04 system shows some unreleated quantity).
    This is basically user to remove the inconsistancy in MD04 report.
    rajesha vittal

  • Wrong Sale and Delivery

    I’m located in Brazil, I’ve been in USA On May 07th, 2015, I've bought a tablet at Best Buy Store in New York, 1280 Lexington Avenue, NY 10028. I've ordered for an unlocked tablet, 4G, the seller gave me a locked Samsung Tab 4 8.0 that does not work in Brazil. I've asked many times if it would work in Brazil, by selecting a local SIM card, the seller confirmed it would work perfectly in Brazil. I've paid US$ 299,99, + taxes for this tablet, Much more expensive but considering it was unlocked and now I'm in Brazil and it does not work. I've asked for samsung assistance here in Brazil and they told me tablet is locked and there is nothing to do for helping me. I've paid US$ 200,00 in cash and US$ 126,61 in my VISA. (removed per forum guidelines) I want to know, how will you reimburse me?

    Hello CássiaColepicolo,
    When purchasing a device from us, you should feel confident that our associates are providing you the most accurate information to ensure you’re purchasing something that best fits your needs. It sounds like we failed in this regard if it’s left you with a tablet you feel you cannot use, and it’s regrettable this was only discovered after arriving in Brazil.
    After reviewing your purchase using the information you supplied, I noticed that the tablet you purchased is exclusively tied to Verizon. While it was sold to you without a data plan attached, it may only be used on Verizon’s network if your tablet is not on a Wi-Fi connection. While there are options to sign up for a global data plan (found here), I truly apologize if this wasn’t properly explained to you at the time of purchase, especially as we don’t have a way to exchange or refund your purchase as it is outside of the United States and our 14-day Return and Exchange Promise.
    I realize this answer was not what you were expecting; however, please let me know if you have further concerns about this. I’ll be happy to answer any questions you may have.
    Respectfully,
    Alex|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Problem with Delivery, Sales and Conditions cubes

    Hello everybody,
    I will be thankful to you all if you can send a reply ASAP as I need the solution immediately . I have 2 Questions:
    No.1:
    I am developing Delivery, Sales and Conditions cubes. I am using 2LIS_11_VAITM data source for Sales, 2LIS_12_VCITM for Delivery, and 2LIS_11_VAKON for Conditions. Here I have a problem. I am putting the 3 Cubes in a Multiprovider. I am planning to use 0DOC_NUMBER (Sales Document number) to combine these 3 cubes in a Multiprovider. 0DOC_NUMBER is mapped to VBELN field for Sales and Conditions cubes. But I have mapped VBELN to 0DELIV_NUMB in Delivery Cube. But I need a 0DOC_NUMBER in the Delivery cube as well inorder to join the 3 cubes in a Multiprovider. Can I use field VBELV(Originating document) from the Delivery Data source, 2LIS_12_VCITM, and map it to 0DOC_NUMBER? Will VBELV give me the same data as VBELN? Or should I map VBELN from Delivery datasource to 0DOC_NUMBER in the Delivery cube and not include 0DELIV_NUMB in the cube? Or Is there any other way to do this? We are using BW 3.5.    
    No.2:
    My second Question is that in the Conditions cube, should I need to create different Key figures to store the Condition values for different Condition types or is one Key figure is sufficient to store the condition values for different condition types? We have 4 condition types.
    Your suggestions will be greatly appreciated.
    Thanks a lot in advance.
    Kind Regards,
    Swathi.

    Hi Swathi
    IF you are developing your own cubes and using the standard infosources you can include sales order number in 2lis_12_vcitm. Just check if sales order number is preosent in 2lis_12_vcitm. if present you can map that to 0doc_number and then load it the cube.
    2. As there are no condition type present in sales and delivery, you will not get the data in the report based on multiprovider. If you want only condition types data then you can directly write a report on condition cube.
    it completely depends on how you design your multiprovider.
    REgards
    Rak

  • Abap Report including sales orders and delivery data.

    Hi Experts,
    I Want to develop a new abap report which would contain the data for sales orders and delivery.
    I want to fetch all the sales orders based on the ship date (LIKP-WADAT_IST) of the delievry.
    Could anyone please let me know how to fetch teh data or is their any function module which would help me to solve my problem.
    <Removed by moderator>
    Thanks,
    Komal.
    Moderator message : Spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Aug 10, 2011 1:25 PM

    post this in ABAP forum for quicker response.
    Regards
    Raja

  • Sale order delivery and billing blocked

    Hi sap sd gurus
    I have a problem after creating a sale order , the one line item in sale order showing status of delivery blocked and billing blocked , now i am unable to post delivery and billing when i see in schedule line item order qty and confirmed qty .
    Now i want to find why this is blocked and remedy for removing this block .
    Could anyone suggest me in this issue asap
    thanks in advance
    Kanna

    Dear Kanna,
    Go to XD02 at the toppage you will find Extras
    In that Extra Topage  you will find a field   Blocking Data.
    Check whether Order block and Delivery Block has been ticked.
    If ticked is there remove the tick and try Delivery and Billing.
    If you have any concerns revert back the same to me
    With Regards,
    Amjath

  • Quantity and Price Totals on Sale Order and Delivery Order

    Dear ABAP Gurus,
    I want to add totals of line items (Quantity and Price) in sale order and delivery order screens. Can you please guide me how to do this. The price can be any from pricing procedure ie exclusive or inclusive price of sales tax.
    regards,
    RSA
    Moderator message : Requirements dumping not allowed, show the work you have already done, thread locked.
    Edited by: Vinod Kumar on Jan 28, 2012 9:23 PM

    Hi,
    Try this :
    IF @transaction_type in ('A','U') AND (@OBJECT_TYPE='22')
    BEGIN
    If exists (SELECT t3.docentry FROM OWOR T0  INNER JOIN WOR1 T1 ON T0.DocEntry = T1.DocEntry left join POR1 T2 on T2.[U_JONum] = T0.[OriginNum] and  T0.[ItemCode] =  t2.U_SubConItem] INNER JOIN OPOR T3 ON T2.DocEntry = T3.DocEntry WHERE T1.[PlannedQty] <> T2.[Quantity] and  T1.[ItemCode]  = 'subcon' and  T3.DocEntry = @list_of_cols_val_tab_del )
    Begin
    SET @error = 10
    SET @error_message = 'Not allowed to add more than planned'
    End
    End
    Thanks & Regards,
    Nagarajan

  • Quantity is different from sale order and delivery

    Hi,
    Gurus,
    Quantity is different from sale order and delivery.
    I identified the Material in the sales order, the item category for this material as BOM.
    I have also checked the bill of material display header overview. The Base Quantity maintained as 1000 EA3. The SUBITEM maintained in G in the unit field in bill of material display.
    Accordingly i have checked the same for material master's additionl data in Units of Measure tab, it is mentioned the basic unit as 1000 EA3 and alternative unit as 600 G.
    My client processed the order for 100 QTY. The QTY for the two sub item is 99.601 each in the sale order.
    My client Question is why in delivery the Material Qty is coming as 99.730 and the SUB ITEM is coming as 99.330 EACH.
    Note:- The material X is maintained in EA3 in Bill of material header overview. I do no how the sale unit came as G for the Material in sale order.
    The other two sub item is perfectly coming as G. Because it is maintained in G in the Bill of Material Display.
    Guide me GURUS.
    Thanks and Regards,
    ANAND

    Hello Rumar
    I guess you entered the text manually in the sales order. The Ship-to may not be having any text, but the Sold-to may be and it may be coming from sold to.
    In transaction VOTXN, check the access sequence for the text type id and see which one takes precedence - one from customer master or from the order by checking the order of accesses.

  • In Sale Order and Delivery - Inventory should be effect

    Dear Experts,
    i am having a scenario that in sales order and delivery, on material items inventory should not be effected.
    How i can acheive this.
    Please let me know the solution.
    With Regards

    Hi Mr.Rachumallu,
    I am not very sure about your question but if my understanding is right, you can acheive it through the VTLA Tcode and for the Item category of the suitable delivery and sales document combination you need to maintain the pos/neg quantity as "Zero".
    I hope I am helping you.
    Regards
    Vijay

  • 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

Maybe you are looking for