BAPI to dispatch Process order Operation

Hi PP experts,
We need to build interface with External production execution system and SAP
Which BAPI can be used to dispatch the process order start and times in SAP by passing the time values from external system. A custom BAPI can be built using standard BAPIs which do the task
Thanks in advance
Vikram

You can use the RFC CLOI_CHANGES_UPL_31.
See the recommendations of OSS Note 184471. I send you a example of how we've filled the internal table IT_CLOIOPERU:
Line    AUFNR            EXTAUFNR       APLFL           VORNR FIELD         VALUE
1       000001008294            000000  0100    FSAVD           20081023
2       000001008294            000000  0100    SSAVZ           000000
3       000001008294            000000  0100    METHOD  DISPATCH
4       000001008294            000000  0100    SSEDD           20081125
5       000001008294            000000  0100    SSEDZ           000000
6       000001008294            000000  0100    METHOD  DISPATCH
7       000001008294            000000  0102    FSAVD           20081023
8       000001008294            000000  0102    SSAVZ           000000
9       000001008294            000000  0102    METHOD  DISPATCH
10      000001008294            000000  0102    SSEDD           20081120
11      000001008294            000000  0102    SSEDZ           183524
12      000001008294            000000  0102    METHOD  DISPATCH
I hope help you.
JMota

