Batch job for technically completing a production order

Is there a way I can run COHV in batch mode for TECO ing orders
thanks a lot

Hi
I assume you mean have a program run at pre-defined intervals to TECO your production orders.
Easiest is to use SM36 --> batch job creation wizard to setup your batch job.
The ABAP program you want to execute is PPIO_ENTRY (create a variant for the program first via SE38).
Rgds

Similar Messages

  • Bapi for technically complete of service order

    Hi all,
    I need to call a bapi to technically complete a service order.
    I dono what are the values to be passed into the bapi..
    please provide the passing parameters of the bapi.
    Thanks and Regards,
    Vidhya

    Hi vidhya,
      You can use the BAPI 'BAPI_ALM_ORDER_MAINTAIN' for technical complete of service order.
      Pass below parameters as input.
    IT_METHODS :
    Populate the values to methods
      wa_methods-refnumber  = '00001'.
      wa_methods-objecttype = ''HEADER'.
      wa_methods-method     = ''TECHNICALCOMPLETE'
      wa_methods-objectkey  =  v_aufnr. "Order number
      APPEND wa_methods TO  it_methods.
      CLEAR : wa_methods.
    Populate the values to methods
      wa_methods-refnumber  ='00001'.
      wa_methods-objecttype = space.
      wa_methods-method     = 'SAVE'.
      wa_methods-objectkey  =  v_aufnr. "Order number
      APPEND wa_methods TO  it_methods.
      Afetr calling this BAPi call BAPI_TRANSACTION_COMMIT to commit the chnages to data base.
      Hope this may be helpful.
      Regards,
    Sravanthi.V

  • Batch Classification for Auto GR during Production Order Confirmation

    Dear All,
    I have a scenario,where Auto GR has been activated in last operation of an order.Material is batch managed with certain characteristics.When I use CO11n, and go to goods movement tab,batch for 101 movement type is entered but Batch classification pop up doesn't come.For that we need to select the line item,goto extras and create batch,then Pop up for batch classification comes.But,if we do GR with MIGO & MB31, This classification screen automatically in Co11n. i have tried certain exits also, but nothing works.

    Hi Stuti<
    Refer the below links it will solve the issue.
    [Batch Determination - help|http://help.sap.com/saphelp_45b/helpdata/en/25/283cb44f7811d18a150000e816ae6e/frameset.htm]
    [SDN Thread-1|Re: Batch Determination issue -reg]
    [SDN Thread-2|Batch Determination;
    Regards,
    Shyamal

  • [SAP WM] Cancel Transfer Order after Technical complete of prodution order

    Hi gurus,
    i have this problem.
    In my SAP WM implementation, i have customizing the PP-WM interface to create automatically the TO from central warehouse to Production supply aera after releasing of production order. The steps are:
    - Release production order
    - Creation of TR  - automatically
    - Ceration of TO to be confirmed (red light) from central warehouse (001) to production supply area (100) - automatically
    Now i would that after technical complete of production order, automatically the TO to be confirmed is cancelled. There is a way to do it?
    thanks and regards.

    Allesio
    I am confused as to why you would want to CANCEL the TO. Surely if the order is complete (technically or otherwise) then the stock has been moved from its source to the order and therefore you would want to CONFIRM it and not CANCEL it.
    As I said if the TO is to take 100 of material A from bin 1111111111 to prod order 9999999999 and you cancel the TO the stock will stay in 1111111111 when in fact it has gone to 9999999999 .
    If your order is to say create 100 pieces of Z and to do this you need 100 pieces of A then you want to CONSUME 100 pieces of A  and GR 100 pieces of Z.
    If you cancel the TO the consumption will fail as the stock is not in 9999999999 but has gone back to 1111111111.
    The other problem is that you will be showing 100 pieces of A in bin 1111111111 which is NOT THERE as the order has used it.
    I hope that this helps
    Frenchy.

  • Problem in creating Batch job for programs in different servers.

    Hi All,
    I have a requirement like i have 2 different programs ( PRG1,PRG2 ) running in 3 different SAP servers (SER1,SER2,SER3).
    I want to create a batch job for the programs.
    Here When I run the PRG1 in Server SER1,it will create a file1 in SER1 as well as the other 2 servers (SER2 and SER3).
    It just create a file and there is no content in the file.Once i start writing records to file1in SER1,the same record will be started writing in SER2 and SER3.This is using PRG1.
    Once PRG1 will complete writing records in file,Next PRG2 will run in SER2 using file created by PRG1.
    I want to create a batch job for PRG1.
    How to trigger the PRG2 after completing job1 for PRG1 without any manual interaction.
    Please help me for this.

    Hi Ambili
    You can set steps in these jobs in transaction SM36.
    You can define that Job 2 starts after Job1 complete sucessfully and same game for other jobs.
    Please, check attachment for detailed information about that
    Kind regards
    Edited by: Carlos Machado on May 27, 2010 6:01 PM

  • Help needed in creating a batch job for delivery

    Hi gurus
    Can somebody tell me the process of creating a batch job ..for creation of delivery.. is this the same process to create the batch jobs for invoices also?
    thankyou
    bj

    hello jaya ,gsl
    thankyou very much for ur help .. I have tried creating a variant .. in vl10batch.. and ive assigned it a scheduled time .. i craeted a open order..  and when the scheduled time has arrived and is over,i went to the order and still i dont see any delivery doc created .. and in sm37 its shows that the job is finished ..i even tried sm36 .. of creating a job for the variant.that ive craeted in vl10batch .and then assigning the job in sm37.. i can see the job that ive created in sm37 it is changing its status from released to finished .. as per the scheduled time but the delivery is not created .. i tried vf06 for a billing   variant.. and went to sm36 craeted a job for the variant..using the program name.. and next to sm37 i can  see the created  job in the spool also..but somehow it is  not creating the billing doc also..
    can u help me to find where it actually went wrong with me ?
    thanksalot in advance..

  • Number range for serial Number in production order

    Hi all,
                I want to use the Serial Number in production Order ... It should be generated automatically ... when i try this system creating the serial number from 1.....i want the number to start from 2000000 , How to configure this number range ....
    Please advise me ...
    Regards,
    kumar

    Dear
    Following steps are required in Serial Number Management :
    1. OIS2 or Go to path SPRO > Plant Maintenance and Customer Service > Master Data in Plant Maintenance and Customer Service > Technical Objects > Serial Number Management > Define Serial Number Profiles. There enter "2" in Stkck column for your serial profile.
    2.SPRO->SAP Customizing Implementation Guide->Plant Maintenance and Customer Service->Master Data in Plant Maintenance and Customer Service->Technical Objects->Equipment->Equipment Categories->Define Number Ranges
    3. IQ01 Create Serial Number
    4. MM02 You need to add the above created Serial Number Profile in the Material Master ion the work scheduling view .
    5. CO02 Assigning the Serial Number through Production Order,
    Also Serial Number can be created automatically by clicking on u201CCreate Serial Number Automaticallyu201D , Release the Order
    6. MB31 Do the GR for the above created Production Order and Check in MMBE for serial Numbers
    Try and check
    Regards
    JH
    Edited by: Jiaul Haque on Nov 22, 2010 7:43 AM

  • Bapi to complete the Production Order completely

    Hi All,
    I am using the above Bapi to complete the Production Order completely. Now my requirement is to complete technically. I don't want to write BDC. Can anybody please let me if there is any FM to meet this requirement.
    Thanks n Regards

    used BDC

  • Batch job for IDOC processing in 64 status

    Hi experts ,
    i want to know the name of Batch job for IDOC processing in 64 status.
    I have configured the partner profiles as 'process immediatly'.
    So with this configuration whenever an idoc comes in production it gets processed immediatly and automatically.
    i want to know how they are getting processed automatically.
    is there any job which looks for these idocs(in 64 status and process immediatly flag) and process it.
    What is the trigger for thiese idocs processing???
    Please guide me
    thanks in advance
    Anit gautam

    Hi Thanks for ur reply.
    =====Upon arrival, "process immediately" should fire that process =====
    how it is getting fire?
    means is there any batch job running which looks for idoc in 64 status or is there any event which get triggered when an idoc
    comes in 64 status.
    why we use OYEB transaction???
    Regards

  • Deactivate batch job for purchase requisitions on perticulra plant

    Dear Freinds,
    I have to deactivate batch job for purchase requisitions on plant 1020.
    Can you guide me how can i do this...........?

    Hi,
    I am not sure in which client you are talking about.
    If this is in production clients,then user run jobs. We need to ask them to deactivate in ARP. We generally dont have access for that.
    Thanks.

  • Serial number creation at the completion of production order

    I am trying to create a production order and the finished goods is serialized. However, when I complete the production order it never asks me for a serial number for the finished goods. I have to go to registered products screen and manually create the serial number. I am assuming there is a way to minimize the number of step I have to use during the production process to create a serial number.
    Any Ideas?
    Thank you
    Chintan

    Hi Chintan,
    i believe that serial numbers are not supported in production orders.
    Serial numbers are available on delivering and receiving goods
    Regards
    Andreas Czech

  • 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

  • Batch Determination at the time of Production Order Confirmation

    Hi,
    I am working with Batch Determination at Item Level.
    I already have configured system to generate Batch Automatically at the Time of Production Order Release.
    But now i want to generate Batch Automatically at the Time of Production Order Confirmation
    Please help me with the necessary Configurations which would be required into achieving the same.
    Thanks in advance.
    Harris

    Hi,
    I have maintained the same for my Order Type in OPJ2 but still the same is not being picked at the time of Order Confirmation and it is being put to COGI mentioning the error as No batch specified in production order
    Also if i try to Manually Select the Batch through in Goods Movt. of CO15 it is giving a msg that No Strategy could be found.
    I have done following settings:
    1. Have maintained Condn Records in MBC1 for the component whose batch is to be determined.
    2. In material master in MRP2 Batch Determination: 2
    3. In OPL8: Batch determination search procedure
    4. In OPJ2: BD ticked for that relevant Order Type
    5. In OPKP: Automatic Batch creation kept as BLANK.
    Please support
    Thanks
    Harris

  • Tick for goods movement in production order

    Hi,
    I have one query with reference to tick for goods movement in production order.
    Where it comes from as soon as i released the order.
    Is there any customized setting or it is stanadard functionality?
    Tushar

    Hi,
    I am not sure about which tick you are talking. So pls clarify exactly which check boxes you are talking in Production Order.
    If you are talking about check boxes of Goods Receipt,  GR Non valuated & Delivery Completed check boxes then those are standard SAP functionality which comes automatically at the time of creation / release of the order.
    Revert with more details in case your query is not resolved.
    Regards,
    Tejas

  • 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.

Maybe you are looking for

  • Moving iPhoto library to Adobe Bridge?

    I have a 15GB photo library in iPhoto. Although I like the simplicity of iPhoto for viewing photos, I find the editing facilities too limiting - and the RAW conversion done by iPhoto on import makes a lot of the photos look awful compared to Photosho

  • Some keys are not working on my laptop

    Hello, i am new here and this is my first question. I bought  HP Laptop G4-1200TX from a local dealer 2 years ago. It worked fine till last year when i ,manually, upgrade its window from win7 home basic to win7 premuim and then to win7 ultimate. Afte

  • Loading Images in Applets

    Is it possible to use the Toolkit class to load images in "unsigned" applets. I tried that but it throws a security exception: com.ms.security.SecurityExceptionEx[MyApplet.init]: cannot access file http://localhost/MyApplet/images/Image1.gif Though I

  • How do i query attributes from xml documents

    I want to to query only details in Issue id="705230" (id is an attribute) I tried this, but does not help. I should be able to query the value of core_org_id attribute select extract(CLOB_DATA, 'PcrDocument/PcrOrganization/core_org_id) CORE_ORG_ID fr

  • Recovery deleted sms using Iphone Backup Extractor

    I purchased the iphone backup extractor everyone has suggested for me to find deleted sms. Its a complete joke. Scanned my files and came back with the results of sms extracted "251" so I open to see if my deleted text is in the file and there was on