IW31 or IW32 Work Order Create - Component - Purchasing - Field GL_ACC

I need to populate, or change, the GL Account number in custom logic whenever either Work Order  transaction - IW31 and IW32 - is executed under creating components when selecting the Purchasing button at the bottom. I would rather use a BADI than an exit, but if my only choice is an user-exit then I will. I have tried putting breakpoints in several processes in BADIs:
WORKORDER_UPDATE
IWO1_PREQ_BADI
IWO1_WKCTR_CHANGE
I have had no luck breaking into any of these when I am in the Purchasing screen of the IW32 after hitting enter. However, I do break into WORKORDER_UPDATE in the SAVE Process, but I need to break into the custom logic on an enter. To reiterate, my goal is to put custom logic that will replace a GL Account No., or create a GL Account No.
     Thank-You.

Hello Tom,
                 This happened me once for me. As per the BADi Functionality it it is not allowed by the customer to modify particular fields that SAP will erace automatically during the exit of the BADI.
Other assumptions :-
If it is an inetrnal table then you need to use the modify statement to save the data back to the internal table. If thsi BADI is being called multiple times then it will be a structure and not an internal table. So what you are doing is correct. But SAP logic is erasing that value during exit of the BADI as it is not allowed.
Thanks,
Greetson

Similar Messages

  • IW32 Work Order Enhancement Point needed!

    Hi guys, I have to populate the user define field usr00 in the structure afvgd at the save of the work order (transaction iw32).
    Unfortunatly, the BAdi workorder_update does not permit to change the data at the operation level. Same things, for the user-exit.
    I will have to used to new enhancement framework.
    I found 2 enhancement spots, es_saplcovg & es_saplcoih. I don't know which enhancement options should I use at the save of the work order to change the field usr00 at operation level, there is so many,
    thanks
    Alex

    Alex,
    We did something similar some years back using user-exit IWO10009 (at save event)
    The used the following function modules to import/export the data to/from the user-exit:
    CO_BP_AFVG_BT_FETCH
    CO_BT_AFVG_UPDATE
    You will also need to read the operation system-status to check for deleted operations (STATUS_READ_MULTI)
    A word of warning: this technique needs careful testing. It is also not recommended by SAP.
    PeteA

  • How to indentified work orders created for an trasfered asset in EAM

    Dear All,
    We have a businees requriment, where we need to list of workorders created for an asset which has been transfered from one EAM org to another EAM org.
    Business case :
    1.We have an asset BX3003 in WSB (eAM org), i have performed move asset transaction from maintenance super user to transfer this asset to other eAM org (GSW) and created a workorder in this org.
    2.Now we get this work order in to a custom report called work order created for transfered assets
    Can any one help us on this issue.
    Thanks a lot
    Praveen

    Hi,
    Yes, you can generate active calls into the future. First ensure that you have set a scheduling period in each relevant maintenance plan. This determines how far into the future you want calls to be generated. Also make sure the completion requiremment flag is not set.
    The calls can be generated via IP30 (or schedule with RISTRA20). Make sure the interval for call object is set to a sufficient length of time. This has the same function as the scheduling period in the plan. However the lower of these two values will be effective. To ensure the calls are not set on hold - set the immediate start for all flag. This setting will ensure the calls are scheduled and orders generated.
    -Paul
    Please use [Enterprise Asset Management (EAM)|Enterprise Asset Management (SAP EAM); forum for PM/CS specific topics   (I am moving the thread)

  • Work Order Serialized Component Reservation

    Can I enter a serialized part on a Work Order?  We are a manufacturing company and have many parts in Stores that we plan to serialize.  When a part (eg. motor) on the shopfloor breaks a Work Order will be written to replace the motor with a refurbished, serialized one in Stores.  I need to be able to issue that part.   The Work Order let me enter it under Components, but when I ran MB26 to release the reservation and Issue the part, it said I needed to enter a Serial Number.  However, there's no where on MB26 or on IW31/IW32 to enter a Serial Number.  Where's the right place and/or what's the right process for this?

    Hello Kris,
    If I understand you correctly, you are looking for a field to enter serial number in work order, if so, then please configure the subscreen of reference object.
    SPRO
      -> Plant Maintenance and Customer Service
       -> Maintenance and Service Processing
         -> Maintenance and Service Orders
          -> Functions and Settings for Order Types
    Configure Order Types
    in the bottom of screen in detial order type, there is a field Screen RefObject
    you can select reference object screen which contains serial number field.
    Regards,
    Jane

  • Which Sales order created a purchase order?

    Dear Experts,
    What would be the table to look at to check which Sales order is  used to create a type of purchase order?
    I know the stock purchase order but not the sales order number that triggered an auto creation of this PO.
    Pls advise. Thanks
    regards
    M Russo

    Hello,
    Ideally purchase order is linked to sales order in cross docking and third party sales scenario.
    In both of above scenario's  sales order is linked to purchase order via purchase requistion.
    If you know the purchase order number, then you can find the respective sales order number in the account assignment tab in purchase order screen.
    You need to open the purchae order with ME23N/ME22N and go to item detail and check the account assignment tab.
    Here you will get the corresponding sales order number.
    BR/
    Tushar

  • Create Work Order Using BAPI in LSMW

    Hi All,
    I searched in SCN but i dint get the correct idea to create Work Order USING BAPI,
    Im trying to create Work Order Using BAPI in LSWM
    Can any one Give me Brief Idea to create Work Order(Either Component or Operations) (t code - IW31) using BAPI in LSMW
    Regards
    Smitha

    Hi All,
    I searched in SCN but i dint get the correct idea to create Work Order USING BAPI,
    Im trying to create Work Order Using BAPI in LSWM
    Can any one Give me Brief Idea to create Work Order(Either Component or Operations) (t code - IW31) using BAPI in LSMW
    Regards
    Smitha

  • Work Order - Purchase Order

    I am trying to find an standard report which gives me information on the Work Orders and related Purchase Orders.
    Anything available or I will need to create one on my own?
    Cheers!

    Thanks for the answers and your time.
    What I need is a report that pulls out the Purchase Orders that hasn't been released with information of their Work Orders. I couldn't find any report so far.

  • PR Created with reference to Work Order

    Dear Experts,
    We have Work Order Process where Purchase Requisition for Material & Services are created with reference to Work Order . We have chosen the Option (from release), which means PR is created once the Order is released.
    Our requirement is always from release and when the work order released, system to pick the user details of Work Order Creator (not Work Order Release).
    Hope to get the details on the issue.
    Regards,
    Sahu

    Dear Chaitanya,
    When the work Order is released, system creates the Purchase Requisition and in this case PR Creator is the person who has released the Work Order.
    In Work Order log, we know the details  such as, who has created the Work Order and who has released. As SAP standard, Work Order release person is the PR Creator as we have made the setting with From Release.
    Our Requirement is on PR creation, system to take the user details of Work Order Creator. This would help to determine the PR approval process in a better way.
    Regards,
    Sahu

  • How to upload work orders using IW31

    HI,
    I am trying to upload PM Work orders using tcode IW31 but unable to do so. I have tried LSMW and now I am trying for BDC but still can't upload. Can anyone let me know what procedure do I need to perform for uploading DATA through IW31.
    Its really very important.
    Thanks.
    Regards,
    Yahya

    Hey
    You can upload the data for creating a work orders through IW31/IW34.
    IW31 is for Work Orders with out a Notification(In general) and IW34 is for Orders with Notification(Must)
    So if you want to load Orders With Notification Then first we need to create a Notification in IW24 and then Order in IW34 with the Notification created at that point.
    If you want to create Order with out Notification then Goto IW31 and then create it through BDC method.
    There might be a scenario in which you can create a Order w/o Notification and with Notfication sometimes in IW31 Only.
    Then at that point you need to goto IW31 and create a Order First and then Display the Order in IW33 and Click on Change from the top of the menu. It wil allow you to create a Notification from there(IW31) beside the Euipment field I remember.
    You can try it with BDC. if you still have a problem in doing so. i will send the code.
    Regards,
    Bhargav.

  • Creating new work order - error on %001

    Hi all,
    Creating a new work order from the SAP Work Manager 6.0 application should be a standard functionality,
    However, on the system of our client, this goes wrong.
    Upon creating a new work order, we get the error 'Enter a numerical operation number'.
    New objects get an ID that starts with 'LOCAL_xx:xx:xx', which is converted to %001.
    SAP should recognize this and convert this automatically to 0010, 0020, ...
    how come this does not happen?
    it works fine on our SAP system, our customer's system gives an error.
    Kind regards,
    Judith

    Have you done any enhancement to  standard  product "specifically create method of  Work  Order Class handler" . or the standard product functionality itself is not working ?
    I don't see any reason why it works in your system but not in customer system. Try to put break point in create method of Work order class handler and check what  values are passed  for operation  number before invoking Work  Order create BAPI. 
    Infact Work Manager product converts local numbers to incremental  sequential  numbers before invoking create BAPI for Work Order.
    BR,
    Manju - SAP CEG UX/Mobile

  • FM for Uploading Delivery address for Components for PM Work Order (IW31)

    Can any one please help me out in finding any Function module or any other method for uploading the Delivery address for Components to SAP system in transaction IW31 for PM Work Order.

    Hi
    I am using text items (T Text item).Therefore, there will be no checking for those items form a MM prespective.
    There is no error appear. The only thing is that i have status MANC (Mat.availability not checked) on my WO
    I'm just trying to figure out if status should be removed some how, or if this is the normal behaviour.
    Many thanks
    Joana

  • Add new field in Work Order Component Tab

    Dear Experts,
    Really need your advice to solve my client requirement related to Work Order. The requirement is to put status code and estimated date of returned material in WO Component Tab.
    And because we almost use all of fields in Component. So i'm trying to know, is there any configuration (in SPRO - if any) by adding new custom fields in Work Order (WO) Component Tab?.
    Or is there any enhancement (EXIT) to add new fields in WO?
    Please advice.
    Thanks.
    LN.

    Hi Anthyodaya,
    Try this screensexit not sure if this is what you are looking for
    EXIT_SAPMV45A_001( Take help of ABAP for this)
    Hope this helps.
    Thanks and Regards
    Rohit
    this Question is raised by you twice..please close one.

  • Work order dates calculated by priority when created by maintenance plan

    Can anyone tell me how to get the dates on a work order created via a maintenance plan to be calculated from the priority?  I know how to get the notification dates to calculate from the priority when created via a maintenance plan but I can't seem to get the order dates to do the same. 
    Any info would be most appreciated.

    Check these links
    Influence Order basic start/end dates from maintenance plan
    Scheduled Maintenance basic start and finish date

  • When Creating a Work Order Import Standard Operations

    A client is requesting the following functionality when creating a Work Order: Create the first nine operations with different work centers and number operations 0001 u2013 0009.  For operation ten continue numbering with 0010 and increase by 10, ie, 0020, 0030, etcu2026 .   And operation 0010 would default header data.
    Can this be accomplished through standards configuration or would this entail a user exit?
    Thanks in advance!!
    JAM

    It can be possible, depending on how you create the Work Order.   If these operations are used often and are in a task list, you can create a work order and import the task list operations by using the menu "extras -> task List selections" inside the work order.    If it is part of a preventative maintenance plan, you can configure that your task list is automatically copied to the notification/work order when generated by your maintenance plan.  Of course in the task list you could save all the increments and work centers as you want.   But this would never be a dynamic check to your header data, it would only be as accurate as your task list.

  • Preventing Deletion indicator in PR once work order is completed

    Dear colleagues,
    Users create work orders in IW31 with the choice of external service; control key is PM02. Once work order is saved purchase requisition (PR) is created in background. With reference to PR, purchase order (PO) is created by purchase specialist.
    When work order is technically completed (system status TECO) deletion indicator is set to PR line item(s) automatically which result in undesirable situations since PR(s) has subject to release strategy in our system.
    Is it possible to prevent setting deletion indicator in PR once reference work order is technically completed?
    Kind regards
    Melih

    Hi,
    In this case that behavior has negative effects on PR Workflow process because in our system when PR(s) is created it is subject to release strategy according to preconfigured conditions.
    Once the order is technically completed (TECO) deletion indicator is set to PR line item(s) automatically meanwhile release strategy tab is disappeared from PR line item(s).
    In addition to that in ME54N system gives the MEPO822 (Purchase requisition XXXXXXXXX cannot be released) message even PR is approved before the order is technically completed.
    Kind regards
    Melih

Maybe you are looking for