Unable to upload PM Work Order Header Status

Hi,
I have made LSMW for tcode: IW31. I have a requirement to upload legacy data to SAP with their existing header status.
For instance:
I have a work order which got a header status complete and I want to upload this work order with its status. So, how can I upload different work orders with their different header status.
Do let me know as soon as possible.
Thanks for the contribution.
Regards,
Yahya

Yes, you are right. Originally it should be the way you answered but requirement is to upload data with respect to their order status from legacy.
In addition, is there any possiblity that I can create one complete LSMW for transaction IW31 OR IW32?
This is asked because I am unable to upload data in Operatoins Tab
Thanks.
Regards,
Yahya

Similar Messages

  • How the sales order header status update?

    Hello,
    In the sales order header "STATUS" tab is there, under this status tab we can find OBJECT status if we click that object status it shows the Object number,Object category,status profile and status with status no. on which bases this status will update in the sales order header?
    my case is Status "10-xxxx" set automatically for some orders.
    Could you plz let me know on which bases, the status will be updated in the sales order?
    Regards|KS

    Hi
    SAPu2019S GENERAL STATUS MANAGEMENT FUNCTIONALITY
    General Status Management replaced order status management functionality in recent SAP releases (4.6C).  This discussion will address general status management, as this is how SAP allows user statuses for controlling objects in this and future releases.
    General Status Management applies to internal orders, project definitions, WBS elements, production orders and many other objects in SAP.  For the purposes of this discussion we will concentrate on status management for internal orders and WBS elements.  A list of all objects relevant for status management will be made available upon request.
    A status is an indicator that fulfills two functions.  First, it informs you that a particular status has been reached.  For example, an internal order has been created and released; a settlement rule has been entered; a particular business transaction has been executed, etc.  Second, it influences the business transactions you can perform for a particular status.  A status can allow a business transaction; allow a business transaction but issue a warning message; or prohibit a business transaction altogether.  If a warning message is issued it is up to the user whether the business transaction is carried out or not.
    Statuses can be used to control and communicate.  Statuses can be used in reporting (show me a report of all internal orders with a status of TECO, or technically complete).  Statuses can be used as selection criteria (select all internal orders with a status of CLSD, or closed).  Statuses can communicate the state of an object (ready for archiving, not ready for settlement execution).
    There are SAP standard delivered statuses that apply to all object types.  These are known as SYSTEM STATUSES.  CRTD, REL, SETC, TECO are examples of SAP standard system statuses.  SAP standard system statuses cannot be removed from use.  You cannot override the SAP system status with a user status.  You cannot change the behavior of an SAP system status.
    User statuses (or user defined statuses) exist in addition to SAP standard statuses.  User statuses are intended to augment or refine SAP standard statuses, not replace them.  There is no limitation to the number of user statuses that can be created.  Both system and user statuses influence business transactions in the same way.
    An object can have multiple statuses active at the same time.  A plant maintenance order can have released, preliminarily costed, work order printed and confirmed statuses all at the same time.  For SAP display purposes only one status can be displayed on the status line in master data screens, but it is possible to see all active statuses for an object at one time by drilling down into the master data screens.
    A STATUS PROFILE, or user status profile, contains individual user statuses and the business transaction rules defined for those statuses.  There is no limit to the number of user status profiles that can be maintained in SAP.  A user status profile is assigned to an order type or a project profile in configuration.  This user status profile is then defaulted into all objects that reference that order type or project profile.  A users status profile can be overwritten (or deleted) in an individual object (via native master data screens), but only if a user status has yet to be activated for that particular object.  Once a user status has been activated for that object the user status profile cannot be changed.
    HOW STATUS MANAGEMENT WORKS
    When an object (internal order, WBS element, production order) is created SAP assigns the system status CRTD.  MIT automatically releases the order, so the system status REL is also activated.  If there is a user status profile defined in the order type (or project profile) this is carried over into the internal order (or WBS element).  If not, only the SAP system statuses will apply to this object.
    When a user executes a business transaction for this object, SAP checks the user status to see if that business transaction can be executed without any additional influence from a user status, can be executed but with a warning message being issued, or cannot be executed at all.  SAP also checks whether the business transaction sets or deletes any other user statuses within the user status profile.
    A user status may also be maintained directly in the object master data.  Accessing the master data screens allows a user to manually maintain user statuses.  If necessary, an authorization code can be assigned to a user status to ensure that no unauthorized persons can change the status of an object.  Once changed, the new user status is fully active and acts no differently than if a business transaction set the user status.
    Status management and business transaction control only work with standard SAP transactions.  Z transactions will not show up on the business transaction list for an object.  The business transaction table is configurable, but SAP strongly recommends not changing that table.  SAP directly updates that table via support packs and it is often impacted during upgrades.
    Authorization codes / keys are available in user statuses.  The authorization code is checked only when user statuses are being set manually, from within the objectu2019s master data screens.  This ensures the user has the proper authorization to set that status for that particular object.  However, it is important to understand that SAP sets a user status in reaction to a business transaction it does not perform an authorization check.

  • Work order header information from BAPI_ALM_ORDERHEAD_GET_LIST

    Upfront I'll admit that this question likely falls outside of MII as I am getting bad results in SE37 as well.  Was hoping others in this group have experience with this.
    When I use BAPI_ALM_ORDERHEAD_GET_LIST there are several work orders that do not get returned, and I can't figure out why, or even what is the common thread between them.  The missing orders are viewable via iw33, and information can also be returned from BAPI_ALM_ORDER_GET_DETAIL.
    Right now, the only thing I pass in OPTIONS_FOR_ORDERID with a range of orders (ie 20 or so).  Orders are returned in the correct range, just not the one I am looking for.
    Rod

    Hi Rod,
    The only thing I can think of is that there are times where orders (or other objects) are created outside of normal procedures.  My experience was with Batch histories, but if the objects are not created in the normal process (a nebulous term at best), they will sometimes not be stored in all the proper tables.  Can you check the processing history of the orders missing to see if there are any discrepancies there? 
    Otherwise, you may need to get some ECC side help.  The ABAP code in the underlying function module may direct you to all the tables which should be populated with the correct data so you can check which tables are not populated. 
    An alternative option for getting the work order header information would be to go back to the old reliable RFC_READ_TABLE.
    Good luck,
    Mike
    Edited by: Michael Appleby on Feb 12, 2011 4:13 PM

  • Production Order Header Status

    Hi
    I am having a production order with 4 operations. when i am confirming the first operation as partial confirmation because i am just confirming only partial quantity, the whole production order status is set to PCNF. Even though i am finally confirming the same operation finally and confirming all the other operations also finally, the order status is not changing to CNF. it is still in the PCNF . how do i get it to CNF status? because the PCNF status for the order will create other problems.
    The operation statuses for the same order give correct statuses as PCNF or CNF or milestone. The problem is only with order header status.
    Can someone please solve this issue. Points assured
    Regards
    Chandra

    Hi,
    In tcode OPK4 - Define confirmation parameter select your plant & order type.
    In 2nd tab page, select Confirmation type - Automatic final confirmation.
    So when doing opn confirmation if the qty is equal or more than order qty, system automatically set to Final confirmation.
    If the confirmation qty is less than order qty, system automatically set to partial confirmation.
    Regards,
    Dharma

  • Purch Order header status....

    Gurus.
    Is there a easy way of getting the purchase order header status ?
    ....I have debugged the following code....without success:
    PERFORM get_status_header IN PROGRAM saplmepo
                                              CHANGING status_header.

    Hi,
    Try using the ABAP class CL_PO_HEADER_HANDLE_MM to "load" global data of the SAPLMEPO program.
    It will make it possible then to call the get_status_header form:
    REPORT zggar_0006.
    TYPE-POOLS: mmpur.
    DATA: gr_po           TYPE REF TO cl_po_header_handle_mm,
          l_document      TYPE mepo_document,
          l_result        TYPE mmpur_bool.
    DATA: l_mepo_status   TYPE mepo_status.  " to be filled with GET_STATUS_HEADER
    START-OF-SELECTION.
      CREATE OBJECT gr_po.
      l_document-doc_type    = 'F'.
      l_document-process     = mmpur_po_process.
      l_document-trtyp       = 'A'.
      l_document-doc_key(10) = '4500000175'.
      CALL METHOD gr_po->po_initialize( im_document = l_document ).
    *  CALL METHOD gr_po->set_po_number( im_po_number = l_document-doc_key(10) ).
    ** Read purchase order from database
      CALL METHOD gr_po->po_read
        EXPORTING
          im_tcode     = 'ME23N'
          im_trtyp     = l_document-trtyp
          im_aktyp     = l_document-trtyp
          im_po_number = l_document-doc_key(10)
          im_document  = l_document
        IMPORTING
          ex_result    = l_result.
      CHECK l_result = mmpur_yes.
      PERFORM get_status_header IN PROGRAM saplmepo
                                CHANGING l_mepo_status.
      WRITE : / l_mepo_status-value_ordered.
    Hope this helps.
    Best regards,
    Guillaume

  • Changin work order system status via FM BAPI_ALM_ORDER_MAINTAIN

    Hello,
    I've succeeded to change work order user status via FM BAPI_ALM_ORDER_MAINTAIN.
    Is it also possible to change the system status with the same FM?
    Thanks
    Moshe

    Check STATUS_CHANGE_INTERN_MULTI & STATUS_CHANGE_INTERN

  • Function module for changing Work order user status in IW32

    Hi,
    I want to change the work order user status in IW32 using ABAP.
    Is there any function module to do so or any other way? I have tried using BDC but this does not work.
    Please suggest.
    Regards,
    Naba
    Edited by: n. saha on Nov 5, 2008 6:46 AM

    I am getting Same Problem.
    fi_methods-method = 'SAVE'.
    APPEND fi_methods.
    fi_methods-refnumber = 1.
    fi_methods-objecttype = 'USERSTATUS'.
    fi_methods-method = 'CHANGE'.
    fi_methods-objectkey = '002000002453'.
    APPEND fi_methods.
    fi_userstatus-user_st_text = 'COMM'.
    fi_userstatus-user_langu   = 'EN'.
    fi_userstatus-CHANGE_EVENT = ' 01 '.
    APPEND fi_userstatus.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
      TABLES
        it_methods    = fi_methods
        it_userstatus = fi_userstatus
        return        = fi_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Above code I am using and there the message comes like
    T ID                   NUM           MESSAGE
    S IW                   080           Order saved with number 2000002453
    S IWO_BAPI2     110           BAPI control was ended
    can any on know what is wrong in this? please help if having knowledge.
    Thank You,
    Jahnavee Trivedi

  • Sales order header status

    Dear Gm,
    I want see sales order header status for "n" number (Mass) of sales order,From the Sales order header status i want the details abt ("Incomplete header data"/Partially rejected),Please guide me how to get the same,
    now i am taking From VA03 ,But it consume more time
    Regards
    Arun kumar K

    incomplete doc - header data
    Use Table VBUV - Sales Document: Incompletion Log
    Where, Table-Field VBUV-TBNAM maintain Tables as VBAK
    Partially rejected
    Header level
    VBUK-ABSTK as B - Partially processed
    Item Level
    VBUP-ABSTA as B - Partially processed
    Regards
    JP

  • Function Module to update the sales order header status

    Hi,
      I am looking for a function module to update the Sales order header status.
      Pls. let me know if anybody has used any FM to update the SO status.
    Thanks,

    By mentioning status do you mean Object status or Document status??
    For Object status you may use FM: STATUS_MAINTAIN
    For document status it changes according to flow.
    Regards
    Eswar

  • Work Order - TECO Status Question

    Dear All,
    Is there a way to indicate who performed the last accounting transaction with a Work order?
    For example, Who Teco'd the order and when it was Teco'd, etc..
    This allows me to create a report to show productivity of how many work orders being complete.
    Any suggestions will be greatly appreciated. Thank you!
    Mike

    Hello Michale
    From PP Stand point ,if you are looking at TECO of Production order with individual person did , U can use COOIS functionality seleting Sytem Status : TECO  and Give the Production Scheduler .There are lot of functionality u can use within date ranges, plant wise , material wise and u have the option to choose various lay out to generate report from COOIS.
    Hope this will solve your problem.
    Regards
    Jia

  • Purchase Order Header Status tab

    Hello.
    I have a problem-question.
    In some POs in header status tab, the quantity is missing and only the amount is displayed.
    Why is that?
    thank you!

    compare the items of a purchase order showing the quantity with a PO that does not show the quantity.
    Maybe one is a service PO while the other is for material.

  • How to reset Work Order System Status -NCMP Not completed

    Hi Friends,
    Please can anyone guide me how do I reset / revert the NCMP (Not completed) System Status of the Work Order. The System Status comes after I have done the Function of "Do Not Execute".
    Thanks in Advance.
    Anant

    Hi,
    1. You cannot reset it back . For future cases ensure to grey out the option using Transaction Variants SHD0 for IW31/IW32 Tcodes
    2.Steps to create transaction variant http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d1443e-0184-2c10-c68d-c612f771fe6f?quicklink=index&overridelayout=true
    3.You can also explore user exit :IWO10026 User check on setting status 'Do not perform'
    regards
    pushpa

  • Unable to settle PM work order

    Hi,
    We have done settlement for a PM work order successfully with transaction KO8G.
    But still it shows in the open settlement list -Transaction s_alr_87013127.
    Please advice.
    Regards,
    Pratap

    Please take a look at the work order, if the material and labor cost is associated to it correctly...
    Please check the settlement profile for the same....check for the settlement object...check for the status of the work order (not on the report but on the order)
    Make sure everything is correct, when using KO88, fill in all the necessary parameters for the order you and then from the menu bar select "EXTRAS", it has the option of running the trace...
    From your message, looks like the settlement profile and the work order do not conform...either its that or there is no cost attached to the work order...

  • Work order-System status table

    Hi,
    In which table does the system status of the work order (TECO, Created, Released etc) gets updated? I want to know in which table does all the open work orders get updated.
    Thanks in Advance

    Dear Jegashree,
    Check this link
    [Production order status|Table : Production order status;
    Regards
    Madhu

  • Work Order Header Short Text & Operation Short Text Issue

    Hi All,
    There is one issue while creating the work Order through IW31. When I put the Header Short Text same short text is transpose in to the First Operation short text as per STD SAP behaviour but if I change First Operation short text in creation(IW31) and save and come back in IW32 or IW33 it is showing the same Header Short Text  but not changed one.
    Why it is so???
    I  Want to Edit the First Operation short text in IW31 only not in IW32.
    If anybody have explaination on this please let me know.Its SAP BUG????
    I am Using ECC6.0
    BR
    Rakesh

    Hello Pete,
    No i don't want same short text at Operation short text. Actually when i am in TC IW31 creating Order By default Header Short text is transfer to Operation Short text as per SAP STD functionality when at the same time i change the Operation short text and save and come back and see the Order in IW33 & IW32 i am not able see the changed Operation short text which i changed at  IW31 while creation of order.It showing the same short text of order Header .Why so.......????
    BR
    Rakesh

Maybe you are looking for

  • Media Encoder Problem

    I am using Flash CS 4, If I attempt to file>import>import video,  the import video window/dialog box opens, if I browse and select a AVI.file  I receive a dialog box telling me it is in the wrong format and to use the Launch Adobe Media Encoder butto

  • ILLUSTRATOR CS3 PROBLEMS

    I used to ignore the Repair, Replace, or Ignore dialog box, and just press ignore. Now the file is just a blank white screen when it opens. How can I recover this file, and I've tried almost everything that I know. When I roll over the file in my doc

  • Optional label behavior...

    Hi, guys. Clicking on Optional Label (when item is select list or multiselect list) is selecting first value in the control and put it in the Session State. Is this a disired behaviour or...? Is it possible to avoid this, i.e. when click on the label

  • NMH300 keeps going offline on file transfer

    For the last two months or so everything has been great and I've figured out the quirks with this NAS.  However, in the last two days it's gone offline three times.  I didn't think too much of it the first time it went offline or better yet: An error

  • MP4 Video playback problem - any idea how to make it work?

    Mp4 video files are working when opened from local filesystem but now working when opened from the web Here is example: var video:Video = new Video(); addChild(video); var nc:NetConnection = new NetConnection(); nc.connect(null); var customClient:Obj