FM for Order Operations

Hi,
Is there any fm to get the old and new data of order operations?
Any help would be highly appreciated.
Regards,
Pitambar

Hi,
To get the old and new values you can use FM CO_BO_OPR_OF_ORDER_GET
CALL FUNCTION 'CO_BO_OPR_OF_ORDER_GET'
   EXPORTING
     aufnr_imp           = v_aufnr
*    CHECK_DELETED       = ' '
     get_old             = 'X'
*    FLG_STATUS          = ' '
*    FLG_WORK            = ' '
*    SORT_BY_SEQ         = ' '
*    GET_ALT_SEQ         = 'X'
*    FLG_PROV            = ' '
*    FLG_QUAL            = ' '
*    FLG_CONV            = ' '
     flg_oproll          = 'X'
   TABLES
     afvgd_get           = it_new
     afvgt_old           = it_old.
Regards,
Gaurav
<b>Reward points if helpful</b>

Similar Messages

  • User exit for order operation and internal assignment (SAPLCY18)

    Dear all,
    I am currently facing the problem below, which I have posted in PLM forum. However, I have been advised to ask in EAM forum, since probably my problem is more EAM-related.
    The problem currently facing is related to PM order operations. The customer's requirement is to use operations and to include the personnel numbers involved. For this solution, our proposal is to have the operations and within internal operation data to use the tab requirement assignments in order to include the personnel numbers. Also at this level, the client expects to maintain the the 'hr' (work requirements) for each personnel. For example there are used 2 personnel ids with hr requirements of 2hrs and 3 hrs respectively. Let me mention that in the operation screen, the hr requirements are initially defined equal to 1 hr.
    In the above case the message "The work of all the splits is greater than the work in the operation" apperas, since 1hr 5hrs. The question is if there is any way (user exit, badi) to update the work requirements in the operation with the sum of the internal assignment data.
    Program SAPLCY18 may be help, although I have not found the work around.
    More explanatory details to help:
    The combination using Work-Number of capacities-Duration and the Calculation key is already used, however the requirement is to use specific personnel numbers. SAP, as far as I am aware, allows you to define personnel numbers within internal operations.
    TAB Requirements assignements is available as long as in the operations main tab you have completed for the selected line the values Work-Number of capacities-Duration and Calculation key. Thus, in TAB Requirements assignments you can input the personnel numbers and the work of each one.
    The question is if we can use the Requirements Assignments TAB, using the button internal in the operations tab in order to define the personnels involveld and according to the work (hrs) to update the respective field of the operation (otherwise let's say to update the duration field for each personnel id and automatically the operation respective duration field to be updated).
    Your feedback is highly appreciated,
    thank you in advance,
    Bou.Lis

    PeteA,
    thank you for your response. I am actually looking for such a development solution (more-or-less I know that it is not possible using standard SAP customizing) but unfortunately I have not yet found such a user exit or BADI that could help solving the problem facing.
    Do you have any idea of such a development tool to use?
    Thansk and regards,
    Bou.Lis

  • Default control-key for order operation.

    Hi gurus,
    My requirement is: in the order operation tab I want control key to be defaulted (say PM09) and user would be not allowed to change it.
    For this I have created PM09 as control key in Work Center default values tab, but my second requirement to disallow user to change it is not working!
    Is there is any specific setting, pls tell me how to do it.
    Regards,

    PM gurus,
    Please find my requirement and input your possible solutions!
    Requirement: My Client is having some contract workers for some jobs like cleaning and fixing small issues and are paid via service entry sheet. Now how we can map these workers?
    For this I made one workcenter (say 100MC) and in default values tab I assigned Control Key (say PM09, with settings confirmation possible but not necessary and indicators, Scheduling, Det. Cap. Req. & Print checked).
    As this control key is marked default in WC it will be copied in order operation but problem is it can be changed irrespective of workcenter.
    I want it to be defaulted and to be unchanged. If control is to be changed user has to change workcenter.
    I am open for any solution via authorization objects or via user exit.
    Thanks in anticipation,

  • With out goods issue for order system should not allow for order confirmati

    Dear all
    with out goods issue system should not allow for order/operation confirmation.
    how it is possible.
    Regrads
    Srinivas

    Dear ,
    In some cases we required to do confirmation or TECO without GI .
    We can change it as per req using user exit
    Regards,
    Ishwar

  • Assign Work order & Operation to individual technician

    Hello,
    I would like to assign a work order and the operation in the work order to a technician name.
    At the order header, i can enter a person responsible.
    At the operation, I can also enter a person responsible.
    I am wonder where is this person responsible maintained?  I do not have HR module implemented?  Can i use this person responsible without HR?  is there any suggestion how to use assign order & operation to individual?
    Thanks a million.

    Hi,
      On the standard config, this is the personnel number maintained in HR. If you don't have HR, you may want to consider implementing mini HR.
      The other option is to work around the same
      For Order header: Create the employees as different partner types and use Assign the different partner type for Order header.For ex: User (SAP Logon ID), Create the employee as a different vendor type or Customer type (Special types / category to differentiate normal vendor / customer), Create them as different positions)
      For Order operation: Use the enhancement tab to create a New field key.You configure to use one of the standard available fields for the same partner assigned on the order header and use the standard user exit for F4 (IWO10015 )and validations(IWO100156) on data entry.
    Once you have HR implemented then you may have to switch back to the standard process for more flexibility.
    Regards
    Narasimhan

  • Standard Report for missing parts at production order operation level?

    Hi PP Gurus,
                We have standard report for missing parts at production orders level.
    For our client, they need a report for missing parts analysis at production order operation level. Do we have any such standard report in the SAP?
    Please help.
    Thanks,
    Reddy.

    Hi Arvind,
          Thanks for for your response.
    1. List: Components,  Layout: Standard layout          set the Missing part
           It shows the component requirement/withdrawn  quantity for each operation of production order. It is not showing the commit quantity.
    2. List: Components,  Layout: Pick list          set the Missing part
           It shows the component requirement/withdrawn  quantity for each production order.
    3. List: Components,  Layout: Missing Parts List-Material View          set the Missing part
           It shows the component requirement/commit quantity for each production order. It is not showing the commit quantity at opertion level.
    4. List: Components,  Layout: Missing Parts List-Order View          set the Missing part
           It shows the component requirement/commit quantity for each production order. It is not showing the commit quantity at opertion level.
          We are unable to get the solution from all these 1 to 4 reports from COOIS.
    Do we have any option to change the existing layout (ex: 3 ) to get the commit quantity for operation with missing parts indicator?
    If avilable, what is the procedure to be followed?
    Thanks,
    Reddy.

  • Scheduling issue for splitted operations in process order

    Hello All,
    I am facing problem after scheduling splitted operation in process order. The scenario is as follows.
    In process order there are 5 operations. 10, 20, 30, 40 and 50. Out of the above operations 30 is splitted and two different resources are assigned to it. Control key assigned to splitted operation (30) is also scheduling relevant. Now the flow of operations will be as below.
    1. Operation 10
    2. Operation 20
    3. Operation 30 - Operations is splitted (Resource used is A), qty to be produced - 10 kg.
    a. Operation 32 - Quantity of operation 32 is changed to 5 kg. Resource used is B.
    b. Operation 34 - Quantity of operation 34 is changed to 5 kg. Resource used is C.
    4. Operation 40
    5. Operation 50
    Relationship exists between opearion 10-20, 20-30, 40-50 and between 30,32, 34 with 40. But there is no relationship exists between splitted operations 32 and 34 with any of the previous operations for eg. 10 & 20.
    Issue is after scheduling all operations relationship remains maintained between operations 32, 34, 40 & 50. As operation 30 is splitted to two different operations equally total time for scheduling gets reduced but after scheduling of all operations all previous operations before operations 30 does not get resceduled? Scheduling type maintained for order is Backward Scheduling.
    Please check this and guide me how all operations before operation 30 can be rescheduled as per changed timing of operations 32 and 34.
    Best Regards.
    Edited by: Avinash Mohite on Mar 19, 2010 12:43 PM
    Edited by: Avinash Mohite on Mar 19, 2010 3:14 PM

    Hi,
    I hope u r doing in this way:
    In the capacity header screen enter individual capacity as 2. then click on Got( on top of same screen) and go to individual capacites. Enter the names of two individual capacities, for example 1 and 2. These are the names of two work centres where u r splitting ur operation.
    Double Click on operation 0030 and go to tab 'splitting' . Tick on ' required splitting' and enter maximum no. of splits as 2.Then go to capacity requirements assignment tab. enter the individual capacity as 1 and 2 and enter the splitted quanitites.Save and reschedule .
    Check and revert.
    Regards.

  • How to analyse actual cost for each operation in Process/Production Order?

    Hi all,
    IN SAP, I know that we can analyze plan cost for Operation in Process Order/ Production Order.
    However, I can not analyze Actual cost for Operation .
    I know the object when I good issue material is ORDER, not OPERATION.
    But, as requirement of users, they want to analyze actual cost for each Operation.
    CAn SAP do this analyze?
    If Yes, What should I do in SAP to have this reports?
    THanks in advance,
    Emily Nguyen

    Hi Emily,
    as I see from one other message that you're using material ledger. Then your expectation is apparently to also see the actual costs of materials in your production order by operation.
    This is not supported. Actual material costs are handed up in material ledger multi-level settlement from one material to the next, bypassing the production orders.
    That means the production order will always contain the material costs valuated at plan price, not at actual price.
    For activity prices that might be better, when you revalue the orders at actual activity prices with CON2. But even there I am not sure that it will always be assigned correctly to the operations.
    There is currently an enhancement in development, the operation level costing. But that will affect more the planned cost side not the actuals. Might be interesting to learn more about your requirements and the use case behind.
    best regards,
                      Udo

  • Standard report for User defined feild in order operation

    Hi all,
    do we have any standard report? for User defined field in order operation. actually we have User defined field in task list and same could be reflected in order operation. so i am using those user defied field to record extra info in maintenance order.  i am wondering how to get the reports . do we have any standard reports?
    thanks
    Amit kushwaha

    Dear Amit
    I have utilised 3 user fields & activated order enhancement tab. I could find these three fields in report IW37N & IW49N. I m using ECC 6.0 EHP4. Try to set the layout & look for  fields - user field for quantity in the layout. For this please maintain some data in these user fields of some orders and then check for those orders in t code- IW37N & IW49n.
    Shakti

  • Setting deletion indicator/Flag for an operation in production order

    Dear All, Hi
                     How to set deletion indicator/flag for an operation in a production order. I don't want to delete the operation as such. Please help & suggest.
    Ragards,
    Shaiz

    Hi Shaiz,
    I hope the requirement is just like you posted earlier as in case of component deletion.
    Here in this case also the behaviour of the order remains the same.
    So you can go for release the order as soon as the order gets created, your both the requirements can be fullfilled.
    Also you havn't provided the exact feedback on the solutions offered by all of us, on your last query.
    Request you to give detailed input on the same.
    Hope thish helps you.
    SmanS

  • FIND table for PM order operations

    Hello,
    I am looking for the table in which the notification number of pm order operations is stored.
    I find table AFVC and AFVV but in this table I don't see notification number.
    Thanks for your help.
    Best regards,
                                  Seb

    For PM Order, you can see :
    - Notification number in header tabstrip
    - Notification number in operations tabstrip (for each operation)
    It is not the same number !
    I have the following informations : AUFK, AFKO, AFVC.
    For example, With IW32, I see operations tabstrip :
    Operation Item                   Notifications Number
    10                                      110000007
    20                                      110000007
    30                                      110000008
    In AFVC, I see :
    AUFPL                           VORNR
    1000582892                   10
    1000582892                   20
    1000582892                   30
    AUFPL number is the same for all items operations in AFVC !
    Thanks for your help.

  • Tables for tracing the Maintenance Order Operation to Purchase requistion

    Hi Everyone,
    Can any one suggest appropriate table for finding the link for tracing Maintenance Order Operation to Purchase Requistion for Service Items.
    My requirement if I give the Order Number, I require Operations in it & PR Item associated if they are Service Items.
    Regards,
    MLN Prasad

    Hi got the Answer myself & thanks fro the answers given by you all.
    The exact way how I got is Pass AUFNR to AFKO and get AUFPL.
    Use this AUFPL in AFVC where we get VORNR (operation Number) also.
    You can use the AUFPL in EBKN ande can get tje PR (BANFN).
    Bye,
    MLN Prasad

  • Production order: Cost analysis for each operation ?

    Hello,
    i want to select the detail plan costs (Setup, Labor, Machine) for each operation in a production order. Unfortunalety i found only the plan costs as summary for all operations. Only the time activities are available for each operations.
    Can anyone help me ? If you have any suggestions, please let me know!
    Best regards,
    Michael

    Dear,
    Why do you want the cost for closed order?
    Order with Closed Status:
    1. No more costing can be posted to that order(s). No more good movements and confirmation can be posted to order with CLSD status
    2. The order can not be changed if it has CLSD status
    3. There should not be any open PR for the Production order before setting CLSD status
    4. Order balance should be zero before setting the CLSD status.
    Else you can do this with Transaction BS22 (System Status: Maintain).
    Select the system status I0046 by double-clicking.
    Set the business transaction  'Permtd' for costing object.
    I will not recommended to change the SAP standard setting.
    Regards,
    R.Brahmankar

  • GI for every Operations, not for whole production order

    Hi,
    I have assigned the components into operation and would like to do goods issue for every operations.
    But MIGO or MB1A only do goods issue for whole production order, there is no selection fields for operation no.
    How can I only do the good issue for production order by operations?
    thank you very much.
    Best Regards,
    John H

    Hi,
    You can do goods issue for each operation using backflushing while confirming each operation.
    In CA02 that is in routing go to component allocation select the components which you want to issue for certain operation and select new assignment. In new assignment select the operation.
    In the same manner select the components which you want to issue and assignment it to operation.
    Hope it will help you.
    Regards,
    Alok Tiwari

  • PM Order: get PRT list for an operation

    Hi expert,
    I need to get the PRT list for an operation for a PM order (in particolar I need the documents related to a specific operation).
    Do you know if exist a FM?
    Any suggest?
    Thanks
    Salvatore

    This is my solution:
    PARAMETERS: p_aufpl LIKE affh-aufpl.
    DATA: it_affh TYPE STANDARD TABLE OF affh WITH HEADER LINE.
    DATA: it_affhd TYPE STANDARD TABLE OF affhd WITH HEADER LINE.
    DATA: aufpl_tab TYPE STANDARD TABLE OF aufpl_pre WITH HEADER LINE.
    SELECT * FROM affh INTO CORRESPONDING FIELDS OF TABLE it_affh
    WHERE aufpl = p_aufpl.
    LOOP AT it_affh.
    *  MOVE-CORRESPONDING it_affh TO it_affhd.
    **  APPEND it_affhd.
      MOVE-CORRESPONDING it_affh TO aufpl_tab.
      APPEND aufpl_tab.
    ENDLOOP.
    CALL FUNCTION 'CF_BT_CO_AFFH_PRE_READ_FROM_DB'
         TABLES
              aufpl_tab = aufpl_tab
    *            ORD_TAB   = AUFNR_TAB
         EXCEPTIONS
              OTHERS    = 1.
    CALL FUNCTION 'CF_BT_CO_AFFHD_TAB_GET'
    *                EXPORTING
    *                  i_aufpl                 = p_aufpl
    *                  I_APLZL                 =
    *                  I_NO_DELETED            = ' '
    *                  I_NO_PHYS_DELETED       = ' '
    *                  I_FLG_STATX             = 'X'
    TABLES
       affhd_tab               = it_affhd
    *                EXCEPTIONS
    *                  NOT_FOUND               = 1
    *                  OTHERS                  = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE: 'fine'.
    LOOP AT it_affhd.
      WRITE: / it_affhd-doknr.
    ENDLOOP.

