Debug method for workflow OEOL (OM: Order Line)

Hi,
The workflow OEOL encouter an unknow exception. We want to enable the debug for the workflow, anybody know how to do it , please share.
Best Regards
Terrence

In the workflow there are different activities in OEOL
Some of them are synchonized activities & others are notified/Deffered activities.
Which type of activity that you want to debug ?
if the activity that you are trying to debug is deffered/notified then try as below :
1) Hold the workflow background process & any other programs that are designed to push the line from Notified activity ie Shcedule orders program will push the line in schedule eligible activity.
2) Enabel OM debug level at user level and try to progress the line if it is in notified activity or submit workflow background process program with the current user.
If this is test environment & you know the specific plsql part you want to debug, put OM debug initialization statement in plsql so that you would be able to get the deubg info.
Hope this helps.

Similar Messages

  • Fetching freight charges for separately shipped sales order lines

    Hi,
    I am facing a problem for fetching the freight charges with respect to an invoice , from the Table : OE_PRICE_ADJUSTMENTS for the case of a sales order which has two lines and the first line is shipped once and the second line is shipped later.
    In my case two invoices are created for the same sales order as the two lines are shipped seperately and not at once.
    Now while fetching the freight charges from the table oe_price_adjustments, we pass only the header id and charge type for fetching the freight charges (invoiced_amount field in oe_price_adjustments). As the header id is same for both the invoices , i am getting a repetition of freight charges for both the invoices .
    Thanks,
    Govind

    Hi,
    I am facing a problem for fetching the freight charges with respect to an invoice , from the Table : OE_PRICE_ADJUSTMENTS for the case of a sales order which has two lines and the first line is shipped once and the second line is shipped later.
    In my case two invoices are created for the same sales order as the two lines are shipped seperately and not at once.
    Now while fetching the freight charges from the table oe_price_adjustments, we pass only the header id and charge type for fetching the freight charges (invoiced_amount field in oe_price_adjustments). As the header id is same for both the invoices , i am getting a repetition of freight charges for both the invoices .
    Thanks,
    Govind

  • 4.6C method for creating a Maintenance Order

    Hi,
    We have a requirement to create and update maintenance orders on a 4.6C system.  The scenario is that we need to programmatically mimic what users can do in IW31 and IW32.  The BAPI_ALM_ORDER_MAINTAIN function module is not available on this system (SAP delivered that BAPI in a later version.)  We've looked at IBIP but it does not offer structures for order data.  Using "call transaction" and BDC data structures directly seems to be an option but difficult to implement and prone to error.
    What other options exist for creating/updating maintenance orders on a 4.6C system?  Thanks in advance for any information or examples you can provide.
    -Jason

    Ok.  I've actually figured out how this works.
    I'll post what I've found out in case it helps anyone else.
    The parameters seem to be: ( with my example data in brackets)
    I_AUFNR – order number
    I_VAPLZ – work center ( MAINT.)
    I_VAWRK – plant ( 0001)
    I_PLNTY – Task list type = ( A )
    I_PLNNR – Task list group ( 55)
    I_PLNAL – Task list group counter ( 1)
    The problem I have is that this bapi is not released, and it is not remote enabled. 
    Are there any released BAPIs that would do the same thing?
    Or would I need to write my own remote-enabled BAPI that calls this one, and then try to call my BAPI ( using .NET Connector ) ?
    Thanks,
    Derek

  • Working on LSMW using IDoc method for processing Open Sales Orders

    We are currently in middle of creation of a new instance of production for a different Business SBU. We are looking to utilise the LSMW tool using IDocs for uploading / transferring the open orders to the new box. If some one has worked on LSMW using IDocs, please get in touch and if you could share any documents on the process of utilising the LSMW tool using Idocs for any kind of conversions, it would be great. The following is a sample case.
    1. Each order will have multiple segments with different qualifiers under various segments.
    2. Multiple line items would be available under each order.
    Issues we are currently looking to solve :
    1. How do you manage to loop through the qualifiers during processing for the same segment.
    2. How do you prepare the tool to recognise the multiple line items of the same order.
    3. What kind of strategy needs to be used to create the input data file(s). Like, splitting the header and detail level information ?
    Note  : The volume of data we are looking at is somewhere around 40-60 thousand orders worldwide.
    Thanks in Advance.

    hI vikram check this link
    and reward points if helpful
    http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
    http://www.jt77.com/system-dynamics/model-01395.html

  • LSMW method for transaction IW31 (Service Order)

    Hi all,
    I am looking for a way to create multiple Service Orders using LSMW, but no Recording.
    Transaction would be IW31.
    Can you give some tips please?
    Thank you! Walter.

    Hi Brenda, thanks for the confirmation you found in the notes!
    Can you tell me how to use the BAPI for mass-upload / migration? I haven't done that before, but it looks to me that we won't use LMSW for that, but tr.code SE37, right?
    I found out that the BAPI you mention belongs to Business Object BUS2088A, wich cannot be selected in the first LSMW-step.
    So the idea is then to write an Abap-program which reads my input-file (which contains all the data to create the service-orders) and then call the BAPI several times to create the Service-Orders one by one. Am I right, or is there a standard way to use this BAPI for mass-upload?
    Thanx again, Walter.

  • Update or modify  statment is not working in the method for workflow

    hi friends,
    i am facing with a problem.
    one of my requiremetn is i need to update the ztable with update or modify statement in the method.
    when i run  by manually it is wokring fine(updating the ztable ) and  binding every thing is fine. however the table is not updateing.
    can you please let me know what i am missing.
    Thanks in advance.
    ~ysr

    Hello,
    I understand you have to close some questions when you reach more than 10; if that wasn't the case then hardly anybody would ever close a thread.
    What I'm saying is that you should give a more useful follow-up than "self". If your question was answered then say what the correct answer was. If it wasn't answered then say that.
    The purpose here is to share knowledge, not just solve your problems.
    regards
    Rick Bakker
    hanabi technology

  • Place back ordered lines on automatic hold

    Hi Folks,
    Is there a standard method to automatically place back ordered lines on hold? We are currnetly implementing EBS OM 12.1.3
    Looking at the workflow activities available in the holds form for OM Order Line, there is no back order activity.
    Has anyone come across this problem and come up with a solution?
    Thanks in anticipiation

    I am not sure what this question relates to - it might be an
    Oracle Order Management question.
    Hi All,
    I couldnt find much information about this report Lines On
    credit hold.I was having question ,is it possible to place
    cerdit hold on lines? Because as per my knowlage credit hold is
    order level hold not line level and looks like this report picks
    up lines on credit hold ,hows is possible.I was confuse.If any
    one has idea about it,pls let me know.
    regads

  • ABAP OOP method in Workflow task 6.20

    Hello all!
    In the following blog /people/jocelyn.dart/blog/2006/07/25/using-abap-oo-methods-in-workflow-tasks it is mentionned that to enable OOP methods for workflow tasks on 6.20 one needs to run report SWF_CATID.
    I'm currently on a customer system 6.20 ABAP SP50 and this report simply does not exist. Is this report appearing in a later support pack or is this not available until 6.40 as I belived....
    Any advise on how to enable this on an above system is highly appriciated!
    Regards
    Martin Jonsson

    Hi,
    Check this Report - RSWF_CATID.
    Regards,
    Surjith

  • Sales Order Line item characteristics (classes)

    I am not 100% sure what I am talking about but I need to get characteristics for materials on sales orders (line items).  I am told that these characteristics are stored in classes which get assigned to materials via the material master.  I am also told that these characteristics (classes) are created/maintained in transaction CT04.
    My ultimate goal is to create an iDoc similar to LOIPRO01 only include the characteristics for each material.  I imagine that I will be getting the characteristics from a BAPI or FM but I do not know which one.  Also, is there an existing iDoc that contains the fields of LOIPRO01 and also the characteristics?  Right now my plan is to copy LOIPRO01 into a Z iDoc and add the characteristics.
    I did search and I found that people were suggesting BAPI_OBJCL_GETDETAIL and FM CLAF_CLASSIFICATION_OF_OBJECTS.  However, I ran them using the test functionality and they didn't seem to return what I need.
    Regards,
    Davis

    Max,
    Thanks but those give me the details of the characteristics but I need the characteristics of the line items on an order.  I am looking for the way to link up the line item to the characteristics. 
    Davis

  • Error in cancelling sales order line using process order API

    Hi,
    I have created a sales order which is in booked status. I want to cancel the order line . when I am running the concurrent request I am getting the following error message.I am using the process order API to perform this operation.
    API Error Message You are not allowed to update Inventory Item because:
    line has been booked
    API Error Message You are not allowed to update Line Type because:
    Line is Booked
    Can anyone help.
    thanks
    Ashwini

    Hi,
    What is the application release?
    What concurrent program you are running? Is it a custom or seeded one? And, what is the API name?
    Please see if these docs are applicable.
    Unable To Manual Mass Update Items For Multiple Booked Sales Order Lines [ID 887905.1]
    Cannot Update Ordered Item To Related Item On Booked Sales Order Line [ID 298796.1]
    Thanks,
    Hussein

  • Sales Order Line Number printing as it appears in UI

    Hi,
    I am trying to get the Line number in sales orders as it appears in the UI,but when i fetch the data from the underlying table i am getting a different value.Can any one help me out how to get the value as is from UI at line level.
    For Eg:
    The Sales order Line number is 1.1 in the UI,then the corresponding value when i fetch from the table is being displayed as 1.
    Thanks,
    Praveen

    select line_number||(decode(shipment_number,null,'','.'||shipment_number))
    ||(decode(option_number,null,'','.'||option_number))||
    (decode(component_number,null,'','.'||component_number))||
    (decode(service_number,null,'','.'||service_number)) LineNumber from apps.oe_order_lines_all where header_id= &head;
    Edited by: user9095588 on Feb 11, 2010 12:35 PM

  • How to cancel a Move Order line using API

    Hi
    I have a requirement, where I have to cancel Move order lines.
    At times, multiple Move order lines are getting created for the same Sales order line.
    Even after the Sales Order line is shipped and closed, the move order line is still open and it also has a corresponding pending transaction in mtl_material_transactions_temp table.
    I came across INV_MOVE_ORDER_PUB.process move order line API.
    how do I use it to cancel the move order line. Any sample codes would be highly welcome.
    Thanks

    Finally, found an alternate solution.
    used the following code.
    ===================================
    SET serveroutput on size 1000000
    DECLARE
    l_return_status VARCHAR2(100);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    l_msg_index NUMBER;
    l_user_id NUMBER;
    l_resp_id NUMBER;
    l_appl_id NUMBER;
    l_org_id NUMBER := &org_id;
    l_move_order_line_id NUMBER := &mo_line_id ;
    BEGIN
    SELECT user_id
    INTO l_user_id
    FROM fnd_user
    WHERE user_name = 'PRAWILNSON';
    SELECT responsibility_id
    ,application_id
    INTO l_resp_id
    ,l_appl_id
    FROM fnd_responsibility_vl
    WHERE responsibility_name = 'Order Management Super User';
    FND_GLOBAL.apps_initialize (l_user_id, l_resp_id, l_appl_id);
    MO_GLOBAL.set_policy_context ('S', l_org_id);
    MO_GLOBAL.init;
    DBMS_OUTPUT.put_line ('Calling INV_MO_BACKORDER_PVT to Backorder MO');
    DBMS_OUTPUT.put_line ('===============================');
    inv_mo_backorder_pvt.backorder (p_line_id => l_move_order_line_id
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data);
    DBMS_OUTPUT.put_line ('Return Status is : '|| l_return_status);
    -- Check Return Status
    IF l_return_status = fnd_api.g_ret_sts_success THEN
    DBMS_OUTPUT.put_line ('Successfully BackOrdered the Move Order Line');
    COMMIT;
    ELSE
    DBMS_OUTPUT.put_line ('Could not able to Back Order Line Due to Following Reasons' );
    ROLLBACK;
    FOR j IN 1 .. l_msg_count LOOP
    FND_MSG_PUB.get(p_msg_index => j
    ,p_encoded => fnd_api.g_false
    ,p_data => l_msg_data
    ,p_msg_index_out => l_msg_index);
    DBMS_OUTPUT.put_line ('Error Message is : '|| l_msg_data);
    END LOOP;
    END IF;
    END;
    /

  • Is there a way to enter a title for a menu on two lines in a horizontal popup?

    My popup menu is too long because there sdoes not seem to be a way to adjust individual cell widths.  All the  menus conform to the largest-widest text.
    Is there a way to line break into two lines or adjust some of the menu widths?

    You can set widths under the Advanced of the pop-up menu editor, but not for individual cells. There is currently no method for wrapping text to two lines.

  • When running the workflow background process for drop shipment order, sale order line's status gets automtically closed instead of awaiting shipping

    Hello friends,
    I am created a drop shipment order with all the setups done . now i have booked the sale order as source type external. but when i run the workflow background process , after completing the report when i check the sale order line status it changes to "closed" instead of "awaiting shipping".
    Plz guide me if i have missed something in the setups.
    thanks,
    Sachin

    Hi Sachin,
    pls check the below notes from MOS
    Drop Ship Sales Order Cycle In Order Management (Doc ID 749139.1)
    Vision Demo - How To Create A Drop Ship Sales Order/Purchase Order (Doc ID 1060343.1)
    Thanks
    -Arif.

  • User Exit for Purchase Order Line Items.

    I have been trying to search for a User Exit for Purchase Order Line Items and have been unable to do find anything.  I need to overwrite the Net Price and Pricing Condition on a certain type of material based upon the Pricing Condition for that Line Item which is on the Sales Document.  Any direction you can point me into would be greatly appreciated.  Thanks.

    Thanks for pointing me in the right direction.  I was able to create my first BADI using the PROCESS_ITEM method.  The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM

Maybe you are looking for

  • How do i get the music from my ipad to my iphone

    My sister has an Ipad and I want to sync my phone with it so I can get the music we downloaded how do I do this?

  • How do I stop my iPhone 4 from duplicating recurring events?

    Recently, my iPhone 4 started duplicating all my recurring calendar events (though they only show up in my Outlook as a single event on a particular day, they show up twice on a particular day on my iPhone calendar . . . one has a purple dot next to

  • Itunes got erased/how to I get my songs back

    I don't know what happened, but all my songs in Itunes got erased for some reason. I had over 2800 songs in it. I still have all my songs on my Ipod, how do I get them back on my Itunes? I seen a topic on this on this site, but that was about transfe

  • Delivery details aren't being created

    Hi folks. For some lines from some orders, the records in the WSH_DELIVERY_DETAILS aren't being created. There isn't any error in workflow. What can be? Is there any workaround? Can I create the record with a script or process or api? Tks

  • 10.4.11 Search problem

    I have a MacBook Pro 2.33 Ghz Core 2 Duo. Having just upgraded to 10.4.11 the "Search" function no longer works properly. It fails to find files that I know are there when searching for files where name contains "xyz". Moreover, if I open file "xyz",