Application of Hold on Sales Order

Hi All
We are looking to define HOLD which should apply on Sales Order based on a particular Payment Term i.e. 1% Net30. Is there any standard functionality which can be used to meet the condition.
Orders should automatically go on Shipping HOLD if the Payment Term is 1%Net30; there should not be any manual intervention.
We are on 11.5.10.2.
Please let me know your inputs.
Thanks

Hello,
You can create procedure XX_HOLD as (http://www.shareoracleapps.com/2010/06/oeholdspubapplyholds-apply-hold-script.html).
Now you can make personalization OM_POST_BOOK_EVENT with your condition and run XX_HOLD(header_id).
Regards,
Luko

Similar Messages

  • Apply hold on sales order lines programmatically

    Hi all,
      I am new to SCM and we have a requirement where Holds should be applied on Sales Order Lines based on some complex criteria that can not be met by the declarative "Apply Hold Criteria" option from Sales Orders window. So I want to know where can this custom code be hooked to put the Holds on the Lines when the criteria is met. Which of the following options are possible ?
    1. Custom Extension (or Hook) of Order Lines.
    2. Workflow Customisation
    If none of the above are possible, I guess then the only option will be scheduling a Custom Concurrent Program to apply holds.
    Please advise.
    Thanks,
    Sharath

    You should be able to add this as a workflow customization, but you'd need to call a procedure with PRAGMA AUTONOMOUS TRANSATION since commits in the workflow code  itself could cause problems.

  • ShortDump in PCUI Sales Order Application

    Hi,
       Installed BP for CRM on ep 6.0 sp12 , crm 4.0 sp9 and assigned a Interaction center manager role to an user. and
    1. went to sales order application
    2. selected a sales order
    3. in the detail area, selected payment form tab
    4. F4 help on card number gives me "PAGE CANNOT BE DISPLAYED ERROR"
    5. checked the trace in st22 it raised an exception
    " Exception condition "NO_DDIC_TYPE" raised. "
           and here is a snap of trace showing where the error occured
    The termination occurred in the ABAP program "CL_ABAP_STRUCTDESCR===========C
    in "GET_DDIC_FIELD_LIST".
    The main program was "SAPMHTTP ".
    The termination occurred in line 28 of the source code of the (Include)
    program "CL_ABAP_STRUCTDESCR===========CM005"
    of the source code of program "CL_ABAP_STRUCTDESCR===========CM005" (when
    calling the editor 280).
    Any clues will be appreciated.
    Thank you

    Tiest,
      here is the whole dump from st22 transaction. Could you please look into this as I am stuck here and couldnt find SAP Note too...
    Runtime Errors     RAISE_EXCEPTION
           Occurred on    
    Exception condition "NO_DDIC_TYPE" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    is especially useful if you want to keep a particular message.
    Error analysis
    A RAISE statement in the program "CL_ABAP_STRUCTDESCR===========CP" raised the
    exception
    condition "NO_DDIC_TYPE".
    Since the exception was not intercepted by a superior program
    in the hierarchy, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "RAISE_EXCEPTION" C
    "CL_ABAP_STRUCTDESCR===========CP" or "CL_ABAP_STRUCTDESCR===========CM005"
    "GET_DDIC_FIELD_LIST"
    or
    "CL_ABAP_STRUCTDESCR===========CP" "NO_DDIC_TYPE"
    or
    "SAPMHTTP " "NO_DDIC_TYPE"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    System environment
    SAP Release.............. "620"
    SAP kernel............... "640"
    Created on............... " xyz "
    Created in............... " xyz "
    Database version......... " xyz "
    Patch level.............. " xyz "
    Patch text............... " "
    Supported environment....
    Database................. "
    10.1.0.."
    SAP database version..... "640"
    Operating system......... " xyz "
    User, transaction...
    Client................ 900
    User.................. "xyz"
    Language key....... ..."E"
    Transaction............" "
    Program............... "CL_ABAP_STRUCTDESCR===========CP"
    Screen.............. .."SAPMHTTP 0900"
    Row in Screen..........2
    Information on the caller of the "HTTP" connection:
    Plug-in type..........."HTTP"
    Caller IP.............." xyz "
    Caller Port............ xyz
    Universal Resource ID.."/sap/bc/bsp/sap/crm_bsp_frame/f4_help.do"
    Information on where terminated
    The termination occurred in the ABAP program "CL_ABAP_STRUCTDESCR===========CP"
    in "GET_DDIC_FIELD_LIST".
    The main program was "SAPMHTTP ".
    The termination occurred in line 28 of the source code of the (Include)
    program "CL_ABAP_STRUCTDESCR===========CM005"
    of the source code of program "CL_ABAP_STRUCTDESCR===========CM005" (when
    calling the editor 280).
    Source code extract
    000010   method get_ddic_field_list .
    000020
    000030     data:
    000040       rel_name type ddobjname,
    000050       cache_wa type ddfields_cache_line_type.
    000060
    000070     field-symbols:
    000080       <cache_line> type ddfields_cache_line_type.
    000090
    000100     * first look in cache
    000110     read table me->ddfields_cache assigning <cache_line> with table key la
    000120     if sy-subrc = 0.
    000130       if <cache_line>-not_found = abap_true.
    000140         raise not_found.
    000150       else.
    000160         p_field_list = <cache_line>-value->*.
    000170         if p_including_substructres = abap_false.
    000180     *       only first level, remove all nested components
    000190           delete p_field_list where noauthch = 'X'.
    000200         endif.
    000210         return.
    000220       endif.
    000230     endif.
    000240
    000250     * check if structure is dictionary structure
    000260     rel_name = me->get_relative_name( ).
    000270     if me->is_ddic_type( ) = abap_false or rel_name is initial.
         >       raise no_ddic_type.
    00029     0     endif.
    000300
    000310     * call DDIC interface
    000320     call function 'DDIF_FIELDINFO_GET'
    000330       exporting
    000340         tabname              = rel_name
    000350     *     FIELDNAME            = ' '
    000360         langu                = p_langu
    000370     *     LFIELDNAME           = ' '
    000380         all_types            = 'X'
    000390     *     GROUP_NAMES          = ' '
    000400     *     UCLEN                =
    000410     *   IMPORTING
    000420     *     X030L_WA             =
    000430     *     DDOBJTYPE            =
    000440     *     DFIES_WA             =
    000450     *     LINES_DESCR          =
    000460       tables
    000470         dfies_tab            = p_field_list
    THank you

  • Sales Order Line Hold Release from API

    Hi Expecrts,
    I need one help, by using pl/sql program i want to hold release sales order line, I can see the oe_hold_pub api. but it contain three release_hold procedures. Which one i can use? what parameter i need to pass for line level only. line level release_hold should not impact to header level holds.
    if possible, please can you provide the api and its parameters.
    Thanks
    reddy

    Put an audit trail on the ordered_quantity field and use oe_order_lines_all_ac1 view.
    It will give you what you need.
    Hope this helps,
    Sandeep Gandhi

  • Report open sales orders

    hi ,
    developed a report(alv list) to search application database for open sales orders. the inputs are sales organization, sold to party, material number,customer purchase order number,sales order craetion date.

    Hi,
    sales organization, sold to party, material number,customer purchase order number,sales order craetion date.
    to get the open sales order, that is the DElivery for sales order is not created.
    u can check the status of sales order in the tables VBUK /VBUP.
    In VBUK , check one filed(iam not sure at this movement) , if the field value is C, then that particular order is closed, if not C(i.e A (no delivery)or B(some part of items are deliverd) ) . From this u can display Open Sales Orders.
    Revert Back if any issues,
    Reward with points if helpful.
    Regards,
    Naveen

  • Sales order and Delivery difference

    I Am trying to write a query to produce totals of items ordered by customers compared to deliveries made. However there may be 3 deliveries made to one sales order and so my sales order total for an item is getting multiplied by 3 and showing a difference compared to the amount delivered where in fact the whole order has been delivered. How do I hold the sales order total per item once but then compare with the total delivery per item over multiple deliveries?

    Hi,
    Try this query for cost difference
    SELECT T0.ItemCode, T0.Dscription, Sum(T0.LineTotal) AS 'Order Value', ISNULL(Sum(T1.LineTotal),0) AS 'Delivered Value', Sum(T0.LineTotal) - ISNULL(Sum(T1.LineTotal),0) AS 'Lost Sales'
    FROM RDR1 T0 LEFT OUTER JOIN DLN1 t1 ON  T0.DocEntry = T1.BaseEntry AND T0.LineNum = T1.BaseLine and T1. BaseType = 17
    GROUP BY T0.ItemCode, T0.Dscription
    ORDER BY T0.ItemCode
    Replace my query with below query
    SELECT T1.[CardName]'CustName',T1.DocNum 'SOOrder',T1.[DocStatus]'SOStatus',T0.[Project]'JobNo', T0.ItemCode,T0.Quantity 'SOQty',T2.Quantity 'Delivered QTY',T0.OpenQty 'BalQty', T3.DocNum 'Delivery#',T3.[DocDueDate]'DelDate'
    From RDR1 T0 inner join ORDR T1 on T0.DocEntry=T1.DocEntry
       left join DLN1 T2 on T2.Basetype=17 and T2.BaseEntry=T0.DocEntry and T2.BaseLine=T0.LineNum
       left join ODLN T3 on T2.DocEntry=T3.DocEntry
    Thanks & Regards,
    Nagarajan

  • Rolling up item values in Sales Order

    Hi Folks
    We have a project where we have a bundle with components with prices.
    Question
    1)Looking for a solution where we would like to roll up all price components as statistically to the top of the bundle where it would sum up the prices and total the sales order and intercompany invoice.
    For example: Line item 1: Bundle         Net Value 7.08
                 Line item 2: Component 1    Net Value 7.11
                 Line item 3: Component 2    Net Value 23.55
    We are looking for a total net value = 37.74 at the header level Net Value but currently in SO header its only showing 7.08 
    Any suggestions on what might need to be setup on price condition or price procedure.
    Regards
    Waz

    Hi,
    Use sales order BOM,
    Item category group in material master - LUMF
    go to t-code VOV7 select u item, go to details
    maintain data under tab bill of material/configuration
    Config. Strategy    -  01
    Mat. Variant Action  - 1
    Structure scope     -  D
    Application          - SD01
    Now create SALES ORDER BoM
    T-code CS01
    Put material,plant ,application on initial screen & ENTER
    On next screen maintain sub components & save
    Now create sales order put mainiten, Bom will explode
    NOTE : Maintain pricess for main item & sub coponent in VK11
    Kapil

  • Creating Sales Order using Web Dynpro for java

    Hi SDN,
    I am new to Web Dynpro for java. I have developed an application for creating a sales order using adaptive RFC Model using BAPI. It's working fine when i create a single order. I wanna create SO with more than one line item. I have used the Table UI Element to do so. But i could not able to enter the 2nd item details. Please suggest me how to pass more than one line item from the Table UI element.
    Thanks in advance.
    Regards,
    Basha

    Hi Basha,
    Do you need to display the header items and detailed items?
    If the BAPI Contains Output values in R/3 side.
    I mean to say if BAPI  contains 4 line items.u can get thru wdjava the followinf way.
    1. Create webdynpro application.
    2.Import the model.
    3.Create Customcontroller and model binding .
    4. Write the execute method in controller.
      BAPI b = new BAPI();
      WdContext.node<BAPI>.bind(b);
       give inputs for BAPI
    b.setname(" ");
    b.setno("");
    wdContext.currentBAPI().modelObejet().execute();
    wdContext.node<output>.invalidate(); in try catch
    5. create view or when u give the dynpro application its
    in the add custom to view and drag BAPI custom to view .
    6.Crete UI for ur table thru insertTemplate table directly mapp the  output values.
    7. deploy and run
    U can get the out line items .
    Or any thing else post ur requirement.
    Thanks
    Lohi

  • Sales order Report in BI

    Hi Experts,
    Is it possible to create a report in BI which holds only Sales orders completed and invoice is not created.
    Can we do this.
    Regards,
    Sri
    Edited by: srikanth on Aug 12, 2009 1:40 PM
    Edited by: srikanth on Aug 12, 2009 1:44 PM

    Hi,
    Alternativly, if you don't need all the billing info then you can simply track the status of the order i.e. delivery status, billed status etc.
    This information sits in table VBUK and can be added to the 2lis_11 datasources in LBWE (if it's not available on the datasource already). You can add it by clicking on datasource maintenance button and in the dropdown select MCVBUK table)
    There you would see all the available fields and you can simply choose the "status field" that you need.
    VBUK - Status of Order Header Items
    VBUP - Status of Order Line Items
    Regards
    Nico
    Edited by: Nico on Aug 12, 2009 2:53 PM

  • To create BAPI Wrapper for Sales Order Creation

    Hi Experts,
    I'm working upon MI 7.1 to create mobile application for creation of sales order.
    I've to create Sales Order BAPI Wrapper (Getlist, Get Detail & Create) using Standard BAPI's (BAPI_SALESORDER_GETLIST & BAPI_SALESORDER_CREATEFROMDAT2).
    Kindly guide me for how to proceed with the above. Which all other BAPI's do I require except above?
    PS: I was trying to call standard BAPI's but while executing the BAPI Wrapper it asks about Customer No. & Sales Org. then only I'll get the output.
    my requirement is I should get list of all the sales order's existing in the Back-end, once I execute the BAPI Wrapper.
    Romi

    Hi,
    if it comes to bapis on the backend, there are not so many changes from MI7.0 to MI7.1 as in the UI for example. So you still need the backend adapters like GETLIST/GETDETAIL/CREATE as they where necessary in 7.0.
    If you need an example on how these should look like - do you have a full blown backend available? Have a look if you can find the following BADIS in SE37 in the backend: MAM30_050_GETLIST. If you can find this one, have a look how it is working. That one should help you to get an idea on how the replication is working and how the complete stuff works. The create should be straight forward development then.
    You furthermore can have a look into the URL mentioned aboveand as well in the complete MI7.0 dokumentation if you take it just to get a general idea on how the stuff works. But the URL mentioned above should be enough in a normal case.
    Regards,
    Oliver

  • To create BAPI Wrappers for Sales Order Creation

    Hi Experts,
    I'm working upon MI 7.1 to create mobile application for creation of sales order.
    I've to create Sales Order BAPI Wrapper (Getlist, Get Detail & Create) using Standard BAPI's (BAPI_SALESORDER_GETLIST & BAPI_SALESORDER_CREATEFROMDAT2).
    Kindly guide me for how to proceed with the above. Which all other BAPI's do I require except above?
    PS: I was trying to call standard BAPI's but while executing the BAPI Wrapper it asks about Customer No. & Sales Org. then only I'll get the output.
    my requirement is I should get list of all the sales order's existing in the Back-end, once I execute the BAPI Wrapper.
    Romi

    Hi,
    if it comes to bapis on the backend, there are not so many changes from MI7.0 to MI7.1 as in the UI for example. So you still need the backend adapters like GETLIST/GETDETAIL/CREATE as they where necessary in 7.0.
    If you need an example on how these should look like - do you have a full blown backend available? Have a look if you can find the following BADIS in SE37 in the backend: MAM30_050_GETLIST. If you can find this one, have a look how it is working. That one should help you to get an idea on how the replication is working and how the complete stuff works. The create should be straight forward development then.
    You furthermore can have a look into the URL mentioned aboveand as well in the complete MI7.0 dokumentation if you take it just to get a general idea on how the stuff works. But the URL mentioned above should be enough in a normal case.
    Regards,
    Oliver

  • Block item for short dated item in sales order

    We are using batch determination at sales order level.I want to hold the sales order based on shelf life expiration date for a batch. We are using FEFO- First expiry First Out strategy. We are planning to use user status profile to block the particular line item from getting delivered. Please guide me to acheive this. Thanks in advance.

    Dear Venkates,
    Kindly deactivate the check box Not Modifiable of the corresponding partner function by selecting Partner determination procedure - Partner Functions in procedure
    Do this change if you have maintained partner proc. for sales document type or item category in
    SPRO - Sales and Distr. - Basic Functions - Partner Determination
    Hope this would solve you problem. If not kindly elablorate your problem.
    Regard,
    Sagar

  • Component name for Sales Order in 2007

    Hi All,
    Can someone tell me the name of the component which holds the sales order creation and items related views.
    Thanks, Sudeep..

    ICCMP_BT_SLO
    Regards
    Gert

  • Purchase order on Hold is not working from Sales Order document

    Hello gurus,
    I'm detecting a problem that I have.
    I have created a Sales Order and then, this document create a Purchase Requisition in automatic.
    So, when I create the purchase order, adopting the purchase requisition, I want to save this as on Hold.
    The problem is that the button "Hold" is missing.
    But, if I create a purchase requisition and I register the sales order directly (account assignment "E") and then, I create the purchase order, adopting the purchase requisition, the button "Hold" is not missing.
    I have active the BADI to Hold, but, it is only mention restrictions with Third Party and Services, not with Sales Order normal.
    Could you help me please a.s.a.p.?
    Regards,
    Sandra Palomo

    Application component: MM-PUR-PO-GUI                                                                               
    Function group: MEPO                                                                               
    The Business Add-In (BAdI) ME_HOLD_PO enables you to specify whether an    
    Enjoy purchase order can be put on hold or whether this function is to be  
    suppressed in accordance with your requirements.                                                                               
    In the standard system, this function is generally offered during the      
    creation of an Enjoy purchase order (transaction ME21N) and when a PO      
    that is on hold is changed (transaction ME22N).                                                                               
    Note                                                                               
    Enjoy purchase orders cannot be put on hold if any of the following        
    criteria apply:                                                            
    o  The PO contains service items                                           
    o  The PO contains "third-party" items                                     
    o  Commitment errors are involved                                          
    o  Subsequent (period-end volume rebate) settlement is involved                                                                               
    In the case of stock transfers within a company code, the "Hold" function  
      is generally inactive. If an application object contains an error of any   
      kind, the function is likewise inactive.

  • Posting Sales Order to BP on Hold

    HI All,
    I can add a Sales Order to a Business Partner which is on hold. Whats up with that/???
    Thanks,
    Greeshma

    Hi Greeshma,
    you are right, the application should not allow you to add a document for a BP that is defined to be on hold on the posting date. It will however allow you to add documents that have a posting date outside the defined on-hold period.
    System behaviour is correct in 8.8 SP0 pl12.
    All the best,
    Kerstin

Maybe you are looking for

  • IMessage on MacBook Pro not working anymore?

    Hi, so here I will lay out my whole problem. I have a MacBrook Pro and have had no problems with iMessage in my entire life. But I recently broke my iPhone 5C, and ordered a used Verizon 4s off Ebay, and when I activated it I was immediately able to

  • Libraries-MS no longer working

    Under the heading of Libraries-MS (i.e. Documents, Music, Pictures, Videos) I get the message "no longer working - Delete headings, folders will not be affected". Pictures are stored elsewhere, but documents I cannot access/or save new ones. I do not

  • Events from iPhoto on my Mac wont sync to my iPad2 after upgrading to iOS8

    I recently updated to iOS8 on my iPad2.  During the update I got a message that the update failed and my iPad was stuck in Recovery Mode.  After Restoring my iPad2 and loading the most recent backup, I'm having issues with syncing all of my data back

  • Best graphic file formats for use in FC

    The FC User's Manual indicates that FC can use PICT, TIFF, TGA, PDF, Photoshop (I assume .psd) or JPEG files for images. What is the best file format, most compatible with FC and DV? I understand that image files ought to be 720 x 480 px for standard

  • How do I avoid .bin attachments with SmtpClient.Send(MailMessage)?

    I'm hitting the problem described here. However, I don't see any way with MailMessage to set the ordering of the content of the email. How can I fix this? MailMessage mail = new MailMessage(new MailAddress(emailTempKeysFrom, "Windward Studios"), new