Maybe you are looking for

  • Oracle 9i Release 2 Query Evaluation

    Hi, I have a general question regarding the mode of query evaluation in Oracle 9i release 2 XMLDB. Specifically whenever a query of the nature: select extract(...........) from......... is the query processed in a lazy mode or in an eager mode? Thank

  • Keys stopped working; HELP!!

    So over the last day my delete key, return key, right hand shift key and right arrow key all quit working. Restart computer, checked for software updates, I think its a hardware issue. Can't see anything obvious underthe keys and they seem to move li

  • Workflow Attribute Namespace?

    How would I compare a waveset attribute with the attribute being modified from the Tabbed User Form? ex) <Transition to="Rename Activity"> <cond> <neq> <ref>waveset.EXT_ATTRIBUTE</ref> <ref> EXT_ATTRIBUTE being updated in UpdateUser WORKFLOW</ref> </

  • Anyone with PSe 11 or 12 issues on a Mac upgraded to Yosemite who are using an iMac

    Are any Adobe Photoshop Elements 11 or 12 Mac users experiencing problems on a computer other than a Macbook Pro (e.g. an iMac or Mac Mini) that has been upgraded to Yosemite?  I just upgraded and my PSE 12 freezes - I found a workaround by using a m

  • Sharing permissions issue

    I am trying to share folders via the inbuilt samba server configured with the System Preferences sharing panel. The issue I am facing is that permissions for specific users are being ignored after I have navigated beyond the initial shared folder e.g