Sales Order Exit : for defining the invalid Order reason.

Hi all,
I am looking for an exit that may cnotain code for defining invalid entries of order reason AUGRU.
In VA01 , in my system, while creating order , we give order reason. But these reasons have been categorized as valid or invalid.
Basically when we go in VA01 and give order reason then, there is a Z field that determines which order reasons are invalid. It is this code I want to reach. Can anyone give any idea which exit it could be or how I could look for it.
thanks in
Edited by: Inesha9 on Jun 22, 2011 9:05 AM

Hi,
It seems, you want to validate AUGRU of VBAK
For that try with USEREXIT_CHECK_VBAK in include MV45AFZB.
Another thing, there is z field u are talking about. Is this Z field is a part of VBAK ?
Let us know, if it helps you. Thanks

Similar Messages

  • Change the  sales order reason for rejection for line item

    Hi,
    i want to change the  sales order reason for rejection for line item.
    iam using bapi_salesorder_change.but i unable to change the sales order.
    if possible please provide me what are the fields necessary  for changing
    sales order reason for rejection for line item.
    Regards,
    Suresh

    This is the standard config to supress printing on the rejected item. Are you using standard programs or customised ?

  • Sales order reasons

    Hi
    Can we create a sales order reason that will be used for a specific sales order only ? i.e. if I create a new order reason say - "specific for order type 1". Can it be made to be displayed only for order type 1. I mean if order type 2 is in creation, this reason will not be available for selection. Is that possible ?
    Raj

    I think that there is not easy way to do it, however you can check order reason and the order type combination before save by user exit.
    Flex Yang

  • Sales Order Reason - Account Assignment

    hi experts,
    can the sales order reason in VA01 be used to drive account assignments or is sales order reason field solely used for reporting purposes.
    thanks!

    Yes, order reason can be mapped to cost center in transaction OVF3

  • User exit for checking the vendor emailid in me22n or me21n

    hi all,
         can anybody suggest me a user exit for checking the email id of the vendor in me21n or me22n or me29n.
       plz suggest me a solution its urgent.

    hi yaan,
           i checked with the user exit that u suggested me, it is getting triggered, i am able to check whether the vendor email id is present or not, but this is happening all the time that is even when the user dont want to send a email to the vendor i.e. he just wants to print the purchase order, even at that time this user exit is getting triggered and giving a message that the vendor email id is not maintained.
      the reson why this is happening is there is no import parameter to this user exit which gives the "medium of data transfer"  the user has entered. if i get this parameter visible inside the user exit, then i can check this parameter inside the user exit and do the required operation.   i checked up with all the user exits in "me" package and even the other related packages but none of them is getting triggered,
      do u know a user exit or badi which imports this parameter and also gets triggered at the time of creation of purchase order.
      plz give me a solution.
    regards,
    santosh.

  • BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N

    Hi,
    I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
    Please could anyone help me with this .
    Regards,
    Sushanth H.S.

    Hi!
    User Exits in Transportation
    In Transportation, there are enhancements that you can use with transaction CMOD.
    For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
    You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
    Business Add-Ins in the transports
    Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
    Customer-specific functions can be executed before the save time and after the database update.
    The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
    AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
    BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
    IN_UPDATE: BADI is called up after the database update.
    Standard Settings
    Creating a BADI method:
    Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
    On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
    Afterwards, go to the heading and activate the interface.
    Regards
    Tamá

  • User exit for filling the payment block

    Hello,
    I need the user exit for popuating the payment block(RBKP-ZLSPR ) while posting the FI invoice thru MIRO.
    Any inputs would be of great help.
    Thanks!
    Praveena.

    Hi,
    Try with these userexits
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    LMR1M001                                User exits in Logistics Invoice Verification                    
    LMR1M002                                Account grouping for GR/IR account maintenance                  
    LMR1M003                                Number assignment in Logistics Invoice Verification             
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs    
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting    
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice             
    MRMH0001                                Logistics Invoice Verification: ERS procedure                   
    MRMH0002                                Logistics Invoice Verification: EDI inbound                     
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP                 
    MRMN0001                                Message output and creation: Logistics Invoice Verification                                                                               
    Business Add-in                                                                               
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification                                                                               
    Assign points if useful.

  • User exit for Reversing the Document

    Hi,
    Is there any User exit  for reversing the document for FBRA?
    Thanks

    Hi,
    Execute this report you will get the list of user exist for particular transaction,The inpur parameter for this report is transaction code , the output you will be getting is the list of user exists available for this trransaction.
    If find my answer suitable pelase reward me suitable points.
    REPORT Z_USEREXIT .
    TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    TABLES : tstct.
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    IF sy-subrc EQ 0.
      SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                       AND object = 'PROG'
                       AND obj_name = tstc-pgmna.
      MOVE : tadir-devclass TO v_devclass.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
        IF trdir-subc EQ 'F'.
          SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
          SELECT SINGLE * FROM enlfdir WHERE funcname =
          tfdir-funcname.
          SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                             AND object = 'FUGR'
                             AND obj_name EQ enlfdir-area.
          MOVE : tadir-devclass TO v_devclass.
        ENDIF.
      ENDIF.
      SELECT * FROM tadir INTO TABLE jtab
                    WHERE pgmid = 'R3TR'
                      AND object = 'SMOD'
                      AND devclass = v_devclass.
      SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu AND
                                       tcode EQ p_tcode.
      FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
      WRITE:/(19) 'Transaction Code - ',
           20(20) p_tcode,
           45(50) tstct-ttext.
      SKIP.
      IF NOT jtab[] IS INITIAL.
        WRITE:/(95) sy-uline.
        FORMAT COLOR COL_HEADING INTENSIFIED ON.
        WRITE:/1 sy-vline,
               2 'Exit Name',
              21 sy-vline ,
              22 'Description',
              95 sy-vline.
        WRITE:/(95) sy-uline.
        LOOP AT jtab.
          SELECT SINGLE * FROM modsapt
                 WHERE sprsl = sy-langu AND
                        name = jtab-obj_name.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WRITE:/1 sy-vline,
                 2 jtab-obj_name HOTSPOT ON,
                21 sy-vline ,
                22 modsapt-modtext,
                95 sy-vline.
        ENDLOOP.
        WRITE:/(95) sy-uline.
        DESCRIBE TABLE jtab.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'No of Exits:' , sy-tfill.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No User Exit exists'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST   SCREEN.
    Regards,
    Irfan Hussain

  • User Exit for making the field Bill of Lading Mandatory in Delivery

    Please suggest an User Exit for making the field Bill of Lading Mandatory in the Delivery document when we create an inbound delivery.

    Hi,
    I'm not sure, pls check these
    USEREXIT_SAVE_DOCUMENT_PREPARE
    EXIT_SAPLV46H_001
    NOTIF_EVENT_SAVE
    thanks
    Mohanprabu C

  • 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.

  • Sales Order Reason for change

    Hello All
    I have a requirement where we need to add order reason as a warning message whenever users makes following changes in the sales Order using VA02:
    1. Change the Order Quantity
    2. Change the delivery date for an item or items
    3. Delete a particular line item
    4. Add a particular line item
    I know it can be handled via VA02 user exit. I have listed following user exits will be helpful:
    USEREXIT_CHANGE_SALES_ORDER
    USEREXIT_CHECK_VBAK
    USEREXIT_CHECK_VBAP
    USEREXIT_CHECK_VBEP
    USEREXIT_CHECK_XVBAP_FOR_DELET
    Can you please let me know out of these which one are apt for my requirement and also if let say user makes a change once in the sales order and maintains the order reason before saving it, but how will it be taken care for changes done by the user on some other time. Basically how multiple changes will be controlled?
    Looking forward to your response.
    Cheers
    Ravi

    If you keep this order reason in imcompletion log, it will work.
    But here the issue is sytem has to validate the order reason field if any of the above mentioned fields has been changed(as suggested, system will give warning in standard except for 1 & 4 options)
    Here you can take the report from all the sales orders and differentiate the orders with the above
    4-changes with order reason changes into a Z-table with your Abaper.(RVSCD100 program)
    But here instead of going for enhancement you can very well control this with user discipline.
    system is just an instrument who can help us but cannot think always the way we presume.
    Suppose if a user has changed the order qty then he has to keep X as order reason--due to his ignorance he kept Y as order reason.Now system feels that data has been maintained no error in In-Completion log.
    Still if you are so keen then you can very well maintain Z-Table with the expected Order reason and you can write a code in USEREXIT_SALESORDER_SAVE(Sorry i am not with SAP now) with your Abaper.
    Hope this works and let us know if any.
    Regards
    Phanikumar

  • SALES ORDER REASON FOR REJECTION NOT WORKING .

    Hi Friends
    Though user mention reason for rejection in preceding sales orders'  line item s,still  those line items are being copied to subsequent documents ( to another sales order and billing document ) .
    Do you feel  there may be  problem is in  standard SAP functionality or I  have to do something in configuration ( copy control )  to restrict it ?. not one sales order , it's happening for all the sales orders .
    Thanks in advance
    Rusheek

    Please check ur copying requrement routine in VTAA must be "301" and "Pos./neg. quantity" must be "+". Check with this configuration,
    If any query please revert back
    Rgds
    Dhirajjjj

  • CO-PA and Sales Order Reason for Rejection

    Hello,
    Here is our situation
    1.  Sales order is created for 10 pc/$1000.
         This creates a CO-PA entry for the $1000
    2.  Sales order is partially delivered/invoiced for 5 pc/500$
    3.  Customer cancels remaining quantity, so we place a rejection reason on the order.
    4.  However, the Reason for Rejection creates a CO/PA reversal entry for the full $1000, even though we partially delivered it. 
    5.  Would like SAP to only create a CO/PA reversal for the remaining open amount of $500.
    I have checked OSS, but can't seem to find anything.
    Any experience with this?
    chris

    Please check ur copying requrement routine in VTAA must be "301" and "Pos./neg. quantity" must be "+". Check with this configuration,
    If any query please revert back
    Rgds
    Dhirajjjj

  • Sales Order - Reasons for material Nr and item category being disabled

    Hello,
    In some of our sales orders items (without subsequent documents), SAP disables fields Material Nr and Item Category. Can you please help on the reasons for this? Please note that we do not use configurable materials.
    Regards,
    Joã

    Hi,
    The material number will always comes greyed out in standard SAP. You cannot change the material number. If you want to change it, you have to delete the line as a whole and then introduce a new line with new material.
    For the item category field, it is either greyed out or available for editing based on the configuration done in the tcode VOV4. For the sales order type, item category group etc.....if you maintain only one item category as the default IC, then this field will be greyed out after populating the default I.C. If there are alternate I.Cs maintained here, then this field is available for editing. Please check this once.

  • Sales order-reason for rejection

    HI,
    Sales order is created with2 line items
    item 10   price 1000
    item 20   price 1500  -
    2'nd item is rejected by customer so i've entered reason for rejection for second item .
    But total NET VALUE of the document is still showing as 2500 instead of showing only 1000 (item 10)
    since item 20 is rejected.

    HI GSL,
    THx for replin.
    i checked in OVAG
    1
    X     No cumulation - Values cannot be used statistically
    Y     No cumulation - Values can be used statistically -can be used stastically
    what does stastically mean.
    If you enter a reason for rejection, the system automatically cancels any MRP requirements previously generated for the items. - for this is ther any specific setting done
    2 pl explain Not relevant for printing/Not relevant for billing & Resource Item Open Again what relevance they got.
    your suggestion are highly appreciated in this regards.

