Restricting Saler Order Target Quantity to be = 100 ( any user exit )

Hi Friends,
In transaction VA01, while creating a sale order, it asks for reference document number, after we copy the reference document number the No of quantities (item level ) will be copied to the new Sale order .
My requirement is : the target (total - VBAP-ZMENG)quantity should not exceed the reference quantity (VBAP-ZMENG) ......
Is there any user exit/BADI for this ?????
Expecting your answers!!
Thanks in Advance
Cheers,
R.Kripa.

Hi Srikanth Pinnamaneni ,
Thanks ... but what is "USEREXIT_CHECK_VBAP", in which transaction we should see that ??????
Thanks  in advance
Cheers,
R.Kripa.
Hey ya i got that ..... thanks ( SE38 - MV45AFZB )
Message was edited by: Kripa Rangachari

Similar Messages

  • Sales Orders - Add/Delete the Partner should Trigger User Exits

    Hi,
    I have a business requirement to add a new partner or delete or change an existing partner so as to re-determine the route and hence re-direct the goods to appropriate shipping point. This partner is a service agent and not maintained in the Customer Master. These are freely added partners (agents) at the sales order level.
    Once there is a change in the partner functional the sales order level in VA01 or VA02, the user exit logics to be called again so that the route is re-determined based on the newly added or changed partners at the sales order level.
    I am just trying to provide a pop-up screen for user interaction when the sales order partners are modified with buttons 'OK' or 'Cancel'. For OK, the sales order user exits to be called again. For Cancel, the newly added partners need to be deleted.
    Please suggest me a suitable solution. I hope I have made the question correct. Appreciate your help in advance.
    Thanks,
    Kannan.

    I could Figure it out.
    Thanks,
    Kannan

  • Restrict Sales order text based on Sales group

    Hi,
       My requirement is currently 12 different text ID's showing in my sales order text.But I want to restrict certain sales order text ID's based on sales group entered in the sales order header. Is there is any user exit or routines available to restrict sales order text ID's.
    Regards,
    Palani

    Hi,
    This is actually a configuration item.  Transaction VOTXN (VOTX in 4.6C) can be used to configure the text types, text procedures, and access sequences for sales order texts as well as other types of texts.  Part of the configuration procedure allows for some ABAP control over the copying requirements. 
    This is from the online help for data element COPNR (on the VOTXN screen SAPMV80T 800, field TTXZI-COPNR) :
    You can create your own routines for text determination. For example, if you want to send different messages to particular groups of customers, you can create routines that automatically assign different messages to different groups (e.g. wholesalers, retailers).
    Note
    The fields available for determining texts are defined in structure TVCOM, which can be found in the routine under FTVCOM. Generally, however, the fields filled in the structure are only those which are used or recognised for text determination by the caller. Other fields can, for example, be filled during sales document processing via user exits USEREXIT_MOVE_FIELD_TO_TVCOM_H and USEREXIT_MOVE_FIELD_TO_TVCOM_I. The user exits are described in the IMG under Sales and Distribution -> System Modification -> User exits.
    I'm not sure if filtering by sales group is possible, but I don't see why not.
    Regards,
    Jamie

  • How realize Sales order rounding quantity

    Hello Expert
    I would like to know how to realize Sales order rounding quantity.
    As I have checked other title there are a lot of same topic however I couldn't realize yet.
    My scenario is as bellow.
    There are the materials which we want to input every 12 Qty for instance.
    I expect if I input 10 it rounds to 12, if I input 19 it rouns to 24.
    I already created rounding profile via OWD1 and assign it to material master sales view.
    However it didn't work.
    As I have checked item category there are no flag on Rounding permitted.
    Best regards,
    Ichimura

    Hi,
    I guess you´re using static rounding.
    Check when created if you´ve restricting it to a plant or you left it blank (valid for all plants).
    Check that you´ve properly assigned the profile to master material in sales view to the proper plant if any
    Check that swith off rounding is not selected in customer master data
    Check that ítem category in custo has selected rounding permitted.
    Regards,
    JM

  • Sales order comfirmed quantity

    hi gurus,
    one question, i have a sales order type which is delivery-related while the billing is on the base of sales order instead of delivey. and another point is the billing have to be printed before delivery been created. then, problem raised. for example:
    sales order required quantity: 100
    after atp, confirmed quantity:90, and only one time delivery type.
    but the quantity base of order pricing is 100, not 90. further more, the billing quantity is also 100.
    but indeed, we need confirmed quantity (BMENG) as the bases of pricing and billing.
    how can we do? looking forward to any kindly help.
    daniel

    Firstly, Order-related & Billing-Related Billing follow different concept.
    As per my understanding, your scenario is actually delivery related, but billing is order related. This will exactly have the same problem, what you have related in your message.
    In Order-related Billing, the same quantity will be carried to billing, as in sales order. There is no option of Partial Billing in it.
    In Delivery-related billing, Delivered quantity is passed to billing document.
    Now your requirement can be met through Delivery related Billing only. As you mentioned that you require the billing to happen before ddlivery, it is not supported / recommended. Instead, yor can meet your requirement through Proforma Invoice, which is order-related F5 / Delivery-related F8, as a subsitution & go ahead with Delivery related billing.
    Alternatively, you can amend the quantity of sales order, which is equal to delivery quantity & raise an invoice. After raising the invoice, you can add the balance quantity which was amended say 100 to 90, then you add 10 quantity in next line item.
    Regards,
    Rajesh Banka

  • Sale Order Item Quantity Not Populating When Create A Sale Order Using BAPI

    I am having a problem when creating a sale order using BAPI
    BAPI_SALESORDER_CREATEFROMDAT2
    Problem is that sale order item quantity field is not populating
    code is as follows
    ORDER_ITEMS_IN-ITM_NUMBER = '0010'.
    ORDER_ITEMS_IN-MATERIAL = '000000000010000262'.
    ORDER_ITEMS_IN-TARGET_QU = 'LB'.
    ORDER_ITEMS_IN-TARGET_QTY = 1.

    Hi,
    Try populating ORDER_SCHEDULES_IN table in the bapi field REQ_QTY.
    Regds,
    Rudra

  • List of rejected sales order with quantity and value

    Hi,
    Is it possible to get the report from VA05 for the list of rejected items with value and quantity ?
    Pls help
    Thanks,
    Vijesh

    Dear Vijesh,
    VA05 I believe is a very powerful report for doing analysis at order and line item level. If your rejection criterion includes a rejection reason at line item level, yes this list from VA05 can give rejected Sales Orders with Quantity and Value.  See the screen shot below.
    I selected a list with open dates till date, I can see Sales Order number, Sales Document Type, Item Number, Material, Rejection reason, Quantity at line item level and net price.
    However, I am not sure what is the rejection criterion you use in your business and I am not sure if you use rejection reason and hence I would like to hear from you, if this explanation helps you.
    Thanks
    Nagaraj

  • VBBE Table for Sales Order Open Quantity......

    Hi Experts,
    In VBBE Table I found sales Order Open Quantity but Some of the Materials are not showing in this VBBE table which are still pending (Open).
    What may the reason.
    Yusuf

    Hi CHR,
    In S001 table i found related material open qty. but there is no link with vbeln posnr and etenr (schedule date). Only Customer Code (Kunr) is available.
    This is no use for me for making report.
    Yusuf

  • Pocess order - target quantity in cost analysis report

    hi experts ,
    i am not getting the target quantity in cost analysis report of header material , though i have made the GR of the process order .
    target quantity is showing zero.
    i am getting target quantity of components , sfg used.
    kindly give your inputs.
    reagrds,
    satish

    Dear
    First Check the Validity of the standard cost for the header material, It can be seen in ck13n, Dates tab.
    Target costs are populated when you do the goods receipt. System will search for the released standard cost estimate and then apply that for each material component. If these 2 conditions are passed, then you will get target cost in order.
    Plan cost = Plan qty * std cost estimate
    Target Cost = Actual qty * std cost estimate
    Actual cost = Actual qty * actual costs
    Eg:
    A production order is planned for producing 10 units of a material
    Then plan cost on the order = 10 units * std cost
    Target costs are calculated once production is confirmed.
    Suppose only 9 units were produced out of 10 planned
    Then target cost = 9 units * std. costs
    Regards
    Ganesh M

  • Sales order item quantity update based on goods issue quantity

    Could any one explain me how to achieve the below functionality in SAP.
    Sales order item quantity needs to be updated based on the goods issue quantity when goods issue happens. 
    Tried to achieve the above functionality thru user exit.  But I could not found any user exit.  Could any one help me in finding out the user exit for a delivery which gets triggered when goods issue happens? 
    Or is there any other way thru which we can achieve the above functionality?  For example by using copy control, or requirement stuff. 
    Your inputs are highly appreciated.
    Thanks in advance.

    I dont y u got such type 0f requirement.Do one thing find out BADI it should be activated only when we are going PGI , in that badi try to chage Sales order <b>BAPI_SALESORDER_CHANGE</b>.
    for BADI search in SPRO / Se80.
    Regards
    Prabhu

  • Is it possible to restrict Sales Order Type by Plant/User ?

    Dear all,
    Is it is possible to restrict sales order type while creating sales order by plant / User ?
    Any solution for above issue ?
    Jeyakanthan

    Hi,
    To my knowledge it is possible through SHDO tcode.
    Also, you can have a look on this link:
    [User Spcific Transaction Variant|Re: User specific transaction variant;
    In that look for the Step by step guide fior the Variant.
    Regards
    Edited by: SAP2020 on Nov 23, 2009 3:00 PM

  • Any user exit to copy text from sales order to PR

    Hi,
    Any user exits or bapi to copy text from Sales order to Purchase requisitions.
    Jack

    Hi
    In SPRO , please use the menu path Materials Management - Purchasing - Purchase Requisition- Texts for Purchase Requisitions - Define copying rules
    Here  select the text and double click on Text linkages. There you can define the source text from sales order to the target text in PR.
    Please try and let me know if you still have any queries.
    Please reward points if this helps you
    Rgds

  • Fetching the sales order data using both system status and user status

    Hi,
    Could any one tell me how to fetch sales orders using both system status and user status.
    My requirement is to fetch sales order data in a report where the user enters the system status and user status in the selection screen fields.
    For example i need sales orders where the system status is I1002 i.e. OPEN and user status is E0002 (status profile CMSCON0) that is In Process
    Early replies are appreciated.
    Thanks
    Tanveer

    Hi,
    The system status and user status are stored in CRM_JCDS & CRM_JEST tables you can get the all the order GUID on particular status further pass the order GUID in table CRMD_ORDERADM_H to get transaction ID.
    Regards,
    Dipesh.

  • Restricting vendors -any user exits please?

    Hi,
    I have a requriement where while creating Vendors they have configured in such a way that it has to be approved for all the create and change vendors. since there is some sensitive information like bank accounts and names .
    now we have changed the requriement where in we need to restrict the information only for certain conditions
    vendor employee account group B007 and company code 2001 and for rest they donot need any approval and can be directly created or changed.
    Is there any user exit or any other way where we can put this restriction.
    We cannot put the configuration for specific requirements either the configuration is on or off in total.
    Any help would be greatly appreciated.
    Thanks and Regards,
    Ravi Kumar L

    Hi Max,
    In XK02 if we change any of the Sensitive fields(like name bank account,bank key...). then it pops up a message that document is saved but needs to be confirmed.
    For confirmation we need to login to FK08 and then press the confirm buttom for that vendor.
    Now our requirement is we need that confirmation for some vendor employee account group B007 and company code 2001 and for rest they donot need any approval and can be directly created or changed.
    As Suggested by Himanshu and You I have been in touch with the Basis guys for the creation of a Z object and authorization so that i can call the Authorization object in the user exit.
    they too are not sure. so i need to confirm them so that they can go ahead with the creation of the z object. Since this involves business we need to tell them if this is possible or not fore hand and take their approval.
    Can you suggest if we are going in the right direction.
    Thanks,
    RK

  • To restrict Sales Order if account balane is less than SO balance

    hi Srujal Patel,
    I want to restrict some customers sales order which are less account balance.
    example:
    ABC customer account balance is 100. now they ordered 150. now this SO document will not be posted until approval from superior. how can i do restrict this?
    Please help regarding this
    IF @transaction_type IN ('A','U') AND @Object_type = '17'
    BEGIN
    IF EXISTS (select 'A','U' FROM ORDR T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    WHERE @Object_type = '17' and T1.Balance < 100 AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    select @error = 1,@error_message = 'Customer Balance is below RS/-100 1You are not allowed to post SO'
    END
    END
    If i follow you your instruction it  will work for all customers. but i need sales person can not add this document but superior can add this. and i also need credit customer is not allowed to add SO and debit customer is allowed
    to add SO.
    Regards,
    Mizan

    Hi Mizan,
    For achive your target need help of SDK.
    Thanks,
    Srujal Patel

Maybe you are looking for

  • Photoshop CC: How do I use the "New 3D Extrusion" feature on a text layer?

    I have a (text) layer selected, and I need to use the New 3D Extrusion tool to work on it, but when I go to the option for it, it's grayed out and I can't click it! I have one layer selected (and it isn't locked). When I right-click the layer, "New 3

  • Sync Receiver Step??

    Is there a way to send sync via RFC a message to a BPM Receiver Step without using a Sync/Async Bridge? the idea is to catch in R/3 an ABAP Exception if XI is down.

  • Scary problem! Old photos suddenly dark, low resolution.

    Going through some old pictures I've just noticed that 3-4 sets from 4 years ago have become very dark and lower resolution. The weirdest part is that they are not complete "sets" -- that is, the darkness seems to in random groups of certain sets (i.

  • Adding Attribute with C1 for the DAP object fails.

    Hi Forums I'm trying to set up the NMAS and Novell Radius with the Vasco Method on a NetWare 6.5 - SP2 server According to this http://support.novell.com/cgi-bin/se...?/10080783.htm everything works fine until i get to this point 3(below), within the

  • ODBC Generic Connectivity error

    I'll link to the pgSQL(or mySQL) server wih Oracle. and if my pgsql table has the "varchar" type fields, there will be some mistakes: select * from "code_area" @ PGSQL ORA-00942: the table or views doesn't exists [Generic Connectivity Using ODBC]Warn