Where we can check the Sales order cancel reason?

Hi,
We are developing a custom report for Sales Order Booked Vs Cancelled. In this report we want to display the reason for canceling the order. We are selecting the reasons while canceling the sales order. But the reasons are not showing in the tables. Where we can check the reason for canceling? Is there any table?
Regards,
Prabhu.S.J

Check this query:
SELECT FLT.MEANING, OER.REASON_TYPE, OER.REASON_CODE, FLV.MEANING, OER.COMMENTS, OER.CREATION_DATE, OER.REASON_ID, OER.ENTITY_ID, OER.ENTITY_CODE, OER.VERSION_NUMBER, OER.HEADER_ID from OE_REASONS OER, FND_LOOKUP_VALUES FLV, FND_LOOKUP_TYPES_VL FLT WHERE FLV.LANGUAGE = userenv('LANG') and FLV.VIEW_APPLICATION_ID = 660 and FLT.VIEW_APPLICATION_ID = 660 and FLT.SECURITY_GROUP_ID = fnd_global.lookup_security_group(FLT.LOOKUP_TYPE, FLT.VIEW_APPLICATION_ID) and FLV.SECURITY_GROUP_ID = fnd_global.lookup_security_group(FLV.LOOKUP_TYPE, FLV.VIEW_APPLICATION_ID) and FLV.LOOKUP_TYPE=FLT.LOOKUP_TYPE and OER.REASON_TYPE=FLV.LOOKUP_TYPE and OER.REASON_CODE=FLV.LOOKUP_CODE;
It might help you.

