How to create the Batch Automatically during creation of Production order

Hi All,
I wanted to create the Batch Automatically for the Specific order type during creation.
Not for all order type so OPKP transction will not work for me.
Please suggest any way or user exit any production order.
Thanks,
Amit Shah

Hi All,
Thanks for your inputs.  
  1. Why we want create the Batch Auto -
      For Std Production Order type we want to generate Batch Automatically.
      For Re-work Production Order type we don't want Batch Created Auto.
      If you have better solution please let me know.
2.  Scheduling profile.
      I think I misunderstood your solution.
      You want to say that mainatin the Schd profile in the SPRO with repect to Sub Schdler.
      Already client is maintaining the Schd Profile in the Material Master.
       please correct me if i am wrong.
Thanks,
Amit Shah

Similar Messages

  • How to retrieve the vendor number during creation of Purchase Order?

    Dear SAP experts,
    For our Purchase Orders, during PO creation (t-code ME21 or ME21N) we want to achieve the following:-
    1) default the delivery address to our plant A address if the vendor is local and
    2) default the delivery address to our plant B address if the vendor is foreign.
    At the moment, we are trying to use the user exit enhancement "MMDA0001" to achieve the above.
    The problem is how to retrieve the vendor number from the screen so we could pass the vendor number to ZXM06U32 to check the ktokk field in LFA1 table in the whether the vendor is foreign or local.
    Thank you in advance.
    Regards,
    Alex

    u can do one thing, create 2 partner function, like 1 for local, and second for import vendor.
    or make 2 batch  n activate vendor batch and make mandatory field from SPRO. 
    then goto SHD0, and do one by one step. first time take 1st requirement and second time take second . like that make two variant .
    i dont know how much it will be helpful. bt i want to suggest smth like that only.
    or, go for ABAPER help
    thanks
    nisha

  • Batch Split during GR for Production Order Confirmation

    Hi All,
    We need to do batch splitting during GR for Production Order Confirmation.We are using CO11N for confirming the Production Order and in the PP settings auto GR is activated once the Confirmation is done.
    Currently it is generating only single batch number for the complete quantity, but our requirement is that we need that system should create separate batch for each piece.
    For ex.: Production Order is for 100 pce, when we do Production Order confirmation, system is automatically doing the GR by 101 movement type and it is creating one single batch for full 100 pce. But we want the batch number should be generated for 1 pce i.e. we want to split the 100 pce into 100 batches with 1 pce each.
    Please let me know what can be done for this requirement.
    Regards,
    Ankit

    Dear,
    In OPK0 you need to active the screen Mill: Goods Receipt (8485) for confirmation profile for the single-screen entry.
    Best way is use BAdI /SAPMP/SPLIT_CO11N for the Enter Time Ticket for Production Order transaction (CO11N)
    you must activate BAdI implementation /SAPMP/SPLIT_POPUP and/or /SAPMP/SPLIT_CO11N for this BAdI
    I have use the same BADI it will ask you number of split according to that it will split the GR line item.
    Please refer this link,
    http://help.sap.com/saphelp_dimp50/helpdata/EN/4e/1796374b088e5ce10000009b38f8cf/frameset.htm
    Regards,
    R.Brahmankar

  • Header Material Repeated during creation of production order

    Sir,
    I have defined bom as one component and 3 co product.
    During creation of production order in operation overview i found header material is repeated in components.
    Pl. suggest me where i have made mistake.
    Regards,
    Vivek

    Hi
    Check whether BOM is recursive or not? also check the movement type against the header material.
    Also check in CO03>Goto> Material list
    Regards
    Anupam Sharma
    Edited by: anupam sharma on Jan 30, 2012 12:17 PM

  • Problem During Creation of Production Order

    Dear Sirs
    Hope you all are well. I am facing a problem in PPDM during creation of Production Order which is that when I try to release the order System shows me material availability error for BOM items but when I check those material in MMBE(stock overview )all materials are available in UN-restricted use stock. I am facing this problem and not able to resolve it please help me out in it.
    Thanks
    Regards ,
    Haseeb Khan
    Senior Consultant

    Dear
    Did you maintain Work Schedulimng View of the Material ??
    Did you maintain any Production Storage Loaction in MRP2 view and same is appearing in Goods Movement Tab in CO11N screen with Movement Type 101 ??
    Did you maintain the Operation Control Key -pp03  which should have Auto GR check box marked in OP00 ?? Goto Operation Control key -Detail information -Check whther Auto GR is marked or not ??
    If you are using Serrial Number Profile and Serial Number , then Auto GR is not possible .Make sure that you are not haveing functionality because it does not support Auto GR fro serialised material and need to do it through MIGO/MB31/MB1C.
    Make sure that you have used PP03-Control key only at last operation not all the operations.You need to maintain PP03 at Routing level and call the function by Read PP Master data  at production order level   (co02-function read pp master data )
    Regards
    JH
    Edited by: Jiaul Haque on Feb 14, 2011 12:55 PM

  • Valuation Type during creation of production order

    Hi,
      while converting planned order to production order i am getting following warning message" Valuation data for material XXXXXX valuation type XX are not maintained" 
    material type is FERT, and we have activated the split valuation. In SPRO under split vauation for the particular plant i defined  two vauation type. but material is extended for one valuation type( means one is blank, another is AB) .material is not extended to valuation type XX, thats why i am getting this warning message
    My question is From where it picking the default valuation type XX while production order conversion. so that i can solve this issue

    Dear Thennarasu M,
    Please check the t-code OMWC. This is about Split valuation of materials. Click on button 'Global categories'. You can see the column 'DVT InhPr' (Default: valuation type "in-house production"). This field causes this valuation type to be proposed automatically when production orders are entered. Moreover, if the indicator "proposal obligatory" is also set, the default
    valuation type is binding and you cannot overtype it. Furthermore, you can check the last column 'Autom.VTy' (Indicator: valuation type is set automatically). I think it can be also useful for you if valuation type XX is not yet created, because the system determines valuation type automatically at the time goods receipts are posted. The system will create a valuation record if no record with this valutation type exists yet for the material.
    I hope this helps!
    Rgds,
    Viktor Bojtos
    Hungary

  • Avoiding creation of reservation during creation of production order

    Dear gurus,
                     when we create a production order for a semifinshed material there are reservations created for the raw material used to produce the semifinished material ,what if I what to avoid the creation of material reservation .
    I have tried out with setting in opl8 wherein we specify the creation of reservation on release of production order or on creation or never but it is not working otu please if u can help me out.
    I what to create manual reservation for production orders......Is it possible?
    Thanks in advance.

    Dear ,
    .As long as , you have BOM components are in stock  , system will generate reservation for them when you create Production order  where as if any of the component is not available in the stock then it will generate PR based on the material master set up because when you are creating production order or creating planned order through MRP , system performs material availablity check in the back ground and generate either reservation or PR automatically .
    Secondly, you can not create Manual Reservation  , See the Std SAP message .Message no. M7 126
    You entered an order whose category only permits automatic reservations. The following order categories do not allow manual reservations:
    10 PP production order
    20 network
    30 maintenance order
    40 batch order (process manufacturing)
    50 inspection lot.
    So conclusion is you can't stop creation of reseravtion .Curious to know why you do not want reservation for PO ?
    Hope this is clear
    Regards
    JH

  • Batch classification during GR against production order using txn MIGO

    Hello All
           I am usng batch classification during for movement type 101, when am doing the GR against production order using txn MB31 the system automatically navigates to classification screen wherein i need to enter the characterstic value & it all goes well, I can also view the stock with batch no and the classifcation value when the GR is being done with txn MB1.
          But when am dong the same thing i.e. GR against production order using txn MIGO system doesnt navigates to classification screen for characterstic value entry and am able to do the posting. I want that system must navigate to classification screen automatically if i do the GR using MIGO also as it doen in the case of txn MB31.
           Please suggest what settings are to be done for the same, I am unable to figure out why the system is behaving in this manner. Kindly provide your inputs to sort out this issue. Waiting for your valuable inputs.
    Regards,
    J K Tharwani

    Dear,
    did u refer SAP Note 519303 ?
    After keeping Batch Classification as 4 in OMCV, in MIGO, it will start showing the Batch Classification button under "Batch" Tab, it will not show the Batch Classification Pop-up automatically as it shows in case of MB31.
    If you wan users to enter the characteristics values mandatorily in the Batch Classification then in CT04 for these characteristics activate Entry required indicator in "Basic Data" Tab
    SAP Note 519303
    Please refer this also,
    [MIGO|Re: How can I get the MRP history?]
    Regards,
    R.Brahmankar

  • How To Change The Patter generates during creation of Prog using SE38

    Dear Guru,
    I have Encountered an Issue.
    The Scenario Is like this :-
    As soon as we create a new prog using SE38 it automatically generates a standard pattern like below :
    *& Report  ZSR_TEST_05
    REPORT  ZSR_TEST_05.
    But the requirment is like this as soon as we create a new prog using SE38 it automatically it should generate the The Pattern like below :--
    *& Project            :
    *& Program Name       :
    *& Transaction Code   :
    *& Program Type       :
    *& Functional Domain  :
    *& Technical Coding   :
    *& Functional Guidance:
    *& Coding Review      :
    *& Spec. Review       :
    *& Program Description:
    REPORT  ZSR_TEST_05.
    After going through sdn documentation i have identified that using dynamic pattern we can create this and call that dynamic pattern using PATTERN button in ABAP editor.
    But the thing we require as soon as we generate the prog thr. SE38 atomatically all the details must generate before the report <report_name>.
    For achieving thins what i have to do ... please show me some path to achieve this
    Thanks & Regards
    Saifur Rahaman

    Hello Saifur
    Not sure if you can make SE38 to do what you want (yet it is likely). If you do not want to create lots of ABAP patterns why not define a simple ZTEMPLATE report containing the basic set of comments:
    *& Project            :
    *& Program Name       :
    *& Transaction Code   :
    *& Program Type       :
    *& Functional Domain  :
    *& Technical Coding   :
    *& Functional Guidance:
    *& Coding Review      :
    *& Spec. Review       :
    *& Program Description:
    REPORT  ZTEMPLATE.
    *& Initialize report
    INITIALIZATION.
    *& PBO of Selection-Screen
    AT SELECTION-SCREEN OUTPUT.
    *& PAI of Selection-Screen
    AT SELECTION-SCREEN.
    *& Begin of Main Program
    START-OF-SELECTION.
    *& End of Main Program
    END-OF-SELECTION.
    New reports are then created by copying your ZTEMPLATE template.
    Regards
      Uwe

  • How to create new Batch No for An Item

    Dear All,
              I am doing Issue for production task through DI API. In that I need to Create a Batch no for an Item. That item was created as Batch with Release only in Item Master. Please help me how to create the batch no when I am Issue for Production ?.
    Thanks,
    lingam.

    Dear Lingam,
    If the process need manual selection as the one you are requesting, it will not be available to DI API. You may try UI API to see.
    Thanks,
    Gordon

  • Deleting the reservations for components of a production order without TECO

    Dear Gurus,
    I forgot to activate the backflush indicator in the beginning. I activated the backflush indicator in between. But for the confirmations already made I had to issue the material as unplanned consumption for the order. This is not clearing the reservations for the material.
    How to delete the reservations for components of a production order without TECOing the production order? My order is not completed.
    Thanks and Regards,
    Raghu

    Hi Kumar,
    I have a production order for 1000 header (A) qty. My control key is PP03 (auto goods receipt from confirmation in CO11N).
    For this order the component B qty is 1000 (BOM consumption is 1:1)
    Without doing GI, the confirmation is done for 300 A qty. I realized that auto GI is not done for the 300 qty of component B as there was no backflush indicator.
    Now the backflush indicator is activated in the production order for component B.
    In the next confirmation for another 300 A qty, automatic GI is posted for 300 B qty because of backflush now.
    Now my confirmed and GR qty for A in two rounds is 300 + 300 = 600.
    GI of component B done is only 300 (through backflush).
    Qty yet to confirm = 400.
    So I did GI of 300 B qty through MB1A (which is an unplanned issue). This does not update the withdrawn qty in the production order. Also the reservations for component B for this 300 qty are not reduced in the system.
    Now the reservations against the order for component B = 1000 - 300 = 700 (which is 300 more than the qty yet to confirm).
    Now when I run MRP for another 2000 qty of A, the procurement proposals for B will be 2000 + 300(undeleted reservations) = 2300. Though the system is behaving properly, this 300 is additional and unwanted.
    For this reason I need to delete these reservations before the MRP run. As order is still open, I cannot TECO the order. Nor can I clear all open reservations from CO11N.
    Thanks and Regards,

  • !How to find out follow up activities created during creation of an Order??

    Hi Gurus,
    I want to find out the number of follow up activities created during creation of an Order??
    Is there any BAPI or Function Module which can detrmine the number of follow up activities after creation / saving an Order..
    Please Reply fast.
    Thanks
    Pranay

    Hi Pranav,
    I am confident this will solve your problem:
    <b>Step 1.</b>
    Enter the guid of the current order into function module
    CRM_DOC_FLOW_READ_DB.
    Code:
    DATA : t_doc_links TYPE crmt_doc_flow_db_wrkt,
               v_guid TYPE crmt_object_guid.
    v_guid = <guid of the order from table crmd_orderadm_h>
    CALL FUNCTION 'CRM_DOC_FLOW_READ_DB'
                  EXPORTING
                    iv_header_guid = v_guid
                  IMPORTING
                    et_doc_links   = t_doc_links
                  EXCEPTIONS
                    error_occurred = 1
                    OTHERS         = 2.
    <b>Step2.</b>
    Now loop through the returned table ie t_doc_links.
    Records which fulfill the following criteria are
    the follow up records.
      reltype    = 'VONA'
      objtype_b  = 'BUS2000126'
      objkey_b   =  v_temp
      roletype_b = 'NACHFOLGER'
      roletype_a = 'VORGAENGER'.
    <b>Step:3</b>
    Now Count the records which fulfill the above creteria.
    This count represent the number of followups created.
    <b>REWARD THE ANSWER WITH FULL 10 POINTS IF UR PROBLEM IS SOLVED.</b>
    thanks,
    ashish.

  • HOw to create a Batch file for java application and whats the use of this ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    First of all, you're OT.
    Second, you can find this everywhere in the net.
    If you got a manifest declaring main class (an classpath if needed), just create a file named whatever.bat, within same directory of jar file, containing:
    javaw -jar ./WhateverTheNameOfYourJarIs.jar %*By the way, assuming a Windows OS, you can just double click the jar file (no batch is needed).
    Otherwise use:
    javaw -cp listOfJarsAndDirectoriesSeparedBySemiColon country/company/application/package/className %*Where 'country/company/application/package/' just stands for a package path using '/' as separator instead of '.'
    Don't specify the .class extension.
    Javaw only works on Windows (you asked for batch, I assumed .BAT, no .sh), in Linux please use java.exe (path may be needed, Windows doesn't need it 'cause java's executables are copied to system32 folder in order to be always available, see PATH environment variable if you don't know what I'm talking about) and use ':' as classpath (cp) separator.
    The '%***' tail is there in order to pass all parameters, it only works on Windows, refer to your shell docs for other OSs (something like $* may work).
    This way you have a command you can call to launch your code (instead of opening NetBeans just to see your app working). You could schedule tasks on it or just call it in any command prompt (hope you know what it is 'cause there have been people in this very same forum with no clue about it, if not just hold the 'Windows button' and press 'R', then type 'cmd' and run it).
    Finally add dukes and give 'hem away.
    Bye.

  • How we can create the batch file to download the data in from URL in ssis

    hi,
    any one help on one the below requirement.
    i have to create one batch file to download the report(reports is in csv format) from URL...
    requirement should be like this...
    1. we have some reports is there in the URL..
    2.when ever we execute the url, the report should be download and save it to the local folder.
    3. this requirement i have to write in the batch file
    should any one let me know how we can create the batch file for the above requirement.

    Hi Priya.N,
    If you use SQL Server Reporting Services for reporting, you can use Visakh’s suggestion to create a script file which calls Reporting Services Web Service to render a report in CSV format and save a batch file to the destination folder, and then create a
    batch file to run the rs.exe utility which can executes the .rss script file. For more information, please see:
    Report Server Web Service
    ReportExecutionService.Render Method
    rs Utility (rs.exe) (SSRS)
    If you use other reporting tools, it depends on the reporting functionality and this requirement may be not achieved.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to reverse the Batch number which was enter wrongly during GRN posting

    Hi Folk,
    How to reverse the Batch number which was enter wrongly during GRN posting .
    Please revert.
    Thank you.

    You can either do a transfer posting and move quantity from this batch to another batch e.g. in MB1B with movement 311, or you cancel the entire material document using MBST transaction and redo your receipt correctly.
    Then you can flag the wrong batch for deletion in MSC2N.
    The batch itself gets deleted physically with the archiving transaction SARA object MM_SPSTOCK

Maybe you are looking for

  • Using Windows Media Player to transfer fi

    Hello all! This is my first post to the forum. I received a Nomad Jukebox Zen Xtra 60GB for Christmas and have encountered a few problems. I am using WMP for transfering files to the player and after during the transfer of the 5th album, the last fi'

  • How can I create clearer, sharper images and buttons in Muse?

    How can I create buttons and images that have a vector like clarity? When I upload images (buttons, jpegs and pngs) a lot of the time they seem to have a slightly fuzzy quality to them. I have read previous posts on this matter and none have helped.

  • HOW TO GET ZIP PHOTO Files INTO Premiere elements 12

    How do I extract photos from a zip file in order to drag them into premiere elements 12? Now I keep getting error messages that adobe reader could not open "for john-zip" because it is either not a supported file type or because the file has been dam

  • HR Master Data Distribution through ALE

    Hi All, Iam new to HR module. I want to know what are the transactions to create HR master data like employee etc. I want to send this HR master data from one SAP system to another SAP/non-SAP system through Idocs. Can anyone guide me with an example

  • How do you create outlines from strokes in cs5

    how do you create outlines from strokes in cs5