Create a report to show changes in Sales Order Due Dates

Hello all,
I've recently started using SAP Business One 8.8 and I want to run a report to show a list of Sales Orders with the original Sales Order Due Date, and the New Date that it has been changed to. What is the best way to create a report to show me this?
thanks
Leigh

Hi Leigh.......
Try this......
Select T0.DocNum, Max(T1.UpdateDate) 'Last Update', T0.DocDueDate
from ADOC T0
JOIN ADOC T1 on T1.DocNum = T0.DocNum AND T1.ObjType = '17'
where T0.ObjType = '17'
Group By T0.DocNum, T0.DocDueDate
Regards,
Rahul

Similar Messages

  • Authorisation to prevent changing of sales order delivery date

    Hi,
    I need to prevent certain users from modifying the delivery dates of schedule lines
    of a sales order. Is there a standard auth object for this type of control ?
    Allan

    Inform the basis consultant to restict the user id for particular users only to create & display & not change of sales order. In other words, do not provide authorization for change of sales order, which is possible through Basis Control.
    Regards,
    Rajesh Banka
    Rewrad Points if helpful

  • Changes in Sales  order delivery date

    Have created sales order with delivery date as 20.01.10 and run md02, in md04 requirement date shown as 20.01.10. now I changed the delivery date in sales order as 20.02.10 and run md02, observed that the requirements date in md04 is not changed, it is showing as still 20.01.2010. Please advise if the initial delivery date changes, why system is not changing the requirements date in md04? Please advise.

    1. When you change the delivery date at the header level in the sales order it doesnt change the schedule lines date.
    2. Since MRP looks only the schedyle line date and not the header level date you have the issue.
    Now
    3. go to the sales order change the req. delviery date in the schedule line and re- run the MRP..
    your issue will be solved
    reg
    dsk

  • Sales order header data change by using the ORDERS05 IDOC

    Hello Team
    I am getting sales order number and some code value from the legacy system. i need to check whether the sales order is avialable in SAP or not. if it is there, i need to update the CODE value (ie for example ABC100) in sales order header data> order data> your reference field.  For doing this i am using the IDOC type ORDERS05 and message type ORDCHG message type.
    Now i want to know what are the mandatory fields which i need to do the mapping for the IDOC ORDERS05, to change the sales order header data. please check and suggest me the required fields of the IDOC to be mapped, so that i can change the sales order header data.
    Please correct me if i am doing something wrong here.
    Regards
    Rj

    Hello chirag
    Thanks for your reply. My requirement is to change the sales order which is already avialable in SAP. Just i need to change the header data of the sales order, for example if i am getting the sales order as 1000 and CODE as ABC100. i need to change the Sales document number 1000 and put the code ABC100 in sales order header data>orders data>your reference field.
    So now i want to know the below points
    1. what are the mandatory fields for which i need to pass the values for the IDOC ORDERS05.
    2. what is the user-exit used for picking up those values from SAP because i am getting only sales order number and CODE values from legacy system.
    Please check and suggest me accordingly.
    Regards
    Rj

  • Sales order item data & sales order schedule data

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
    Many thanks,
    Matt

    > Hello,
    >
    > I have a Sales Orders cube which is pulling data from
    > two DSOs (one for sales order item data and the other
    > for sales order schedule data). The common fields
    > between these two DSOs is the Sales Order number but
    > in my cube I have dual entries for each Sales Order
    > document (item and schedule info).
    >
    Two previous remarks:
    1) If you need to report on very detailed data consider doing an info-set joining both datastores. 2 reasons why:
    - not a good idea to report on very detailed information (sales order, GI dates) on cube level, if you have a scenario with lots of data. You end up with big dimension tables a poor report times;
    - there are better alternatives, like drill-through from cube query to DS query with report to report interface or Datastore-based reporting...so...
    With this solution you do not need to change the data model, I think, but test to be sure. See if the reporting times are acceptable. If not...
    2) First confirm your requirements, because what you show in your example as "to-be" have details that do not make sense, probably..
    - if you have more that one schedule line for each item then you would have many times the item information like material/price;
    - if not or if you could cope with that, then you can consider:
    2.1) create a new DS that agregattes from the previous on, with the same key of sales order item; do you have schedule line kf's? if so you these KF's should be additive in DS update; But if you may have more one scheduled line for 1 item then you have to decide what to do with the GI data (keep the last one posted, use code..) and other characteristics.
    2.2) update the shedule line datasource to the sales order item DS; same comments apply.
    2.3) maintain the missing data in the cube update rules from sheduled lines DS. Using code, refer to the respective item in the order item ODS. You would have to make sure that DS's data are correctly activated before updating the infocube.
    What solutions to choose?
    2.1 is better in terms of flexibility and architecture...because you could re-arrange the new DS to answer future needs, without loosing the 1st line DS's data;
    2.2 choose if data volumes and disk space are a concern...
    or
    2.3 it's OK, but i do not like it because of what explained in point 1...
    Message was edited by:
            Miguel Costa

  • Report on changes to sales orders

    Hi Experts,
    I am looking for a way to report on changes to sales orders, specifically the row shipping date and quantity.
    I can see that the data is apparently in tables ADOC and ADO1 but am having trouble getting useful results. What I need is a report that, for sales orders only and for a date range, shows all changes to row quantities or row shipping dates. The type of output that would be useful is:
    Change date  - document # - row# - Item code - old shipping date - new shipping date - old qty - new qty
    filtered on change date for sales orders only. This seems beyond my preferred option of XL-Reporter and I'm getting lost in the history tables in creating a query.
    Best Regards
    Matthew

    Hi,
    Without doing the query for you, history tables are linked as the "normal" table but with the addition of the LogInstance column. Then the UpdateDate column (from base table ie. ADOC) will tell you when it was changed.
    Your query isn't an easy one... SInce you have to link an instance (ie. LogInstance = 1, which will be the original created object) to all the modified ones.
    Regards,
    Eric

  • A report to show 2008 Customer Sales by State.

    My customer needs a report to show 2008 Customer Sales by State.  I don't see any SAP reports that will do this.  Is the state held in any of the document files that I could use to create a query??  Or does anyone have a query that reports this information?

    Try using following query:
    SELECT T0.CardCode, T0.CardName, T0.DocNum, T0.DocDate, T0.DocTotal, T1.State
    FROM OINV T0
    INNER JOIN CRD1 T1 ON T0.CardCode = T1.CardCode
    AND T0.ShipToCode = T1.Address
    Though A/R Invoice, does not store the state code separately, it does store the addresscode, which was used for shipping, which could be linked to the Addresses table. Though if the user changes the address manually, than there is no other way, but to do some programming and find the address name, though it will be pretty difficult, because users might not always be correct with their spellings.
    Rahul

  • Price has been changed in sales order after invoice created

    Hi,
    We have a scenario where there has been a change in sales order prices after invoice created. when user try to pull out a report for incomplete sales orders through V.02 and these orders populating in (incompletion log is showing for Customer Expected price).
    when I looked into the changes for those sales orders, there is FI job which did all those changes and it is difficult to find the details of what the job does.
    Please suggest me the work around how should I remove these sales orders from incompletion log.
    Thanks
    Anuja

    Hi. Anuja. has accounting document generated.? Because once the accounting document generates there no fields we can change apart from output types. I think in your scenario there are no accounting documents generated. may be , because of that reason The pricing has changed after the invoice. In order to solve this , in billing type uncheck posting block check box......
    I Think it might helpful.
    regards, ADITHYA

  • Can we create a report that show us all comments created for a specific MP

    Hi All,
    I have created documents for multiprovider.
    Now, I want to know whether we can create a report that shows all the documents created on this multiprovider or not.
    Your help will be rewarded.
    Regards,
    Haritha.

    Check out this post: http://forums.adobe.com/message/4399918#4399918
    You can use skip logic to get the desired effect. If you have problems do it just reply back.
    Randy

  • Need to create alv report to show pan card number.

    Hi,
    I need to create alv report to show employee and vendor  name , number ,  Pan card number .This is for hr module.
    could any one tell me table and fields for this and how I can relate them with foriegn and primary key.
    Regards,
    Moderator Message: Do your own work
    Edited by: kishan P on Oct 5, 2010 10:38 AM

    Yes, but it only has one generic Date column, no start date and end date. I can't use that twice in the prompt. Although I can specify it to be 'between', but I'm not sure I can pass values to both variables like that.
    Currently I have used Campaign Start Date and Campaign End Date to enter values in calender format to the variables.

  • Creating check on officers who can change a sales order - User Status

    The user needs to create a check on persons who can change (User Status) on the sales order created.
    The sales order are created by a group of people. These group of people can not be allowed to change the sales order - User Status(In header Detail).
    Only a second level user users should be allowed change this user status.
    Can it be done at configuration level. Or should we use an Exit?
    Thanks in advance.

    Hi Sunoj,
    I never have used this auth. objects, but if you want to set restrictions on some users, search before in auth. objects. As I told you, you can use the tcode SU24 for this purpose. Do the selection, see the result, try it with tcode PFCG and check it.
    If you can do something with customizing tools or other standard tools (as authoritation tools) avoid the use of enhancements, BADI, BTE'S and so on. If you don't find the solution, then go to userexits.
    I hope this helps you
    Regards
    Eduardo

  • How to Create Interactive report lists for the gross sales, credit ....

    How to Create Interactive report lists for the gross sales, credit returns, and gross weight for the               customer for the current year and comparing the same with that of the previous year for the same period.....
    plz tell me steps to accomplish this....plz ...give me the detail description..plz......many many thnx in advance...

    Hi raja,
    Display a checkbox , customer number on the basic list and also set a GUI STATUS  on the basic list.....
    Select the customer by checking the checkbox and click on the button you create in the GUI status....
    Write the desired code to be displayed in
    AT USER-COMMAND even checking the sy-ucomm....
    so this would make you to into interactive list...
    Hope this would help you.
    Regards
    Narin Nandivada

  • Credit status change through Sales order - change log

    Hi Friends,
      I'm currently facing a scenario were it was reported by the client that
      credit release is happening automatically.
      Brief details : 
       Order was created on 4th Of Oct and it was blocked (reaches the VKM1 bucket )
       since the customer reaches the credit limit.The same order on 5th Oct was not in VKM1
       bucket were the status of order in Sales document header states that it's  released.
      Initial check : (Sales order change log)
      1, I've checked the change log on 5th Oct were the  field VBUK - CMGST  "Overall status of credit checks changed"  from  B to A.
       ((  Status and details below
          A - Credit check was executed and document is OK.
          B - Credit check was exectued and Document is not OK (credit block).
          C - Credit check was executed document not OK, Partial release.
          D-  Document released by Sales representative. ))
    2, I tried to replicate the order status for block and release, But when I release through  VKM1 / VKM3
         the change logs are getting updated with Status - D .(ie from B to D) .
      I'm  wondering that  what could be the reason that causes the system to update in the table - VBUK  - CMGST from A to B
      or because of what change from the client in the sales document header level could impact this changes.
      Note - There is no payment which received from customer on that day.
      Please let me know in case if you are getting the clue...
      Thanks in Advance..
      - Pugal stalin

    Hi
    A simple credit check, as the name suggests, is very simple in nature. The functionality is limited and considers only open A/R items and open items from special G/L and sales orders for performing the credit checks. When you create/change a sales order that is relevant for a simple credit check, SAP calculates the payer/customeru2019s credit exposure by adding the open A/R balance for the customer, open item balances from the special G/L, and the net sales order value. This credit exposure is then compared against the customer credit limit maintained in the customeru2019s credit master. If the credit exposure is greater than the credit limit, the system sets the credit check status as u201Cfailu201D and shows a warning, generates an error message, or performs a delivery block
    Regards from Pakistan

  • Restrict manual change in sales order with respect to quotation

    Hi All,
    The user use to create sales order with respect to quotation.  The user can able to change pricing as well as some header and item fields.  How can I restrict user for manual change in sales order expect some specific fields.
    Thanks.

    Hi Sunil,
    It is possible through configuration better you can post in sd forums.
    For the condition type settings , ensure that the manual entries is 'D'. it wont allow any changes in the order.
    Regards,
    Madhu.
    Edited by: madhurao123 on Aug 1, 2011 1:08 PM

  • Error while changing the sales order

    hi,
    Thanks in advance.i am trying to change already created sales order in va02.system is throwing an err "the sales document cannot be blocked".my purpose is to create a delivery with reference to this sales  order..when i try to create delivery with this same order it gives the err "you cannot block the transaction at the moment".
    Thanks
    Raks

    Dear friend,
    As our friend says check the schedule line first is it confirmed order qty and try delivery before that see if you have any delivery block in order if you don't have any block in sales order, once you get that error double click and see what response you get from performance assistant, see if you could locate the area were u get the problem.
    Regards,
    Arun.

Maybe you are looking for