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

Similar Messages

  • 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

  • Work order on CRM needs to move to EBP as Shopping Cart

    Hi
    I had a related issue, not sure where to post it.
    I have an implementation where, services originate as a Work order on CRM and needs to move to EBP. What is the best way to do this. Is there any existing EXTREQ functionality that can achieve this or is there any BADI definitions available for this (which can be implemented).
    Greetings
    John

    Hi
    I had a related issue, not sure where to post it.
    I have an implementation where, services originate as a Work order on CRM and needs to move to EBP. What is the best way to do this. Is there any existing EXTREQ functionality that can achieve this or is there any BADI definitions available for this (which can be implemented).
    Greetings
    John

  • Work order enhancement

    Hi,
      My user requirement is want to have additional screen in work order screen so that they can enter additional data. I try to find in user exit /badi but cant find one. Pls help.

    Hi,
    You can use EXIT_SAPLCOIH_018 & EXIT_SAPLCOIH_019 for the requirement.
    - Vidya

  • Revision updation on work orders

    Dear All,
    I want to know that there is any way to update the dates on work orders which is holding revision value.
    user input a revision into work order
    user changes the dates on the revision.
    if user want to apply the changed date values, then user must change the work order by manual, need to input the same revision number once again.
    our customer want to apply the changed values automatically or by mass.
    please advise me and thanks for your help in advance.
    Best Regards,

    Hi CHOI JIHOON,
    As per suggested by Pete, for Single order you may process it going to iw32 --> Order --> Revision--> Refresh Dates.
    If you want to do it in Mass you may:
    1. go to IW38, give your selection (Revision in particular) for displaying the list of orders,
    2. Select all the orders whose dates you wish to refresh,
    3. Go to Order --> Revision --> Refresh Dates your order dates will be refreshed.
    (For Mass you may use IW37N also as suggested by Pete but, that will give you list of Operations together with order).
    Hope this helps.
    Chin2.

  • Work Order - Maintenance Planning plant change

    Hi Gurus,
    Is there any way to change the maintenance planning plant in a created work order? We are having an issue on work orders and we need to tranfer our open work orders to another plants to solved the issue. Please me let me know if this is possible to do in SAP. And let me know how to do it in SAP.
    Thanks in advance,

    Hi,
    The start of the plan is not option as this will surely have an impact. Anyway, work around for this issue was provided and this is OK now. We will continue with the old orders untill such time they will finally be closed. No postings will be created against this old orders and if there's a need to do GR new orders will be created in new plants for the postings.
    Thanks for you help,

  • Automating the services for object for a work order

    Hi All,
    Can anyone post an ABAP code using which we can automate the process of creating a note for a Work order at the time of saving the work order. I need to create a note with the work order at the time of saving it. This note needs to be attached automatically. Can anyone help me with the code to do this?

    Uhm... If you want us to do your job, how much are you willing to pay?
    How is the note "attached"? If it's an attachment using GOS then the code has already been posted on SDN - look it up. You'll need to add it to the work order creation (I'm guessing there should be some kind of BAPI or FM).

  • Restricted issue material in "work order"

    Hi All
    How to restrict the material at the time of the process of issue material in work order?
    we need to restrictive to Not to be wasteful.
    any can help my problem?
    thankyu..
    The pooh

    Hi PS
    Sorry if my question make you confused. but actually im need to have a system that we can restricted issue material.
    In our company have the rule that we can only take some part consumable.
    for example :
    in one month, we can only take the part just 100 pc. we not allowed to take the part more than 100 pc.
    so we must restrict that.
    Best Regards,
    the pooh

  • Oracle MES for EAM Work Order

    Hi,
    We know Oracle MES supports discrete Work orders.
    Is it supports EAM Work Order also.
    we need to introduce Clock in Clock out functionality against resources of EAM WO.
    Thanks
    Raman

    Hi Din;
    Please check below notes and see its helpful for your issue:
    Department Wise Work Order Release Approvers in EAM using AME [ID 944918.1]
    EAM DOCUMENT APPROVALS USING AME [ID 972652.1]
    Regard
    Helios

  • Work orders and updating user status (via IW32)

    Hello All,
    I was given a design to create a program that will retrieve all open work orders. The program needs to check on all the purchase orders for that work order to check if order quantity matches the received quantity and the invoice quantity. If it matches, I will do an IW32 to change the user status to 'AIP' (All Invoices Paid). If there are no invoices or purchase orders, I will again, do an IW32 to change the user status to 'AIP'.
    And since this is my first time to work on a PM ticket, I'm not very familiar with the tables being used. I've tried looking for a list of PM tables. One table I got is AUFK (Order Master Data). I searched through the table and it has the fields for Sales Order Number (KDAUF) and Item Number (KDPOS). Is this the Purchase Order related to the work order? Also, is there a way I can see or verify it through a transaction? I tried looking into transaction IW33 but I couldn't find any Purchase Order Number there. Also, how do you know if a work order is open or not? Is there a field that indicates it?
    I was thinking if there are any BAPI's I can use to change a work order's user status instead of doing a CALL TRANSACTION 'IW32'? I saw a function module, RFC_CHANGE_PM_ORDER, that does a remote function call to IW32 but this has dialogs. I'd appreciate any input.
    Many thanks in advance!
    Regards,
    Kristine

    Hi
    You can use the BAPI - BAPI_ALM_ORDER_MAINTAIN to maintain orders.
    Given below few order related tables
    AUFK     -Production order headers
    AFIH     -Maintenance order header
    AUFM     -Goods movement for prod. order
    AFKO     -Order header data PP orders
    AFPO     -Order item
    RESB     -Order componenten
    AFVC     -Order operations
    AFVV     -Quantities/dates/values in the operation
    AFVU     -User fields of the operation
    AFFL     -Work order sequence
    AFFH     -PRT assignment data for the work order(routing)
    JSTO     -Status profile
    JEST     -Object status
    AFRU     -Order completion confirmations
    This may help you.
    Thanks & Regards,
    Govind.

  • EXIT/ BADI/ Enhancement point for User Status change in Order

    Hi all,
    I am looking for an EXIT or a BADI or an enhancement point specifically for user status change in an order thru IW31/IW32.
    I have the exit names for Order PBO, PAI, 'SAVE' event etc. so m not looking for generic answers.
    I have to put some validations for the Order on USER STATUS CHANGE. Let me know if any of u have any pointers on that.
    Thanks and Regards,
    Sonal

    Hi,
    Use this Enhancement IWO10009 and call these function module to change the User Status
    STATUS_TEXT_EDIT --> To Read the existing status.
    STATUS_CHANGE_INTERN_VB --> to change the status.
    Regards,
    Satish

  • Error when printing work order with iw32

    Hello all,
    When i was printing work order using IW32, the order success to be saved but it can't be printed. And i get this error message :
    Express document "Update was terminated" received from author ...
    i check with T-Code SM13, and i found error on
    PM_ORDER_PRINT_CONTROL
    further, i go check to ABAP Short dump, and found the error analysis
    A RAISE statement in the program "SAPLSFES " raised the exception
    condition "CONTROL_FLUSH_ERROR".                                
    Since the exception was not intercepted by a superior program  
    in the hierarchy, processing was terminated.
    have anyone know the OSS or have some experience to solve this problem ? hope you can help me..
    thank you for your attention..
    Regards,
    Anggara Mahardika

    Hi
    Can u let  us know whether u are trying to Save the Print out on to ur Desktop ...  or using GUI_DOWNLOAD Fm in ur program ...
    surya

  • BAPI/FM Help Needed for PM Work Order Update and Notification create

    Hi,
    I am using BAPI - BAPI_ALM_ORDER_MAINTAIN to update the work order details and create notifications for the object list but i am getting errors in doing that.
    IWO_BAPI 203 -Changing the execution factor in the BAPI is not supported
    And i have to create notifications to each object in the object list. This BAPI is not supporting that.
    So i used another BAPI BAPI_ALM_NOTIF_CREATE to create notification and passed the order number , counter etc to it but in the order it is creating a new row for that equipment and linking the notification to it.
    Need some help on these.

    Dear
    1. If you want a Notification mandatory to be created for Order using IW31 you can once make this happen by User Status in Order ,   i would suggest if you are doing implementation better Use Order Types  which has got Notification integrated in it .
    Check Order type PM05 in Ideas server you have PM05 Order with notification fields integrated , which created notification in Background when order is Created or released.
    2.For Work Order B --> Notification A , Not Allowing I donot have any idea check whether is there any User exit from experts or ask ur Abaper
    Regards,
    Edited by: Srinivas Narayana Gowda on Jun 11, 2009 1:10 PM

  • LSMW for changing user status on work order(IW32)

    Hi All,
    I have created a LSMW for changing user status on work order using transaction IW32. It does not change the status when i run the LSMW. In the recording for the LSMW, i select the radio button on the user status i want to select.
    When i run the LSMW in the foreground, it does everything except select the correct status.
    Is there a way to fix this or is it a problem with LSMW. I'm using ECC6
    Kind Regards
    Emanuel

    Hi ,
    I am not sure whether it would work with LSMW but if your on ECC 6.00 ,Enhacement Pack 3 then you have BADIs which allow you to make collective status changes in IW38 .The below are those BADIs :-
    BADI_EAM_RIAUFK20_FCODE_CUS1 :Implement Customer Function Code in Order List
    BADI_EAM_RIAUFK20_FCODE_SAP1 :Implement SAP Function Code in Order List
    Else if your on lower version then write up a batch programme which checks the PM Order types with specific status and sets user status using FM STATUS_CHANGE_EXTERN[This is used to set or delete User Status] in SE37 ..
    regrds
    pushpa

  • Need to confirm actual time for 2 persons on one operation  in work order( PM)

    Need to confirm actual time for 2 persons on one operation  in work order( PM)

    Hi Abdullatif Siam,
    If you can move your discussion to the relevant space, possibility of people responding to you would be more..
    May be you move your post here -- Enterprise Asset Management --> http://scn.sap.com/community/eam
    BR
    Prabhith

Maybe you are looking for

  • VS2008 unit tests

    Hi, I have Unit tests in VS2008 and the test configuration is set to generate Source Code Coverage, where I have selected all the referred assemblies. But when my tests finish executing, I just the code coverage for my unittest.dll and not the assemb

  • Struggling with collection Query

    Hi guys, I'm struggling to wrap my head around the queries for collection memberships. I've got quite a few computer collections attached to AD group memberships that I then use to deploy applications to. That way the helpdesk guys just put a PC in t

  • Icons changed - how do I change them back?

    Hi guys, Quick question - I had a problem while copying a file to a flash disk and Finder crashed (hard to believe, yes). So I force-quitted it but it didn't restart so I restarted the computer by holding down the power button. Then when I started it

  • SuperMicro mainboards

    Has anyone had experience trying to install either Solaris 7 or 8 (Intel) on a system with a SuperMicro motherboard? My results were negative. The install died as a result of a device conflict. I would appreciate any info.

  • Experiences with [BLOB + Oracle] vs Storing it in OS Filesystem

    Hello, I know Oracle 11g has improved so much when talking about LOBs, but unfortunately our application is not certified on Oracle11g. So we're developing a project which uses Oracle 10g to store binary documents. Since our system is likely to grow