Similar Messages

  • FM or BAPI to Modify or Delete Process Order Operations (COR2)

    Hi Experts,
    As a part of Process Order Migration, we have a requirement where in we need to pass the confirmation quantity of the Old Process Order number to the Unloading point field (ABLAD) in the Process Order Operation details and set that operation as marked for deletion.
    Please suggest if you have come across similar scenarios.
    Thanks in advance,
    Anand

    Hi Anand
    Try This BAPI_PRODORD_SET_DELETION_FLAG and it will work for your requirement.
    Thanks,
    Adil

  • Change Resources in a Process order operation

    Hello
    Is there any way to change a resource in a process order operation?, I have 5 machines, but sometimes I use the machine1 and machine2 to produce the material A, but if i dont have capacity to produce or if one machine is not working, I could use another machines. I know i could use products versions, but if I do thar, there will be a lot of convinations.
    Thank you in advance.

    Dear Saly,
    as correctly said by Caetano in standard SAP the only tool to change work center in production orders is in leveling activity through CM21 (graphics or tabelar - CM21 , CM22).
    In this strument (CM21) according to customizing setting in strategy profile (belonging to overall profile)
    you can change resource through drag / drop method or (with special setting in strategy profile)  insering manually a new resourse.
    As alternative tool is possible to create a custom report and change work center using a BI custom using a filter tool present in the production order after go to operation details. Unfortunaltely in the standard SAP there isn't a bapi/fm (released by SAP)  to change work center in production order.
    Let me know if i've been useful for you.
    Daniele

  • Process Order operation scheduling duration calculation

    Hi
    We have following formula has been maintained for processing time calculation in resource.
    Machine * ( Operation quantity / Base quantity / Operation splits ) + Setup + Change-over
    As per above formula for following procee order qty and time, SAP caulates time.
    Opeartion qty - 100,
    Base qty - 100,
    Op split - 1
    Machine - 0.5 hrs (30 Mins)
    Processing time calculated as 30 mins (.5hrs)
    When I schedule the process order with same resource for same qty and machine time, processing time is calculated as 33 mins. We dont have maintained any floats in scheduling margin key in material master. We dont have any wait times also.
    Can you please let us know why process order operation is having 3 mins tolerance? Any idea where such settings has been maintained?
    Any pointers will be helpful.
    Edited by: nilesh sankpal on Dec 8, 2011 5:47 AM

    Hi Mangalraj,
    Thanks for your reply.
    We have not maintained ay reduction levels in OPUZ for plant and order type combination.
    In resource, we have 2 hrs break time and total operating time is 18.50 hrs.
    I got following SAP help link for calculation of duration for processing time.
    http://help.sap.com/saphelp_46c/helpdata/en/b1/c04387439a11d189410000e829fbbd/content.htm
    Is processing time is calculated based on following formula.
    Processing time u2013 Calculated Processing time * (1+ (Length of break / Operating time)
    Can you please correct my understanding here?
    Thanks in advance.
    Nilesh

  • Process order operation information

    Dear Experts,
    I want to know the name of table from where I can get information of process order no., process order status and the operations which are still to be confirmed for the order. I think I will have to create a view by using two tables but let me know which tables should I refer.
    Thanks in advance.
    Prashant

    Dear
    Find below the SAP tabel  for your report requirement :
    Order tables :
    AUFK Process  order headers
    AFKO Order header data PP orders
    AFPO Order item
    AFVC Order operations
    AFVV Quantities/dates/values in the operation
    AFVU User fields of the operation
    AFFL Work order sequence
    AFFH PRT assignment data for the work order(routing)
    JSTO Status profile
    JEST Object status
    AFRU Order completion confirmations
    Process Order operation tabel :
    PLAS Task list - selection of operations/activities
    PLFH Task list - production resources/tools
    PLFL Task list - sequences
    Order and Operaton syetm Status :  SAP Table and field  : JEST-OBJNR 
    1.Orders/Operation  with status CRTD : JEST-STAT = I0001 .
    2.Orders/operation  with status REL/PREL : JEST-STAT = I0002 /I0042
    3. Orders with status MSPT  : JEST-STAT = I0004
    4. Orders with status PRC  : JEST-STAT = I0016
    5. Orders with status DLV/PDLV  : JEST-STAT = I0012
    6. Orders/operation  with status CNF/PCNF  : JEST-STAT = I0009/I0010
    7. Orders with status GMPS  : JEST-STAT = I0026
    8. Orders with status TECO : JEST-STAT = I0045
    9. . Orders with status DLFL : JEST-STAT = I0076
    Hope this will help you to include required table in your BI report
    Regards
    JH
    Edited by: Jiaul Haque on Jun 3, 2010 9:12 AM

  • User Status Profile for Process Order Operations

    Hello Experts.
    I have a need to set up a User Status at the Process Order Operation level that will prevent operation confirmation when the status is Active .
    I have been successful at the following:
       --- Created a new Status Profile (transaction BS02),
       --- Creating a u201CHoldu201D status,
       --- Defined the Influence on Business Transactions,
       --- Set the allowed Object Types for the profile.
       --- In an individual Process Order operation, I can now select the Status Profile, and set the Hold status, and it functions correctly.
    My problem is that I canu2019t figure out how to set my new profile as a default for Process Order Operations.  For Production Orders, this is done in the IMG definition for the Order Type (transaction OPJH), updating field T003O-VRG_STSMA.  However the Order Type definition for Process orders (transaction CORN) only has a field for a status profile at the header level.  Iu2019ve searched through Configuration and the Recipe, and the Production Version, and the Control Key, but can find no where to set the default status profile for a Process Order Operation..
    As a final desperate act, I manually edited a T003O record for a Process Order Type in our test system, but even this failed to set a default Operation Status Profile for subsequently created Process Orders.
    If you have any knowledge about this, then please help.

    As of this date, we have still not implemented a fix, but I did get some information from someone else who has.
    I'll post his information here for all to see.  Hope you find it helpful.
    From: Joe
    Yes we managed to do it.
    After several false starts and CMOD/projects which suffered because only the default keys (for order number, aufpl etc) were in place and not the actual, we coded up the IN_UPDATE method in the WORKORDER_UPDATE badi. This gives us the final format after the DB save (but before the commit). The update of the STATUS using the SAP std function module was actioned successfully but the status profile was not actually passed through. We assumed that this was because of the update task - so we introduced an INSERT into JSTO instead (a bit naughty I know, but desperate needs etc). If you require anything more let me know.
    Best Regards
    Joe

  • Fm for processing time in processing order operation

    Hi
    I need to obtain processing time from processing order's operations. ASAIK there are some formulas to calculate this but i cannot find it. Could you give me some tips about that? Is there a fm or bapi to obtaint this?
    regards
    Wojciech.

    Hi,
    Please let me know what is a processing order to which module it belongs so that I can help you out
    Thanks & Regards,
    Chandralekha.

  • BAPI_PROCORD_CHANGE for process order operation level change

    Hi,
    Can any buddy tell me how to change operation dates in process order with following requirement:
    Process order scheduling type is 'Forward',
    1st step, read operation start dates 'Earliest Dates' and 'Latest Dates',
    2nd step, change operation 'Earliest Dates' and 'Latest Dates' directly, this step can't be done in foreground,
    Can use BAPI_PROCORD_CHANGE to update operation dates directly?
    Best Regards
    Amy

    Hi Amy
    BAPI_PROCORD_CHANGE cannot be used to change operations.
    According to note 1694267 you can use the remote-enabled function module CO_SE_PRODORD_CHANGE that is released by the customer to change the order header, sequences, operations and production resource/tool. See the detailed documentation for the function module.
    BR
    Caetano

  • Table to find the phase number in process order operation

    Hello All,
    Is there a way to find the table for phase details which are assigned to operation in a process order.
    Regards,
    Rohit

    Hi Rohit samant,
    Go to Process order Change or Display mode ie Tcode : COR2 or COR3.
    Enter the process order no , click on "Operation Overview (F6)", Click on the Phase field on any one operation, Click "F1", the Performance Assistance Screen will be displayed, Click Technical Details, you can get all details, like programe Name, Status, Table Name, Fieldname & all Technical details.
    I hope the above information is as per your request, Hence Reward Points,
    Regards,
    Nayeem Ahamed

  • Process order operation

    Hi
    In Process order we are using Operation & Phases in master recipe.
    Standard values are giving to phases only.
    Individual Confirmation (COR6) are performing using Phases only..
    Process instructions are also giving to phases only.
    For  creating phases operation is required( superior operation)
    Just i want to know  where these operations will be used in a process order  other than this.
    I want  to know the difference between Primary & Secondary resource and their application in Process order..as these terms are not there in REM/Discrete Mfg..
    Regards,
    srihari.

    Hello Shrihari,
    What you have observed is right.
    In process order processing we need to use the phases instead of operations in production order eg. when you want to do the partial confirmation, you need to do it for the phases and not the operations.the GI of components( if attached to the Phase )will then take place at that time.
    About primary and secondary resources I can give you a practical example.
    If you consider a washing machine as a resource then it has two parts the Wash tub and the drying tub. You can consider the washing machine as the primary resource and the washing tubs and drying tubs as secondary resources of the washing machine.
    Hope this helps you.
    Award points if benefitted.
    Hemant

  • Editing of scheduled dates in Process Order Operations

    Hello,
    I have a requirement, in which the client would like to change the Scheduled dates in the operation details of a process order.
    In the header screen of a process order, if we change the basic start / finish dates (depending on forward or backward scheduling), and reschedule the process order, the process order is rescheduled, with the new dates.
    The client's requirement is, they should be able to change the Scheduled dates in the tab "Operation - Dates", of the "Operation overview" screen, in a process order. Normally the field is not editable, and the system calculates the dates, based on the start / finish dates, entered in the process order header.
    I would like to know, what is the way out, to meet this requirement.
    Thanks.

    Hi,
    As every body else is explaining it is not possible for standard SAP ,  as of normal business or any business scenario why would a client want to change the operation dates from Production order ( still not understood.....)
    There are two options to do that:
    1) Copy the whole transaction ( programmes ) into some Z - transaction and in the programme you can change the object ( CO_VG_OPR_*) from being grayed out.
    This will alllow you to change the dates.
    2) you can go for enhancement with the following FM
        BAPI_ALM_ORDER_MAINTAIN
    I suggest you to clear these things with client.These things require more of ABAP work.
    And as said changing the standard behaviour of the system can cause performance issues.
    Please close the thread if satisfied.
    prakash

  • 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

  • BAPI for closing process orders

    Dear Gurus ,
    I use Transaction CO02 and i go to the final delivery checkbox to check it .
    Can i use a BAPI ?
    I tried the  BAPI_PROCORD_CLOSE in se37 and i got the following messages :
                                                                                    E KO                   115 Balance of ORD 39078000 is not zero                                         
    E CO                   440 Inspection lot 020000066415 for order 39078000 has not yet been completed   
    W CO                   437 Order 39078000 is partially confirmed                                       
    W CO                   438 Order 39078000 is partially delivered                                       
    Can you help me .....?

    Hi Dimath,
    These are not any error messages related to BAPIs or any technical things. I guess these error messages are raised because of incomplete data i.e., the data you have entered in the screen/BAPI is not sufficient enough to close your Order. Try to check on the BALANCE (which i think is a cost related issue) of the Order. I'm not into FI so couldn't exactly give the reason to you. But I hope this should be some help for you.
    Regards,
    Anil.

  • BAPI to change Work order operation details

    Hi ,
      I have a requirement to change the operation work center of the service order . I am using the BAPI_ALM_ORDER_MAINTAIN . Could anyone let me know how the parameters i_methods and i_operation, i_operationup needs to be passed , what values need to be filled in them. Basically I am not sure about how the object key for the i_operations table is built.
    Regards,
    Prabaharan.G

    Hi,
    I used the below function module parameters as below the change operation work center of maintenance order,
    CLEAR: I_METHODS[], I_HEADER[], I_HEADERUP[],
             I_OPERATION[], I_OPERATIONUP[].
      CLEAR: V_OBJKEY.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = P_V_AUFNR
        IMPORTING
          OUTPUT = P_V_AUFNR.
      I_METHODS-REFNUMBER = '000001'.
      I_METHODS-OBJECTTYPE = 'OPERATION'.
      I_METHODS-METHOD = 'CHANGE'.
      I_METHODS-OBJECTKEY = P_V_AUFNR.
      APPEND I_METHODS.
      I_METHODS-OBJECTTYPE = ' '.
      I_METHODS-METHOD = 'SAVE'.
      APPEND I_METHODS.
      I_OPERATION-ACTIVITY = P_V_VORNR.
      I_OPERATION-WORK_CNTR = P_V_WORK_CENTER.
      APPEND I_OPERATION.
      I_OPERATIONUP-ACTIVITY = 'X'.
      I_OPERATIONUP-WORK_CNTR = 'X'.
      APPEND I_OPERATIONUP.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          IT_METHODS             = I_METHODS
         IT_HEADER               = I_HEADER
         IT_HEADER_UP            = I_HEADERUP
      IT_HEADER_SRV          =
      IT_HEADER_SRV_UP       =
      IT_USERSTATUS          =
      IT_PARTNER             =
      IT_PARTNER_UP          =
       IT_OPERATION           = I_OPERATION
       IT_OPERATION_UP        = I_OPERATIONUP
      IT_RELATION            =
      IT_RELATION_UP         =
      IT_COMPONENT           =
      IT_COMPONENT_UP        =
      IT_TEXT                =
      IT_TEXT_LINES          =
      EXTENSION_IN           =
         RETURN                 = I_RETURN
      ET_NUMBERS             =
      READ TABLE I_RETURN INTO WA_RETURN WITH KEY TYPE = 'E'.
      IF SY-SUBRC NE 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WAIT UP TO  1 SECONDS.
      ELSE.
        MOVE P_V_AUFNR TO WA_MSG_LOG-AUFNR.
        MOVE P_V_VORNR TO WA_MSG_LOG-VORNR.
        MOVE WA_RETURN-MESSAGE TO WA_MSG_LOG-MESSAGE.
        APPEND WA_MSG_LOG TO I_MSG_LOG.
        CLEAR: WA_MSG_LOG.
      ENDIF.
    Regards,
    Prabaharan.G

Maybe you are looking for

  • WWSSO_APP_USER_MGR.EDIT_USER

    When trying to change a user's password normally (manually) via portal, the "Edit User" screen asks for an Admin password. If I enter portal30 as the password (for portal30 user), it accepts it as expected. However, when I create an application compo

  • Screen popping when closing--2012 Macbook Air

    Is it normal for the screen or hinge to make a popping sound sometimes when closing the lid? Particularly after extended periods of use, my MBA's screen will make a soft popping noise as I start to close the lid; I can also feel the popping in my han

  • Visual c++ 2012 won´t install on win10

    im using the windows 10 tecnical preview and the microsoft visual c++ 2012 redistributale won´t install, it start´s and i accept the terms and then it only says initializing (i waitied about 1 hour and it said no more), and when i try to cancel the i

  • Java.lang.NoClassDefFoundError: oracle/stellent/ridc/IdcClientManager

    HI, I creat a dynamic web application on my system and then I created a servlet with the following code. protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {           // create the ma

  • BPM Looping

    I Have a Synchronous BPM and for some reason it is LOOPING indefinitely. 1 )How should I find the Corresponding Work Item from SXMB_MONI? 2) How to stop the looping work item (I am executing the transaction /nSWWL  but unable to find the correspondin