Maybe you are looking for

  • Cannot connect to Vista PC on network

    Both are connected to the same router, and both can access the internet. My imac is not visible whatsoever to the Vista PC, despite being on the same workgroup, although, the VIsta PC does intermittently appear on my iMac's Finder, but it will not co

  • Do I need to partition my hard drive on Mac as I used to on my old PC?

    Kindly provide me with your advise. On my old Windows OS pc it was a good practice to partition my hard drive to (e.g. C: and D:) where C: was for system and D: for data (pictures, music, documents etc.). If anything went wrong with the system (virus

  • Problem with RMAN on Oracle8.1.7 on Redhat Linux 6.2

    Hi, does anyone who is using Oracle with the configuration listed below having problems running RMAN? - Redhat 6.2 with kernel upgraded to 2.2.16-3 - Oracle 8.1.7 EE for Linux I don't seem to be able to start RMAN even though I have enable LARGE_POOL

  • How To Increase the size of the TEXT AREA(APEX3.1)

    I have a table called tableA in that i have 2 columns named report_no, Report_body Report_no containing sequence numbers and report body contains more than 4000 charecter text using clob i am able to display 4000 charecter but I need to display the w

  • WCS - Lobby Ambassador users don't see each other's guest users

    Hi, we currently have the problem with WCS 5.2 that a user of the group "Lobby Ambassador" cannot see guest users that have been created by another user of that group. The user can only see his own created guest users. All are in the same virtual dom