Create process order confirmation

Hello,
I use the Bapi 'BAPI_PROCORDCONF_CREATE_TT' to create a confirmation in our Z program to replace 'COR6N'.
The only problem I meet is that it makes a material document for the good movements but don't write it in the table AFRU (field WABLNR).
Do I miss something in the BAPI??
I run the BAPI like that:
  CALL FUNCTION 'BAPI_PROCORDCONF_CREATE_TT'
    IMPORTING
      return                   = lwa_return
    TABLES
      timetickets              = gt_timetickets
      goodsmovements           = gt_goodsmovements
      detail_return            = lt_detail_return
The tables gt_timetickets & gt_goodsmovements are filled with relevant values.
Could anyone help me to know what make the doc no. to be written in AFRU?!!!
Thanks in advance,
Fariba

Hi Fariba,
I am facing the same kind of issue that you faced long back. If you have resolved this issue, can you help me by replying back to the thread Problem with creating Process order confirmation using BAPI
Thanks in Advance.
Regards, Senthil G.

Similar Messages

  • Problem with creating Process order confirmation using BAPI

    Hello,
    While creating Process Order confirmation using BAPI_PROCORDCONF_CREATE_TT, material document is getting created. But a line item is inserted in the table AFRU without material document number. When it is created manually using the transaction COR6, the table is getting updated with material doc in the line item. Can anyone let me know what other attributes to be passed in order the update the same?
    Thanks in Advance.
    Regards, Senthil G.

    Hello , I am working with the same Bapi, can you please send me the code to fill the parameters, if I find the same error like you, I will send you the solution if I correct that.
    Thanks for your help.
    [email protected]
    Guatemala, Cempro ADATSA

  • Problem during Process Order Confirmation - COR6N

    Dear All,
    We are into process industries
    Till now we are creating different BOM for each section and different process orders for each BOM.
    For example Pulverize, Acid MIXING, Continuous Rotery, Blending and Packng.
    Now we have created new BOM for FG - showing all input/output of  RM, SFGs.  In Recipe, define operation for each section. and assign operation to material.  I have attached screenshot of Recipe Operation.
    During process order confirmation, system shows movement type of all material perfectly during each phase. But during confirmation of last phase system does not show 101 movemet of FGs.
    I have checked in Recipe, control key is ok i.e. Automatic GR,  in OPK4 setup is also correct.
    We have created new BOM and Recipe. There is no change in other configuration parameter.
    Thanks and Regards,
    Nirav

    Hi Nirav
    The automatic goods receipt is defined by the operation/phase control key.
    Control key PI03 has the automatic goods receipt setting by defaul.
    Analyzing the screenshot I could observe that this control key is assigned to all the opration/phases, however, it should only be assigned to the last operation/phase, where the goods receipt will actually take place.
    For all the previous operations/phases you should use a different control key, without automatic goods receipt, such as PI01.
    BR
    Caetano

  • Problem creating process order with ref of sale order

    Dear all,
    Kindly give solution for this scenerio..............................
    I am creating Process Order with ref of sale order manually in cor1. In the COR1 screen copy from field i gave my ref sale order, so that particualr order and batch is assigned to that order only.
    My problem was suppose if sale order is created for 10 tonns, but my batch size and resource capacity is 2 tonns only. so first time i change my batch quantity 2 tonns instead of 10 tonns and created my order and confirmed.
    if i go to second time the same process i am doing creating process order with ref of same sale order but it comes again 10 tonns instead of 8 tonns. why it comes like this already i confirmed 2 tonns in this sale order?
    my requirement is if any process order is created with ref of any sale order and again if i am creating any process order with ref of same sale order left quantity only system should show.
    for this what i have to do kindly help to this
    regards,
    s.sakthivel

    Dear KK,
    Pls check whether ZKIN, ZKQT, ZKOR have all the properties similar to IN, QT, OR respectively. If they are different, please ensure that you know the reason why they are different. This check has to be done at tcode VOV8
    Some fields like sales document category, Transaction group, screen seq group, Doc pricing procedure need to be similar to the parent document unless you know why you have changed them.
    Once this check is done, check the copy controls in VTAA. Before that try creating these documents separately without reference. This shoudl work fine only after which you need to check copy control. If this is not working fine, then there is some problem with the document type settings in VOV8. Testing this is possible only if Reference mandatory field is left empty. Make sure that is properly configured.
    Once this is done, check copy controls in VTAA. You can just copy the copycontrol between IN and QT and QT and OR and create for ZKIN to ZKQT and ZKQT to ZKOR.
    Once this is done, check whether your item category settings are properly done , also the schedule line settings. The tcodes are VOV7, VOV6, VOV4, VOV5 etc.
    Now check whether your material master and customer master are consistent with the item category settings(Item category group).
    Now create the transaction. It shoudl work fine.
    Reward if this helps.

  • Create Process Order by BAPI (COR6)

    Hi,
    I am looking for BAPI to create Process Order (Order category = 40),
    Instead of doing BI to transaction COR6.
    I try <b>BAPI_PRODORDCONF_CREATE_HDR</b> but with no success,
    because it works only with Production Order (Order category = 10).
    I get the following error: <i>“Orders of the order type YI01 cannot be confirmed“</i>
    (YI01 is a Process Order type).
    Thanks in advance,
    Gilad.

    Hi Gilad, I the same problem, I am using the bapi 'BAPI_PRODORDCONF_CREATE_TT',
    please if you find the correct BAPI, send me,
    If I find it first, I send you.
    Thanks for your help.
    Leonel Saavedra
    Guatemala.

  • ABAP Programming Error when saving the Process Order confirmation in COR6N

    Hello,
    We have an issue related to Process Order confirmation using Tcode COR6N. When we enter all the inputs to confirm( Activity, yield and phase) and click on save it gives ABAP Programming Error (Exception condition "SEQ_NOT_FOUND" raised).
    Any inputs in this regard, would be appreciated.

    Hello
    I can observe that you have implemented the report ZOPSECRE and that an inconsistency was found.
    This repor corrects inconsistent orders which do not have an operation or a sequence, or the two of them.
    The report checks whether there is at least one operation or one sequence and creates both including status objects.
    Therefore, you need to have the default valus for the operation generation defined on OPJG for this order type/plant.
    BR
    Caetano

  • Ristrict Cancelling Process Order Confirmation (CORS) after FI MM period cl

    Showing current date as posting date after Cancelling Process Order Confirm:
    Issue with FICO and PP :-, after settlement (ko88) and all period end closing, system still allowed doing Cancelling Process Order Confirmation (CORS) and Showing current data as posting data
    For example:
    My order created on 30th September 2010 and order confirmed on the same day ie my posted date (30th September 2010)
    I have done order reversal on 3rd October 2010 and posting date should be 3rd October 2010 but system showing current data as posting data. Can you please guide me why this unusual behavior happening

    Hi Arun
    Is this  congif change will help me
              1)In BS22 first search for TECO.
               2)Double Click on TECO.
               3)New entry.
               4)Now search FI posting.
               5)Select status as Prohibited
    My Requirement : Ristrict Cancelling Process Order Confirmation (CORS) after FI, MM period closed, and Materail Ledger done
    I want to ristrict the (CORS) reversal of Process Order Confirmation after FI MM ML closed
    right now as per standard its giving warning masage as " Posting with carent date YES or NO, if you say YES then system doing CORS on system carent date, i want to restrict it
    Is above steps you refered will help me
    please confirm
    Regards
    MKbinnal

  • Process order confirmation without 101mvt type

    our client is  a process industry.client need during process order confirmation Background 101 not happen.
    Step : 1 Process order create
    Step : 2 Goods issue The material -261
    Step:  3 Process order confirmation   (No 101)
    Step:  4 Goods Receive (MIGO) 101 happen 
    Following Steps Process only,
    cork-only activity confirmation only,after Activity  confirm GR will Happen , how to configure in the system,any user exit or sap note there in the sense tell me?
    Thanks For Advance

    Hi Thiyaharaajan,
    For Goods issue i believe you are using MB1A/MIGO. You also use backflush to automatically issue the material during confirmation.. For this maintain Backflush - 1 in material master MRP 2 view.
    Also during confirmation for doing Auto GR (101 movement type) you need to assign the control key ticked with Auto Goods Receipt for Last operation/phase of Master Recipe.
    Thanks & Regards,
    Ramagiri

  • Error in manual batch determination while creating process order

    Hi Expert,
    Manual batch determination is happening for some of material and for some material it is working firne  when creating process order,
    Pleae assist
    Thanks
    Intekhab

    Dear,
    please open this prd order in change mode CO02 then press tab button cost calculation near release button in order header screen now do not save this order go to edit >log> cost calculation
    There it will show the error tht occured during costing
    Please refer this thread,
    Cost error when saving production oredr
    Regards,
    R.Brahmankar

  • BAPI For Process Order Confirmation

    Hi,
    For Process Order Confirmation we are using the following tcode. COR6N. in the t-code we are include a new field (Shift Field) with help of CONFPP07. and we made the field as mandatory also. in cor6n it is working fine.
    now we are using the bapi for same Process Order Confirmation. here the new field is not available. we want to include the new  ( Shift ) Field also. we are using the following
    BAPI Fm: BAPI_PROCORDCONF_CREATE_TT .
    Regards
    Sathis

    BAPI_PRODORDCONF_CREATE_TT to confirm a production Order
    Erwan

  • Product Costing - Process Order Confirmation

    Dear Experts,
    We are facing a situation with our Product Costing Scenario :
    Under SFG Process Order Confirmation, there are Ten Phases to finally confirm the order. First Phase is for Raw Material Issuance. From Second Phase to Ninth Phase are relevant to Activity Types. Tenth Phase which is final phase, in this point Goods Receipt posting is generated.
    At first phase, system posts Raw Materials Goods Issue (Movt Type 261) to Process Order:
    Entry : RM (Cr), Consumption (Dr).
    Client needs the system to post one more entry at the same time by : WIP (Dr), Inv Change (Cr).
    Reason:
    According to client, they have made consumption entry in finance but what if all raw materials are not consumed as yet and factory comes under fire, then how can they claim insurance on those Raw Materials which are not consumed and are still in the IN PROCESSING Stage?
    My Answer was:
    - They can find all material costs in Process Order as Debit Item.
    - They can also calculate WIP but cannot post WIP in Finance unless the order is settled.
    Ultimately, as per my knowledge client cannot check the unprocessed Raw Materials report in FI but they can check in CO. And this is the point of reservation from client.
    They need an entry in Finance for WIP to claim insurance in case of fire and therefore they need a posting of  WIP entry immediately after Goods Issue of Raw Materials to Order.
    Can anyone please guide me further regarding this scenario and if any one can suggest any work around then it would be highly appreciated!
    Regards,
    Zain Bashir 

    Hi Zain
    This is a very unusual question
    Buddy, there is something in accounting called as "Going Concern Concept" which we all were taught in our accounting days.. That means when you do business, do it with a mindset that you are goinig to do it for long / for ever.. Accidents dont happen every day and you cant build a system around such things
    Assume there is a fire (God forbid).. After the accident, you wont even know how much was  lying there unconsumed which got gutted in the fire..
    And insurances not just covers the stock lying consumed, but also stock manufactured and stock in the process of manufacturing (WIP)
    And most importantly, dont expect SAP to throw up a figure at the click of a button.. Does your client really think that they will simply submit the report generated from SAP as-is to Insurance people?? SAP is just a technology enablement, which requires human intervention at various places
    My opinion - Dont build system for such requirements
    Br. Ajay M

  • Problem on creating process order

    Dear Team,
    I have a problem on creating process order thru COR1 where the basic start date only accept and follows current date. Basic finished date, no problem. Previously, i can set the basic start date using previous date / date in the past (in the same current month). I'm using "Only capacity requirements" for scheduling type.
    is there anywhere in the SAP config that i can check?
    and why this problem occured?
    Thanks

    Dear Tallha,
    Here is screenshoot of my process order. the basic finished date is automatically changed to current date. (date entered 1/5/2014)
    Thanks

  • Update Process Order Confirmations Back to SAP ECC

    Hi,
    Is there a document or step by step guide which explains how i can update  SAP EARP with process order confirmations from my shopfloor?  Below is the scenario i am looking for help in
    1. There is a SQL server table where the SHOP floor update the quantity manufactured against a Process order.
    2. I need to pick up that data from the SQL server table and update the ERP against that Process order.
    Can any one explain how this can be achieved.
    I checked the sample's and the templates in SDN but none of them actually show how to update any ERP?
    Please advice!!.
    Regards
    Suraj

    Check this one
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60ac6bb8-a684-2b10-208d-b90883004a5e
    https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/204a13d0-399d-2b10-ec84-9c254cd7efd4
    You use this component to enable the shop floor operators to record their production order and process order confirmations using a touch screen user interface. In SAP ERP Central Component (SAP ECC) operators must complete many steps to confirm orders. Instead, you can use this interface, on a touch screen to enter the production performance easily and effectively. You can also use this component to obtain operators' work lists and information on their current activities.
    Regards
    Ram Upadhyay

  • In process order confirmation screen there should be 2 rows for down time.

    hi,
    We are using cor6n for process order confirmation, where we can put down time  with confirmation text at once,
    if there is two different down time, then user has to again  run cor6n with 0 yield  for put another down time, which gets more time.
    for this reason i have customised single screen entry profile by mentioning two down time & confirmation rows in screen.
    when i going for confirmation i put two different down time  after goods movemnt order get confirmed & settled.
    but when i see report in COOISPI  there is only one down time against order.
    system only considers last down time.
    hows the system consider down time?
    thanks in advance.
    regards
    sanjay.

    Hi,
    The report COOISPI considers only one line of the down time, it is not considering the 2nd row of the down time. You need to change the COOISPI program to read the 2 lines of the down time. You need to change the standard program to read the 2 down time lines.
    Thanks & Regards,
    V. Suresh

  • Process order confirmation

    Dear Experts,
    In process order confirmation can we make a kind of restriction through configuration  in which system should not allowed a confirm quantity of phase 20 is not greater than previous confirmed quantity of  phase 10 there is no relationship between this two phases.
    Regards,
    Murari Shah

    Hi.
    Just my 2 cent , Not sure about standard SAP configuration perhaps there's but i don't know.
    But i very sure , you can implement this with the user exist below:
    ===============================================================
    CONFPI01 |Process order conf.: Calculate cust.specific default values
    CONFPI02 |Process order confirmation: Customer spec. input checks 1
    CONFPI03 |Process order conf.: Cust. spec. check after op. selection
    CONFPI04 |Process order conf.: Customer specific input checks 2      
    CONFPI05 |Process order conf.: Cust. spec. enhancements when saving  
    CONFPI06 |Process order confirmation: Actual data transfer       
    Customise with ABAP , please check with your abaper.
    Thank you.

