Scheduling-thread level or process level?

I have a question(perhaps a basic question) on scheduling. Suppose there are processes P1 and P2 running on a multi cpu box and each process has n number of threads running in the same priority level.
Which statement below is correct?
The scheduler schedules a process, say, P1 with a time slot(say, T1). During this T1 slot, only threads inside P1 will then scheduled for time slots of duration T1/n(for each threads) ?
OR
Scheduler schedules a thread for a given time slot errespective of which process it belongs to. For example, thread1 in P1 in time slot t1 and thread3 in P2 in the next time slot t2 etc. (t1 and t2 being equal duration)
Please respond and enlighten me with your answer.
Also, a link to any relevent documentation in this regard would be highly appreciated.
thanks,
-rajesh

Hi Saurabh,
Thanks for the info. I think, I am looking for something else. lI am still unclear about in which level process level or user thread level, scheduling takes place. I afraid, I haven't made my original question clear and so, here is it with more detailed explanation:
Basically I need to know in which level scheduling takes place, in user thread level or in user process level. To be more specific,
There are two process A and B. Process A has user threads(created by using pthread_create) at1 and at2. Similarly, B has the user threads bt1 and bt2.
Assuming that the cpu time slice is T sec.
The question is:
Schedular schedules the process, say,
Process A gets scheduled for time slice of Tsec and during this time intervel, at1 and at2 threads will get their share of time slice of T/2sec each
or
Schedular schedules user threads, say,
at1 will get scheduled for T sec and then say, bt2 will get scheduled for the next Tsec etc irrespective of the processes they belong to.
which one is true?
Could you please clarify this a bit more? Or guide me if I misunderstood ?
thanks,
-rajesh

