Get Sale order created date & time

Hello.
    Can anybody help me in finding the function module which takes sale order no. as input & gives me the order created date & time as output.
Regards
Devika.S

In Table VBAK,  you can see both these fields
1)  ERDAT:::::Created date
2)  ERZET::::::Created time
thanks
G. Lakshmipathi

Similar Messages

  • Sales order created date for Quotation

    Hi Experts,
    Need your advice,
    I need to create report, my requirement is below,
    Quatations, Quatation created date, First sales order created date.
    so for this, I've created new Infoobject ZSODATE, ZREFDOCNUMBER which will bring date for sales orders
    logic used :
    Doc Type : ZPRO (sales orders) and ZPRQ (quatations)
    so ZREFDOCNUMBER will have all document number of  DOC TYPE = ZPRQ & ZPRO
    For Eg.
    Quatation = 200001 created on 20/07/2010.
    sales order created under quatation 20001 is 53 on 22/07/2010.
    Now I need a report like this
    Quatation = 200001
    Created on = 20/07/2010
    First Sales order created = 22/07/2010.
    but my out put is
    Quatation          Created date               First sales order created
    200001             22/07/2010                      22/07/2010
                          20/07/2010                           x
    Note I've created formula variables for created date and first sales order created.
    Thanks in Advance
    Regards,
    Raghav

    Hi,
    Are you having Autation creation date and Sales order creation date in seperate filed?
    If yes then Just put the global filters on document type as per need.
    Display all required four fileds in report.
    I hope it will help.
    Thanks,
    S

  • Sales Order cancellation date

    Hi
    Can any one please tell how to get cancel date for a particular sales order.
    I want to get the date on which the sales order is canceled.
    Regards
    Sreenivasa Reddy V.

    Hi Vasanth,
    I think, VEDA won't help much in getting sales order cancellation date.
    It's simply about contracts.
    For line items, after checking 'ABGRU' field, can i take last changed date... i am not sure of it.
    also i need cancellatin date for Sales Order itself and not for line items.
    Regards
    Sreenivasa Reddy V.

  • Is the time column in VA05 the time the sales order created?

    i have added a time column in VA05. May i know whether it is the time the sales order is created? How do i know if it it the created time? Need to know the sales order created time, for example at 7:00. Thank you

    Hi
    Yes this is the order creation date. You can cross check by seeing the time by checking the entry in table (VBAK-EZERT) by passing the VBAK-VBELN as the order number.
    Thanks
    Indranil

  • How to get sales order data in substitution of fi-docu from GM posting ?

    How to get sales order data in substitution of FI documents from goods movement posting?
    When I posting a material document with movement type "501E", the system will creating a FI document automatically. And I need to get the sales order data in the substitution of FI document.
    I tried to export the data of the material document in user-exit "MB_CF001 Updating of material document data upon posting", but this user-exit does not triggered in the posting process at all. what's the problem?
    Do you have better solution or idea for this? Please help me. Thank you!

    Hello Harish,
    Please use BAPI_BUSPROCESSND_GETDETAILMUL to read details of sales order. This works as a remote enabled counterpart of CRM_ORDER_READ.
    Similarly if you want to display sales order from R/3, use FM BAPI_BUSPROCESSND_DISPLAY.
    Regards
    Kaushal

  • Getting Error while creating multiple Orders using Sales order Create BAPI

    Hi,
    I am trying to create 2 orders thru the Sales order create BAPI before I commit and save the orders. The Orders are getting created and the BAPI is coming back with success, but it is not setting the system status on the line items of the 1st order. So when I try to cancel the line items on the first order I get the error 'No status object is available for SDI 4924/10' . I would really appreciate if anyone has encountered such error before and could help me out with the reason for this error and the possible solution.
    Thanks in advance,
    David.

    Hi,
    Check the following link:
    http://www.sap-img.com/bapi.htm
    Regards,
    Bhaskar

  • How to get  sales order data in R/3. Any FM?

    Hi ,
    Is there any FM in R/3 to get sales order data.
    In CRM we use CRM_ORDER_READ to get the Header and Item details. Like wise FM in R/3 is required.
    Actually I have to test 'Usage' in sales tab of VA01/VA02/VA03.
    How to get the order details? what is the user exit for ORDER save?
    If any body knows please do let me know.
    Thanks and Regards
    Harish

    Hello Harish,
    Please use BAPI_BUSPROCESSND_GETDETAILMUL to read details of sales order. This works as a remote enabled counterpart of CRM_ORDER_READ.
    Similarly if you want to display sales order from R/3, use FM BAPI_BUSPROCESSND_DISPLAY.
    Regards
    Kaushal

  • 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

  • Is there any bapi that i can create sales order and date

    Hi Gurus
    is there any bapi that i can create sales order and date .

    This appears to be related to Problem With BAPI_SALESORDER_CREATEFROMDATA but without the detail. If you want to ask again, please add that detail.
    locked
    Rob

  • How to get sales order data with GL tables

    I want to get sales order details from my GL query. I need to get item number, quantity and customer PO from there. Here is my query from GL.
    SELECT PH.po_header_id,
      I.GL_DATE,
      R.je_header_id JE_HEADER_ID,
      R.je_line_num JE_LINE_NUM,
      aeh.org_id ORG_ID ,
      I.invoice_num TRX_NUMBER_C ,
      ael.description COMMENTS ,
      ael.ACCOUNTED_CR ACCOUNTED_CR,
      ael.ACCOUNTED_DR ACCOUNTED_DR,
      ael.code_combination_id CODE_COMBINATION_ID,
      ael.currency_code CURRENCY_CODE,
      ael.entered_cr ENTERED_CR,
      ael.entered_dr ENTERED_DR,
      PH.segment1 PO_ORDER_NUMBER,
      GL.segment1 company,
      GL.segment2,
      GL.segment3,
      GL.segment4,
      GL.segment5 account
      ,ael.description
      ,PD.quantity_ordered, PD.amount_billed, D.quantity_invoiced,  D.unit_price
    FROM gl_import_references R, --ok
      gl_je_categories jc,
      ap_ae_lines_all AEL, --ok
      ap_ae_headers_all AEH, --ok
      ap_invoice_distributions_all D,
      ap_invoices_all I,
      ap_accounting_events_all AE,
      po_releases_all PR,
      po_headers_all PH,
      po_distributions_all PD,
      po_vendor_sites_all VS,
      gl_code_combinations GL
    WHERE 1=1
    AND jc.je_category_name       = aeh.ae_category
    AND PR.po_release_id(+)       = PD.po_release_id
    AND PH.po_header_id(+)        = PD.po_header_id
    AND PD.po_distribution_id(+)  = D.po_distribution_id
    AND ael.third_party_sub_id    = VS.vendor_site_id
    AND AE.accounting_event_id    = AEH.accounting_event_id
    AND I.invoice_id              = AE.source_id
    AND AE.source_table           = 'AP_INVOICES'
    AND AEH.ae_header_id          = AEL.ae_header_id
    AND DECODE(ael.source_table,'AP_INVOICE_DISTRIBUTIONS', AEL.source_id,NULL) = D.invoice_distribution_id(+)
    AND AEL.gl_sl_link_id         = R.gl_sl_link_id
    and ael.code_combination_id = GL.code_combination_id

    Then your query is completely wrong.
    Your query is looking at Purchase Order tables.
    If you want sales order data, you should be looking at OE tables (such as OE_ORDER_HEADERS_ALL, OE_ORDER_LINES_ALL etc.)
    Sandeep Gandhi

  • Sales order schedule date is a (working) day before Scheduled ship date

    In MRP/MPS planning, the forecast consumption is occuring for all sales orders at a date (sales order schedule date) which is always a working day before the Scheduled Ship Date (SSD). What is the logic?
    Time fences are not used.
    E.g. Sales order is scheduled to ship (SSD) on 30th Nov, in forecast set > Forecast items > Consumptiion > Detail, the sales order schedule date is a day before SSD.

    Hi,
    This is a complex issue; best solution is by using APO/GATP.
    If not, then in ERP only, the second best is:
    1) Work with assembly processing in SO, meaning that a production/planned order is automatically created in the customer order during order creation.
    2) Then, after the order is created it is scheduled, and the delivery date proposal is based on that.
    3) Now you can check in the order that there are no capacity overloads, and all capacity required to produce on the proposed date is available. If yes, you're done. If not, it gets a bit complex, since you actualy need to switch to capacity planning, do capacity leveling and dispatch (PP), and the you get a new feasible schedule proposal based on that.
    APO/GATP could do all that automatically!
    Regards,
    Mario

  • Sales order delivery dates

    Hi all,
    A critical scenario I am stuck in. My client has 3 plants viz. 1000, 1100, 1200. Plant 1000 gets sales orders from different customers and production happens on plants 1100 and 1200 through special procurement key. Customer A and customer B are very important for plant 1000. For customer A client allocates 25 tonnes per week and for customer B, 15tonnes/ week. The amount agreed can be changed at any time with the customer.  The purpose of this allocation is to reserve capacity for these customers in order to provide short lead time.
    Capacity of plant 1100 is 200 tonnes per week( I am not sure where to define). If for last 3 weeks, capacity booked in plant 1100 is 190 tonnes including 15 tonnes of Customer A and 15 tonnes of Customer B , then plant 1100 can take orders for 10 tonnes more.When a person creates a sales order in plant 1000, it should show that plant 1100 has capacity available only for customer A and for other customers it should show later date for delivery.client wants to set a forecast demand of 25 tons/week for customer A and 15 tons/week for Customer B. As client receive specific orders from customer A or B, this should reduce the forecast tonnage accordingly.
    How to map this?? kindly guide.
    Regards.

    Hai,
    Can you please check this link
    http://help.sap.com/saphelp_afs64/helpdata/ru/bf/42ddf221c20a49afa6fc47186222be/content.htm
    Regards,
    Mani

  • Sale Order additional data B.

    Hi,
    I have created 2 z fields in sale order additional data b at item level.
    but when user is entering any data in that field,same data is getting displayed for all line items.
    how to control that for particular item for which user has entered.
    Data Entered in z fields are used only for display purpose which are used for some calculations.

    hi,
    in PAI  usercommand  module  
    use loop endloop for internal table which store item level data 
    loop at item level data
    user command module 
    endloop.
    in module  driving program .
    module
    read table it_issue index tab_ctl-current_line transporting no fields.
      if sy-subrc = 0.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        modify it_issue from it_issue index tab_ctl-current_line.
        clear it_issue.
      else.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        append it_issue .
        clear it_issue.
      endif.
    endmodule  .
    regards
    deepak.

  • FM to get sales order details with billing document .

    hi ,
    is there any standard FM or BAPI to get the sales order details with input as billing document ?
    i have the billing document number now i need to get the sales order number and its details ..
    is that possible ..
    i very well know how to get it by using query, i need standard FM.
    Points will be awarded for sure , if it helps .
    Thanks and regards
    JK

    Here is the list of BAPIs
    BAPI_QUOTATION_GETDETAILBOS
    BAPI_INQUIRY_GETDETAILBOS
    BAPI_SALESORDER_GETDETAILBOS
    SALES ORDER->
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order

  • Delete sales order created more than three days ago

    Hi Experts,
    "Business has created lot of sales order  for prepayment. Only part of them are converted to deliveries, rest are stored in database.
    In Open sales orders report old orders are confusing, because of Country legislation the conditions of a sales order are valid during 3 working days. Therefore after 3 days not paid orders should be deleted."
    Kindly let me know if we have a standard fucntionality in SAP through which we can pull open sales order more than 3 days old and then can delete the same.
    If not can you help me in understanding the Logical Flow that is needed to meet the Business Requirement through a customized program.
    Looking forward to seeing your replies.

    Hi,
    As per your business requirement stated above I recommend not to delete any sales order instead use a Zprogram for sales order and mark them as "MARK FOR REJECTION".
    Doing this will solve your problem of getting unnecessary sales order in standrad report of Open sales order as in standard Rejected Sales order are not considred as in VA05 Report. and also keep record of the sales order created by you for future purpose.
    further to this as per your business requirement you have to mark line Item wise "Mark For Rejection.
    Here in coding you can give logic from Document creation date or Document Date + 3 Days if that is < system date then mark them for rejection.
    Hope this solves your purpose.

