Updating resource in planned order using reference characteristics

hi,
Please let me know the table and field to be used to map corresponding field (PLPOD - ARBPL) in ECC. I am trying to update work center in planned order using reference char.
Regards,
Yogesh

Yogesh,
table and field PLPOD-ARBPL are correct , and same shoild be reflected into characterstic data.
check syntex of dependencies once again , and test configuration using CU50 , and see the result.
while running transaction you can have trace on which can help you to see your dependencies are gettinmg trigered or not.
hope it helps you.
Regards

Similar Messages

  • Need Automatic Lead-time scheduling in Planned Order using MD11

    All,
    Our users have a requirement that when they create a planned order using MD11, they would like system to do automatic lead-time scheduling based on the "basic finish date" entered by the user. Currently the system is taking 3 days from the in-house time maintained in material master to calculate the basic start date. But users want to use the 100 days that have been maintained in the routing.
    Currently users have to click on "manual scheduling" on the planned order for system to pick up 100 days from routing which is an additional step for the users. Hence users want an automatic way in which system would do lead-time schedule when they enter the basic finish date.
    Thanks,
    Swapnil

    Dear Swapnil,
    In my understanding it is the standard SAP behaviour even if you have made the necessary settings in OPU5 for the planned
    order type.
    If my understanding is correct, then as per this setting the MRP behaves for the particular plant and order type combination.
    Whenever you create a planned order manually you have to do a detailed scheduling and then you get the production dates
    for the planned order.(This might be because generally when a planned order is converted into production order the system
    carries out a lead time scheduling.- Check the same and correct me if I'm wrong)
    Even if you update the material master through CA97,you will not get the detailed scheduling done along with the production
    dates.So you have to perform this manual activity during MD11.
    What is the reason of setting the in-house production time as 3 days,if the exact production time is going to be more?
    Check and revert
    Regards
    S Mangalraj

  • Creation of SNP Planned Orders using Optimizer

    Dear Experts .....
    I am facing some problems while creating SNP Planned orders using Optmizer ( Discret Optimization).....
    For eg.
    I am using 3 months horizon ... the first two months is daily buckets with 12 hours capacity each one and the last month is weekly buckets.
    The product minimun lot size exceed the daily capacity .... this way planned order have been created in the weekly buckets at the end of the horizon.
    I need the system to create orders in the correct date avoiding use of safety stock .....
    Regards
    Mauricio

    Those other 2 settings was already done .....
    It is still not working .... iI am receiving the following message ...
    Production process model/PDS 00000000000001011301001             S: Cannot be executed
    Message no. /SAPAPO/SNPOPT159
    Diagnosis
    Production process model 00000000000001011301001             S at location 0100 is intended for cross-period lot size planning. It can be started in bucket 20110404->20110404. However, it does not then end in the same bucket.
    Thanks for your effort trying to help me with this issue.

  • When I create a Planned order using PDS, the Setup time is coming as 0.

    We have been using PPMs for a long time, and now we are trying to migrate to PDS.
    We are currently in SCM 7.0.
    I successfully created the PDS in APO (using CIF from R/3). In the PDS (in APO), for a particular activity, I see the  activity type is "S", and the Activity Duratiion (Fixed) is 43,200 Seconds.
    However, when I create a planned order using this PDS, the activity time is zero (End time = Start Time).
    When we use the PPM the setup time comes correctly.
    Any help will be appreciated..

    Senthil,
    Thanks for your views.
    I have checked all that you have suggested, and it is okay. The issue still persists.
    One thing that I noticed was that it is working fine in the old SCM 5.0 environment - the setup time is coming correctly in the planned order.
    However, we have this issue in the new SCM 7.0 environment. Is there something that is different in SCM 7.0 in terms order explosion ?
    Reagrds,
    Sastry

  • ASCP: How do I get the list of 1st level planned orders using msc_full_pegging table

    How do I get the list of 1st level planned orders using msc_full_pegging table, is any one having the script.

    Do you mean supply_type? If so, yes it will be in pegging table as supply_type or otherwise you can join this table with msc_supplies by joining transaction_id column and get the order_type from that which will be the supply type.
    Thanks,
    Abhishek Sharma
    P.S:- Try opening the discussion in a separate window and see if you get the option to mark it correct or helpful,

  • Creating SNP planned order using ''BAPI_MOSRVAPS_SAVEMULTI3'

    Hi Experts,
                      I am new to SAP-APO, kindly clarify my question. I am using 'BAPI_MOSRVAPS_SAVEMULTI3' with source of supply PDS for creating SNP planned order by passing 'EE' in the  table parameters 'ORDER_HEAD-MASTER_ATPCAT'. It is creating a planned order which is PPDS planned order with number range starting from '1000...' rather than creating SNP planned order with number range starting from '8000..'. Please let me know what might be the reason for the BAPI misbehaving incorrectly. Also kindly let meknow what are specific parameters to pass to above bapi to create SNP planned order.

    Hi,
    The BAPI BAPI_MOSRVAPS_SAVEMULTI3 is used for creating PPDS inhouse orders.
    You will have to use BAPI_MOSRVAPS_CREATESNPORDER for SNP inhouse orders creation from SNP PPMs( there is no explict mention of SNP PDS- you may please check).
    Regards
    Datta

  • FM SD_SALESDOCUMENT_CREATE  on creating a sales order using reference

    I create a sales order using a reference order number.On displaying it in VA02, and giving document flow, the reference document which I used to create the sales order gets displayed.
    A program/fm u2018Xu2019 is called on giving document flow (which takes the reference order number I used as input )
    Now if that u2018Xu2019 is getting the data of the reference order I used from some table u201CT_Yu201D.This table u201CT_Yu201D must be set during sales order creation itself. So, some program which is called during creation of sales order gets the reference order number I used as input and puts it in that table u201CT_Yu201D.
    My assumption is that SD_SALESDOCUMENT_CREATE is the function module handling that part. If it is not for that, then what is its function.
    *****If it is handling that part, which structure which this FM gets as input contains that order number which I used as reference?
    There are 3 bapiu2019s called on sales order creation, BAPI_SALESORDER_CREATEFROMDAT2, BAPI_SALESORDER_CREATEFROMDAT1, BAPI_SALESORDER_CREATEFROMDATA.
    Only one BAPI calls SD_SALESDOCUMENT_CREATE namely BAPI_SALESORDER_CREATEFROMDAT2
    *****Why does the FM SD_SALESDOCUMENT_CREATE not get triggered when I set a breakpoint in it during sales order creation?

    Please search in SDN so many thread related to create sales order

  • Planned Order No. Reference in PR

    Hi all,
    I want to find the planned order number in the PR generated converting a planned order manually. I searched for the answer but could not find the correct answer. Pls, help me..
    Regards,
    Karteek.

    You will not find this information anywhere.
    the planned order is deleted when you converted it into a requisition, the status in the requisition tells you that this PR was created from a planned order, but that is all.

  • Massive change orders to Alterntive Resources in planned Orders

    Hi SAP Experts,
    We would like to change a lot of orders from one resource to an alternative resource in the DS planning board. We can only do this order by order but in such case we already know that for a set of orders we have the same alternative resource so I would be easier to just select a lot of resources to move from one resource to another resource.
    Thanks and BR
    Mauricio

    Hi,
    If you know the orders/operations, which are to be moved to alternative resource, you can select them using CTRL+click on those operations. Then by drag and drop, you can shift them to the alternative resource. While drag and drop also, you have to keep the CTRL key pressed.
    Hope this will help you.
    Regards,
    Manimaran M.

  • Updating quantity in sales order using api

    Hi all,
    SET SERVEROUTPUT ON;
    DECLARE
    v_api_version_number NUMBER := 1;
    v_return_status VARCHAR2 (2000);
    v_msg_count NUMBER;
    v_msg_data VARCHAR2 (2000);
    -- IN Variables --
    v_header_rec oe_order_pub.header_rec_type;
    v_line_tbl oe_order_pub.line_tbl_type;
    v_action_request_tbl oe_order_pub.request_tbl_type;
    v_line_adj_tbl oe_order_pub.line_adj_tbl_type;
    -- OUT Variables --
    v_header_rec_out oe_order_pub.header_rec_type;
    v_header_val_rec_out oe_order_pub.header_val_rec_type;
    v_header_adj_tbl_out oe_order_pub.header_adj_tbl_type;
    v_header_adj_val_tbl_out oe_order_pub.header_adj_val_tbl_type;
    v_header_price_att_tbl_out oe_order_pub.header_price_att_tbl_type;
    v_header_adj_att_tbl_out oe_order_pub.header_adj_att_tbl_type;
    v_header_adj_assoc_tbl_out oe_order_pub.header_adj_assoc_tbl_type;
    v_header_scredit_tbl_out oe_order_pub.header_scredit_tbl_type;
    v_header_scredit_val_tbl_out oe_order_pub.header_scredit_val_tbl_type;
    v_line_tbl_out oe_order_pub.line_tbl_type;
    v_line_val_tbl_out oe_order_pub.line_val_tbl_type;
    v_line_adj_tbl_out oe_order_pub.line_adj_tbl_type;
    v_line_adj_val_tbl_out oe_order_pub.line_adj_val_tbl_type;
    v_line_price_att_tbl_out oe_order_pub.line_price_att_tbl_type;
    v_line_adj_att_tbl_out oe_order_pub.line_adj_att_tbl_type;
    v_line_adj_assoc_tbl_out oe_order_pub.line_adj_assoc_tbl_type;
    v_line_scredit_tbl_out oe_order_pub.line_scredit_tbl_type;
    v_line_scredit_val_tbl_out oe_order_pub.line_scredit_val_tbl_type;
    v_lot_serial_tbl_out oe_order_pub.lot_serial_tbl_type;
    v_lot_serial_val_tbl_out oe_order_pub.lot_serial_val_tbl_type;
    v_action_request_tbl_out oe_order_pub.request_tbl_type;
    v_msg_index NUMBER;
    v_data VARCHAR2 (2000);
    v_loop_count NUMBER;
    v_debug_file VARCHAR2 (200);
    b_return_status VARCHAR2 (200);
    b_msg_count NUMBER;
    b_msg_data VARCHAR2 (2000);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('Starting of script');
    -- Setting the Enviroment --
    mo_global.init('ONT');
    fnd_global.apps_initialize ( user_id => 1153,resp_id => 50602,resp_appl_id => 7000);
    mo_global.set_policy_context('S',85);
    -- Header Record --
    --v_header_rec                        := oe_order_pub.g_miss_header_rec;
    --v_header_rec.operation              := OE_GLOBALS.G_OPR_UPDATE;
    v_header_rec.request_date           := SYSDATE + 1; Updating the Request Date
    v_header_rec.header_id              := 6006; Existing order header id
    v_action_request_tbl (1) := oe_order_pub.g_miss_request_rec;
    -- Line Record --
    v_line_tbl (1) := oe_order_pub.g_miss_line_rec;
    --v_line_tbl (1).operation            := oe_globals.g_opr_create;
    v_line_tbl (1).header_id := 1087; -- Existing order header id
    --v_line_tbl (1).inventory_item_id    := 9;
    v_line_tbl (1).ordered_quantity := 1;
    v_line_tbl(1).invoice_to_org_id := 1060;
    v_line_tbl(1).line_id := 1046;
    v_line_tbl(1).change_reason := 'Not provided';
    --v_line_tbl (1).unit_selling_price   := 10;
    --v_line_tbl (1).unit_list_price   := 10;
    --v_line_tbl (1).calculate_price_flag := 'Y';
    v_line_tbl(1).operation := OE_GLOBALS.G_OPR_UPDATE;
    DBMS_OUTPUT.PUT_LINE('Starting of API');
    -- Calling the API to update the header details of an existing Order --
    OE_ORDER_PUB.PROCESS_ORDER (
    p_api_version_number => v_api_version_number,
    p_header_rec => v_header_rec,
    p_line_tbl => v_line_tbl,
    p_action_request_tbl => v_action_request_tbl,
    p_line_adj_tbl => v_line_adj_tbl, -- OUT variables,
    x_header_rec => v_header_rec_out,
    x_header_val_rec => v_header_val_rec_out,
    x_header_adj_tbl => v_header_adj_tbl_out,
    x_header_adj_val_tbl => v_header_adj_val_tbl_out,
    x_header_price_att_tbl => v_header_price_att_tbl_out,
    x_header_adj_att_tbl => v_header_adj_att_tbl_out,
    x_header_adj_assoc_tbl => v_header_adj_assoc_tbl_out,
    x_header_scredit_tbl => v_header_scredit_tbl_out,
    x_header_scredit_val_tbl => v_header_scredit_val_tbl_out,
    x_line_tbl => v_line_tbl_out,
    x_line_val_tbl => v_line_val_tbl_out,
    x_line_adj_tbl => v_line_adj_tbl_out,
    x_line_adj_val_tbl => v_line_adj_val_tbl_out,
    x_line_price_att_tbl => v_line_price_att_tbl_out,
    x_line_adj_att_tbl => v_line_adj_att_tbl_out,
    x_line_adj_assoc_tbl => v_line_adj_assoc_tbl_out,
    x_line_scredit_tbl => v_line_scredit_tbl_out,
    x_line_scredit_val_tbl => v_line_scredit_val_tbl_out,
    x_lot_serial_tbl => v_lot_serial_tbl_out,
    x_lot_serial_val_tbl => v_lot_serial_val_tbl_out,
    x_action_request_tbl => v_action_request_tbl_out,
    x_return_status => v_return_status,
    x_msg_count => v_msg_count,
    x_msg_data => v_msg_data);
    DBMS_OUTPUT.PUT_LINE('Completion of API');
    IF v_return_status = fnd_api.g_ret_sts_success THEN
    COMMIT;
    DBMS_OUTPUT.put_line ('Order Header Updation Success : '||v_header_rec_out.header_id);
    ELSE DBMS_OUTPUT.put_line ('Order Header Updation failed:'||v_msg_data);
    ROLLBACK;
    FOR i IN 1 .. v_msg_count
    LOOP v_msg_data := oe_msg_pub.get( p_msg_index => i, p_encoded => 'F');
    dbms_output.put_line( i|| ') '|| v_msg_data);
    END LOOP;
    END IF;
    END;
    im getting errors pls send me a solution
    rgds,
    sandy

    if you just want to change qty , then comment v_line_tbl(1).invoice_to_org_id := 1060; and try to run again
    Regards
    eoracleapps.blogspot.com

  • Error on RESB table changing planning order using BAPI_PRODORD_CHANGE

    Hallo.
    In my custom program ZINTERFACE_ORDER, I use BAPI 'BAPI_PRODORD_CHANGE' to change multiple production order (quantity / start date/ end date).
    CALL FUNCTION 'BAPI_PRODORD_CHANGE'
         EXPORTING
    number       =  wk_ordine
    orderdata    =  wk_orderdata
    orderdatax  = wk_orderdatax
         IMPORTING
    return         = bapi_return.
    First order change works right, but the second order generate the error:
    TYPE: E
    ID      : CO
    NUMBER : 888
    MESSAGE:  Internal: Error when reading document table RESB
    The error is generated by  COXT_BAPI_ORDER_CHANGE , called internally from the above BAPI_PRODORD_CHANGE
    And I have to exit from my custom report and reprocess the second order to work.
    It seems that there is a lock on RESB table.
    Could you
    help me?
    Thanks a lot
    Giancarlo

    You need to find the lock that is being set.  After your BAPI Commit, you need to test that the lock is cleared.  If not, do a wait for 1 sec and retest.
    Unlock (and lock) are queued objects that do not occur until after the commit is complete.  Because they are queued, they can get slow.  Especially when a background process is going to try to work with multiple in a short period of time.
    Neal

  • REM Back flush using firmed planned orders

    Dear Gurus,
        We are using REM manufacturing process in SAP , we are doing backflush for stage wise confirmation and final confirmation.while doing this we are not referring any planned orders as reference.
    if we update new part numbers in BOM the system asking for the availbilty of that particular new part numbers but physically we are having old materials .
    we want to consume that old materials how it possible in the MFBF t.code.
    if any one please help me ,  if I firmed a planned order with quatity or date then sytem will ask the old materials instead of new one.
    pls explain what is planned orders and their impact on MRP ?
    how we can firmed that planned, if i firmed what is the impact duirng backflushing?.
    Thanks & Regards
    Suresh babu.s
    WIN - IS.
    Suresh

    Hi
    please compare the process when you create the production order manually in Co01 instead of creating the production order by converting the planned order.
    Here you are carrying out back flush with out refering the planned order.
    It is like creating the production order manually.
    In such case system will always look the BOM as of now.
    It will not refer any of the planned order & the components there in.
    If you want to consume the old parts instead of new parts , you can delete the new part numbers & add the old ones in MFBF. this will be allowed by system.
    In this case you are back flushing with out reference to planned orders.System will not ask for old components at all whether planned order is firmed or not.
    Once if planned order is firmed a star (*) mark will appear in MD04 near the planned order number.
    Once if the planned order is firmed, it will not be changed in subsequent MRP Run.
    Hope it is clear.
    Pl. award if it is clear else pl. update.
    Regards
    YMREDDY

  • Using Planned order Change BAPI with out changing date

    Hi
    I have a planned order with start date in future.
    With in a program, I want to call the planned order using the FM BAPI_PLANNEDORDER_CHANGE to re-explode the order BOM.
    I find that only if I change the order start date to system/current date, the planned order BOM gets updated/re-exploded. Else there is no change in the order BOM.
    My requirement is to re-explode the BOM with out changing the order dates. In the function module I am maintaining "X' against BOM_EXP_FIX_IND.
    But when I do it manually using MD12 and explode BOM with out changing the future start date, the order BOM gets updated.
    Please help on this. Or is there any other FM/BAPI for this purpose.

    Dear Pradeep,
    you could try to set DET_SCHEDULE = X with out
    FIRMING_IND  --> No
    BOM_EXP_FIX_IND   --> No
    Let me Know if it modification setting have solved your problem and i have useful for you,
    Daniele

  • Planned Order Creation using MD_PLANNED_ORDER_CREATE

    Hi ,
       I am using the FM MD_PLANNED_ORDER_CREATE , to create planned order .
    The start date of the planned order changes based on the factory calendar, is there some way to avoid this the FM has a parameter ECM61S used to pass the scheduling paramaters , but using that also does not help.
    Can any one please suggest me some way of doing it.
    Regards
    Arun

    Hi Mangalraj ,
    Thanks for the details.
    Even when i try to create a planned order using the transaction MD11 , if i enter 01.01.2008 , it then changes the date to a working day .
    Can you provide me with some more input on the use if the parameter ECM61S in the FM MD_PLANNED_ORDER_CREATE .
    Is there some setting the factory calendar where we can set it such that planned orders are created even on holidays , kindly also tell transaction to view a factory calendar.
    Regards
    Arun

  • Wrong update of Planned order

    Hi,
    I have a requirement.I have created a ztable which has start date
    and end date.
    Sap standard flow.
    1) Create a sales order using transaction VA01.
    2) I execute  MD01 for MRP run.
    3) I go to MD04 with the material and plant agaist which
        i have created a sales order
    4) Planned order is created.
    5) I modify Start date or End date of Planned order using
        transaction MD12.
    6) Again i execute the MD01 transaction for MRP Run
        an Planned order gets modified.
    My Business requirement.
    1) Create a sales order using transaction VA01.
    2) I execute  MD01 for MRP run.
    3) I go to MD04 with the material and plant agaist which
        i have created a sales order
    4) Planned order is created.
    5) I execute a zprogram in which i call 
        BAPI_PLANNEDORDER_CHANGE to modify the
        Planned    order .Order start date and Finish date come
        from    the Ztable.
    6) Again i execute the MD01 transaction for MRP Run
        but instead of modifying the  Planned order new Planned
        order gets created.
    In Zprogarm i have done coding in Following way.
    1) Called transaction MD01.
    2) Called  BAPI_PLANNEDORDER_CHANGE to modify the
        Planned    order
    3) Again called transaction MD01.
    Kindly help me in why new planned order gets created instead of modiying existing planned order.
    Thanks & regards,
    Chetan

    Thanks