Maybe you are looking for

  • No luck reinstalling

    My itunes update failed.  My reinstall is not working saying "service apple mobile device failed to start.  Verify you have sufficent priveledges to start system services.  Any advice?  Thanks.

  • How to calculate actual activity price using cost center balance

    I have a problem,the case is that: i have two pro.order. orderA settlement to cost center M; orderB is a standard pro.ord,and the work center of orderB link to cost center M. when i calculate the actual activity revaluation.the activity price update

  • Issue with custom dropdowns in checkin form

    I have two custom dropdowns( for a profile checkin form), and the value for the second dropdown items needs to be calculated on the basis of first. Example: Dropdown1 Country - India - value=111 England - value=222 Dropdown2 Contact Mobile - value=33

  • Reader stops working when newest GTK2.0 installed - bug report and proposed fix

    Adobe Reader 7.0.9 (Linux i386) stopped working when I installed a batch of updates on Xubuntu Feisty Fawn (7.04). The updates included GTK 2.0, version 2.10.11. The symptom was that upon startup, Reader ended up in a seemingly infinite loop, printin

  • JDBC ADAPTER SENDER ORACLE7.2.3

    HI ALL, We have to read data from an Oracle 7.2.3, but we are having problems In the inbound payload I can see that we have the data but is not building the xml properly, because the tags are empty. Someone haa experiencied this issue before? Many th