Report of sales orders with several schedules lines

Hi all,
I try to develop a report for sales orders and delivery info. I need sales order quantity, delivery quantity and the quantity in the scheduled line. But I faced with the problem of several scheduled lines.
I could not find the relation between delivery information and the scheduled lines of sales order.
Any function module or other way to find out a delivery belongs to which cheduled line of the sales order ?
Thanks,
Utku

Solved problem

Similar Messages

  • Report of sales orders with several scheduled lines

    Hi all,
    I try to develop a report for sales orders and delivery info. I need sales order quantity, delivery quantity and the quantity in the scheduled line. But I faced with the problem of several scheduled lines.
    I could not find the relation between delivery information and the scheduled lines of sales order.
    Any function module or other way to find out a delivery belongs to which scheduled line of the sales order ?
    Thanks,
    Utku

    post this in ABAP forum for quicker response.
    Regards
    Raja

  • Sales order with multiple Schedule lines

    Hello,
    Could you please help me to create a sales order with multiple line items.
    for example, I need to create a sales order with line item 10 with schedule lines more than 3.
    Thanks in advance,
    Bhaskar.K

    As already explained  Sh. Line Catg. is determined with Item Catg.of the item + MRP type automatically  . As per your assignment in ( SD-sale-sales document-Sh. line-Assign Sh. line Catg.) system automatically propose the Sh. line Catg of your entered item
    Now for three Sh line  - in VA01  create the order  with your  item , give quantity  -now  select the line item, click on the  Display item Details ICON extreme left  bottom of the screen, than click on Sh. line tab here you maintain as many sh. line as you required.
    Actually these Sh lines are nothing but the Requested Delivery Date And Quantity which is ultimately pass on to (Transfer the Requirement) MRP
    Hope this'll help you
    Ashok
    Edited by: Ashok ku. on Aug 17, 2009 11:16 PM

  • Partial delivery per item in sales order and ATP - schedule lines

    Hi,
    I've problem regarding ATP- schedule lines and partial delivery flag.
    In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
    Please look at next example.
    Customer requires:
    10 PCS of materail A on date X. Only 5 PCS are available on date X.
    10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
    So if we create outbound delivery on date X it will contain only 5 PCS of material  A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
    Problem is with material B.
    The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
    That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
    Do you know how to fix this problem?

    Hi,
    I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
    Example in same sales order we have:
    Schedule line for item A:
    DATE X confirmed quantity 10
    Schedule line for an item B.
    DATE X confirmed quanitity 0 (zeroe)
    DATE Y confirmed quantity 10.
    I would like to create outbond delivery on date X with:
    item A quantity 10
    item B quantity 0.
    And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
    Do you know how to do that?
    Regards

  • Is there a way on CONVERSION to create a sales order with a scheduled ship date in the past?

    Is there a way on CONVERSION to create a sales order with a scheduled ship date in the past?
    Customer wants to maintain the original scheduled ship date on converted ordered, but the scheduled dates is defaulting to sysdate for past due shipments on converted orders.

    Hi Friend,
    As of now there is no functionality to display SSD,RD,PD backdated, max it can be sys date, not lower then that.
    Regards
    Shyam
    Please see following Metalink Note ID for all in One solutions
    Oracle E-Business : All In One Metalink Note ID's
    If you are happy with the Document, please mark as Helpful by doing so this will provide assistance for other people looking for answers to their queries.

  • Report for sales orders with abnormal discounts

    Hi
    We have a discount condition type say ZDIS with 10% which is not changeable manually in sales order..But incase if the user has changed the condition master to 12% and created the sales order with 12%disc...Hence i need a report, the list of sales orders with the abnormal discounts..(the sales orders with the discount value more or less than 10%)..
    How do i get this report..Kindly provide me the table names&logic ...
    Reg
    JJ

    We have a discount condition type say ZDIS with 10% which is not changeable manually in sales order..But incase if the user has changed the condition master to 12% and created the sales order with 12%disc...Hence i need a report, the list of sales orders with the abnormal discounts..(the sales orders with the discount value more or less than 10%)..
    How do i get this report..Kindly provide me the table names&logic ...
    Select KNUMH where KONP-KSCHL EQ ZDIS ( Condition record number)
    Select KONV-KNUMV   Where KONV-KNUMH EQ KONP-KNUMH
    Select VBAK-KNUMV where VBAK-KNUMV EQ KONV-KNUMV
    Then with the help of ABAPER hard code the condition amount (KBERT>10%)
    Regards
    Rohit

  • Report for Sales orders with the consumed credit limit value

    Dear Gurus,
    In my company, the credit check is at sales order level. We want a report which shows up the credit value consumed from the credit master by Sales order.
    Going into the details, Say Credit limt is setup for a customer at Credit master for 10000 $.
    I want a report showing Sales order 59235 has consumed 500 $, Sales order 59277 has consumed 1500 $, Sales order 59333 has consumed 2500 $.
    Is their a report in standard SAP for the above functionality. If not, any ideas of how to achieve it?
    Thank you for your responses.
    Regards,

    Hi,
    Try the following transaction codes
    S_ALR_87012218
    FDK43
    F.31
    But if you want to a report like what you explained in thread i think in standard not available we need to develop a customized one.
    Regards

  • In sales order, what is schedule line

    hi i m new to SD, pls tell me
    in a sales order created, i can see multiple line items,
    what is the meaning of having multiple "schedule lines"

    Hi,
    A sales order can have one or multiple line items. As far as schedule line is concerned it can be defined as under:
    <b>Schedule line</b> - A division of item with respect to delivery date and delivery quantity.
    For a sales order item if there is no <b>schedule line</b> then that item cannot be delivered. When you create the sales order, double click on the line item and go to schedule line. Here for that item you will see details like delivery date, order qty, rounded qty, confirmed qty, delivered qty. While you create a sales order if for a particuler item there is no entry in the conirmed qty column then this sales order cannot be delivered.
    <b>Mulitple schdule lines:</b>
    Suppose a line item is having order qty as 20. Today there is stock of only 10. Remaining 10 pc will come into stock on 12/09/2007. So the system will determine 2 schedule lines as under:
    07/09/2007 20 20 10
    12/09/2007 --- ---   10
    The 10 pc will be confirmed for today and the remaining 10 for 12/09/2007. This can happen for all items in the sales order.
    Unless and until the schedule line is determined the delivery cannot be delivered.
    Reward points if solution helps.
    Regards,
    Allabaqsh G. Patil

  • Converting Multipule Reqs to a Purchase Order with Delivery Schedule Lines

    Is it possible to convert a multiple Purchase Reqs for the same items to a PO that has one line but multipule deliver dates in the Schedule lines - Where the Purchase Reqs have been generated by MRP
    Example
    I have an SAP Contract 46***** that runs via MRP and creates 3 Reqs for item number 12345. All from the same vendor
                 Req 1 delivery date 2/4/10  QTY 50
                 Req 2 delivery date 6/4/10  QTY 20
                 Req 3 delivery date 10/4/10 QTY 30
    Aim is to have 1 PO with line 1 having a QTY 100 but the Delivery Schedule Tab to show the three seperate delivery needs
                date 2/4/10  QTY 50
                date 6/4/10  QTY 20
                date 10/4/10 QTY 30
    Any Help?

    When i try that the QTY in line one does not alwasy update to the total qty of the reqs and infact the qty on the req doesnt always appear in the schedule line....
    This works for me perfect, I never encountred that the item quantity was not updated if I added a new requisition to the schedule.
    ME59N should work, do not select per requistion and per delviery date in the New PO section in the selection screen. But set a flag into box create schedules.

  • Update Sales Order with Text-Line and without regular Lines

    Hello Experts,
    i have a problem to update a Sales Order with no Item-Lines but with one Text-Lines or one Sub-Total-Lines.
    I get only the Error "The specified resource name can not be found in the image file", the %temp% are delete.
    i have testet with Methode: #updateDocWithSubDeletion, #Synchronnous Update, #Synchronous Insert with fallback to Update (i was desperate)
    my Scenario look like this:
    my Payload:
    i have allready testet with the part AdminInfo und QueryParams with the same Error.
    <Payload id="atom6" Role="X">
        <Documents xmlns="">
            <row>
                <DocNum>227780</DocNum>
                <DocType>dDocument_Items</DocType>
                <HandWritten>tNO</HandWritten>
                <Printed>psNo</Printed>
                <DocDate>20150423</DocDate>
                <DocDueDate>20150423</DocDueDate>
                <CardCode>61052</CardCode>
                <CardName>Durchlauf</CardName>
                <DocCurrency>EUR</DocCurrency>
                <DocRate>1.000000</DocRate>
                <DocTotal>0.000000</DocTotal>
                <Reference1>227780</Reference1>
                <JournalMemo>Kundenaufträge - 61052</JournalMemo>
                <PaymentGroupCode>-1</PaymentGroupCode>
                <DocTime>0819</DocTime>
                <SalesPersonCode>2</SalesPersonCode>
                <TransportationCode>-1</TransportationCode>
                <Confirmed>tYES</Confirmed>
                <SummeryType>dNoSummary</SummeryType>
                <ContactPersonCode>0</ContactPersonCode>
                <ShowSCN>tNO</ShowSCN>
                <Series>5</Series>
                <TaxDate>20150423</TaxDate>
                <PartialSupply>tYES</PartialSupply>
                <DocObjectCode>17</DocObjectCode>
                <DiscountPercent>0.000000</DiscountPercent>
                <DocTotalFc>0.000000</DocTotalFc>
                <RevisionPo>tNO</RevisionPo>
                <RequriedDate>20150423</RequriedDate>
                <CancelDate>20150523</CancelDate>
                <BlockDunning>tNO</BlockDunning>
                <Pick>tNO</Pick>
                <PaymentMethod/>
                <PaymentBlock>tNO</PaymentBlock>
                <MaximumCashDiscount>tNO</MaximumCashDiscount>
                <WareHouseUpdateType>dwh_CustomerOrders</WareHouseUpdateType>
                <Rounding>tNO</Rounding>
                <DeferredTax>tNO</DeferredTax>
                <NumberOfInstallments>1</NumberOfInstallments>
                <ApplyTaxOnFirstInstallment>tNO</ApplyTaxOnFirstInstallment>
                <DocumentSubType>bod_None</DocumentSubType>
                <Address2/>
                <UseShpdGoodsAct>tNO</UseShpdGoodsAct>
                <IsPayToBank>tNO</IsPayToBank>
                <DownPayment>0.000000</DownPayment>
                <ReserveInvoice>tNO</ReserveInvoice>
                <LanguageCode>9</LanguageCode>
                <SequenceModel>0</SequenceModel>
                <UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>
                <DownPaymentAmount>0.000000</DownPaymentAmount>
                <DownPaymentPercentage>0.000000</DownPaymentPercentage>
                <DownPaymentType>dptInvoice</DownPaymentType>
                <DownPaymentAmountSC>0.000000</DownPaymentAmountSC>
                <DownPaymentAmountFC>0.000000</DownPaymentAmountFC>
                <VatPercent>0.000000</VatPercent>
                <ServiceGrossProfitPercent>0.000000</ServiceGrossProfitPercent>
                <OpeningRemarks/>
                <ClosingRemarks/>
                <RoundingDiffAmount>0.000000</RoundingDiffAmount>
                <ControlAccount>1200</ControlAccount>
                <InsuranceOperation347>tNO</InsuranceOperation347>
                <ArchiveNonremovableSalesQuotation>tNO</ArchiveNonremovableSalesQuotation>
                <ExtraMonth>0</ExtraMonth>
                <ExtraDays>30</ExtraDays>
                <CashDiscountDateOffset>0</CashDiscountDateOffset>
                <StartFrom>pdt_None</StartFrom>
                <NTSApproved>tNO</NTSApproved>
                <EDocGenerationType>edocNotRelevant</EDocGenerationType>
                <DownPaymentStatus>so_Open</DownPaymentStatus>
                <GroupHandWritten>tNO</GroupHandWritten>
                <CreateOnlineQuotation>tNO</CreateOnlineQuotation>           
            </row>
        </Documents>
        <Document_SpecialLines xmlns="">
            <row>
                <AfterLineNumber>-1</AfterLineNumber>
                <LineType>dslt_Subtotal</LineType>
                <LineText>Zwischensumme</LineText>
            </row>
        </Document_SpecialLines>
        <Document_Lines xmlns="">
            <row>
                <ItemCode>108044</ItemCode>
                <Quantity>0.01</Quantity>
                <FreeText/>
            </row>
        </Document_Lines>
        <TaxExtension xmlns="">
            <row>
                <NetWeight>0.000000</NetWeight>
                <GrossWeight>0.000000</GrossWeight>
                <StreetS/>
                <BlockS/>
                <BuildingS/>
                <CityS/>
                <ZipCodeS/>
                <CountyS/>
                <StateS/>
                <CountryS/>
                <BuildingB/>
            </row>
        </TaxExtension>
    </Payload>
    when I insert a new row with an ItemCode , it works
    Thanks and Best Regards
    Ronny

    Hi,
    why don't you create a simple scenario to export B1 Sales Order to XML File?
    Maintain the SalesOrder via B1 client UI and check the result in XML as exported to file.
    In the Sales Order xml file you can easily see how "AfterLineNumber" needs to be filled in segment "Document_SpecialLines" to achieve what you've entered via B1 client.
    Normally the LineNum for B1 Documents starts counting with 0 and if you need to add a subtotal line after a regular item row, the "AfterLineNumber" value should be 0.
    Best regards
    Bastian

  • Track/report delayed sales order

    Dear Experts,
    Do you have a simple solution to track/report delayed sales order with reason code? (I'd like to see delays in days and a reason code in a list.) Is there anyone who generate this KPI from SAP?
    Thanks in advance,

    Dear Roland
    Besides going down order by order, if you want to see the changes made to sale orders in bulk, I dont think there is a standard TCode available.
    As you would be aware, for sales documents, the change object is VERKBELEG and you have to develop a report considering tables VBAK and VBAP.  Of course, you are aware, changed history are recorded in CDHDR and CDPOS but both will eat your time.
    May be you can check this link and develop a zee report accordingly.
    [Sales Order Changed History Display |http://www.sap-img.com/ab024.htm]
    thanks
    G. Lakshmipathi

  • Partial delivery of sales order with some line items

    Hi all,
    Please help me in the issue i want to create delivery against sales order partially for some line items of the sales order . Can any one suggest me the procedure how to do it through programing .
    Thanks in advance,

    Hi,
    You have several methods of doing same.
    Method 1
    Go to VL01N, and given your sales order number.
    Without giving the line item, just press Enter
    Now inside the delivery, you can delete unwanted line items, and you can adjust quantities under Item overview tab.
    After that do picking and PGI.
    Method 2
    Go to VL10E,
    Give your sales order number and execute.
    Mark relevant schedule lines only and press execute,
    then those line items with marked schedule lines will copied to the delivery document.
    Best regards,
    Anupa

  • Block Line items in sales order with no confirmation and auth check

    Hi.
    We have a requirement to block some line items ( hold for review ) in a sales order while allowing other line items to be delivered.  In the standard SAP system, a schedule line block is possible, but it does not remove the confirmation for the line item. Also, we would like only some authorized people to be able to remove the block.
    Would appreciate suggestions from the forum
    Thanks and regards
    Rohit Zalani

    Hi,
    Thank you for your responses. We could do a reason for rejection, but would not like to go down that path since the item is not classically rejected and it may show up in the rejection reports or give wrong information. We wanted to use a delivery block and remove confirmations for the line item. Standard SAP does not operate this, but would appreciate inputs from the esteemed members if anyone has done this before.
    Thanks and regards
    Rohit Zalani

  • Craete Sales Order with reference to Schedule Agreement

    Dear All,
    I want to create a sales order with reference to a schedule agreement.
    Purpose:
    In case of quantity shortages in delivery of the schedule agreement  line item (Doc type - ZDS), customer want to send a replacement for the balance.
    This replacement is send using a new sales order (Doc type - ZREP). So the requirement is to refer the schedule agreement to keep the link between initial schedule agreement & the replacement order.
    I have maintain the relevant copy controls as well. (ZDS to ZREP)
    I have 2 type of item categories used in the schedule agreement (ZDS).
    LPN - this is for the normal delivery, billing. (Billing relevance - A in the Item category)
    ZPN - this is just to do the manufacturing. No delivery billing is done using this type. (Have Billing Relevance -BLANK)
    So when I try to create a Sales order w.r.t. Schedule agreement, only lines with ZPN shows me in the copying dialog.
    But I want to copy lines with LPN, not lines with ZPN.
    Any idea how to solve this?
    Thanks a lot !

    Thanks you very much for all replies !!!
    Dear Raj/Ankur,
    This replacement is due to quality issue in the initial sent material.
    So I'm sending the same material I sent earlier from the schedule agreement LI. Only difference is to capture the replacement, I use sales order type ZREP (VA01) other than schedule agreement.
    To give you more info on this,
    They use Item category ZPN to produce semi-finished goods & keep it ready for that customer. Once customer asked it with specific color, they do color it & deliver & bill. To do delivery & billing they use Item category LPN.
    Therefore each Scheduel agreement, they have one line with ZPN - only to production.
    one or more LI's with LPN - to do subsequent delivery & billing for that customer.
    So replacement should be created with reference to the LI with LPN. Because my initial delivery happened from that LI.
    Everything is in place as you have mentioned.
    I have maintained copy controls from ZDS to ZREP
    I have copy controls from Item Category LPN to my normal order Item category.
    I have schedule line copy control as well.
    Am I missing anything??
    And there is no issue with my Item category group & material master Item category group as well.

  • Production order %00000000001 for schedule line in Sales order

    Hello Experts,
    We have an issue with the production order whih is created from SO
    There is a sales order and have production order for CTO parts. But the Production order is deleted before confirming. Now when we check in the sales order in schedule lins we are getting as "Production order %00000000001 for schedule line" 00010/0001 can no longer be changed.
    Could any one provided the valuable imputs for what resasons this weeor appears
    Thanks in advance...
    Regards
    Madan

    Hello Vivke,
    Please find teh delatis of the issue
    We have an SO created for the CTO parts and to corrsponding to that generally a production order will be created, But in one of the case for SO the production order is showing as %000000001 in the schedule lines in the SO apart normal number ranges for Production orders.
    Now we need to know in what case the production order appears as %000000001 in the schdule lines, are we missing any thing in order to create production orders?
    Note: Initially there was production order is created correctly when scheduled lines are confirmed, but it is deleted for some reasons and again when the schedule lines are confirming we are facing this issue
    Could you please provide any suggestion on this
    Thanks
    Madan

Maybe you are looking for

  • HELP! Synced iphone and now apps won't open

    I just finished syncing my iphone and I also downloaded and update (4.something...) and now when I try to click on one of my apps it will open for a half a second and then the screen shuts down and goes back to the home screen.  PLEASE HELP!!  I've t

  • How to get VBEP coresponding shadow line?

    Hi all, In a Sales Order, line item's schedule line (Table VBEP) Sometime, it may have a case that for one request delivery date, it was spitted into 2 schedule line due to the AV check result (I call the system generated schedule line as shadow line

  • Can't import AC3 file...

    Hi, I have some 5.1 AC3 files I encoded in another (older) application and am trying to import them into DVDSP. The files look OK and are recognized as DVDSP files with an AC3 extention. However, every time I try to import them as assets I get the er

  • SWF into Acrobat 8.14

    Hi. This may have been dealt with by another post but hey. I cannot insert swf into a PDF using Acrobat Pro 8.14. I receive and message "initializing authoring system" which indefinately then when cancelled I get this message "cannot create the movie

  • Satellite P845-BKS Keyboard doesn't respond

    Hi! I've got some problems with keyboard. It respond very slow or doesn't respond for pressing. If I don't see forte scee it loos lke that. Some keys look like not pressed. If I press stronger situation is the same. It necessary to check all characte