Maybe you are looking for

  • Show Schedule Lines in Week format when created via MRP

    Hello ... I need to know if it is possible to show the Schedule Lines of the schedule agreements in Week format. Currently when the MRP runs it create the schedule lines in Day format. What I need to do when the MRP runs the Schedule lines can be cre

  • Cannot open source panel in iPhoto

    I need to find out how to access the following file so I can view the source panel in iPhoto: com.apple.iPhoto.plist. I have forgotten how to find this file so I can fix iPhoto. Please help.

  • Recordset sort

    I have a recordset (responders) that I would like to sort in the following manner: SELECT * FROM responders ORDER BY responders.COUNTRY, responders.`STATE`, responders.CITY After is construct the recordset, I test it and get good results (clean). Whe

  • System copy export  -  error message unable to extend temp segment PSAPTEMP

    I am performing an export of ECC ABAP+java instance and during the export of the source system I get the following error during the ABAP export: ORA-01652: unable to extend temp segment by 128 in tablespace PSAPTEMP ORA-27072: File I/O error What do

  • After Effects CC not seeing QT

    Hi all, I'm test driving After Effects CC, and I'm getting an error code upon launch that it doesn't see Quicktime installed on the system. Now i do have Quicktime installed and it's up to date, so i'm not sure why AE CC doesn't see it, because AE CS