Maybe you are looking for

  • Can't print, can't find printer...suddenly

    So everything was fine yesterday. Now today my Macbook Pro could no longer print. The printer cue showed the printer as busy. So I deleted the printer and tried to add it back in. Now it does not show up in the printer prefs at all. In the Add Printe

  • Setting up Outlook 2010 as email client for Verizon Yahoo email fails

    I am trying to set up Outlook 2010 as my email client in Verizon Yahoo. I have reached the Internet E-mail Settings window in Outlook 2010 and entered the settings specified in the Verizon Yahoo! Internet Help file titled "How do I receive my Verizon

  • Is JAXB there in j2me?

    I have a MIDP application calling a web service. Web service returns XML data in String format.... String srt= XML data <survey>...<survey> which i got after converting objects to xml using XStream. is there a way to convert XML string back to object

  • Does CC take over my perpetual CS6 licence?

    I have a perpetual licence of Creative Suite 6 and am running many of its applications - InDesign, Photoshop, Illustrator and so on. It is working perfectly for the print-based work I do. However, I may take on a job that requires me to subscribe to

  • Update terminate error in va02 Z print program

    Hi All, I have an update terminate error in va02 Z print program when it encounters information message statement while printing the sales order. I have changed it to status message then no error This is happening only in precessing status 4(send imm