Bapi to change Routing Operations

Hi Gurus,
Could you please tell me whether this Bapi Can be used to do Mass Change for an operation.
I have found this Bapi : /SAPMP/BAPI_ROUTING_PROCESS
But it is throwing exception Routing Entry is missing.
I have filled only operations table and the importing parameters.
Do I have to fill any other table.
Please help me in the same.
Best Regards,
Navin Fernandes.

NAVIN FERNANDES wrote:
Hi Amber,
>
> I have created an LSMW and filled respective values with mapping but it giving me error saying
> ****************************************************************************
> "Data Transfer of Routings via Direct Input
>
>     Error_di_exp         From    To      Obj   Index       Plnnr
>
> E    1     1                             M     0000000001
>
> E                           1     1      M     0000000001
>
> C\ 045 V
>    You cannot edit the task list object with activity type V
> *******************************************************************************
> Could you please help me in the same.
> I want to change the standard values in the operation.
>
> Best Regards,
> Navin Fernandes.
this looks to be a functional error. Can you check again with your functional consultant.

Similar Messages

  • BAPI to change routing CA02

    Hi,
    I've been going through the forums and I still cannot find a bapi to change routing (CA02). Do you know any bapi or function module that i can use to change routing. Please help.
    Regards,
    April

    Hi,
        there is no bapi for changing Routing, instead use
    BAPI_ROUTING_CREATE Creation of a routing
    BAPI_ROUTING_EXISTENCE_CHECK Check whether routing exists
    Regards

  • BAPI to update Routing operations

    Hi
    I want to update inspection characterstics in routing operations,
    can you plz suggest any BAPI to update.
    Regards,
    kranti

    Hi Dhirendra,
      I want to update Char.number,Material Insp characterstics,method and sampling Procedure.
    as u mentioned in that BAPI,    BAPI_QPMK_SAVEREPLICA,i have found,Material Insp characterstics,method these two parameters,
    so how can i uplopad Characterstic no and sampling procedure?
    Regards,
    Kranti

  • Changing Routing operations using FM.

    Hi,
    Is there any FM available to change the operations in Routing? Please let me know.
    With regards,
    Sharath Kumar R.

    Hello,
    Try this sample code which will update the short text of the operation:
    REPORT zca02
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    INCLUDE bdcrecx1.
    PARAMETERS: p_plnnr LIKE rc271-plnnr OBLIGATORY.
    PARAMETERS: p_aennr LIKE rc271-aennr OBLIGATORY.
    PARAMETERS: p_plnal LIKE rc271-plnal OBLIGATORY.
    PARAMETERS: p_vornr LIKE rc27h-vornr OBLIGATORY.
    PARAMETERS: p_ltxa1 LIKE plpod-ltxa1 OBLIGATORY.
    INITIALIZATION.
      ctu = 'X'.
      ctumode = 'A'.
      cupdate = 'S'.
    START-OF-SELECTION.
      PERFORM open_group.
      PERFORM bdc_dynpro      USING 'SAPLCPDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC271-AENNR'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'RC271-PLNNR'
    *                              '001'.
                                    p_plnnr.
      PERFORM bdc_field       USING 'RC271-AENNR'
    *                              '001'.
                                    p_aennr.
      PERFORM bdc_field       USING 'RC271-PLNAL'
    *                              '1'.
                                    p_plnal.
      PERFORM bdc_dynpro      USING 'SAPLCPDI' '1400'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=OSEA'.
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                    '1'.
      PERFORM bdc_dynpro      USING 'SAPLCP02' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC27H-VORNR'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ENT1'.
      PERFORM bdc_field       USING 'RC27H-VORNR'
    *                              '0050'.
                                    p_vornr.
      PERFORM bdc_dynpro      USING 'SAPLCPDI' '1400'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'PLPOD-VORNR(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=VOD1'.
      PERFORM bdc_field       USING 'RC27X-FLG_SEL(01)'
                                    'X'.
      PERFORM bdc_dynpro      USING 'SAPLCPDO' '1200'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=BU'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'PLPOD-LTXA1'.
      PERFORM bdc_field       USING 'PLPOD-LTXA1'
    *                              'POS1'.
                                     p_ltxa1.
      PERFORM bdc_transaction USING 'CA02'.
      PERFORM close_group.
    Hope this helps you.
    Regards, Murugesh AS

  • BAPI for changing routing

    Hi all,
    do you know a BAPI to change (CA02) a routing?
    Many thanks.
    LP

    HI
    GOOD
    try these BAPIS
    BACV BAPI Conversion Routines
    BAPI_CONVERSION_EXT2INT Convert Data from External Format into Internal Format
    BAPI_CONVERSION_EXT2INT1 Convert Data from External Format into Internal Format
    BAPI_CONVERSION_INT2EXT Convert data from internal format into external format
    THANKS
    MRUTYUN^

  • Transaction CA02 - change Routing operation Overview

    Hi !
    I need to insert values to column "Unit Quantity" (plpo-vgm04)where the table line is 'SMD' or 'TH_***'. I  need
    to make a massive change for  many record.
    Is in sap a bapi for doing this task ?
    thanks
    moshe

    I am unable to find out the CAPP knowledge button in CA02 but find rest of three fields which you need to know see as given below
    KAP_ARBPL
    FLG_CAPO
    Above two field is coming in header details of particular routing (CA01, 02, 03)there is 6 views of header data
    Task list.
    Production line.
    General data.
    Parameters for dynamic modification /inspection points.
    Further QM data.
    Administrative data .
    Work center for capacity planning
       A work center which should be considered a "critical work center" (bottleneck work center) according to capacity leveling using a planned order.
    As per above view you will get KAP_ARBPL- Work center for capacity planning in General data view as a Planning work center.
    FLG_CAPO-Recalculate standard values at order creation you will get this field in general data view just below of planning work center as a CAPP order and its indicating that, at the time of order creation, standard values are recalculated using CAPP depending on their order category.
    P3007-RUZUS you will find this field in CR01, 02, 03 there is also 6 views for particular work center as below.
    Basic data
    Default values
    Capadities.
    Scheduling
    Costing
    Technical data and you will get P3007-RUZUS in this view as Rnd. & add.val. This specifies the rounding categories and the additional values to be taken into account when standard values are calculated for an operation.
       You can use this key you can assign a rounding category and an additional value percentage to each of the standard values in a work center.
    Regards

  • FM or BAPI to change Operation data

    Hi,
    Is there any BAPI to change operation data? BAPI_ALM_ORDER_MAINTAIN is not useful in my case. I want to use   IBAPI_ORDER_OPERATION_CHANGE but not able to get proper documentation for same.Can anyone give me a sample code about how to use IBAPI_ORDER_OPERATION_CHANGE?
    My requirement is to tick check box 'Required Splitting' in operation if some conditions are met. I am planning to do this using cuatomer exit. Everything is working fine only i need to know how to use above BAPI. If this doesn't work then as a last option i will go with BDC.
    Regards,
    Kamal

    Hi Kamal,
    Unfortunately I can not see any BAPI which changes operation data of a production order.
    BAPI_PRODORD_CHANGE is available only for changing header details.
    BAPI_ALM_ORDER_MAINTAIN and IBAPI_ORDER_OPERATION_CHANGE are used for changing maintenance or service orders, and not production orders, most probablty this won't work or cause issues.
    I'm afraid BDC is the only option in this case.
    Regards,
    Marcelo Pacheco

  • Change UoM of on routing operations.

    Hi PP Experts,
    Please someone help me on my problem regarding changing UoM on routing operation. I have to change or convert the labor time and machine time from CTS (cents of second) to S(second). How can i change that and i have to consider the impact on report such as routing check, standard time checking report and finacial cost.
    Thanks for your help.
    Edited by: yatch0325 on Oct 13, 2010 7:58 AM

    Hi,
    1. In the routing change the UOM for standard value to S and eneter the calculated machine time in S.
    2.Change the Base qty and the operation unit.
    3.Activity type and the cost needs to be checked.
    Thanks,
    nandha
    Edited by: S.Nandakumar on Oct 13, 2010 8:25 AM

  • 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

  • Select query in routing(operation,sequence)

    Hello frds,
         i am into change routing BDC actually i want a select query .....for like existing of operation for a particular sequence in routing....
    if i will found operation for particular sequence i will run the bdc code lese i will exit...any one can help me...
         just provide me a query....to check existnece of operation for a particular sequence......ASAP...

    Why on earth would you want to keep the queries separate? As Tom Kyte would say, databases are born to join!
    Providing emp_id has an index on it (and it should, assuming it's the table's primary key!) your "complex" (or, what I would call simple*), it'll most likely be faster than doing it separately. You've not got the context switches for one thing.
    If you want to see what the optimizer does with your query, you should run a trace on the query. An explain plan would give you an idea of what it's going to do, too.
    In general, doing something like this procedurally is going to almost certainly be worse than doing it in SQL (and by worse, I mean slower).
    * I'd hate to see what you'd call some of the monster queries I work with, if you think that query is complex!

  • Function Or BAPI to Change BP Data

    Hi All
    We need to change the value of a field Classification of the BP after we create a Quotation, but we are not able to find the function to do it.
    Best Regards.

    Hi Kamal,
    Unfortunately I can not see any BAPI which changes operation data of a production order.
    BAPI_PRODORD_CHANGE is available only for changing header details.
    BAPI_ALM_ORDER_MAINTAIN and IBAPI_ORDER_OPERATION_CHANGE are used for changing maintenance or service orders, and not production orders, most probablty this won't work or cause issues.
    I'm afraid BDC is the only option in this case.
    Regards,
    Marcelo Pacheco

  • Need to select all equipments (PRT) for a plan (routing) operation (PLPO)

    hi,
    I need to select all assigned equipments (PRT) for a plan (routing) operation (PLPO).
    Can anybody tell me the database table relation or is there a function module or a BAPI or something like this !?
    Thanks
    Olaf
    Edited by: Olaf Krüger on Feb 20, 2008 12:03 PM:  BADI to BAPI

    I suppose you have every PLPO needed (else look at function module WOSTS_TASKLIST_READ_FROM_DB)
    Then read
    PLMZ Allocation of bill of material items to operations
    STPO BOM item
    SELECT * FROM plmz INTO TABLE t_plmz
        FOR ALL ENTRIES IN t_plpo
        WHERE plnty = t_plpo-plnty
          AND plnnr = t_plpo-plnnr
          AND plnkn = t_plpo-plnkn.
      SELECT * FROM stpo INTO TABLE t_stpo
        FOR ALL ENTRIES IN t_plmz
        WHERE stlty = t_plmz-stlty
          AND stlnr = t_plmz-stlnr
          AND stlkn = t_plmz-stlkn.
    Regards

  • Add/change multiple operations on a released Production Order

    How can I add/change multiple operations on a released Production Order...I know how to add them manually one by one but is there a better way to add...like copy/paste since i am adding operations from an alternate route? Please advise?

    Hy Aziz,
    In process order go to operation screen go to Operation - Include Master recipe, then one pop up comes select required Master recipe and add operations of your interest.
    But there are some restriction which doesn/t allow it if Inspection Lot, Control Recipe are created..
    Regards,
    Dhaval

  • Order Component quantity gets changed after operation confirmation

    Order Component quantity gets changed after operation confirmation.
    We are using CO27 to issue the Material to the Order.
    When we do the confirmation of  operation. Component quantity attached to operation get changed.
    Any solution for this.

    Dear
    Please Follow the Steps
    1. Go into Co02 there u do production order with qty select the Component overview u find the Materials there please check hhow much is the qty of that particular material
    EX: Production order qty for Header Material is 10 ea
    then ur Compannets Qty is 10 or 20
    depends on the Componet Qty the Operation takes place that is because u have maintatined a base qty in Routing and BOM
    With Regards
    Pushpalas

  • HKONG: ROUTING 이 없으면 하위 품목에 대해 OPERATION PULL 지정이 불가능할 때 처리방법

    PURPOSE
    ROUTING 이 없으면 하위 품목에 대해 OPERATION PULL 지정이 불가능할 때 처리방법
    Problem Description
    ROUTING 이 없으면 하위 품목에 대해 OPERATION PULL 지정이 불가능함
    Workaround
    N/A
    Solution Description
    원인>
    Bills form does not allow 'operation pull' when there is no routing for the assembly.
    This cause done as a fix for Bug 4247916
    해결책>
    The patch#4689976 will do the following:
    1. Revert the changes that are made in Bug 4247916.
    만약, BOMFMBM1.pld의 version이 " 115.75.115100.5" 보다 낮을 경우, 다음과 같이 patch를 TEST환경에
    적용하여, Test하여 주시기 바랍니다.
    -- To implement the solution, please execute the following steps::
    1. Please download and review the readme and pre-requisites for Patch 4689976 .
    2. Please apply Patch 4689976 in a test environment.
    3. Please confirm the following file versions:
    BOMFDBOM.fmb - 115.245.115100.17
    BOMFMBM1.pld - 115.75.115100.5
    4. Please retest the issue.
    5. If the issue is resolved, please migrate the solution as appropriate to other environments.
    Reference Documents
    -------------------

Maybe you are looking for

  • I am trying to copy a document which is in my ibooks (not a purchased book or a pdf).  A document written by someone who copied it to my iPad.  Can I put this on my mac?

    Can I copy a document which is in ibooks on my iPad to my mac?  The  document was copied onto my iPad from someone else's macbook and I was hoping to then copy it onto my mac.  However, when I connect my iPad to my mac it does not show that I have th

  • Data handling issue

    The problem is that my application receives sterilized java object in zip format from third party system then my application can update into DB2 tables in a given time frame (max 1 min). This results into a buffer overflows which implies that data ar

  • ABAP Object Exception handling

    Hi all, I would very much like some links to learn how to create Exception objects, and how to use them in my ABAP Object apps. Thanks in advance!

  • Overloading Issue

    If overloaded functions like below are defined      void move(double dx) { System.out.println("double"); }      void move(Object dx) { System.out.println("Object"); }      void move(String dx) { System.out.println("String"); }Invoking them as        

  • Error when running the struts application

    Hi i am getting this error when i run my struts application. Do i need to install the xerces parcer and should my local have the ANT. If so how should i confingure ANT /JSP/Login.jsp(12,0) Attribute name invalid for tag form according to TLD org.apac