BAPI BAPI_PROCORD_CREATE - Process Order

Hi All:
I´m having problems with BAPI  BAPI_PROCORD_CREATE, it is used for creating Process Orders.
When I execute it in Dialog mode everithing is OK, but in Background mode a RAISE EXCEPTION is called (At function module ACDP_FLUSH_LARGEPARAM).
The problem is when the BAPI is calling screen 5115 in funtion module CO_KO_ORDER_ENTRY_EXT. I don´t know WHY it is called in dialog mode.  I´ve checked all flag for SUPRESS DIALOG and also the 'Assembly type' for structure ORDPAR (field MNTGA).
I´m working with ECC 6.0
Does any one know anything about this ? or Somethig is missing ?
I hope you can help me.
Regards.
Edited by: EDUARDO AVILA on Apr 30, 2010 10:18 PM

Well the problem is solved but I don´t thing it's the best solution.
The problem is when Method IF_EX_WORKORDER_EXEC_STEPS~CREATE is called (Assigment of Xsteps), several messages are triggered at this time and class CL_GUI_OBJECT is executed, so here is the problem, I had to implement an enhancement in order to set IS_INIT attribute.
Like I said, I don´t like the solution even if it is well validated.
Does anyone Know or have any idea of this ?.
Thanks in advanced.
P.D. I´ve checked notes:
0000991923-  Exception condition "DP_ERROR_SEND_DDBEHAVIOR"                    
0001118142 - CLOCO - short dump DP_ERROR_SEND_DDBEHAVIOR                 
0001296784 - Short dump RAISE_EXCEPTION w/ excpn DP_ERROR_SEND_DDBEHAVIOR
0001401937 - BOM selection during manufacture of co-products using BAPI  
0001404598 - BAPI: Data from Sales order is lost during order creation 
0001450677 - No automatic deletion of XSteps with invalid context 
Mi problem is just like the mentioned in note 1118142, but the solution for this is implemented in another moment.