Similar Messages

  • Creating delivery, can I check the sales order's field using user-exit or ?

    Hi dear.
    When I create a delivery in VL01N or other transactions, I want automatically to check the sales order's some field and to decide whether create or not.
    Can I use user-exit for that?
    Or other solutions is there?
    Thanks regards

    Yes your requirement can be achieved thru a User Exit.
    There are many User Exits available in Delivery as listed in the link below:
    https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
    The selection of necessary User Exit is based on your specific requirement.
    Also if you want to check some feild of Sales Order whether it is completed or not, then you can also use Incompletion Procedure in Sales Order, which will make sure that no Sales Order is saved until the end-user enter data in those feilds.
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • How to check the sales order that has been PGI from a range of dates.

    Hi SAP Gurus,
    I have a query on how can I check the sales order that has been PGI from a range of dates in SAP?
    Thanks,
    Madelyn

    Dear Madelyn
    Go to VA05, give the date range and execute.  List of sale orders will be generated.  There you can see a tab "Status"  in which, the status would be like
    -  Not delivered
    -  Partially delivered
    So based on this, you can decide whether the order is still open or completed.
    thanks
    G. Lakshmipathi

  • How to check the sales orders that have been created with an Rebate Agreeme

    Dear Experts,
    Do you know how to check the sales orders that have been created with an Rebate Agreements?
    Thanks!!

    Hi Hoo Laa,
    I have one way but little lengthy.
    Rebate condition always appears in the billing document.
    So 1st you extract the sales order list from Table VBAK.
    once you have the sales order list then you can put your order list in Table VBFA --> Extract the billing document list.
    Now put that list in the table VBRK.
    In VBRK you will get the "Doc. condition" --> put that doc condition in table KONV with your rebate condition type.
    It will show the result.
    Later, through VLOOKUP you can identify in which order you have given rebate to your customer.
    Already said, Little lengthy
    Regards,
    MT

  • Where I can check the internal table memory that have the system?

    Hi
    I have some jobs that cancel with this error:  No storage space available for extending an internal table.
    Where I can check the amount of space memory that have the system and if I can resolve this problem if I put a commit work or something like that?
    The dump stop when I make a import:
    IMPORT TIMES DHIST3 SUM3 FROM DATABASE MONI(DB) ID MONIKEY.
    Thanks for the help!

    hi,
    goto:
    sm04 - goto- memory
    A.
    Message was edited by:
            Andreas Mann

  • Where we can check the logs if system or application fails.

    Dear Support,
    If we are facing any system oriented issue or application oriented issue,where we can check the logs in the computer.
    This logs will help us for me to identify the error code and also to fix the resolution of the error for the same.
    Regards
    Pradeep.R

    Hello Pradeep.R,
    I can’t find a log to trace both application as system logs at the same time.
    We could try the following workaround.
    Open two Event Viewers and separately check the application and system logs based on time.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Where we can check the Confirmation of gross weight .

    hi,
    iam executing the fm SD_DELIVERY_UPDATE_PICKING_1 , in that i want Confirmation of gross weight  and Confirmation of netweight values, can any body tell me  where we can check that fields.
    thanks in advance.

    not sure if this can help u
    LIKP-NTGEW
    LIKP-BTGEW

  • Tables or bapi where i can find the production order' components

    Hi Gurus,
      Someone knows what are the tables or bapi that i need to know
    what are the components of a producton order.
    i can see the production order's comonents in CO02, but i need to know the components of a production
    in order to generate a report.
      Any suggestions ???
    Kind Regards
    Edited by: noemi huerta on Nov 4, 2008 1:15 AM

    Hi.
    This FM has been very helpful to me: BAPI_PRODORD_GET_DETAIL.
    You use this one to make the detailed data of an order available. Using the parameter ORDER_OBJECTS you can define which order objects are selected and returned.
    CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
    EXPORTING
    NUMBER
    COLLECTIVE_ORDER
    ORDER_OBJECTS
    IMPORTING
    RETURN
    TABLES
    HEADER
    POSITION
    SEQUENCE
    OPERATION
    TRIGGER_POINT
    COMPONENT
    PROD_REL_TOOL
    Kind regards,
    F.S.A.

  • Where we can check the changes that we have done in the Projects

    Dear Friends,
    I have done few changes in the project WBS element after saving the Project, Now I want to check what all the changes that I have done in the WBS.
    In which transaction I can check these changes apart from u201CCN60u201D, and please explain step by step what all the customizing setting are required to check these changes.
    In Projects is it possible to check the way we are checking the changes in PO and Sales Orders.
    Regards,
    Sai

    Nitin Patoliya,
    Thanks for the inputs, I have tried as you suggested there it is showing system status Created and released, but Iu2019m not getting the information as I required. Here exactly what Iu2019m looking is If I have done any changes in the Project, Eg: after saving the Project if I have changed the Business area, profit center u2026.etc, I need the information when I have changed this data and at what level (WBS, Network or Activity).
    Regards,
    Sai

  • I have unchecked all the toolbars from the top of my screen but now I cannot get them back as the right click does not bring the same menu where I can check the toolbars back. I had unchecked address bar too so now I am wondering how to get these back. I

    i think i covered all the details.
    == This happened ==
    Just once or twice

    In Firefox 3.6 on Windows you can hide the menu bar via "View > Toolbars" or via the right click context menu on a toolbar.
    Press and hold the Alt key down to bring up the menu bar.
    Go to "View > Toolbars" or right-click the menu bar or press Alt+V T to select which toolbars to show or hide.
    See also [[Menu bar is missing]]

  • Where we can assign the sales revenue account in the fi-sd integration?

    hi

    Raavi:
    Kindly read the rules of engagement if you are new to the forum.
    Post a new question in a different thread.
    Accruals:An accrual any expenditure before the closing key date which represents an expense for any period after this date.
    Deferrals: Deferred income is any receipts before the closing key date which represent revenue for any period after this date.
    For info on basic topics go through help.sap.com
    Download pdf's from http://www.easymarketplace.de/online-pdfs.php to get basic understanding of FI-CO processes.
    Don't forget to assign points if info helps.
    Vj

  • Where we can find the purchage order

    hi

    Hi,
    T-code: Me21n Create
                   Me22n Change
                   Me23n Display
    Tables: EKK0  Header
                : EKP0  Line item
    Best Regards
    Ashish Jain

  • What table where i can find the errors in Sales Order

    hi,
    what table where i can find the errors in Sales Order. here's my situations, I need to create a abap report of CRM sales order not replicated to R/3 and show what's the error. I can't find the actual error in CRMD_ORDDERADM_H and CRMD_ORDERADM_I. I also tried calling program "CRM_ORDER_READ" but the program doesn't display/returns error's on header and item level.
    please help.
    earl g. faren

    hi,
    what i need is a table where i can find the sales transaction errors. I'm doing a abap report to list down sales transactions with error(s). I checked the table CRMD_ORDERADM_H and CRMD_ORDERADM_I but there's no field for transaction errors.
    please help me find a table where I can link the tables above to get the specific errors for a sales transactions.
    thanks alot.

  • Sales order cancel / reject date

    Dear all ,
    I need to know the Sales Order cancel date or rejection date if the sales order is been cancelled.
    Where can i get this date from ,which table?
    VBAK or VBAP?
    Please advice.
    Thanks,Swati

    hi,
    we can check the status of the sales order using the following table and fields.by checking the status we can get the dates also.
    VBUK-ABSTK.
    this is at header level
    VBUP-ABSTA
    this is at item level
    regards
    muthuraman.d

  • How to retrieve invoice details from the sales order .. urgent..

    hi,
    i am retrieving  vbak-vbeln with this i should retreive invoice details
    how to relate vbak with abrk table
    i have vbak -vbeln,erdat,VBAK- VKORG,VBAK-KUNNR,VBAK-VTWEG,VBAK- SPART.
    its urgent..

    Hi
    U can see the sales order number in VBRP table, fields:
    VBRP-AUBEL and VBRP-AUPOS.
    But if u have the sales order number it's better to use VBFA table.
    SELECT * FROM VBFA WHERE VBELV = VBAK-VBELN
                         AND VBTYP_N = 'M'
      SELECT SINGLE * VBRK WHERE VBELN = VBFA-VBELN.
      IF SY-SUBRC = 0.
        WRITE: 'Bill number:', VBRK-VBELN.
      ENDIF.
    ENDSELECT.
    U have to make sure to use the right document type:
    M = Invoice
    N = Invoice cancellation
    So the bill type depends on the sales order type
    Max

Maybe you are looking for