Similar Messages

  • Is there any difference between grouping  at action/block or process level?

    Hi !
    I´m modeling a process and i was wondering which was the best way to group its parameters.
    I have an action composed by to COs, an Execution and a Display one.
    Let´s suppose the execution CO has an input parameter callade P1 , and the display object has the same input parameter called P1 and I want to show P1 in the display object, so i have to group them.
    but, I am able to group them at action, block or process level. Is the same the result if I group in any of them?
    Thanks in advance!
    Marco.

    Hi,
    You have to start the consolidation(grouping) of parameteres from the action level to process level.
    first consolidate parameters at the action level and expose them(in/out) if you want to consoldiate them at the higher level that is block level.Follow the similar approach at block level also.If you don't want to use the paramters at the next higher level you should not expose the paremeters.
    You can see the only exposed parameters at the next higher level. by default all the parameters will be exposed.Based on your requirement you have expose/unexpose them.
    [Parameter Consolidation|http://help.sap.com/saphelp_nwce10/helpdata/en/de/598041a17e060de10000000a1550b0/content.htm]
    Edited by: Sampath Gunda on Aug 22, 2008 7:30 AM

  • Concurrency at process level

    Does TestStand provide concurrency at the Win32 Process level?
    I know there are provisions for executing threads within a single process, but I'm curious if it's possible to simultaneously run Win32 processes.
    Thanks,
    Menchar

    Hi Menchar,
    I'm not sure I know exactly what you mean when you say concurrent?
    If you are talking about multithreading then you can have different threads running at the same time.  If you are talking about two different executions then this is possible as well as evidenced in both the Parallel and Batch process models.  If you are talking about different instances of the Operator Interface then this is possible as well.  Just open two at the same time. 
    In TestStand in order to have a thread you have to have an execution.  A thread is contained within an execution.  Every time you click Execute>>Single Pass or Execute>>Test UUTs then you are spawning a new execution.  Within this execution there is at least one thread. 
    To call a sub sequence in a new thread or new execution then you simply right click the sequence call step and in the Specify Module dialog change the option Multithreading and Remote Execution to new execution or new thread. 
    If you want to call a step in a new execution then just put it in a new sub sequence and call this sequence the same way. 
    Let me know if I am even remotely close to what you are looking for.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Schedule background jobs at OS level.....

    Hi All,
    Scheduling Background Jobs at SAP Level is a very simple task. Is there any way to schedule background jobs at OS level? Please lemme ASAP....
    Thanks
    Rhishabh

    Hi Rhishabh,
    Actually we can not completely schedule background at OSLevel but we can trigger a background job which has alreadyscheduled by using sapevt tool syntax as follows.
    sapevt <event name> nr=<instance name> name=<host name>
    or we have tool like
    In unix you use crontab.
    We can use different job scheduling softwares like IBM TIVOLI software MAESTRO JOB SCHEDULING CONSOLE, Control M
    Regards,
    Kiran M

  • How can I display the Process Level by Phase in a Grid or Data Form?

    We are using phased submissions. I can see that changing the display options on a grid will show the current Process Level for the processing unit defined by the POV. But how can we break this down by phase?

    Try what is suggested in Page 243 of the User's Guide:
    You can display multiple submission phases, view review level status, and perform process management actions for multiple phases in Process Control.
    If you select Single period view, you can select one or more submission phases to include in the columns. For each column, you can display one or more of these options: Calculation Status, Journals, Review Level, Pass/Fail, and Validation. If selected, Review Level, Pass/Fail, and Validation are included for each phase. Since Calculation Status and Journals apply to the entire processing unit, they are displayed only once regardless of how many phases are selected. If you select All period view, you can select Calculation Status or Review Level information for the columns. If you select Review Level information, you should select one submission phase
    for display. When you select All periods, or Tree for the display, the filter option is unavailable.
    Here is the options:
    !http://0ue0ag.blu.livefilestore.com/y1pceBZ2nCvU8wYKj38bzK_O3B8eXo5XwfxwTkVeMdPu1fi6lHT_DcYrxlptGHYDm6N4lA0H2YMnWx4qtcOe4ttmM-Em-fheg5P/Phase%20Submission.jpg!
    And the Result:
    !http://0ue0ag.blu.livefilestore.com/y1pWfMkCFrViEuCRyAHWCphl7y0gZBAK3UY1f2ECi1kme3_xP2FQjyG5f4TC7QHwoHPxBSb0GTKpyU6TXMSp9P5wR5LbJeYl5eu/Phase%20Submission2.jpg!

  • Issue in Process Level Workflow

    Dear SRM Workflow Experts,
    I have following issue for workflow in SAP SRM 7.0
    We have configured item level shopping cart approval workflow using process level configuration. Total four process Levels are configured for Audit/Deman Challenge/Tax and Financial approval.
    Process Level Config Details
    Level.  Apr.Type  Evval.Id                              Description                               Resp.Resover                            Decision Type
    100     Approval  ZEV_SC_DMCH_LEVEL1   Demand Challenge Workflow  ZRR_DEMAND_CHALLENGE       4
    200     Approval  ZEV_SC_AUDT_LEVEL1   Audit Approval Workflow        ZRR_AUDIT                           4
    300     Approval  ZEV_SC_ITAX_LEVEL1    Tax Approval Workflow           ZRR_TAX                           4
    400     Approval  ZEV_SC_LEVEL3              Financial approval                    ZRR_COSTCENTER_APPROVE      4
    We have a issue for the shopping cart with multiple items, once process level is applicable for first item it becomes mandatory for another items even though BRF expression rule for process level is not valid. It looks like my BRF event is executing only once for Shopping Cart and it's not getting trigerred for each line item.
    Please suggest how I can resolve this issue.
    Thanks & Best Regards,
    Navnath Bondarde

    Thanks for quick response,
    Actually I am using GET_AREA_TO_ITEM_MAP method in the /SAPSRM/BD_WF_RESP_RESOLDER BADI.
    I am not creating the Responsibility Area for the items for which Approver not needed.
    Please refer following code, please note AREA_ID field will be empty for the items for which approver not needed. For these items workflow is getting triggered with error "Strategy ZRR_AUDIT' did not determine any approver.
      LOOP AT lt_item_to_area_map REFERENCE INTO lr_item_to_area_map.
        AT NEW area_id.
        For each area id a new responsibility area is created, this instance can
        later be retrieved  in
        method GET_APPROVERS_BY_AREA_GUID to return the list of responsible
        agents
          IF not lr_item_to_area_map->area_id is initial.
            lo_area = /sapsrm/cl_wf_area=>/sapsrm/if_wf_area~create_instance(
              iv_area_type         = /sapsrm/if_wf_process_c=>GC_AREA_TYPE_ADHOC
              iv_leading_object_id = lr_item_to_area_map->area_id
            ls_area_to_item_map-area_guid = lo_area->get_guid( ).
          ELSE.
            ls_area_to_item_map-area_guid = /sapsrm/if_wf_process_c=>gc_nil_guid.
          ENDIF.
        ENDAT.
        IF NOT ls_area_to_item_map-area_guid EQ /sapsrm/if_wf_process_c=>gc_nil_guid.
            ls_area_to_item_map-item_guid = lr_item_to_area_map->item_guid.
            APPEND ls_area_to_item_map TO rt_item_to_area_map.
        ENDIF.
      ENDLOOP.
    Thanks & Best Regards,
    Navnath Bondarde

  • Approval Level in Process Controlled workflows

    Hi Sap Gurus,
    How can i find the number of approval levels in process controlled workflows for Shopping Cart, Purchase Order....
    Thanks in advance

    Hello,
    IMG: SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Business Workflow > Process-Controlled Workflow > Business Process Configuration > Define Process Levels
    For concerned object type, select "Process Schema Definition" directory.
    Then, select correct process level schema to display "Process Level Configuration" directory: here are the process levels defined.
    Regards.
    Laurent.

  • SRM 7.0 Process Controlled Workflow-Level Type in Process level config

    Hello Experts,
    In SRM 7.0 for Process controlled workflow,for Level Type in Process Level configuration we have 3 different options
    1) Approval with Completion
    2) Approval
    3) Automatic(System User)
    Can you plz explain what is the difference between these 3 diffrent potion for Level Type in Process Level configuration.
    Your help will be highly appreciated,
    Thanks & Regards,
    RKS

    1. Approval with completion : This allows approvers to make any changes to document while approving. Generally you define this type for buyer in SC approval.
    2. Approval :  above minus change
    3. Automatic (system approval) : If no process level is determined, you need to set up a process level with automatic approval to approve the document by system.

  • SRM Process Controlled Workflow Issue - Process Level Agent not shown up

    System: SRM 7.0 (SP09)
    Implemented BADI to determine agents at process level - BADI Definition /SAPSRM/BD_WF_PROCESS_CONFIG
    Configuration: 1 Process Level (Seq 100, Lvl Type A, Resp. Resolver Name: Z_XXXXXX, Task ID 40007954, Decision Type 1)
    When creating the Shopping cart based on the cart value, the agents are determined correctly and process level GUID is created with Agent ID associated.
    something like
    GUID1 - APPR1
    GUID2 - APPR2
    GUID3 - APPR3
    GUID4 - APPR4
    Before "Order" when we do preview of Approval Process, it shows all the approvers in the sequence as expected. As soon as the cart is ordered, the first process level GUID lost its agent thus throwing error saying "Strategy Z_XXXXXX did not determine any approver"
    But when we look at the table /SAPSRM/D_WF_016, the corresponding entires of GUID1 has the agent ID as APPR1.
    The task 40007954 has been GENERALIZED so as the master workflow template 40000014. The same is working in our Dev system but throwing error "Strategy Z_XXXXXX did not determine any approver" in QA system.
    Any input is highly appreciated.

    See the thing is the agents were picked up & saved in the table /SAPSRM/D_WF_016 in the process level BADI. The first process level guid doesn't get processed in the RESP_RESOLVER BADI. I put the break point and can see the agents were picked up & saved in Process Level BADI.
    The funny part is it is working just fine in the Dev system. Secondly, when we do BOB for the same user (requester), it picks up the first level approver without the error.
    Meaning, If USER1 shops for himself (Creator & Requester are same), we encounter this error. If USER2 shops for USER1, then the corresponding approvers were picked up correctly without the error. USER1 & USER2 have same authorizations in SU01D (USER2 is copy of USER1, so no authorization issues). Approvers determination is based on the requester.
    Somewhere, we miss the settings. Don't know where though.

  • Dynamic process levels in BRF

    Hi Experts,
    I have configured a BRF workflow in SRM 7.0 which is suppose to have theree step approvals. I am able to achieve the two levels among the total three by creating custom events and expressions in BRF from the help of many experts provided in SDN. I have tested the shopping cart and succesfully found the two levels are working fine. In the third level the approval process is different it is not static it is dynamic. After the second level approval is completed the cost centre managert approval is required. I need to get cost centre manager from a ztable and compare the shopping cart price with the approval limit of the cost centre manager. If the shopping cart value is more than the approval limit of cost centre manager,  then the cost centre manager will aprove and also the shopping cart should go to his manager for approval.
    From lot of reasearch and exploring SDN now I am able to understand the process workflow but I am not able to understand the dynamic determination of process levels. Can someone help me on this.
    Thanks and REgards,
    Prashanth..

    use BADI /SAPSRM/BD_WF_RESP_RESOLVER to set your agents..

  • Enforcing attachment to process level not working

    I am trying to attach attachments (doc, pdf etc) at process level from task form but it goes to task level some how. I was able to verify that by looking into WFATTACHMENT table.
    UI side
    <af:selectOneRadio value="#{bindings.attachmentScope.inputValue}"
    label="#{resources.UPLOAD_TO_PROCESS}"
    id="uploadToProcAttach"
    I am making sure attachmentscope is going as 'BPM' not 'TASK' by binding to my own managed bean and set scope to process level.
    This is working because if I do URL instead of desktop file then URL attaches to process level. I verified this too by looking into WFATTACHMENT table.
    So not sure why
    addAttachmentBean.uploadFile no matter what attaches pdf, doc etc attachment to task level and also notices that WFATTACHMENT table has row for this record with taskID as something like f76a60ad-53f2-40dc-ac75-af53d64854e4 instead of taskID as process instance Id like 4000001.
    I am using Oracle BPM 11.1.1.6.0 PS5.
    Attaching URL to process level from a task is working but from the same task attaching real doucment to process level goes to task level.
    I am not using UCM.
    I really appreciate any inside.

    Finally, I was able to solve this issue.
    Project was migrated from Oracle BPM PS4 to Oracle BPM PS5 so some how human tasks created in earlier version were not working in new version for new functionalities (adding attachment to process level). When I deleted these human tasks and recreated in newer version. Everything started working great.
    I am not sure it is Oracle bug issue or what....

  • Where MD is used at process level

    Hi All,
    please could you tell me if in SAP R/3 or somewhere else a sort of ?where used? function for MD is available at process level?
    For instance, I have to manage the material master data, so, I?d like to understand where the material master data are used in all SAP modules..(e.g. material master data in Purchase Order MM module, then in FI module, then in?.). I don?t need this info at tables level, but at process level.
    Thank you in advance for your help.
    Best regards,
    DeA

    Hello DeA,
    I feel answer to your concern can be addressed by adding little on MDM.
    To make it clear i''d liek to share something about data and MDM.Data is the food for any system to run and master data is the heart of that system.Master data is that crucial information on which all your business process run.If your master data is not in proper shape the analytics run on them will be incorrect as a result the business decisions taken will be wrong and this will result in a complete failure of your business.
    There are many ERP systems existing today but very few provide an effective,systematic and fool proof method to preserve a single version of truth odf your master data.
    SAP MDM address this problem and so is here today to bring all your master data under one roof.
    So,in general,benefits of keeping Master data in 1 place is
    Conformance/Auditing
    Single view of customer
    Global data synchronization efforts
    Accurate reporting
    Consolidation after mergers and acquisitions
    Reduced effort to consolidate information
    Reduced cleansing/mapping of information
    Increased efficiency
    Reduced costs overall.
    with this much details you can refer to the URLs which have detailed infomation about every aspects of MDM:
    For detailed overview
    http://help.sap.com/saphelp_mdm550/helpdata/en/47/1c5928cd0412b8e10000000a1553f7/content.htm
    To know about Key capabilities:
    http://help.sap.com/saphelp_mdm550/helpdata/en/46/b8065a4df01517e10000000a114a6b/content.htm
    Read reference Guide of various modules of MDM:
    http://help.sap.com/saphelp_mdm550/helpdata/en/88/9f9c427055c66ae10000000a155106/content.htm
    I hope it will suffice to hint you.
    BR,
    Krutarth

  • U0093where MD is usedu0094 at process level

    Hi All,
    please could you tell me if in SAP R/3 or somewhere else a sort of “where used” function for MD is available at process level?
    For instance, I have to manage the material master data, so, I’d like to understand where the material master data are used in all SAP modules..(e.g. material master data in Purchase Order MM module, then in FI module, then in….). I don’t need this info at tables level, but at process level.
    Thank you in advance for your help.
    Best regards,
    DeA

    Hello DeA,
    I feel answer to your concern can be addressed by adding little on MDM.
    To make it clear i''d liek to share something about data and MDM.Data is the food for any system to run and master data is the heart of that system.Master data is that crucial information on which all your business process run.If your master data is not in proper shape the analytics run on them will be incorrect as a result the business decisions taken will be wrong and this will result in a complete failure of your business.
    There are many ERP systems existing today but very few provide an effective,systematic and fool proof method to preserve a single version of truth odf your master data.
    SAP MDM address this problem and so is here today to bring all your master data under one roof.
    So,in general,benefits of keeping Master data in 1 place is
    Conformance/Auditing
    Single view of customer
    Global data synchronization efforts
    Accurate reporting
    Consolidation after mergers and acquisitions
    Reduced effort to consolidate information
    Reduced cleansing/mapping of information
    Increased efficiency
    Reduced costs overall.
    with this much details you can refer to the URLs which have detailed infomation about every aspects of MDM:
    For detailed overview
    http://help.sap.com/saphelp_mdm550/helpdata/en/47/1c5928cd0412b8e10000000a1553f7/content.htm
    To know about Key capabilities:
    http://help.sap.com/saphelp_mdm550/helpdata/en/46/b8065a4df01517e10000000a114a6b/content.htm
    Read reference Guide of various modules of MDM:
    http://help.sap.com/saphelp_mdm550/helpdata/en/88/9f9c427055c66ae10000000a155106/content.htm
    I hope it will suffice to hint you.
    BR,
    Krutarth

  • Order management header level updation process for iStore order.

    Hi all,
    I worked on OM header level updation process for iStore order.only card holder name,expiration date updated using OE_ORDER_PUB.process_order but Credit card number,card type not updated for istore order in OM.so please help to me.
    CODE:
    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 => 1013438
    ,resp_id => 21623
    ,resp_appl_id => 660);
    mo_global.set_policy_context('S',204);
    -- Header Record --
    v_header_rec := oe_order_pub.g_miss_header_rec;
    v_header_rec.request_date := SYSDATE;
    v_header_rec.header_id := 251413;
    v_header_rec.credit_card_holder_name :='esakki';
    v_header_rec.credit_card_number := 'XXXXXXXXXXXX3510';
    v_header_rec.credit_card_expiration_date := to_date('01-JAN-2014','dd-mon-yyyy');
    v_header_rec.credit_card_code := 'MASTERCARD';
    v_header_rec.payment_type_code := 'CREDIT_CARD';
    v_header_rec.sold_to_org_id := 131747;
    v_header_rec.sold_from_org_id := 204;
    v_header_rec.ordered_date := SYSDATE;
    v_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
    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;
    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_org_id =>204
    ,p_operating_unit => NULL
    p_api_version_number => v_api_version_number
    ,p_init_msg_list => fnd_api.g_false
    ,p_return_values => fnd_api.g_false
    ,p_action_commit => fnd_api.g_false
    , 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;
    OUTPUT:
    Starting of script
    Starting of API
    Completion of API
    Order Header Updation Success : 251413
    Thanks,
    saran

    Forgot to mention :Soruce is Oracle EBS

  • Process Level Config in SRM 7.0 workflow

    Hi,
    I am implementing Process-controlled workflow in SRM 7.0 for the first time. We have identified some 5 levels of approver depending on the total shopping Cart value.
    1. >= $XXX; Product Category manager (based on UNSPSC code at item level)
    2. >= $x,xxx: Line manager
    3. >= $xx,xxx; Cost Center manager (based on cost center)
    and so on ..
    As per my understanding,
    First we need to create following Filter values for RESP_RESOLVER_NAME:
    ZSC_PRODUCTCAT_MANAGER
    RR_MANAGER
    ZSC_COSTCTR_MANAGER
    Then, based on these filter the following BAdi implementations will be called to get responsible approver list:
    ZSRE_BD_SC_PRO_MGR
    /SAPSRM/BD_WF_SC_RR_MANAGER
    ZSRE_BD_SC_CCR_MGR
    and the process level may have the following entries for BUS2121, Zevalution ID & Zprocess schema:
    Level #     Level Type     Evaluation ID     Responsibility Resolver Name                     Task ID     Decision Type
    100     Approval     ZEV_SC_001     ZSC_PRODUCTCAT_MANAGER     40007953     4
    150     Approval     ZEV_SC_002     RR_MANAGER     40007953     4
    200     Approval     ZEV_SC_003     ZSC_COSTCTR_MANAGER     40007953     4
    999 automatic
    Create the custom events & expressions:
    Evaluation ID                          Expression                          SAP formula builder
    ZEV_SC_001     ZE_SC_LEVEL_001     Total Shopping Cart value exceeds $ XXX
    ZEV_SC_002     ZE_SC_LEVEL_002     Total Shopping Cart value exceeds $ X,XXX
    ZEV_SC_003     ZE_SC_LEVEL_003     Total Shopping Cart value exceeds $ XX,XXX
    Question:
    Am I going in the correct way..or
    Can we do it using SAP standard events, expressions or spending limit approver badi implementation with only one process level for RR_SPENDING_LIMIT_APPROVER, using some custom tables for Product Cat manger/Cost Center manager list.
    Regards,
    Bijaya

    Hi all,
    I have a client requirement like below,
    A PO is in ordered status and if some one chages the PO value and if the changed value is more than 1000 Euros then the PO has to go through the approval process else it should go for an automatic approval.
    Can any of you please guide me how to acheive this functionality.
    Just for reference I am giving some details :
    I have created an Eval Id (ZEVAL, this is the event), and this event linked to a expression(ZDET_SCHEMA: Function module for determining the schema), and I have 2 process levels for the schema
    1 Level will have folowing details:
    Level # Level Type Evaluation ID Responsibility Resolver Name Task ID Decision Type
    100        Approval       ZE_PO_EXE                      ZE_PO_APP 40007953 4
    and the evalutio id ZE_PO_EXE  points to an expression(ZDET_PO_CALC Function module) ZDET_PO_CALC Function module will have the actual manipulation for calculating the price change and passes a result 'X' or space , if 'X' level 100 will get excecuted else level 2 will be executed.
    2 Level will have an automatic approval
    But some how this is not working as per the requirement.
    Any info will be highly apreciated.
    Thanks in advance
    Krishna

