Closing Date for Sales Order?

Hi, is there a way to get the closing date for a sales order? I've noticed the CloseDte on ORDR is always null.
If not, is there a way I can catch a close event in SP_TransactionNotification?
Thank you,
Jose

Hi Jose,
CloseDte on ORDR is not updated when the order closed.  It is not possible to catch a close event in SP_TransactionNotification either because this SP can only be used for Blocking the transaction.
The best work around is through ADOC table.
Thanks,
Gordon

Similar Messages

  • How to see archive data for Sales order

    Hi all,
            I am working on PS , network is created with sales order 10911. the components are added while sales order created, but after that someone deletes the sales order, because now it is showing oder does not found, where i get the entreis for sales order.
    Regards,
    Khushi.

    Hi Khushi,
    To see the archived data for sales order , go to transaction code SARA.
    Choose object name as SD_VBAK.Click READ.
    It will show a screen giving a name of program and option to execute in background or foreground.
    It will help you to get information about archived sales order data.
    Hope it helps you.
    Thanks,
    Sarita singh Rathour
    Edited by: Sarita Rathour on Aug 28, 2009 7:46 AM

  • Upload the data for sales order using BAPI

    hi experts,
    how to upload the data for sales order using BAPI.
    what is the FM?
    it would be much helpful if i have the sample code as i am very new to BAPI.
    thanks and Regards
    Shyam

    Hi  Shyam
    Its very useful for u
    BAPISDORDER_GETDETAILEDLIST
    BAPI_ACC_SALES_ORDER_CHECK
    BAPI_ACC_SALES_ORDER_POST
    BAPI_ACC_SALES_QUOTA_CHECK
    BAPI_ACC_SALES_QUOTA_POST
    Reward all the helpful answers..
    With Regards
    Navin Khedikar

  • How to get the pricing hierarchy based on the delivery date for sales order

    Hi,
    How to get the pricing hierarchy based on the delivery date for sales order other than system date.
    My requirement is to get the Pricing hierarchy based on the delivery date other than system date.
    Waiting for kind response.
    Best Regards,
    BDP

    HI Sai,
    please refer teh document already how to write FM based extration on generic extractors.
    and here  the logic to find the latest records values:-
    -> get the data in an internal table
    ->Sort the internal table data based from date descending
    -> Using READ statement , we can read the first record of the table which is nothign but your latest record.
    Regards.
    Sakthi

  • Creating Billing Plan data for sales order using BAPI

    Hello,
    Someone ones if there is any way to create a sales order (BAPI) and then create a billing plan (by means of another BAPI)?
    Or is there any way to create both at the same time?
    Kind Regards.

    Hi David and Nisha here is the code for creating sales order with bapi
    *& Report  YOBJ_BAPI_SALESORDER
    *& REPORT : CREATING SALES ORDER USING STANDARD BAPI
    *& AUTHOR : S.PAVAN KUMAR INUMARTHY
    REPORT  YOBJ_BAPI_SALESORDER.
    DATA : ORDER_HEADER_IN LIKE STANDARD TABLE OF BAPISDHD1 WITH HEADER LINE.
    DATA : ORDER_ITEMS_IN LIKE STANDARD TABLE OF BAPISDITM WITH HEADER LINE.
    DATA : ORDER_PARTNERS LIKE STANDARD TABLE OF BAPIPARNR WITH HEADER LINE.
    DATA : RETURN TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.
    DATA : SALESDOCUMENT LIKE BAPIVBELN-VBELN.
    *APPENDING VALUES FOR HEADER.
    ORDER_HEADER_IN-DOC_TYPE = 'TA'.
    ORDER_HEADER_IN-SALES_ORG = '1000'.
    ORDER_HEADER_IN-DISTR_CHAN = '10'.
    ORDER_HEADER_IN-DIVISION = '00'.
    ORDER_HEADER_IN-SALES_GRP = '130'.
    ORDER_HEADER_IN-SALES_OFF = '1030'.
    APPEND ORDER_HEADER_IN.
    *APPENDING VALUES FOR ITEM
    ORDER_ITEMS_IN-MATERIAL = 'M-13'.
    ORDER_ITEMS_IN-PLANT = '1000'.
    ORDER_ITEMS_IN-SALES_UNIT = 'ST'.
    ORDER_ITEMS_IN-DIVISION = '07'.
    ORDER_ITEMS_IN-GROSS_WGHT = '28000'.
    ORDER_ITEMS_IN-NET_WEIGHT = '28000'.
    ORDER_ITEMS_IN-UNTOF_WGHT = 'KG'.
    ORDER_ITEMS_IN-VOLUME = '0.780'.
    ORDER_ITEMS_IN-VOLUNIT = 'M3'.
    APPEND ORDER_ITEMS_IN.
    *APPENDING VALUES FOR PARTNER
    ORDER_PARTNERS-PARTN_ROLE = 'AG'.
    ORDER_PARTNERS-PARTN_NUMB = '0000001000'.
    ORDER_PARTNERS-COUNTRY = 'DE'.
    ORDER_PARTNERS-TRANSPZONE = 'D000080000'.
    APPEND ORDER_PARTNERS.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
    *   SALESDOCUMENTIN               =
        ORDER_HEADER_IN               = ORDER_HEADER_IN
    *   ORDER_HEADER_INX              =
    *   SENDER                        =
    *   BINARY_RELATIONSHIPTYPE       =
    *   INT_NUMBER_ASSIGNMENT         =
    *   BEHAVE_WHEN_ERROR             =
    *   LOGIC_SWITCH                  =
    *   TESTRUN                       =
    *   CONVERT                       = ' '
    IMPORTING
       SALESDOCUMENT                  = SALESDOCUMENT
      TABLES
       RETURN                         = RETURN
       ORDER_ITEMS_IN                 = ORDER_ITEMS_IN
    *   ORDER_ITEMS_INX               =
        ORDER_PARTNERS                = ORDER_PARTNERS
    *   ORDER_SCHEDULES_IN            =
    *   ORDER_SCHEDULES_INX           =
    *   ORDER_CONDITIONS_IN           =
    *   ORDER_CONDITIONS_INX          =
    *   ORDER_CFGS_REF                =
    *   ORDER_CFGS_INST               =
    *   ORDER_CFGS_PART_OF            =
    *   ORDER_CFGS_VALUE              =
    *   ORDER_CFGS_BLOB               =
    *   ORDER_CFGS_VK                 =
    *   ORDER_CFGS_REFINST            =
    *   ORDER_CCARD                   =
    *   ORDER_TEXT                    =
    *   ORDER_KEYS                    =
    *   EXTENSIONIN                   =
    *   PARTNERADDRESSES              =
              IF SY-SUBRC = 0.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *           EXPORTING
    *             WAIT          =
    *           IMPORTING
    *             RETURN        =
               ENDIF.
    WRITE : 'SALES ORDER IS :', SALESDOCUMENT.
    I have tested and go it.
    please go through it

  • CRMXIF_ORDER_SAVE_M01-IDoc Sample data for sales order in CRM.

    Hi Friends ,
    I am usig the IDoc CRMXIF_ORDER_SAVE_M01,I could able to save the Order in CRM,but the values of partners, Sales area,PO Category,Customer Po details and the material detail are not available in the created Sales order,though I am pasing them.
    Are there any mandatory fields/qualifiers I am missing
    E101CRMXIF_ACTIVITY - for the PO Category
    E101CRMXIF_PARTNER - for the Partners
    E101CRMXIF_ORGMAN - for the Sales Area
    E101CRMXIF_SALES - for the Customer Po details
    E101CRMXIF_BUSTRANS_ITEM - for the Material details
    Can any one share a sample IDoc segment fields with the data.
    I greately appreciate your early help.
    Thanks
    VJ

    Hi Vijay,
    Here what I would do to analyse this further. Please try to create the saem order directly in CRM with the
    same masterdata and test the result.  There might be a partner procredure or accesses which cna interfere.
    If this is not helpful please let me know the error message ID and number   you are getting in CRM as well.
    Best regards
    Christophe

  • Update Material Availability Date for Sales Order having a Delivery

    Dear Gurus,
    We have a bit out of the way scenario. There is a o/b delivery already added to a shipment. And then we receive a IDOC from external MES System (i.e. Production) with new material availability date. This new material availability date is updated on Sales Order. In short the order is delayed.
    Current Solution:
    In this case the user has to remove the delivery from the shipment manually. then the IDOC deletes the  delivery and the updates the sales order with new date followed by creation of new delivery.
    The business expects to updated the Sales Order material availability date without changing Shipment / delivery. Any solution?
    Current solution has to be changed as for Shipment purpose changes are made to delivery which are lost when the delivery is deleted.
    Edited by: abhishek singh on Feb 3, 2012 10:21 AM

    hi
    in this case you have to adopt the business process change.
    you have to update the EDI first and then you create delivery.

  • Modification date for Sales Order

    Hi Guys,
    Is there any field like Modification Number for SalesOrder. then where can i find this. thanks in advance.
    Thanks
    Kiran.B

    hi,
    once we create a sales order, any changes made can be seen in tables,
    CDHDR - sales doc. header data
    CDPOS - sales doc. item data
    you can use the info from these fields if trying to develop some logic regarding the changes.
    Pl reward if it helps.
    Thanks,
    Sadhu Kishore

  • Creating Billing Plan data for sales order using BAPI_SALESORDER_CREATEFROM

    Hi All,
    We are using BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order.We are unable to get the fields for billing plan tab in this BAPI.
    Kindly let me know the fileds in BAPI that corresponds to the fileds of billing plan in sales order.
    Thanks in Advance,
    Kiran I.

    Hi kiran
    hi Dhanapal
    i ahve the same problem which u posted..
    My scenarion is to create billing plan while creation of order using the BAPI_SALESORDER_CREATEFROMDAT2 but could not find any structure to pass billing plan details
    pls can u let me know if u found any solution for this if so can u send me detailed mail..
    i want to populate in both way header level and item level (by removing check header plan in the billing plan tab)
    Pls let me know ASAP..
    Thanks
    anil

  • Problem in updating the partners data for sales order

    hi all..
    am using bapi_salesorder_createfromdat2 to create salesorder..
    in the bapi am passing the partners data as follows..
    partner-partn_role = 'ZD'.
    partner-partn_numb  = <cust.no.>
    partner-itm_number = <item no.>
    after that..,the sales order is created succesfully .but now the problem is the partner data as shown above is not updated successfully in the item level details of sales order..
    is there any way to fix it ?
    please help me with the possible alternatives.
    thanks in advance
    suresh

    Hi Suresh,
    *Fill partner
    wa_order_partnr-partn_role = 'AH'.
    wa_order_partnr-partn_numb = '0000100001'.
    "wa_order_partnr-itm_number  = '000010'.
    INSERT wa_order_partnr INTO TABLE tab_order_partnr.
    wa_order_partnr-partn_role = 'WE'.
    wa_order_partnr-partn_numb = '0000100001'.
    "wa_order_partnr-itm_number  = '000010'.
    INSERT wa_order_partnr INTO TABLE tab_order_partnr.
    Is it a standard partner function or custom one.Check with german key words llike AH,WE.
    Regards,
    Madhu.

  • How to fetch data for sales order costing

    Hi All,
    How to fetch data for VA03 --> Extras --> Costing having cost element details.
    Thanks
    Gaurav

    Hi Gaurao ,
    There is no such function module  to extract data  in one column   , you have to  Convert all the columns data    in one column
    for period   .
    regards
    Deepak.

  • Schedule Lines dates for sales order

    Our goal is this:  On the line item > Schedule Line tab there is the requested delivery date.  In the details of that schedule line there are five different dates:
    Delivery Date
    Goods Issue Date
    Loading Date
    Material Aval. Date
    Transportation Plan. date
    We need to be able to put in the customers requested date that is in the future on this schedule line, but if the parts were to be recieved in earlier then the date they requested, then we would want the parts to ship out early automatically.
    For Example:  Customer Requested date is 01/31/08  and the parts are confirmed to come in on 01/31/08.  The parts end up coming in on 01/20/08, so the next time the delivery list is run, we would like the parts to ship out right away.
    Is there a way to do this?

    Thank you for the quick response.  I understand that we can use the reschedule report to manually monitor the product whether is comes in or not, but was hoping to achieve having a static date on the schedule lines of when the customer requests the parts, and then the delivery date that activates the MRP and ATP checks would be an earlier date.  So when the parts come in, it would read from the delivery date.
    Not sure if this is even possible, or if SAP standard for the schedule line dates is to how only one active date per schedule line.

  • Extracting User Status for Sales Orders

    I am trying to extract user status transactional data for sales orders (at both the header and item level).  I have been following SAP note 300300 to configure the status extractors and map the BW objects to sales order status data sources (2LIS_11_VASTH & 2LIS_11_VASTI).  I think I have set up both R/3 and BW correctly according to note 300300 and the IMG documentation, but I am not getting any values in the info source for the new user status info objects, when I run the extract.
    Has anyone successfully done this?  If so, do you have any documentation or pointers on how I can get this to work?  Or, am I better off creating a generic extractor?  Thanks for your consideration.
    Sincerely, Hashi Chakravarty

    Hello Ravi,
    well yes, I can derive the status for that order in the update rules if i show the status as an attribute of the 0pm_order; but basically there will be only the last status shown.
    My problem:
    a. i report on day 1, the status of the order is REL
    b. on day 2 i load the master data for the orders, new status is TECO
    c. on day three i want to report in the past and see the status of day 1; that's not possible in this scenario because i'll see the current status (TECO).
    So that's why I want to have the statuses in the cube...
    The 2lis_17_i3hdr extractor is only sensitive to CRT and TECO statuses, but not to the others (like REL / BLC and so on... :_(( )
    I could read the statuses from the JEST and TJ02T tables...but still, if a document status is changed, no delta record is written in the queue...
    Thanks,
    Tudor

  • Table for Sales order Cost Est?

    Cost estimate data for sales orders used to be kept in KEKO and KEPH -
    Now that we've upgrade to 5.0 - there are only product cost estimates.
    Anybody know the tables for sales orders?
    thanks

    Dear Althea,
    please check with this tables.
    VBAG                           Sales Document: Release Data by Schedule Line in Sch.Agrmt.
    VBAK                           Sales Document: Header Data                               
    VBAP                           Sales Document: Item Data                                 
    VBBE                           Sales Requirements: Individual Records                    
    VBBS                           Sales Requirement Totals Record                           
    VBDATA                         Update data      
    Regards
    Mangal.

  • Schedule line date in Sale order for backward sched.

    Dear Experts,
    In my MTO Scenario, I want to Use Backward Scheduling, so as any change in Schedule line dates in Sale order shall take effect at least in planned order Stage, i.e in output of MRP,
    But not happening so..
    I  have customized OPU5 and checked OPU3 as well,
    Please suggest...
    Regards
    Raghu

    HI Mario,
    Thanks for reply,
    I have not worked in this strategy but will try,
    What i found was, in Planned orders detailed scheduling tab, the Scheduling type appeares to be Forward, but when i convert it to Production order it shows backward scheduling.
    This duel behavior is difficult to understand.
    Regards
    Raghu

Maybe you are looking for

  • Error #1034 Type Coercion fail with registerClassAlias and nested Vectors

    I'm attempting to use flash.net.registerClassAlias and ByteArray.writeObject in order to serialize/deserialize data with static type information.  It works as you'd expect in the general case but I've run into problems with some nested Vectors that I

  • How to read 16 bits at a time from a file.

    Hi everyone: I have a homework problem that requires me to read from a file 16 bits at a time, which is a signed value. I have tried using the code below: try     {      FileInputStream fis = new FileInputStream(fileName);      DataInputStream dis =

  • Upgrade from 30.9.8.2 to 9.0.4

    Hi all, I’m planning upgrade my current version from 3.0.9.8.2 to 10.1.2. The fist step is to upgrade to 9.0.4. My fist question is: to do this upgrade I need to have the version 3.0.9.5 or I can upgrade to 9.0.4 from 3.0.9.8.2? If I have to have 3.0

  • I want to put a row of my favourites at the top of the screen like the favourites bar in internet explorer !!

    when i use internet explorer I get an irritating message saying internet explorer has stopped working, which is driving me mad so I will not use explorer any more I am trying mozilla firefox, there is a function in explorer that I like which is a fav

  • Episode with no sound

    Bought an my little pony episode and have no sound across 3 Apple TVs , 2 ipad, 2 iPhones while streaming.  Tried downloading it to ipad and still no sound. Please help.