Checking a field in VA01 at the time of saving

Hi,
I want to check a field at item level in VA01 at the time of saving the document. Can anyone tell me about the user exit I should look for.
Thanks,
Salman Zahir

Thanks Suresh,
I have put a break point is the include RV60AFZC, but it is not stopping while saving the document, it stops  when I do other activities.  Actually in the Item Detail I want to check that account assignment group is not blank. If it is I want to show a error message.
Thanks ,
Salman

Similar Messages

  • User exit at the time of saving purchase order

    Hi experts
    There are some plants for which we need to auto GR. Is there any user exit available which will check these plants in PO at the time of saving PO document and do auto GR.
    Regards

    Enhancement                                                                               
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance    
    MM06E001                                User exits for EDI inbound and outbound purchasing documents   
    MM06E003                                Number range and document number                               
    MM06E004                                Control import data screens in purchase order                  
    MM06E005                                Customer fields in purchasing document                         
    MM06E007                                Change document for requisitions upon conversion into PO       
    MM06E008                                Monitoring of contr. target value in case of release orders    
    MM06E009                                Relevant texts for "Texts exist" indicator                     
    MM06E010                                Field selection for vendor address                             
    MM06E011                                Activate PReq Block                                            
    MMAL0001                                ALE source list distribution: Outbound processing              
    MMAL0002                                ALE source list distribution: Inbound processing               
    MMAL0003                                ALE purcasing info record distribution: Outbound processing    
    MMAL0004                                ALE purchasing info record distribution: Inbound processing    
    MMDA0001                                Default delivery addresses                                     
    MMFAB001                                User exit for generation of release order                      
    MRFLB001                                Control Items for Contract Release Order                       
    AMPL0001                                User subscreen for additional data on AMPL                     
    LMEDR001                                Enhancements to print program                                  
    LMELA002                                Adopt batch no. from shipping notification when posting a GR   
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC    
    LMEQR001                                User exit for source determination                             
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt     
    LWSUS001                                Customer-Specific Source Determination in Retail               
    M06B0001                                Role determination for purchase requisition release            
    M06B0002                                Changes to comm. structure for purchase requisition release    
    M06B0003                                Number range and document number                               
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N                   
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.  
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)    
    MEETA001                                Define schedule line type (backlog, immed. req., preview)    
    ME590001                                Grouping of requsitions for PO split in ME59                 
    M06E0005                                Role determination for release of purchasing documents       
    M06E0004                                Changes to communication structure for release purch. doc.   
    M06B0005                                Changes to comm. structure for overall release of requisn.   
    M06B0004                                Number range and document number                             
    User exit for me21n

  • BADI OR USER EXIT AT THE TIME OF SAVING THE TCODE MIGO TO UPDAT FIELD LSMNG

    Hello Guru,
    I am using BAPI  BAPI_GOODSMVT_CREATE for GRN creation it is working fine. But i want to update DELIVERY NOTE QUANTITY (LSMNG) at the time of GRN Creation . This field is not provided in the BAPI .
    What i had done i had applied BADI MB_MIGO_BADI to update this field but this badi does not call at the time of saving ( THIS BADI ONLY CALL WHEN WE ARE USING MIGO TCODE AND ON THE SCREEN WE ARE PRESSING ENTER) . so i am not able to update the field (LSMNG).
    So i need a badi of user exit which can updates this field at the time of saving.
    there are exit which are updating other fields at the time of saving but not this one .
    Why i need the badi or userexit which will update the field at the time of saving because when we are using bapi only those badi or user exit are called which are
    used at the time of Saving.
    Kindly suggest any solution.
    Thankyou
    With Regards
    Shantanu Modi

    Hi
    <b>Here is the sample code...</b>
    method if_ex_mb_migo_badi~post_document .
      data: ls_migo_badi_example type migo_badi_exampl,
            lt_migo_badi_example type table of migo_badi_exampl,
            ls_extdata type migo_badi_example_screen_field,
            ls_xmseg   type mseg.
      field-symbols: <gt_extdata> type migo_badi_example_screen_field.
    * Transaction MIGO will now post a material document.
    * Any errors here MUST be issued as A-message (better: X-message)
    * Copy data from material document into internal table
      loop at gt_extdata into ls_extdata.
        if g_cancel is initial.
          read table it_mseg into ls_xmseg
             with key line_id = ls_extdata-line_id.
        else.
          read table it_mseg into ls_xmseg
             with key smbln = ls_extdata-mblnr
                      smblp = ls_extdata-zeile
                      sjahr = ls_extdata-mjahr.
        endif.
        if sy-subrc is initial.
          move-corresponding ls_extdata to ls_migo_badi_example.
          move-corresponding ls_xmseg   to ls_migo_badi_example.
          append ls_migo_badi_example to lt_migo_badi_example.
        endif.
      endloop.
    * The data from external detail screen can be saved now:
      check gt_extdata is not initial.
      call function 'MIGO_BADI_EXAMPLE_UPATE_DATA' in update task
        tables
          it_migo_badi_example = lt_migo_badi_example.
    * The data from external header screen can be saved now:
      move-corresponding is_mkpf to gs_exdata_header.
      call function 'MIGO_BADI_EXAMPLE_UPDATE_HEAD' in update task
        exporting
          is_migo_badi_header_fields = gs_exdata_header.
    endmethod.                    "IF_EX_MB_MIGO_BADI~POST_DOCUMENT
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • User Exit for ME21 PO Creation at the time of saving--Urgent

    Hi,
    Can some one help me out in finding the user exit for PO creation at the time of saving.
    The Requirement is:
    I need to create a custom field in EKKO table.
    After appending the structure with the field to the EKKO table, i need to create a PO.
    Now i need to update the field which has been created at the time of pressing the SAVE button.
    I need to update the EKKO table it self.
    I could find the user exits but none of them have the EKKO table either in Changing or in Tables.
    Thanks,

    Hi,
              You may want to check this user exits.
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    Here is the list of available user exits for ME21.
    EXIT_SAPMM06E_001 - Other Number Range or Own Document Number
    EXIT_SAPMM06E_004 - User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
    EXIT_SAPMM06E_005 - Field Selection Control: Vendor Address Screen
    EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header (PBO)
    EXIT_SAPMM06E_007 - Export Data to Customer Subscreen for Purchasing Document Header (PAI)
    EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header
    EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    EXIT_SAPMM06E_014 - Read Customer-Specific Data when Importing Purchasing Document
    EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
    EXIT_SAPMM06E_020 - User Exit: Change Document for Requisitions (Conversion into PO)
    EXIT_SAPMM06E_021 - Fulfillment of Target Value: Release Orders Against a Contract
    <b>Reward points</b>
    Regards

  • User Exit at the time of Saving in Vendor Master

    Hi,
    I am trying to put a check through Enhancement "SAPMF02K" in Vendor Master to make Tax No fields as Mandatory for to some particular Company Code and Account Group.
    But the problem is enhancement triggers at the time of saving, so what ever error message check i have implement will trigger at the time of saving the data. Now my requirement is it should trigger to the screen where i need to maintain the fields, instead of the error showing in the last screen ( As user need to check in which screen he/she need to maintain these fileds in the list of screens by going back).
    Please reply with the appropriate solution.
    Regards,
    NSK

    Hi Shashi,
    Did you check with your functional side. It is possible with configuration.
    Regards,
    Madhu.

  • Error at the time of saving sales order

    Hi Sapfans,
    at the time of saving the order i am getting the following error
    please help me how to solve it
    please help me fast
    thanks and regards
    srinivas
    Runtime Errors MESSAGE_TYPE_X
    Date and Time 19.11.2007 15:19:18
    Short dump has not been completely stored (too big)
    Short text
    The current application triggered a termination with a short dump.
    What happened?
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).
    Error analysis
    Short text of error message:
    Maintain the current CRM release (table CRMPAROLTP)
    Long text of error message:
    Diagnosis
    Various transfer errors occur when transferring SAP sales orders to
    CRM or there is no status update or the status update has errors
    when transferring from CRM to the SAP system. This is caused by an
    incorrect entry for the CRM release in the SAP table CRMPAROLTP, or
    no entry is maintained at all.
    System Response
    To avoid data inconsistencies, this message causes a short dump.
    Procedure
    Maintain table CRMPAROLTP in your SAP system as is described in SAP
    Note 691710 and then repeat the process again.
    Procedure for System Administration
    Technical information about the message:
    Message class....... "V3"
    Number.............. 302
    Variable 1.......... " "
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    Trigger Location of Runtime Error
    Program SAPMV45A
    Include MV45AF0B_BAPIDATEN_ERMITTELN
    Row 338
    Module type (FORM)
    Module Name BAPIDATEN_ERMITTELN
    Source Code Extract
    Line SourceCde
    308 else.
    309 *-----Nicht unterstützt, Abbruch
    310 message a301(v3).
    311 endif.
    312 endif.
    313
    314 *-Szenario A prüfen
    315 if lv_scenario_a = 'A'.
    316 vbak-vbkla+2(1) = lv_scenario_a.
    317 endif.
    318
    319 *-ermitteln CRM-Release
    320 call function func_name
    321 exporting
    322 i_paraname = 'CRM_RELEASE'
    323 importing
    324 e_parval1 = lv_parval1.
    325 lv_release_crm = lv_parval1+0(3).
    326
    327 * If lv_release_crm empty => X-message (correct download not possible)
    328 if da_download_active = charx.
    329 CALL FUNCTION 'CRM_CONNECTED'
    330 IMPORTING
    331 CRM_CONNECTED = lv_crm_connected
    332 EXCEPTIONS
    333 NO_CRMRFCPAR = 1
    334 OTHERS = 2
    335 .
    336 IF sy-subrc = 0 and lv_release_crm = space and
    337 lv_crm_connected = charx.
    >>>>> message x302(v3).
    339 ENDIF.
    340 endif.
    341
    342 *-Füllen der View für das Ermitteln der Auftragstabellen
    343 da_sales_view-partner = charx.
    344 da_sales_view-sdcond = charx.
    345 da_sales_view-sdcond_add = charx.
    346 da_sales_view-contract = charx.
    347 da_sales_view-text = charx.
    348 *-bei mehr als 1000 Belegflusssätzen werden Daten nicht ermittelt
    349 if lv_tabix_vbfa < 1000.
    350 da_sales_view-flow = charx.
    351 endif.
    352 da_sales_view-billplan = charx.
    353 da_sales_view-configure = charx.
    354 da_sales_view-credcard = charx.
    355
    356 *-Im Standardszenario soll eine manuelle Änderung eines CRM Belegs
    357 * (ab CRM Release 30A) nicht zurück ins CRM gesendet werden. Das

    HI,
    This error is because of crm release patch.
    You can update this patch.
    Use Transaction code se16.
    Type the table name-CRMPAROLTP
    Go in New Entries
    Type 'CRM_RELEASE' In First Field(PARNAME)
    Type '40A' In Value 1 i.e. 5th Field
    Save.
    This will solve your problem.
    If this is useful please give reward points.
    Regards,
    Ashok

  • Regarding replication of records at the time of saving

    hi all,
    i am using Forms [32 Bit] Version 6.0.8.24.1 (Production).
    i have multi record base table block, based on department_master.
    for each record i have check box with that.
    i have columns like
    dpt_code   dpt_name  org_unit   
    finance      finance dpt  GL          my requirement is, if user checks the check box the record should replicate for other org_unit( auh, sh,wh) at the time of saving
    in other words in the table i should get records like
    dpt_code   dpt_name  org_unit   
    finance      finance dpt  auh
    finance      finance dpt  sh
    finance      finance dpt  wh1.what i am doing is getting the organisation unit list from org_table other than the checked org_unit(other than GL)
    2. if the department 'finance' is not exists in other org_nit then i am inserting as a new record to the department_master
    finance      finance dpt  auh
    finance      finance dpt  sh
    finance      finance dpt  wh3. by the time of saving if check box is checked then i am doing the above process.
    can any body tell the logic behing my coding will works in all circumstances?
    or
    is there any specific logic to replicate the data.
    Please help.
    Thanks..
    Edited by: GD on Jun 2, 2011 5:10 AM

    If you want to know if your coding will work, the you atleast have to show us that code.

  • User Exit at the time of saving Prod Order.

    Hi All,
              I need to know whether there is any exit which gets called when I save the Production Order.
    In our project Serial No as well as Production Order gets created when we save the Production Order.
    I have to pass "Basic Start Date" to a FM which generates Serial No.I can hit some DB table if i know
    Planned Order no at the time of saving of Production Order.So i want the user exit at the time of saving Prod Order
    I have also tried one program which gives all the User exits for a certain Transaction.But the user exit mentioned in that is not getting called.
    Thanks in Advance,
    Saket.

    hi,
    check this exit for production order by placing a break point in it.it will work .
    PPCO0007                         Exit when saving production order
    exit name : EXIT_SAPLCOZV_001

  • User Exit at the time of saving Invoice.

    Dear All,
    We have a requirement in which we have to validate the Functional location type of an FL at the time of saving the invoice.
    We require an user exit for Tcode FV60, FB60, ME21 and MIRO that gets triggered at the rime of saving the invoice.
    Request all of you to kindly help as this is an urgent requirement.
    Regards
    Ajay.

    Hi,
    Go to SE93. give the transaction code for which you want the user exit and click display.
    click on the object browser.
    Open the node 'Function Groups'.
    search for function groups starting  with 'X'.
    These are the user exits.
    Try each andd find which suits your requirement.
    Regards,
    Shashank

  • Contract no. field is required at the time of F-53

    HI,
    At the time of posting outgoing payment through F-53 i also want to enter contract no. (for recording document is cleared against which contract no.) but contarct no. field is not coming . I have already changed the field status of G/L  and field status of posting key.
    Request immediate help.
    Thanks in advance.

    hi
    you can use Reference field / Text field but its always better to useful Reference field b'cos its belongs to the Header Data, ie it will be applicable to both the line items ie Cr as well as debit . ,
    where as Text field is jus a line item data field. which is applicable to jus single line item .........
    hope its useful assign points if found useful ...
    regards,
    R.Ramakrishnaraj

  • Checking which fields were modified by the user

    Hi
    I could not find an answer for this in this forum. I have an Apex 3 page with a few fields, and after the page is submitted, in a post-submit PL/SQL process, I need to know what fields were modified by the user.
    I know that I can save the original field values in hidden fields, but this is cumbersome especially if there is a big number of fields. Is there a built-in functionality to do this?
    Thanks
    Luis

    Thanks Timo.
    I am using ADF Data Control (which are created from Web Service proxy) to display/update the data.
    In the backing bean, the operation that is invoked at the time persisting data is as follows:
    public void commitOperation {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("operationA");
    DCIteratorBinding dciter = (DCIteratorBinding)bindings.get("someIterator");
    for(int i=0; i<dciter.getViewObject().getEstimatedRowCount(); i++)
    Row row=dciter.getRowAtRangeIndex(i);
    SomeObject someObject= new SomeObject ();
    someObject.setAttr1(row.getAttribute("Attrbute1").toString());
    someObject.setAttr2(row.getAttribute("Attribute2").toString());
    objectList.add(someObject);
    operationBinding.getParamsMap().put("param1", objectList);
    ResultObject result = (ResultObject) operationBinding.execute();
    Inside the for loop (or any other place in the backing bean), I would like to figure out if the row was modified by the user. Please let me know if how to get that. If ADF provides this automatically, that would be GREAT.
    Thanks,
    Ash K

  • System failure during locking GL account 5555 by 13113910 Message no. 8I076  and the time of saving out going excise invoice.

    Hi SAP Gurus,
    We are configuring the CIN Settings for our client and at the time of testing, while saving the Out going excise invoice the system is giving the error as “Balance in Transaction Error” and when pressed enter the system displays the error as “ system failure during locking GL account 5555 by 13113910.”
    We have configured Out going excise duty condition types  in the SD pricing procedure
    and
    also maintained the same condition types  as mentioned below  in the path IMG / LOGISTICS GENERAL  / TAX ON GOODS MOVEMENT  /  INDIA / BASIC SETTINGS/ DETERMINATION OF EXCISE DUTY / MAINTAIN EXCISE DEFAULTS
    under the headings
    AR BED Cond – JEXP
    AR Cess Cond – JECS
    ECS AR – JHEC
    And also maintained the settings in the Path IMG / LOGISTICS GENERAL  / TAX ON GOODS MOVEMENT  / INDIA  / SPECIFY  EXCISE ACCOUNTS PER  EXCISE  TRANSACTION and also in SPECIFY G/L ACCOUNTS  PER EXCISE TRANSACTION .
    But still the above mentioned error is comming.
    Note : error in not coming when I am removing the  JHEC condition type  from the path IMG / LOGISTICS GENERAL  / TAX ON GOODS MOVEMENT  / INDIA / BASIC SETTINGS/ DETERMINATION OF EXCISE DUTY / under the heading ECR AR, But we need the JHEC(ie. Higher education cess) also in out going excise invoice.
    Please let me know what is the issue and how to resolve it.
    Thanks & Regards
    Shashi

    Dear We faced the same issue and  almost for 20 days to  get it resolved.
    For this kind of error firstly Check have you activated the Liable for AT1 indicator in(IMG>>Log.General>>Tax on goods Movement>>India>>Basic Settings>>Maintain Excise registrations)
    Also Have you assigned Proper GL account in (IMG>>Log.General>>Tax on Good Movement>>>India>>>Account Determination>>Account determination per Excise transaction type.
    Here pl check the relevant GL has been assigned for
    1.RG23A BED(for Both incoming and outgoing excise invoice  updations against your ETT)
    2 RG23C BED, (for Both incoming and outgoing excise invoice updations against your ETT)
    3 .OFF SET,(for Both incoming and outgoing excise invoice  updations against your ETT)
    4 MODVAT.CLEARING, (for Both incoming and outgoing excise invoice updations against your ETT)
    5 PLA BED& AED & SED,(for Both incoming and outgoing excise invoice updations against your ETT at the time of utilizations)
    6 PLA CESS(for Both incoming and outgoing excise invoice updations against your ETT at the time of utilizations)
    7 CENVAT ON HOLD(for Both incoming and outgoing excise invoice updations against your ETT at the time of utilizations)
    8.CENVAT SUSPENSE(for Both incoming and outgoing excise invoice updations against your ETT at the time of invoice posting)
    9.PLA ON HOLD((for Both incoming and outgoing excise invoice updations against your ETT at the time of TR6c)
    10. CENVAT REVERSAL(For cancellations vs ETT)
    11. RG23A ECS(for Both incoming and outgoing excise invoice  updations against your ETT)
    12. RG23C ECS(for Both incoming and outgoing excise invoice  updations against your ETT)
    13. PLA ECS(for Both incoming and outgoing excise invoice  updations against your ETT )
    14. RG23A AT1(check this more carefully)
    15. RG23C AT1(check this more carefully)
    16. PLA AT1(check this more carefully)
    Hope this helps you...
    Phanikumar

  • Update ZPURCHASE THROUGH BADI .. at the time of saving Purchase Order

    Dear All Gurus,
    I have a situation wherein i have to save the Purchase Order Details in My DB table (ZPURCHASE ) at the time of Purchase Order Creation through BADI...
    Fields of ZPURCHASE are (Mandt,EBELN,BUKRS)
    Can some one guide me how can i achieve this..
    I tried doing it through User Exits.. i have written a piece of code when saving the purchase order but my problem is .. The purchase order numbers are generated only after SAVE is complete..
    The other alternative i want to try is through BADI.
    Looking forward for your reply.
    Thanks !!

    > I have a situation wherein i have to save the Purchase Order Details in My DB table (ZPURCHASE ) at the time of Purchase Order Creation through BADI...
    > Fields of ZPURCHASE are (Mandt,EBELN,BUKRS)
    I have no solution for your actual problem (wrong forum, you should try the MM forum) but I wonder why you just don't use the data that is already there in EKKO and EKPO?
    Markus

  • The Time Machine saved me after I lost my data... I'm a believer !

    I had about 18GB of video data that I had for a client.  Before I got started I deleted it all.  I felt like a complete idiot!  Right then I remember I had the time machine setup on my mac and sure enough all my data was on the backup.  I was a hero and was able to restore all the lost data.  I'm now a firm believer. 

    A happy thread about backups.
    Very cool.
    Welcome to the "paranoid, and loving it" club!
    But I might also add a CarbonCopyClone or SuperDuper clone to your backup mix.  Makes a bootable copy of your internal system disk, so that when (not just if, but when) it fails, you can boot to that clone, and use its DU to rebuild the internal drive.
    Give yourself over to the Darkside completely, my son ...

  • Most of the times my saved tabs open, but every once in a while they don't and I lose them

    I usually have a bunch of links open, so I have the settings set so my previous tabs always open. Most of the time, they do. Every once in a while, like today, though, Firefox decides to open to my home page instead. I never know when it is going to do this, so I never know which links to save in case it happens. Often, therefore, I lose several of the links I had open.

    The [https://addons.mozilla.org/en-US/firefox/addon/2324/ Session Manager] add-on may be helpful - it uses a more complete and fail-proof method, generally, and has a number of advanced features for session management.
    Please let us know how above works out, and if we can be of further assistance. Detailed feedback is appreciated and helps us to help you better, plus enables us to better help other users with similar issues.

Maybe you are looking for

  • How do I remove an app from the update list that is under someone else's apple id?

    How do I remove an app from the update list that is under someone else's apple id? So this way the update always fails because it asks for someone else's password. I don't have the app on my mac, it only appears in the update list. It's just annoying

  • Date Import

    I am trying to import a date from a tiburon database. when I do an import with the date and time field the date gets imported as '11/20/0001 12:04:00 AM' the date and time field are different in the tiburon database so I join the two fields during my

  • Know about the database

    hi How can we know the size of the entire database, number of tables,views ,procedures in the database .. thanks

  • Problem in currency decimal format

    Hi all, we want to display currency format 1,234,567.89 but we are getting current format as 1.234.567,89 we already maintained the required format in the USER PROFILE's DEFAULT still we are getting this format 1.234.567,89 so is there any thing we h

  • HT201269 What happens when the old device's Restore From Backup doesn't appear as a choice for the new (iPad) device?

    My wife dropped her iPad and fried the screen. It was still functional, so I backed it up with iTunes. The backup was successful for all apps, photos, etc.  I just swapped that iPad at the Apple Store for a refurbished model and attempted to Restore