Get Lastest date of the Work Order confirmation

Hi experts,
I want to write a report to get the lastest date of Work Order confirmation.Pls give me some logic solution. How to do?
I know the work order can be cofirmed partly,So there are maybe several date for work order confirmation,I only want get the latest one.
Edited by: Bean Dou on Jan 5, 2009 8:24 AM

SORT BY DATE FIELD
DATA:CNT TYPE SY-TABIX VALUE 0.
SORT ITAB BY ERDAT. --->SUPPOSE THIS IS THE DATE FIELD
LOOP AT ITAB.
CNT = CNT + 1.
ENDLOOP.
READ ITAB  INDEX CNT.
****NOW YOU CAN GET THE LATEST DATE ROW******
ITAB-ERDAT.

Similar Messages

  • Scheduled start and finish dates in the Work order.

    Hi Friends,
    I am facing peculiar issue that once the Work order has been released schedule start and finish dates should be derived from the control key and
    operation hours and work center capacity,infact in my case while releasing the Work order,these dates (scheduled start & finish) are not been
    populating in the Work order,(but SAP standard behavior is while releasing WO,the dates should be populated).
    though i have maintained proper configuration
    could you please light up some thing on it.
    Regards,
    Srinika

    Check Scheduling Parameters assignment to order type, Scheduling option in Control key.

  • Updating PO confirmation and ASN through Work Order Confirmation

    Hi,
    We implemented PO collaboration and Supplier is doing PO Delivery confirmation and ASN.Now we are implementing Work Order Collaboration and system  created Work Order with reference to Purchase order.
    I want to know whether PO confirmation  and ASN date gets copied from Work order dates(after doing confrimation for phase Transport).
    I want to know what setting we need to do as presently it is not getting copied to Work order. And I want to know how it updates ECC confirmation tab for Purchase Order.
    Please do the needful
    Regards
    Raghavendra Pai

    Hi Raghavendra
    The above validation check will prevent supplier confirming purchase order request lines in PO details screen, so only supplier can confirm through WO confirmations, i.e by accepting the work order request lines in delivery overview, adapt the work order
    This will make the work status as CIAG from CINE, in negotiation to in agreement
    Then you can publish the work order, this will copy the confirmed data from the work order as identical request data and confirmation data to the purchase order. this data will be picked by ROC_Out and updates the po data in backend
    Please check whether ROC_out is available in customizing
    SPRO-SNC-BASIC SETTINGS-PROCESSING INBOUND & OUTBOUND-PROCESS TYPES OUTBOUND MESSAGES
    ASSIGN OUTBOUND MESSAGES TO DEFAULT PROCESS TYPES
    REPLORDC_O ASSIGNED TO ICH SUPPLIER COLLABORATION
    Still if does not trigger, kindlly check the log slg1
    it could be problem with ODM's ,POS etc
    Best Regards
    vinod

  • Final issue indicator on the general data button on the work order

    Hi Gurus,
    can anybody please let me know why the final issue check box is checked automatically even before the goods are issued via migo against the work orders. This check box is on the general data tab of the material entered on the components tab of the work order. Please help. As a result of this, the store room clerk cannot issue the material againsth the work order, because this check mark is checked. I want to understand what is causing the check mark to be checked automaticallu even before tthe materials are issued out
    Thanks
    ANusa

    Hello!
    This might have occured due to completion confirmation of order before goods issue. Generally this happens if final issue indicator is set as default in completion confirmation tab. Please check and reply if problem is something else.
    Regards,
    Vaibhav Mishra
    Edited by: Mishra_Vaibhav on Jan 27, 2011 5:23 AM

  • Scehdule Line Date getting change to future date once the Sales Order is saved

    Hello Experts,
    Good Morning to you all,
    This is with respect to the Issue we are facing for the Orders having Product Allocation on multiple materials. Please find enclosed the detials below.
    Issue : Scehdule Line Date getting change to future date once the Sales Order is saved. These Order's are having Product Allocation on multiple materials.
    Description:
    We have implemented Product Allocation few months back.
    We have Product Allocation on multiple materials which are in demand and has been reserved for the Customers of different PA behaviors.
    When we are trying to create the Sales Orders for the normal customer who is not on Product Allocation. The Order Schedule Line is getting changed to future date once the Sales Order is saved after initial creation.
    These Order's are having materials of Product Allocation.
    I have enclosed the sample screen shot of the error we are getting which saving the Sales Order and also the Order Schedule Line screen shot showing future date.
    Error Message : There may be Product Over Allocation in Delivery Group 001.
    Message No : VV023
    This is a random behavior we are coming across and out of 10 Order 2 or 3 Orders is getting this Issue.
    Please share your inputs how to rack this Issue.
    Your suggestions will be highly appreciated.
    I am unable to upload the attacments dont know what the reason.
    Thanks,
    Farhan.

    Check whether you need to carry out the coding corrections as recommended in the following note:-
    Note 52067 - Message VV023/VV024, but no prod.alloc.processing    
    But I wonder this is for older versions and not sure whether this would help you to overcome from the issue.
    G. Lakshmipathi

  • BAPI or FM to get the work order number

    Hi
    Kinldy let me know if there is any BAPI or FM to get the work order number (aufnr)  from to Purchase requisition number (banfn) & Item number of the purchase requisition in the order(bnfpo).
    Thanks ,
    Arun

    Table EBKN will help you.

  • Unable to change requested delivery date in the sales order at item level.

    The issue is when I create order with one material (linked to network and project is created automatically in the background), I am able to change (in change mode) req delivery date for an item, but when I create order with 2 materials (linked to network and project is created automatically in the background), I can not change (in change mode) the req delivery date of any item. Req delivery date is then copied from the header req delivery date.
    Is this a standard SAP functionality or a defect?

    Req del date is the date requested by customer and  can be changed at item level. Probably the confirmed date in the schedule line is derived from the network scheduling after ATP check. (ATP check is not activated in this case)
    I am able to change the req del date at item level if there is only one item (Linked to network) and not when there are two line items (Both are linked to 2 diff networks belonging to same project)
    I tried to change the date in the network, scheduled and saved but that didnt change the date in the sales order. On the contrary, if I run ATP check, netowrk dates get back to original dates derived from sales order.

  • Modification of the Work Order Program TCode IW31

    I need to do a modification to the work order program. Tcode IW31
    When creating a work order with reference to an old work order, we want to clear any PRT data that might be in any item of the operations tab of the old order.
    My question is:  Which method should I use to get this change done?
    I looked at the badi = IWO1_ORDER_BADI --> the method REFERENCE_ORDER_CHK, but I do not think this is the right one.
    Please help me...
    Thanks.
    Regards,
    Francisco.
    Message was edited by:
            Francisco Alonzo

    To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
    Double click on method GET_INSTANCE, put a break point on case statement.
    Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
    Reward if it is useful.
    Thanks,
    Srinivas

  • How do I lock the work order number on my form to not change

    Thanks to everyone who helped on this form.  The work order number is setup to generate according to the date and time, only problem is that it changes everytime it gets opened, can it be setup somehow to lock it in automatically when I send it or the customer sends it back?   Form is attached
    Thanks
    Mike

    Simply put a condition in to test if there is anything in the field .....if it is empty then go ahead and calculate your number if there is something in it then do not calculate the number. Also you shodul not use teh Calculate event for this script. I moved it to the docReady event. It will work on the calculate event but the calc event is fired many times in the normal operation of the form where as teh docReady event is only fired once (when the form loads). This is a much more efficient way to use your form.
    See the modifed attachment.
    Paul

  • How do I get routing data from the Map App (powered by TomTom) so I can display the point-to-point annotations (turn-by-turn navigation) without leaving my own application.

    I have a tableView displaying a list of contacts from a Cloud Database.  After selecting a contact, I push to a programmatically created MKMapView.  Then I display the initial region (the view) that includes the users current location (starting point) and their selected destination (end point).
    Now I want to display annotations (as described in the Location Awareness Programming Guide) that displays polylines which will represent the turn-by-turn navigation IN MY OWN APPLICATION, and not in the Map App currently used in IOS6. 
    Due to licensing and its becoming depricated in IOS 6, I do not want to get routing data from the Google Maps API.  How do I get routing data from the IOS 6 Map App (powered by TomTom) so I can display the point-to-point annotations (turn-by-turn navigation) without leaving my own application?
    I checked out Stack Overflow and other forums which basically left me with the impression that this is not possible. I also checked out the TomTom iPhone Mobile SDK User Guide from the TomTom Developer Portal and am still confused.  It must be possible to retrieve routes, since the Map App can display turn-by-turn directions.  How can I retrieve turn-by-turn data that I may display as a route within my own application?

    Thanks Michael. Apologies for the slow reply I was away for a bit (holiday blitz at work and visiting family madness etc.etc.) back now, I set both options you requested to "never " and retried the CMS software with no change. 
    I do have progress of a sort though, as a test I took a separate test PC and put a clean install of Win7 on and loaded up the CMS software (it worked perfectly) and then took the version of ole32.dll off that machine and put it onto the computer I had built
    for her (using Linux) and...
    got a new error code. Darn I was so sure I had found a clever solution this time lol.
    Anyway now when the CMS fails it gives me a similar error but the offending module is "ntdll.dll" sooo... I tried taking the "working" version of ntdll.dll from the test box and moving it over (making sure to back up the existing ones
    first so I could put them back if needed) to her new PC and the PC would not boot. 
    It seems to want the original versions of a few Dynamic Link Libraries and if I could somehow give it those while not breaking Win7 it should theoretically work seeing as it no longer errors with ole32.dll. 
    ntdll.dll however seems necessary for Win7 to boot.
    So what I am wondering now is:
    Is there some way to have both versions of the DLL file in the system32 folder (bypassing the "cannot have two files with the exact same name in the same folder" thing) or rename the original DLL's something else and somehow make the CMS look for
    the new named versions so the system has the updated DLL's it needs to boot/run and the CMS has the old ones it wants to run or is there someway to have a self contained install of the CMS, say on a USB flash drive and give it it's own E:/windows/system32/needed
    dll's  path to the files it needs? 
    Willing to try any other options or settings you may have come up with as well.
    Thanks again for your reply and my apologies for not answering sooner.

  • In MIGO, i need to see delivery dates from the purchase order

    Is there a way to see in transaction MIGO, the delivery dates from the purchase order?  I hope there is some exit or BADI or BAPI or .... to perform this copy function? 
    We have multi-line POs for the same material with staggered delivery dates and the Warehouse needs to know which PO line to receive against.

    when you enter the PO number in MIGO and hit enter, then you only get the items that can be received.
    If you make sure that the PO items are created by ascending delivery date, then you can always take the first.
    if you have the personal setting to display all items (even the already received ones), then you can take the first with a quantity proposal. already received items do not propose quantities.
    I would ask purchasing to tell the vendor that he has to state the PO number along with the item number in all papers (delivery note, invoice).

  • When I download an excel spread sheet from a Ford web site I seem to be getting code and not the work sheet. Example- MIME-Version: 1.0 X-Document-Type: Workbook Content-Type: multipart/related; boundary="====Boundary===="

    I have a Macbook Air. I have MS office installed and work in Excel often with no issues. But When I download an excel spread sheet from a Ford web site I seem to be getting code and not the work sheet.
    Example-
    MIME-Version: 1.0
    X-Document-Type: Workbook
    Content-Type: multipart/related; boundary="====Boundary===="
    --====Boundary====
    Content-Location: file:///C:/HOLD.XHT
    Content-Transfer-Encoding: 8bit
    Content-Type: text/html; charset="utf-8"
    <html xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">
    <HEAD>
    <meta name="Excel Workbook Frameset">
    <xml>
    <x:ExcelWorkbook>
      <x:ExcelWorksheets>
       <x:ExcelWorksheet>
        <x:Name>BTB</x:Name>
        <x:WorksheetSource HRef="./IBIT0001.xht"/>
       </x:ExcelWorksheet>
       <x:ExcelWorksheet>
        <x:Name>GSM</x:Name>
        <x:WorksheetSource HRef="./IBIT0002.xht"/>
       </x:ExcelWorksheet>
       <x:ExcelWorksheet>
        <x:Name>RODetail</x:Name>
        <x:WorksheetSource HRef="./IBIT0003.xht"/>
       </x:ExcelWorksheet>
      </x:ExcelWorksheets>
    </x:ExcelWorkbook>
    </xml>
    </HEAD>
    </HTML>
    --====Boundary====
    Content-Location: file:///C:/IBIT0001.xht
    Content-Transfer-Encoding: 8bit
    Content-Type: text/html; charset="utf-8"
    <html xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">
    <HEAD>
    <meta http-equiv=Content-Type content="text/html; charset=utf-8">
    <style>
    <!--table
            {mso-displayed-decimal-separator:"\.";
            mso-displayed-thousand-separator:"\,";}
    @page
            {margin:1.0in .75in 1.0in .75in;
            mso-header-margin:.5in;
            mso-footer-margin:.5in;
            mso-page-orientation:landscape;}
    tr
            {mso-height-source:auto;}
    col
            {mso-width-source:auto;}
    br
            {mso-data-placement:same-cell;}
    .style21
            {color:blue;
            font-size:10.0pt;
            font-weight:400;
            font-style:normal;
            text-decoration:underline;
            text-underline-style:single;
            font-family:Arial;

    Try search/ask in the forum devoted entirely to Excel issues:
    http://answers.microsoft.com/en-us/mac/forum/macexcel

  • How to refer the work order status value from a different transaction in the step handler?

    Hi All,
    I have a requirement to check the status of the work order from a different transaction before doing some logic in the current transaction. The following transactions are done to replicate the issue
    1)changing the status to ONSITE to edit the work order (transaction 1)
    2)Adding some information which will do some logic (transaction 2)
    3)Completing the work order (transaction 3)
    The transaction 2 will have some logic and will be executed only if the status is COMP but even though the status is COMP now (transaction 3) my condition check in the logic is showing as ONSITE status(transaction.status=ONSITE) and it fails. How can i get the latest status of the work order in the device? Please advice

    Hi Jason,
    The CompleteWorkOrderFinish sub action does have Apply action (screenshot 1) and the transaction definition (screenshot 2)of CompleteWorkOrderFix transaction with the only property Status which has the following settings (screenshot 3)
    Also I am trying to add a status property in EditMeterFitDetaisl transaction and update this value with the current status of the work order using object collections filtering with key value. Please let me know if that approach can be followed. Thanks

  • Mass reversal of work order confirmations

    Hi all,
    Can we do a mass reversal of work order confirmations which we do through IW41 transaction,instead of reversing the confirmations one by one, if so please explain how.
    Thanks & Regards,
    Jegashree

    Dear,
    There is no mass confirmation cancellation Txn available in standard SAP.
    Use
    BAPI_ALM_CONF_CANCEL     Cancel confirmation for maintenance/service order
    Hope it will help you.
    Regards,
    R.Brahmankar

  • Work Order Confirmation -Zero Hours is allowed !

    Dear Experts,
    Can any one update, why work order confirmation is allowing Zero hours in IW41 transaction. Is there any significance for booking zero confirmation hours as SAP standard is allowing.
    We need to restrict the same, is there any way to restrict without ABAP Team help.
    Regards,
    Sahu

    Reasons for allowing '0' hours can be like if some does not want to account for a particular job. Possible some technical constraints were there while developing. As far as How to restrict is concerned, I do not see options other than using user-exit CONFPM05. This is because even if you set this field mandatory (Actual Work AFRUD-ISMNW_2) in Tcode OIZN, it does not prevent confirmation with Zero value. You can also try by setting this fields as Req. in this SPRO tcode.
    KJogeswaraRao

Maybe you are looking for

  • File Info Dialog problem

    Hi, Not sure if this is a bug or if I'm just missing a setting someplace. Problem: I write a lengthy caption in the "Description" window of the File Info dialog. Later on I want to use that same caption on a different image. Using CS3 on Windows I ca

  • User Login Time in obiee 11g

    Hi all, we can get get the user login time using *@{session.loginTime}* But my requirement is to get the last login time ie., Previous login time. How to achieve this. Thanks, Haree.

  • Unable to see preview thumbnails when importing from D700

    Having read the reports of problems with the D700, RAW image quality and Aperture 2, I seem to have a different problem! When I go to the import page in Aperture 2.1.1 (with the D700 connected via USB), I can see no preview images - I get the dashed

  • Charge Expenses to Asset

    Dear group Members, How can i charge Expenses amount to asset Pleas help me with the transaction code, Document type & posting key Issue is as vendor invoice is posted as asset, how can i transfer to asset ( new asset) Regards Shamulheq Edited by: sh

  • Best Way to RICH HTML Editor on Air Desktop

    Hi, actually i trying to get an WYSWYG editor to work on air. Something like tinyMCE / ckeditor ( Like the one i´m using while writing this question). I want to paste images there and work with tables  too... For the moment, what i found is that i sh