Exit for save the sales order

When a new sales order created at that time based on perticular order type (ZRE) i need to check the vale of
Screen field: KNVV-KZAZU (combine delivery) needs to deactivated.
Program Name: SAPMF02D
Please suggest the active user exit or routine that will trigger at the time save the sales order.
Thanks & regards,
Vinayak More.

If you want to deactivate the field then you need to check this form..
FORM USEREXIT_FIELD_MODIFICATION.
* CASE SCREEN-NAME.
*   WHEN 'VBAK-VBELN'.
*     SCREEN-ACTIVE = 0.
* ENDCASE.
ENDFORM.

Similar Messages

  • Exit or routine or BADI for save the sales order

    Exit or routine or BADI for save the sales order.
    Please give your input Asap.
    Thanks & regards,
    Vinayak More.

    Hi Vinayak,
    please go through the steps and u will be able to find BADI of any transaction.
    &*************Reward point if helpful**************&
    BADI Info:
    Method 1:
    Go to Tranaction: SE24.
    open class CL_EXITHANDLER
    Open the method " GetInstance"
    Put Break point in the statement
    call method cl_exithandler=>get_class_name_by_interface
    Now execute the Transaction which you need teh BDC it will automatically stops at the the method. In debugging mode double click on the variable: " exit_name" It will return the BADI Name.
    Method 2:
    find the Package name and go to the tranaction SE84.
    Enter the package name
    inside the left navaigaiton panel there is one option " Enhancements" click on this enhancement and then enter the package name and execute it. you will get hte number of enhancement.

  • To save the sales order number in custom table while creation of the order.

    Hi Experts,
    Does there exist any exit to save the sales order number in a custom table while the sales order is created in VA01. The requirement is to capture the sales order number in a Z table when a field (payment terms ) is changed during the sales order creation.
    Regards,
    Sunitha

    Hi Sunita,
    You can store your data in the User exit MV45AFZZ in the form 'userexit_save_document'.
    You can navigate to MV45AFZZ from SE38 wherein an access key needs to be generated for that program, if you know to implement enhancement points then you can create an implicit enhancement point in this form without generating an access Key.
    Regards,
    Ravi Kiran

  • Sytem should not allow to save the sales order based on risk category

    Hi,
    My user want to control the creation of sales orders based on risk category in credit control area.
    We created a new risk category - 30 Not authorized.
    And we made necessary configs also , like assignment of risk category and company code in OVFL.
    We assigned 30 risk category in FD32 for customers also.
    But while creation of sales order system is allowing to save the order.
    My user requirement system shoud not allow to save the sales orders for those are customers belongs to 30 risk category.
    How can we config. this
    thanks
    Sateesh

    hi,
    dont want to save the sales order if the credit limit exist ?
    then maintain block in OVA8
    choose
    your credit control area         risk categories             credit group
    1000                                        30 Not authorized           01
    checks tab
    choose static and maintain B
    this will give you error message and it will not allow you to save the sales order
    regards
    senya
    Edited by: senya_1111 on Oct 1, 2009 2:26 PM

  • Need IDOC and segment for mappping the sales order number

    Hi,
    we need the IDOC name and segment for mapping the sales order number created by oracle in sap for transaction VA01.
    Whether the sales order number created by Oracle can be used to create the sales order in sap using the idoc ACC_SALES_ORDER01?
    . If we can do,then what is the segment and field for the sales order number in the idoc ?
    Please reply asap it's very urgent
    Thanks
    Edited by: suresh kumar nandhagopal on May 16, 2008 12:07 PM

    Hi,
    IDOC for sales order is ORDERS05. Segment E1EDKA1, for field go to SE11 and enter E1EDKA1 to find field for sales order.
    Cheers.
    ...Reward if useful.

  • User exit for saving a sales order

    hi
    wats the user exit when saving a sales order?

    Hi,
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    tables : modsap
    tcode : cmod,smod
    Reward if usefull

  • User exit for pricing in Sales Order

    Hi Gurus,
    I have a requirement while changing Sales Order and an Inquiry.Below is the requirement.
    I have a custom filed at the Sales Order Item level as VBAP-XXXXX. When the user changes this value to a value (say abc) then the NET value in the Conditions tab of the line item should become zero and also the grid of the conditions tab should be displayed as zero.
    I have custom item categories for which the Pricing (TVAP-PRSFD) is blank (No pricing). For this type of Item categories I can make the NET price s ZERO by implementing some custom logic in the user exit userexit_new_pricing_vbap. Since this item category is not relavant for pricing then when I carry out new pricing the net value is set to ZERO.
    But for other item categories, this field (TVAP-PRSFD) is set to X (Pricing standard). For this item categories I cant make the NET value as zero.
    So Can you please let me know the possibility of implementing the above mentioned logic?
    Are they any user exit to update the pricing table KOMP?
    Are they any user exit to change the TVAP-PRSFD value based on my requirements?
    Is there any other way of implementing this logic irrespective of item categories?

    Hi Vinod,
    I am sending you my code please check it,
       if TKOMK-SPART = 10.
        if XKOMV is not INITIAL.
          clear v_JEXP.
        READ TABLE XKOMV with key kschl = 'JEXP'.
        if sy-subrc = 0.
          check XKOMV-kwert = 0.
          message i003(ZT) with 'Value should not be 0 for conditioin type JEXP'.
          v_JEXP = 'X'.
        else.
          message i003(ZT) with 'Maintain the mandatory Conditioin type JEXP'.
          v_JEXP = 'X'.
        endif.
        if v_JEXP = 'X'.
      XVBUV-MANDT = sy-mandt.
      XVBUV-POSNR = '000010'.
      XVBUV-TBNAM = 'VBAP'.
      XVBUV-FDNAM = 'PRSOK'.
      XVBUV-FEHGR = 20.
      XVBUV-STATG = '06'.
      XVBUV-FCODE = 'PKON'.
      XVBUV-SORTF = 9999.
      XVBUV-LFDNR = 0000.
      XVBUV-UPDKZ = 'I'.
      append XVBUV.
        endif.
    endif.
    endif.
    Please suggest something to solve this.
    Thanks and Regards,
    Vicky.

  • User exit for partners in sales order

    Hi all,
       In creating/changing sales order, the sales employee partner (PE) is always defaulted from sold-to in Customer Master.  However, the new requirement is this:  We have one customer A (sold-to) with 20 ship-to.   When creating sales order, only for this specific customer A, we want to default sales employee from Ship-To, NOT sold-to in customer master.  The rest of the customers will continue to default from Sold-To.    I looked thru user-exit:
      Exit_saplv09a_004  and Exit_saplv09a_003.
    I think exit saplv09a004 is more appropriate.  But how would i get the sales document number ?  I want to get the sold-to number to change the ship-to for this customer.       Have anyone come across this ?  I have looked thru other threads.
    Do anyone has some coding samples  in using the parameters ?
    Thanks
    Joyce

    Check whether the sale order number is available in stack, then you can get it in the exit using field symbols.
    Check this retrieving internal table info. during runtime from callstack.
    In the same manner apply as required.

  • Issues in Web service created for updating the Sales Order

    Hi All,
    We created a Web service using the Web service tool in CRM 7.0 ( Using the Component WS_DESIGN_TOOLS )
    Web service was created for three modes such as READ, CREATE and CHANGE Modes.
    READ Web Service we tested and its working fine as we were able to see the data for an existing Sales Order in the Web Service.
    We expect that the Change Web Service will update the data of an existing Sales Order.
    Through our Web service we are passing the Order GUID ,Order ID and some Header Fields as well as Item Fields but  the in the Web Service we are getting a message that Web service executed successfully but the CRMD_ORDERADM_H Table isnot getting updated.
    What could be problem.
    Any suugestions will be highly appreciated.
    Regards,
    Sijo

    Hi Gourav,
    I checked in SICF for the Webservice name created.
    this is the service path
    /default_host/sap/bc/srt/rfc/sap/ for the corresponding Web Service created in DEV 200 Client.
    I checked in SOAMANAGER and saw  that the  endpoitnts were zero.
    the Search Operation for Webservice have got three query fields mainly
    Object Id, Posting Date,Procees Type
    If we give Process Type
    sign - blank
    option - blank
    low - YPO ( Custom )
    High - blank we are getting 126 entries.
    and if we check for the Process Type YPO (Custom ) in CRMD_ORDERADM_H Tbale also we are getting the same no of entries.
    but only for option BT , for Posting Date issue is thr..
    Any inputs to move forward will be highly appreciated.
    Regards,
    Sijo.
    Edited by: sijokjohn85 on Mar 5, 2010 10:52 PM

  • Prerequisites for archiving the sales order

    Hi ,
    What are the prerequisites for archiving a sales order? What is the last business transaction from which the archiving process is triggered? Is it necessary to set status CLSD on the sales order for archiving ? what are the other system statuses that should be set for archiving a sales order?
    Thanks & Regards
    San

    Hi Santosh,
    Sales Order is linked to other subsequent documents in the Order Processing cycle like Delivery, Invoice , Shipments, etc. So, we've to make sure that all the dependencies are removed before we can start to archive an SO.
    You can see the dependencies in SARA Transaction (Goto->Network Graphic).
    The SO archiving program checks if the status of the subsequent documents are Completed or not. (status in VBUK table is "C") .
    There are other options like Residence Time, Existence of PO , Existing of Accouting Doc.
    You can select the options, based on your company's decision regarding the extent of SO archiving they wanted to achieve.
    The program will throw the messages appropriately, based on the checks it performed and appropriate actions can be taken from the document side .
    This is a link , which explains the checks the program does before archiving.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/a9/55c7d490a111d1a5510000e82deaaa/content.htm
    Regards,
    Shail.

  • Code for validating the sales order

    Hi,
        can any body can send the code for validating sales order and shipment,when we enter the sales order or shipment as input in the selection screen.
    It is very urgent....................
    Thanks in advance.

    HI,
    SEE TO THIS CODE.
    --TABLE DECLARATION--
    TABLES : VBAK,VBAP.
    TYPE-POOLS : SLIS.
    --STRUCTURE DECLARATION--
    TYPES : BEGIN OF TY_VBAK,
            VBELN TYPE VBELN_VA,
            ERDAT TYPE ERDAT,
            ERZET TYPE ERZET,
            ERNAM TYPE ERNAM,
            END OF TY_VBAK.
    --SELECT OPTIONS--
    SELECT-OPTIONS : S_VBAK FOR VBAK-VBELN.
    --START OF SELECTION--
    START-OF-SELECTION.
    SELECT VBELN
           ERDAT
           ERZET
           ERNAM
           FROM VBAK
           INTO TABLE IT_VBAK
           WHERE VBELN IN S_VBAK.

  • Unable to save the sales order in varient configuration

    Hi Gurus,
    In varient configuration i have done all the settings and it works fine, and i am getting one error
    while saving the sale order(incomplete long) showing configuration.
    while click the error shwoing like this :
         Item 000011 can only be changed by configuring material XXXX(item 000010)
    Error Message NO. V1456
    (Item &1 can only changed by configurable material &2 (item &3))
    Please help in in this regards.
    Where i am missing the settings.
    Thanksa and reagards
    E.Rambabu

    Dear Rambabu,
    While saving the sales order Configuration showing in the incompletion log means it is related to configurable material only so you look in these areas,
    1.Check the BOM settings whether BOM is exploding properly or not.
    2.Item category is getting determined or not.
    3.Have you able to select the sub item items through configuration selection screen or not.
    4.Go to transaction VOV7 check the item category settings related to the configuration.
    5. Have you maintained all the data in the KMAT (Configurable) material master data like class assignment etc.
    I hope this will help you,
    Regards,
    Murali.

  • Looking for Exit/Badi for VA03 TC for blocking the sales order

    Dear Experts,
    I would like to know the user exit/badi for sales order(tc VA03)and program name:SAPMV45A
    1)if the minimum order quantity is less than the order quantity.the order will block and in the second line item for the same material they are charging 100$ and then they will release. the existing logic is user dont want this now.
    2)If a line item is created below the minimum order quantity, the order should get blocked and the user should get a warning message regarding the addition of ZMOQ condition type [u201C Line item Quantity is less than minimum order quantity, ZMOQ condition type is missing u201C
    Please provide the exit name and provide some inputs.
    Thanks,
    V.V.

    Hi Gurus,
    I am trying to find out the exit for warning messages where the SAP has maintained.
    whenever the salesorder creating if the order quantity is less than the minimum order quantity it will give two warning messages. 1.Take minimum order quantity 400 DEV into account in item 000010
                       2.Consider delivery unit 40 DEV in item 000010
    so i want to add the third warning message for condition type is missing.
    I am trying to find the exit in the program SAPMV45A and include names MV45AFZZ and MV45AFZB.
    Please let me know if anyone knows the exit name. where the warning messages maintaining.
    Thanks
    V.V.

  • User exit to control the sales order creation

    Hi All,
    I have a business scenario, where a specific account group customers Business doesn't want to sell the goods .SAP should not allow you to create a sales order.
    Which user exit will solve my requirement?
    could you please help me..
    Regards,
    SK

    Hi Prakash,
    Thanks for the reply. Actually these customers are created as a Agents and we are using these customers in Commission rebates. So at the time of Rebate partial credit memo, then these agents should be active otherwise system will give the error.
    So what i am thinking is, Standard sales order creation needs to be restricted so that users can not able to create standard order.
    So can you suggest is there any user exit can be used to prevent creation of standard order for these account group and order type xxx?
    Regards,
    SK

  • User Exit for Cancel in Sales Order

    Hi ,
    Can anybody tell me which user exit is fired when a sales order is cancelled?
    I want to clear all the entries made in the additional data B tab which updates a custom table.
    Thanks in advance.

    Hi Andrea,
    That userexit is fired when we delete a sales document. But I want an exit which will be triggered when we cancel a Sales order while creating.
    When I create a sales order through VA01 and give data in additional data B, and press the cancel button, the values in the tab are not getting cleared for the next sales order.
    So I want an exit which triggers when pressing cancel button though VA01.
    Thanks.

Maybe you are looking for

  • How do I get my apps to stop saying waiting

    How do I get my apps to stop saying waiting

  • Early binding in Java

    I need to find two kinds of method calls that use early binding in Java. I would like to know if my ideas are correct: I think overloaded functions uses early binding, because the compiler looks at the types of the parameter variables. I think static

  • Apple Mail - Delete Messages Come Back

    User is saying they delete messages and then they re-appear as new in their inbox.

  • Creating a 3rd Party Payment

    Hi, Can someone please explain the process of creating a 3rd party payment? I understand I need to run payroll for that employee but then what? Any help would be greatly appreciated and points will be rewarded! Thank you!!

  • JMX - which version of J2EE?

    Hi, Does JMX relie on services of J2EE? Which version of J2EE or J2SE are required? As a bonus question, does any one know which version of WebSphere JMX was introduced? Thanks, Frank