Update required quantity for material component in Process Order.

Hello.
I need update component qty from Z dialog program.
The famous BAPI_PROCORD_CHANGE doesn't deal with COMPONENT structure but only HEADER. Then I tried to combine it with an enhancement.
I see that in WORKORDER_UPDATE~BEFORE_UPDATE I can't change values in IT_COMPONENT.
Anybody have used enhancement for this purpose and how can I transfer my calculated values to order?
In addition I check ENHANCEMENT-SECTION   CO_BT_ORDER_POST_02 SPOTS ES_SAPLCOBT  to do it.
What syntax our developers should write if it's possible?
Thanks
Alex Davidov

Kumar.
What should be copied? The header batch or some/all of the characteristics of the header batch to a new batch for the component?
Anoop

Similar Messages

  • Capture ERFMG - Requirement quantity for a component

    Hi All,
    I have a requirement where in i need to capture the requirement quantity for a component(ERFMG).
    The problem is the value exists only at runtime in the following structure MDPM.
    I am writing the code in an exit   EXIT_SAPMM06E_013 where in i cannot capture this value from this structure.It is not storing in a database table also . how can i get this value  ?
    Kindly help.
    Priya.

    Hi,
    Thank you for your post!
    It is exactly what I have done but as I above mentioned:
    Subsequent problem
    The system schedules the dates correctly on the component level, but re-schedules the dates for the project the day you schedule and erase the complete old scheduling dates except for the activities with constraints.
    If I have an "old" scheduled project and I add some new components anywhere in the complete project structure additional needs. I go then to the project definition level and schedule the complete project. My result is that on project definition and WBS elements no changes but on all activities (without confirmation) the system put the start date the day which I re-schedule the project.
    That what I want  to avoid and let the initial planned schedule date on activity level the same as before re-scheduling the project.
    Do you have any further advices?
    Thank you in advance for your input
    Best regards

  • Header material batch copy to component in Process order

    Hi,
    I have the following requirement...
    We create process order and assign the batch to process order manually..now during saving of the process order system has to copy batch of the process order ( header material ) to the one of the component in the batch automatically, as this is component is by product which comes to stock along with header material...What is the enhancement/ User exit can be used to meet this requirement...
    Thanks
    Kumar

    Kumar.
    What should be copied? The header batch or some/all of the characteristics of the header batch to a new batch for the component?
    Anoop

  • Deafult batch for component in process order

    Hi Experts ,
    in one of the scenario the client requirement is the batch number for eg- "a" , should be automatically populated in the batch number column of the component in process order while saving or while release.
    this should be done only for components  that are  backflush active.
    can it be done by any user exit /Functionm module etc...
    please advice.
    regrds,
    satish

    Dear Satish
    Please check the following setting in customizing ,
    T.code OPJ2 -
    Operation for batch determination - 3 ( check during backflushing )
    give SDR as per the business requirement and activate BD indicator .
    For SDR ( Stock determination rule ) use T.code OSPX ,here you can
    sort or can give prioriy .
    Please try this ,otherwise go for enhancement /user exit
    Regards ,
    Vishwas.K
    Edited by: vishwas.k on Mar 9, 2011 5:28 PM
    Edited by: vishwas.k on Mar 9, 2011 5:38 PM

  • Restriction for Material Component deletion after PO creation in PS

    I want to restrict the material component deletion from the Projects once the PO is created for it. I have done the required configuration settings in OPSG (Change Profile Order Change management) where the system must give an error for material component deletion once the PO is created for it. But still it is not working.
    1) Why the configuration in OPSG is not working?
    2) Is it required to use user exit CNEX0009 or CNEX0039?
    3) Where can I locate uset exit CNEX0039 if required?
    Can anyone help on this issue!!!!

    Hi,
    Please check again the settings in OPSG.It is std functionality in SAP so i think it should work.
    Muzamil

  • Changing material number when Process Order is released

    Hello,
    We have a scenario in which the material number of a process order may need to be changed after the process order is released.  We will have both in process and post production inspection types assigned to this order, and both inspection lots are created at process order release.  We also will have a batch number created at process order release. 
    When recording test results in the inspection lot before a process order has been confirmed, the users may identify that the material number should be different.  We would like a way to be able to either change the material number in the process order (and inspection lots).  We know this involves a lot of updates (master data changes to the existing process order and inspection lots).  Currently, there is no way to transfer information to a new material number without receiving product in and performing a usage decision in the post production inspection lot to transfer to a new material number. 
    The client has implemented all modules, except PP (which we are in the process of now).  We know that Variant Configuration would have been the right solution for this, but this is not an option since MM is already implemented. 
    If you have any suggestions, please reply. 
    Thanks in advance.

    Hi Prasobh,
    The exact scenario is as follows:
    1. A semi finished good will be used as a component to produce the finished good.
    2. This semi finished good will have treatments added to it, and quality inspection will be performed as treatments are added. 
    3. Inspections will occur several times as treatments are added.  If during one of these inspections, material is out of spec, and the blend should be transferred to another material number, we need to be able to change to another material number.  To have a customization where material number is changed in all of the relevant PP and QM tables seems risky. 
    This is why we can't really use material classification.  We also do not have the option to use VC bc the MM module is already implemented. 
    Thanks.

  • Raw Material Consumption to Process Orders

    Hi Friends,
    I need help with changing the way how we consume raw materials in our manufacturing organization.
    Current Process:
    A.     Receive product A in Warehouse, movement type 101. Debit Inventory Account, and Credit GR/IR.
    B.     Move product A to a storage location (out of Warehouseu2019s custody). Movement type 311. No impact to P&L, as no accounting entries.
    C.     Consume product A in a u2018Process Orderu2019 from that storage location 311. Debit Consumption Account, and Credit Inventory Account.
    Product A is listed in Bill of Materials and has to be issued to process orders for final consumption u2013 to give production variance as we are on standard costing system.
    Desired Process:
    We want to have stronger controls in our organization. We want to hit P&L in step B, as soon as Warehouse issues items out. This can be done using movement type 201 GI for Cost Center.
    But we also desire to see final consumption happening in process orders, as all our BOMs and standard costs account for the consumption of product A.
    Please advice how do we issue items to a process order that have already been issued to a Cost Center. What is it that I am missing?
    Thanks,
    Meet A

    I believe we will stick with our current process. See Ajay's reply on the link below:
    Raw Material Consumption to Process Orders
    Thanks and regards,
    Meet A.

  • Batch determination for raw materials in process order

    I have defined a sort rule, batch search strategy and assiigned this strategy to process order type.classification for batch is also defined with charecterstic mentioned in sort rule.But when i am doing BD for raw materials in Process order , it is barnching into some other screen saying, no selection criteria and no strategy info defined. what are the necessary settings to make BD possible for all the materials having batch management.

    Hi
    Config Setting In Batch Management
    This will help you for config setting:
    Logistics general - Batch Management
    1.1. Specify Batch Level
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Specify batch level and activate batch status management Transaction  OMCT
    1.2. Batch Number - Activate Internal Number Assignment
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Number Assignment --> Activate internal batch number assignment Transaction  OMCZ
    1.3. Batch Creation - for Goods Movements 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Creation of new batches --> Define batch creation for goods movements Transaction
    1.4. Characteristic Value Assignment -- Update Standard Characteristics 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Update Standard Characteristics Transaction
    1.5. Activate Batch Classification for Goods Movements in Inventory Management 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Valuation for goods movements --> Activate Batch Classification for goods movements in Inventory Management Transaction  OMCV
    1.6. Batch Determination u2013 Condition Table(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define production order condition tables Transaction  OPLB
    1.7. Batch Determination u2013 Condition Table(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define SD condition Tables Transaction  V/C7
    1.8. Batch Determination u2013 Access Sequence(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define Production Order Access Sequences Transaction  OPLF
    1.9. Batch Determination u2013 Access Sequence(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define SD Access Sequences Transaction  V/C2
    1.10. Batch Determination u2013 Strategy Types
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production Order Strategy Types Transaction  OPLE
    1.11. Batch Determination u2013 Strategy Types
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Strategy Types Transaction  V/C1
    1.12.  Batch Determination u2013 Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define IM   Search Procedure Transaction  OMCY
    1.13.  Batch Determination u2013 Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production order Search Procedure Transaction  OPLG
    1.14.  Batch Determination u2013 Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Search Procedure Transaction  V/C3
    1.15.  Batch Determination u2013 Batch Search Procedure Allocation
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate IM search procedure/activate check Transaction  OMCG
    1.16. Batch Determination u2013 Batch Search Procedure Allocation
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Assign Search procedure to production order Transaction  OPL8
    1.17.  Batch Determination u2013 Batch Search Procedure Allocation(SD)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate SD Search procedure Transaction  V/C5
    1.18.  Batch Determination u2013 Activate Automatic Batch Determination(SD)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Activate Automatic Batch Determination in SD -->For delivery item categories Transaction  V/CL
    1.19.  Batch Determination u2013 Batch Selection Class
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Selection Classes Transaction  CL01
    1.20.  Batch Determination u2013 Sort Rule
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Sort Rules Transaction  CU70
    1.21.   Batch Determination u2013 Make Settings for Batch Where-used list
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Make Settings for Batch Where-used list Transaction  OMBB              
    regards
    Faisal

  • Cost Analysis Report - For a range of process orders

    Dear all,
    Is there a standard report available to get the cost analysis for a range of process order? COR3 --> Go to --> Cost --> Analysis. Here I can see the cost analysis for one report. But I wanted to get the cost analysis report for a range of process orders. Please help.
    Thanks
    Nagarajan

    Dear
    You can use cost analysis report like
    1.S_ALR_87099932 - Variances Between Costing Runs
    2.S_ALR_87099931 - Price vs Cost Estimate
    3.S_ALR_87099932 - Variances Between Costing Runs
    5.KOC4
    Regards
    JH

  • Change material code in process order or delete process order

    Hi experts,
    While creating a process order in COR1 transaction code, wrong material code was entered.
    Can we change the material code in process order.  If not, what is the complete procedure to cancel or delete the process order.
    Request you to revert.
    Thanks in Advance.
    Regards,
    Farha.

    Dear ,
    One the Process Order has been created with any material either it is wrong code or correct code , it can not be deleted .If it wrong code , then do not  perfom goods Issue -MIGO-261 or through Backflash  and also operation confirmation etc .
    If Goods Issue , Confirmation happend then you need to reverse those txn once again .
    In that case the best oiption will be goto COR2-Enter the Process Order -Select Process Order from Header -Restrict Processing -Choose Technically Complete .
    Now , once you did TECO , then there will not be any farther txanationl posting like Goods Issue , confirmation will not be possible .Likewise , you can also Lock or make set CLOSE  from COR2 in case there is no WIP , Variance .
    Hope this is clear
    Regards
    JH

  • Table names for Material Characteristic againgst production order

    Hi Guys,
    Actually I have a problem in finding the table name for material characteristic against production order such as Individual length, factor, color, etc. I really spend more than a day to find this. But I cudn't make it. Finally I found the flow some how, but is working only for few cases. Here is the flow.
    AFKO(RSNUM) --> RESB(OBJNR) --> INOB(CUOBJ) --> AUSP(OBJEK).
    T-code: CO02 / Fast Entry tab / Change Configuration(Item Level) / Change Characteristic values.
    Anybody knows about this. Please help me out on this. And please note that, it is not the material characteristic from MM01, it is against production order from CO02.
    Thanks
    Yasin.

    Hi Yasin,
    The best way to know Table Names in SAP is to use a Transaction Code Called : SQL Trace. Tcode : ST05. This will tell you about all the database tables that have been accessed while the Transaction was executed. And then you do a complete analysis of it, what are all the Tables that have been accessed, the fields and the data transfered. So, it's a complete trace of the SQL Query but you can use the information as needed.
    Have a look at the following Links:
    http://help.sap.com/saphelp_nw04/Helpdata/EN/17/358df9c9fee2469105731e10756921/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm
    The best things is that you can use it across any SAP Transaction as it is available in SAP NetWeaver .
    Hope this helps.
    Thanks,
    Samantak.

  • Enhancement details required...adding order header material as component in Process Order

    Hi,
    I am creating a process order for a qty of 10. Now when I go to components list header material with order qty (means 10) is added in the components list by the system through some enhancement...how to check which BAPI or BADI is doing this.....can somebody guide me....
    Thanks
    Kumar

    Dear Kumar,
    Find BAPI:
    Get the package of the transaction and in SE84 choose the required hierarchy and input the package and execute you will get list of BAPIs. and see given threads: LIST OF BAPI FOR PRODUCTION PLANNING MODULE and BAPI to change production order components
    Find BADI: Using Repository Information System (TCODE- SE84)
    Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction code( which you want to find BADI) and Click on the Display push buttons.
    Get the Package Name.
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Best of luck
    Regards,
    Abbas.

  • Confirmed Process order but with mistake on quantity for material.

    Dear All,
    The case is ,  User make mistake on putting large volume into material quantity within process order,  However, this process order has been released , confirmed and delivery (DLV) status. 
    Since this large vquantity material will make the Cost extra larger than normal.  
    Therefore, is there way to change material quantity and recalcuate the cost again? 
    Many thanks !
    Marco

    Dear all,
    After commuicated with User again,  user has been done as below.
    Step1)
    User has been cancel the process order confirmation by T-code:  CORS,
    Step2)
    Revesed the extra amount Quantity to Block stock to prevent Sales Person touch this extra quantity.
    However,  I checked there is no different on Actual costs after the cancel the Process order confirmation.
    I have some confusing now..
    1) is that once Process order confirmation cancelled,  is that there Must no Actual cost in Accounting view?
    2)  If there is part of physical product produced,  but the Process order has been cancelled afterward. How the cost calcuated?  is that include the cost or exclude the cost? 
    Many Thanks for your help!
    Best Regards
    Marco

  • Special stock indicator for component in process order

    Hi,
    There is a field in process order where we can maintain special stock indicator for component.
    In this filed if we define consignment stock, then the vendor field becomes activated, where the vendor can be given.
    Now we want to maintain the data as a master data so that whenever process order is created the sp stock indicator as well as vendor are populated for that particular component.
    Q - where to define this master data. I could not see such fields in BOM?
    regards,
    Mohit

    Hi Sunderesan,
    Thaks for responding. Even by doing this system does not propose special stock indicator as '3' in process order & even vendor is not proposed.
    My requirement is that system should propose '3' in special stock indicator in process order.
    Request to look into this.
    regards,
    Mohit

  • Material staging during Process Order..TR issue

    Hello,
    For creating a TO I am going to transaction LB13 for a Process Order but I am not able to see the TR.
    When I went in the Process Order and manually clicked WM staging I found that there is an error as mentioned below. The problem is it is an issue for only some Process Order as most of the other Process Orders are getting the WM staging(TR created automatically) and I can see in the LB13.
    Can you tell me based on the error what the issue would be.
    Is it something to do with the config in Production Scheduler Profile for TR creation?
    No picking request was generated for operation 0020 due to incompleteness
    Message no. LP133
    Diagnosis
    The pick requirement created for the pick parts ( material staging indicator "1") is incomplete. Errors occurred while the system was staging goods for WM. Therefore, the system could not convert all the relevant components into pick requirements. For this reason, no pick requests were created since material staging of only part of the components would cause problems in production.
    Let me know ASAP
    Thanks
    SAP Fans...

    Hi,
    For the operation 0020 check what is the resource used. Now check what is the supply area you have maintained for that resource or in material master.
    use transaction LPK3 and check out the control cycle set-up. the staging indicator should be 1.
    Also check the component screen of the process order and make sure the storage location is the same that is used in production supply area.
    Also make sure the material has been correctly assigned to that operation for which you are getting issue.
    Once you do these changes....you might have to create a new order to test this.
    Try and revert back.
    Swapnil

Maybe you are looking for

  • Scrollbar in accordion widget?

    Is this possible? I have a large body of text inside one of my accordion panels and I 's like to insert a scrollbar to preserve screen real estate. Any help much appreciated!

  • RMI: Read timed out

    I have a rmi call. Client: JDK1.5.0_06 Windows 2003 Server: JDK1.5.0_06 Windows XP I got following exceptions in client side sometimes, but not always: java.rmi.MarshalException: error marshalling arguments; nested exception is: java.net.SocketExcept

  • Music DVD to iPod?

    How can I take a song from a commercial music DVD (that I own) and put any particular song on my iPod?

  • Can JFileChooser file name field return all entered chars

    In JFileChooser, if I want to get all entered characters from file name field, is there a method I can call? I used method chooserUI.getFileName() or chooser.getSelectedFile(). These two methods returned texts which missed back slash and forward slas

  • I'm no longer eligible to upgrade to the Edge plan now for 6 months???

    I made a partial payment of $200 on a past due account on a Friday night, I have 6 smartphones on 12 GB plan.  Financial Services is closed over weekend, I'm a pro at that by now, and I decided to wait until Monday.  On Monday, my phones were already