Maybe you are looking for

  • Mac Mini login loop after update

    Hello, while installing an update on my 09 mac mini, OSX 10.6.8 an error occurred and now I cannot login or start up! Help please.

  • Bug in Oracle Outlook Connector 10,1,1,0,2 (1431) and Oracle Forms 6i Rel 2

    Hello, I installed Oracle Outlook Connector. 10,1,1,0,2 (1431) We are using Oracle Collaboration Suite on a 10g database. On the Desktop. I am using. a) MS/OFFICE Outlook 2003. b) Oracle Forms and Reports 6i Release 2. c) Oracle instance client 10.1

  • Why TRIP cann't be put on HOLD if trip has "trip segment" only using PR05

    Why we canu2019t put a trip (PR05) u201Con holdu201D if the trip has u201Ctrip segment onlyu201D tab only. Itu2019s possible to do this using PRAP but not through approval screen i.e. ACTEXT_APPR_LITEu201D. Thanks Mohanty

  • Preview window not displaying video

    As of yesterday when I was in the middle of a project, the preview window simply stopped displaying all video being played off the timeline. It previews the videos in the top left window just fine though. I restarted the program and it still did not

  • Incomplete Purchase Orders

    Hi All I have a requirement to create a report to list all the incomplete Purcahse orders.is there any standard extractor that captures incomplete pos.I checked the 2LIS_02_ITM , HDR extractor and couldnt find the extractor. Should i go for a generic