Similar Messages

  • Bapi 4 process order confirmation??

    hi abapers.............
    can ne1 tell me wt is the BAPI  4 process order confirmation.
    thanx in advance .
    anil

    Hi
    BAPI_PRODORDCONF_CANCEL
    BAPI_PRODORDCONF_CREATE_ACT
    BAPI_PRODORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    BAPI_PRODORDCONF_EXIST_CHK
    BAPI_PRODORDCONF_GETDETAIL
    BAPI_PRODORDCONF_GETLIST
    BAPI_PRODORDCONF_GET_HDR_PROP
    BAPI_PRODORDCONF_GET_TE_PROP
    BAPI_PRODORDCONF_GET_TT_PROP
    BAPI_PRODORDCONF_PDC_UPLOAD_TE
    BAPI_PRODORDCONF_PDC_UPLOAD_TT
    Regards
    Kathirvel

  • BAPI for Process order change

    Hi,
    Can any buddy tell me the Bapi used for Process order change
    with following scenarios:
    Quantity change
    Resource change
    Rescheduling
    Control key change
    RM Change
    Recipe change
    TECO
    REVOKE
    Material shortage check
    Best Regards,
    Sheetal.

    Hi,
    BAPI_PROCORD_CREATE for process order create
    BAPI_PROCORD_CHANGE - Change Process Order
    BAPI_PROCORD_CLOSE - Close Process Order
    BAPI_PROCORDCONF_CANCEL for Cancel Process Order
    Confirmation.
    BAPI_PROCORD_COMPLETE_TECH - Complete Technically
    BAPI_PROCORD_RELEASE - Release Process order
    BAPI_PROCORD_SET_DELETION_FLAG - Deletion Flag
    BAPI_PROCORD_REVOKEUSERSTATUS - Cancel User Status
    BAPI_PROCORD_SCHEDULE - Carry Out Scheduling
    pls refer below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa
    http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
    Regards,
    Sankaran

  • BAPI for Process order creation (COR1)

    Hi All,
    Can any please help me to find a BAPI for creating a process order which is done normally by transaction code u201CCOR1u201D.
    Thanks in advance.
    Kind Regards,
    Abhi.

    Try this BAPI - BAPI_PROCORD_CREATE.
    there are many BAPIs in Fuinction group 0001_BAPI realted with Process Order
    Thanks,
    rajinikanth G

  • 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

  • BAPI for process order header delivered quantity

    Hi,
    current requirement is to get the process order quantity with drawn and delivered quantity , when we try using the BAPI
    BAPI_PROCORD_GET_DETAIL , it does not have the process order delivered quantity - it has only total quantity  for which process order is created .
    Is there a way or any standard BAPI/RFC gives the below :
    1. Process Order Header Delivered Quantity
    2. Process order component's quantity with drawn
    Regards,
    Madhu Kiran

    Hi Madhu Kiran,
    BAPI_PROCORD_GET_DETAIL of course has all the required fields:
    1. --> check table POSITION, field DELIVERED_QUANTITY
    2. --> check table COMPONENT, field WITHDRAWN_QUANTITY
    Regards,
    Andreas

  • Change Process Order BAPI FM?

    Hi friends, can you help me with this issue?
    I'm trying to change a process order (tx: cor2) but the bapi BAPI_PROCORD_CHANGE only allow me to change header data, i need to change components data (add, change, delete a material).  Any suggestions?...
    Thank you very much.
    Leonardo Pavia

    Hi,
    The BAPIs available with PO are:
    BAPI_PROCORD_EXIST_CHECK
    BAPI_PROCORD_CHECK_MAT_AVAIL
    BAPI_PROCORD_CLOSE
    BAPI_PROCORD_COMPLETE_TECH
    BAPI_PROCORD_COSTING
    BAPI_PROCORD_CREATE_CAP_REQ
    BAPI_PROCORD_RELEASE
    BAPI_PROCORD_REVOKEUSERSTATUS
    BAPI_PROCORD_SCHEDULE
    BAPI_PROCORD_SETUSERSTATUS
    BAPI_PROCORD_SET_DELETION_FLAG
    BAPI_PROCORD_SET_DEL_INDICATOR
    BAPI_PROCORD_WM_MAT_STAGING
    BAPI_PROCORD_CREATE
    BAPI_PROCORD_CHANGE
    BAPI_PROCORD_CREATE_FROM_REF
    BAPI_PROCORD_CREATE_FROM_PLORD
    BAPI_PROCORD_GET_LIST
    BAPI_PROCORD_GET_DETAIL
    Pls check if any of these work for your scenario.
    Regards,
    Renjith Michael.
    Edited by: Renjith Michael on Jan 16, 2008 12:38 PM

  • Process Order Creation - 'BAPI_PROCORD_CREATE'

    HI All,
    I am trying to create a process order using BAPI  'BAPI_PROCORD_CREATE '.
    I have entered all the required data and I get an error '012Enter material no. or reference'.
    I donot want to use BAPI 'BAPI_PROCORD_CREATE_FROM_REF' as it only copies the Process ORder and I need to make changes to the fields like 'QTY' at component level and header level and 'BAPI_PROCORD_CREATE_FROM_REF' does not allow me to enter the new qty .
    Please let me know what could be an issue with 'BAPI_PROCORD_CREATE '. Is there any other BAPI which creates a Process Order
    Regards,
    Shital.

    the sap documentation says:
    The following fields in the structure must be filled as a minimum:
    MATERIAL: Header material
    PLANT: Production plant
    ORDER_TYPE: Order type
    QUANTITY: Quantity to be produced
    At least one of the following basic dates must be entered (unless you schedule from the current date):
    BASIC_START_DATE (possibly also the BASIC_START_TIME): Basic start date (Date and time)
    BASIC_END_DATE (possibly also the BASIC_END_TIME): Basic end date (Date and time)
    are you passing all this info?
    Edited by: abapuser on Oct 15, 2009 1:02 PM

  • BAPI PROCESS ORDER Creation u2013 can the SCHEDULE Date/Time be specified?

    I am currently using BAPI_PROCORD_CREATE to create a Process Order from an inbound IDOC.  This works well, when I pass the following fields:
    BAPI Parameter ORDERDATA
    ORDER_NUMBER      Process Order number (EXTERNAL)
    MATERIAL      Material to be produced
    PLANT              Plant
    ORDER_TYPE      Order Type
    BASIC_START_DATE Start Date
    BASIC_START_TIME Start Time
    BASIC_END_DATE   Basic End Date
    BASIC_END_TIME   Basic End Time
    QUANTITY         Process Order Quantity
    QUANTITY_UOM     Quantity Unit of Measure
    However, I have a requirement to also specify the SCHEDULED Start Date (GSTRS) and End Dates (GLTRS), but the BAPI parameters do not the SCHEDULE Dates to be specified.
    I have also used the functions CLOI_CHANGES_UPL_31 and CLOI_CHANGES_UPL_45 to create Process Orders successfully, but neither of these allow for the SCHEDULE dates to be passed in.  
    Does anyone know how I might be able to achieve such a result?
    I am trying to avoid the use of CALL TRANSACTION on COR1, so would be grateful if anyone has any thoughts.   
    In the mean time, Iu2019ll ask the business if it would be possible to apply any rules by whereby if we specified a BASIC_START_DATE, whether it would be able to derive the correct schedule date accordingly.
    PPu2019s not one of my better modules, so apologies if whatu2019s been asked above is a stupid question!
    Alistair

    HI...
    Pls chk in scheduling control for detailed scheduling in T code OPUZ. and change the scheduling type forwards to forwards in time and backwards to backwards in time.
    Now when ever you would create the order system would ask the scheduling dates either start or finish in stead of Basic dates.
    Instead of using BAPI you could make a simple LSMW pogram. It would talk 5 min.
    This is a standard SAP functionality to select Basic dates because SAP consider all master data for scheduling like Schedule margin key.
    I think It would help you.
    Regards
    Vivek

  • Process Order accepts Confirmation & GR from BAPI even after Confirmed

    No matter what i try the formatting and CRLF go for a toss in this text.
    Hi PPPI Gurus,
    I am a beginner in this area and request your help.
    We are implementing a project where the process order Confirmation in SAP ECC 5.0 in SAP PPPI module is done using xMII which call the BAPI_PROCORD_CREATE_TT     RFC.
    The customer wants to (certain times) do a final confirmation without actually completing the order e.g if the Order Qty is 100 then, they want to just manufacture 25 and then do a final confirmation, after which SAP GUI screen does not allow any Process order Confirmations against that process order.
    We are using the BAPI_PROCORDCONF_CREATE_TTRFC to do multiple PO Confirmations and GR for particular Process order. Below is a scenario
    Case 1:
    1. Order Qty =100  ( Unlimited Delivery is not checked and tolerance is Zero).
         Which means only 100 is accepted.
    2. 100 Quantities are produced and confirmed using the BAPI_PROCORDCONF_CREATE_TT (with Final confirmation value as 1 , which mean auto confirmation)
    3. Next when the BAPI confirms & GR's against the same order, the Complete qty is not visible in the COR3 status. And is visible only in the COGI transaction.
    That is expected behavior. and i am ok with that.
    Case 2: (The one with the problem)
    1.  Order Qty =100  ( Unlimited Delivery is not checked and tolerance is Zero).
         Which means only the 100 is accepted.
    2.  25 Quantities are produced and confirmed using BAPI_PROCORDCONF_CREATE_TT (with Final Confirmation value as X , which mean Final confirmation)
    3. The Confirmation and GR go through and the status of the process order now changed is CNF and the Deliverd qty is 25.
    At this point , if you logon to SAP GUI and try to make a process order confirmation you get an error messages which says the Process Order is already confirmed and no more confirmations or GR can be done against this Process order.
    4. But when you Again Run the BAPI_PROCORDCONF_CREATE_TT, it goes ahead and confirms and makes the GR for that Process order.
    The Expected Behavior should have been that this quantity is now in the COGI transaction.
    5. The Process order  allows any number of Further confirmations till the Ordered Qty and Delivered quantity are  same .
    so dear gurus I know i have written a very long doubt but would be very happy to get a response from you. I would ideally not like to enhance or change the BAPI and want to understand if I have missed some setting or parameter that I have to pass in the BAPI for the final confirmation so that once the Status of the Process order is CNF , no more Confirmations are allowed even from the BAPI.
    Thanks in Advance.
    Regards
    Suraj
    Edited by: surajprabhu on Aug 17, 2009 6:37 AM

    Hi,
    The standard SAP will allow the GR even after the Final Confirmation. The Final Confirmation is acting as a agent to change the status of the process order to CNF. thats all.
    If you want to restrict the GR then you have to do Enhancement with  use the USer Exits. Pleas try to use the User Exits PPC00009 or MBCF0001,MBCF0005
    thanks and regards
    murugesan

  • COR2 (Change Process Order) Upload & Data Change Using BAPI OR RFC

    Dear Experts,
                       I want to change the Transaction cor2(Change Process Order) material 1st line quantity, after that i have to upload records from line 2. I have all the data in itab. Will you people please have a suggestion to change and Upload data at the same time in a single program using some BAPI or RFC.
    Which BAPI or RFC will be helpfull in this regards.
    Thanks,
    Sohail

    I have done it through BDC recording, change on first line, then upload using bdc from 2nd line.

  • 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

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

  • Need a BAPI/FM for process Order Confirmation

    Hi guys,
    I need a bapi or Fm for process Order confirmation.
    thnx in advance

    Checck
    BAPI_PRODORDCONF_CREATE_ACT
    BAPI_PRODORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    Better read the documentation of each BAPi using the tcode BAPI and proceed.
    I feel BAPI_PRODORDCONF_CREATE_HDR would do your purpose.
    Documentaion:
    <b>
    You can use this method to enter order confirmations for production orders.
    You can also transfer good movements, that are posted together with a confirmation. If no goods movements have been entered for a confirmation, they are determined using the standard logic for backflushing and automatic goods receipt for confirmations. </b>

  • BAPI to Release Process order at once

    I need a BAPI or Function module where i can give more than one process order to be released.

    Hi,
    Try this BAPi,
    BAPI_PROCORD_RELEASE
    In the Table orders enter new line to include order number.
    Regards,
    Prem Murugan

Maybe you are looking for

  • Photoshop file laid over a .mov from LiveType corrupts project files

    I have an edited sequence in FCE 3.0 At the beginning in V1 is a 7 second .mov title created in LiveType: the usual thing - squiggling text appears over an animated background using the Texture > Liquid > Silver. In V2, and overlapping the .mov is a

  • Do I have a 1st or 2nd Generation Nano?

    help - can anyone tell me how i know if my new nano 2gb black with a silver back is 1st or 2nd generation? I bought it direct from apple as reconditioned a couple of weeks ago

  • Increase number of TCP connections

    I'm running some sample connection tests with node.js and the sample test is one that creates a number of connections to a node.js server. I cannot get above 249 connections on a specified port and I'm wondering how / if I can increase this number. 1

  • Preparing Template For Mods

    All: New user here.  I'm going to use a Flash template as the basis for a new website.  I have loaded the Flash files into Flash but I would like to work individually with some of the graphics images in the Library and edit them using Photoshop or Gi

  • Antenna for 3700 series

    Hi all,  I have done a lot of research regarding the best antennas for the warehouse but would like to hear your views on what I have chosen.  We are deploying in the warehouse and the ceiling is 10m high. We will be installing the 3700e and am eyein