Exits in transaction QA32 at the time of save.

Hi,
   My requirement states  that for stock related inspection lot( 01 and 04),every time a usage decision is being done , a stock
   posting is needed,an inspection lot can be partially accepted or partially rejected in this case partial quantity will move to
   unrestricted stock and remaining quantity to blocked stock .
   I need to put some check on the basis of usage decision(UD) by calculating the quantity that has been input in the
   inspection lot stock tab in QA32 against the inspection lot quantity.
   I have tried several exits for this transaction but nothing is getting triggered on SAVE CLICK.
  I have tried an IMPLICIT ENHANCEMENT in the program MQEVAF12 at the time of SAVE here i am getting
  LOSMENGE(Total lot quantity) in QALS but the other values like LMENGE01(UNRESTRICTED STOCK) AND LMENGE04(GR BLOCKED STOCK)
is showing 0  which i need for calculation .
  i am getting UD code(QVCODE) too at this point in QAVE ..
  I need some exit or badi or any type of enhancement to be triggered at SAVE CLICK with all the above value so that i can put a check .
  it's urgent .
Thanks in advance .

None of the BADI or exit contains the value after u press the save .
I have implemented a different solution with the help of implcit enhancement IN the main program
SAPMQEVA  in the screen 0102 in the PAI section inside the module MENGENPRUEFUNGEN
Anyways thanks for ur support

Similar Messages

  • Enhancement/Badi/Enhancement Spot required for BP at the time of SAVE

    Dear Friends,
    I have a requirement to update the custom field(Created by using EEWB)  in BP transaction at the time of Save, based on the condition Risk Class Category, Could any one help me in finding the solution such as BAdi/Enhancement Spot/User exit where I can find the values of Risk Class category, Credit segment category and the custom field I can change at the time of save.
    Appreciate Ur help Thanks alot in advance.
    Br,
    Naveen

    Hello Selva,
    I tried both the options.
    The SDVFX008 is getting triggered.
    *if cvbrp-netwr is INITIAL and cvbrp-fkimg is NOT INITIAL.
    *  MESSAGE 'Not Valid' TYPE 'S' DISPLAY LIKE 'E'.
    * ENDIF .
    this is my logic but the values are initials.
    Is there nay other method which I can use?

  • HT201317 Dear Sir/Madam i want to tell you that I am very disappointed because I just read that in photo stream my photos are stored only for (30) thirty days.I didn't know that and i didn't have the time to save them on a device.I was robbed of mobile al

    Dear Sir/Madam
    I want to tell you that I am very disappointed because I just read that in photo stream my photos are stored only for (30) thirty days.I didn't know that and I didn't have the time to save them on a device.
    I was robbed of mobile before (3) three days and I lost 2.000 photos!
    Is there any possibility to retrieve them?
    If it was possible that would be great as I would save them immediately to my computer instead of losing them again.
    Thank you for understanding
    Kind Regards
    Giaourtsakis Kleanthis

    If you were trying to get this apple, you would do it here:  https://getsupport.apple.com/

  • Get the custom fields data at the time of save

    Hi,
    We have added few fields in the ICWC for the complaint screen.
    At the time of save i am trigering a BADI.
    I would like to check the data that is entered in those fields of complaint screen.
    Is there any FM which can be used to get the data from the buffer ?
    I have the header GUID available to me .
    Thanks.
    R

    Hi,
    Let me elaborate a bit.
    Users would create the complaints in the ICWC.We have addeded few custom fields in the complaint screen.
    CRMT_CUSTOMER_H_WRKT is extended with the custom fields.
    At the save i am trigerring the Partner Determination BAdi.
    Here i have the complaint guid at run time.
    I would like to check the data entered in the custom field in the complaint screen. Based on this i would like to determine one more partner.
    My question is how can i get the custom field data in the complaint screen in this BAdi.
    The FM:  CRM_ORDER_READ is not returning this data.Is there any FM to get this ?
    Thanks.
    R.

  • User Exit for ML81N  at the time of save -- urgent

    hello all,
    I need to fill the field reference field in ML81N transaction with some value for this i need to find user exit i was able to find so many user exits for this transaction but i couldn't find the perfect user exit at the tiem of save,
    Any pointers wouls be of great help..............

    Hi,
    check these 2 threads.
    User exit in ML81N
    Urgent. Badi or user exit for ML81N transaction
    Regards,
    Maha

  • Forceing user to do AMR in CJ02 at the time of  SAVE.

    Hi Experts,
    While using CJ02 (PS), at the time of giving WBS elements and thereafter its processings user wants that at the movement of saving,  program should force the user to do the AMR for that WBS element.
    How can we accomplish it ?

    i am still a bit confused
    if you are having an investment project then you will have investment profile
    now when you release automatically AuC will be created
    on settlement the debit will be transferred to the AuC
    how can you ask the user to create AMR - asset master record in this case??
    AMR for AuC is automatically created
    The AMR for final asset has to be initiated by the user and the user must create it preferably from CJ20N rather than AS01 so that the distribution rule automatically sets in.
    There is a BADI in 4.7 for final asset creation which should be used but the user will have to set a status of some sort to tell the system that final asset can now be created

  • MIRO Transaction take lot of time during Save

    Dear Sir,
    During the Save operation , MIRO transaction is taking lot of time . Kindly guide us as how can we analyze the reason for the excessive time being taken . Is there any trace functionality available .
    Kindly guide us the steps to be followed for the analaysis .
    With Thanks and Rgds
    B Mittal

    Note 750644 - MIRO: Performance delivery costs settlement
    967291 - MIRO: Performance problem with access to VFKK and VFKP
    766477 - MIRO: PO search via shipment number w/o success
    1.Check the statistics are being executed properly
    2.Find out the tables and indexes and check statistic is up to date.
    3. trace the transcation and find out the tables and execution time for each step and table.
    That is the best way to look into performance issues.
    Hope it help.
    Amit

  • User exit for transactions: VL01, VL01N, VL02, VL02N on 'SAVE' button.

    Hi all,
    I have a new requirement for developing a user enhancement for transactions VL01, VL01N, VL02 & VL02N when a user clicks on the save button. 
    The following needs to happen when a user clicks the save button:
    1) The sales order number must be made available & hopefully other fields of structure VBKD so that further data processing may be carried out.
    2) The delivery order number that gets automatically generated by SAP after the delivery has been successfully posted must be retrieved and stored again in a custom table (i.e. Z - table).
    Therefore I need user exits and/or BADI' that are called on execution of the 'SAVE' user action event as well as user exits or BADI's that I can use in order to retrieve the automatically generated delivery note number and save it into a custom Z table.
    Thanks in advance!

    Hi,
    Follow the following steps to find Exits for a particular transaction
    1.Open transaction SE24.
    2.Now open the object CL_EXITHANDLER in display mode.
    3.Go to the method tab and double click on the method GET_INSTANCE.
    4.Put a break point on cl_exithandler=>get_class_name_by_interface.
    5.Now execute the transaction you want to find EXIT for, it will take you to the above method.
    6.Write EXIT_HANDLER in fieldnames and hit enter, it will tell you the EXIT used for your transaction.
    7.Hit F8 and it will tell you all the EXIT's for your transaction.
    Regards,
    Manish

  • User Exits for FI transaction at time of 'Save'

    Hi All,
    I'm looking User Exits for the FI transaction - FBD1.
    I used CMOD to identify the user Exits available for the 'FBAS' package:
    F050S001 - FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment   
    F050S002 - FIDCC1: Change IDoc/do not send                          
    F050S003 - FIDCC2: Change IDoc/do not send                          
    F050S004 - FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send 
    F050S005 - FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document  
    F050S006 - FI Outgoing IDoc: Reset Clearing in FI Document          
    F050S007 - FIDCCH Outbound: Influence on IDoc for Document Change   
    F180A001 - Balance Sheet Adjustment                                 
    FARC0002 - Additional Checks for Archiving MM Vendor Master Data    
    RFAVIS01 - Customer Exit for Changing Payment Advice Segment Text   
    RFEPOS00 - Line item display: Checking of selection conditions      
    RFKORIEX - Automatic correspondence                                 
    SAPLF051 - Workflow for FI (pre-capture, release for payment)       
    However I'm looking for an user exit that is called at the time of 'Save'. I'm looking to make some changes
    so that no entry can be posted in the above transactions until a document has been attached. None of the User exits above seem to be available at the time of 'Save'.
    Is there any OSS note for a User Exit/BADI that can be used at the time of 'Save' for these transactions?
    Thanks in advance..
    Deepika.

    Hi Deepika,
      for your requirement you can use FI substitutions (entire document). Check transaction GGB1. They allow to change fields from FI tables (BKPF,BSEG,BSIK,BSAK, etc...)
    Please remember to reward points if the answer is useful and eventually to close the post if it solves your problem.
    Regards, Manuel

  • 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

  • Scheme on number of lots to be  created at the time of GRN

    Hi
    I have a bit different scenario: raw material is batch managed. Now at the time of GRN in MIGO, the no. of line items for the same material varies. Sometimes its 25, sometimes 30 and so on.
    Now the requirement is, can we control the inspection lot creation at the time of GRN. For example, when 25 line items, only 2 lots should go to quality. When line items are 50, 5 lots should be available in QA32, rest will be skipped.
    In simple words, like sam[ling scheme, we need a scheme for no. of lots to be craeted for quality.
    Any input on how to map that in SAP?

    Looks like a specific requirement, but how you want to control the creation of inspection lot depends on various factors. As you are saying a p.o has 25 line items of same material  - assuming with diff quantities and it is batch managed - total qty will be received as one Batch? whats the crieteria ? Is vendor batch is one or multiple/many?
    I did not understand how lnspection lot creation is based on the line items? You do have multiple options in the Material Master - QM view - control inspection lot for receiving inspection. Check them if they are not fit for your requirements, there is no ther way except writing your own piece of code in a user exit which is firing at the time of GR.
    You can check user exit - QAAT0001 Program:     EXIT_SAPLQAAT_002
    Thanks,
    Ram

  • Automatic creation of BP relationship at the time of creation of BP

    When a user creates a new account using BP transaction we need to create a 'Has the responsible employee' relationship automatically. If we try to create the same on save ( Using function BUPR_RELATIONSHIP_CREATE in BAdI PARTNER_UPDATE ) it doesn't work as the account would not have got created at the time of save. Hence we took a different approach of trying to create the relationship when the user clicks on 'Relationship' button ( in portal it is 'Relationship' tab ). We couldn't find a suitable BAdI which would contain the details of the recently created account as its import parameter.  Is there any other approach we could use to solve this issue? Please let me know your ideas on the same.

    Hi,
    You can implement this functionality using the BDT.
    --> in the PAI event, update the relationships in memory using function BUB_BUPA_RELATIONS_MODIFY.
    For BDT use, take a look at the following thread:
    Re: How do I update custom fields in a partner when I save the record?
    Michael.

  • More on the Time Machine backup folder issue

    R C-R has a couple recent posts related to identifying the volume on which the current backup folder for Time Machine is located -- so other volumes can be safely unmounted. He developed a script that may be the best of all possible approaches and has asked forum members to test it in "Does this script work for you? (10.5 users only)". To date the responses have been positive.
    I don't use 10.5 but figure that eventually I might. After R C-R's first post I wondered if the most recently modified backup folder might actually be the one he is looking for. Short of forcing Time Machine to do a backup just before running a script (I don't know how), there's no way (for me) to know whether the most recently modified backup folder is of any significance. But I had started fooling around with code to identify that folder and now have a script that seems to work nicely on a 10.4 mock-up of the Time Machine save scheme (or at least I think it is a mock-up). Of course, I find myself without a way to really test it.
    SO: if anyone with 10.5 wants to give it a whirl, the questions are:
    1) Does it run on 10.5?
    2) Does it appear to return the name of the volume containing the most recently modified TM backup folder?
    and
    3) Is there any correlation between the volume name it returns and the result of R C-R's test script? (I won't be surprised if there isn't)
    (BTW, through my own stupidity I encountered a number-comparison problem while writing the code, but other forum members quickly got me straightened out.)
    --BEGIN (for me, the script runs in a fraction of a second)
    set SI_ to system info
    set CN_ to computer name of SI_
    set IntList to {}
    set VtrueList to {}
    set VtrueList_par to "NONE!"
    set minVol to "[Not Applicable]"
    set Vlist to do shell script "ls /Volumes"
    repeat with v_ from 1 to count paragraphs of Vlist
    set VolName_ to paragraph v_ of Vlist
    try
    set SF_ to do shell script "ls /Volumes/'" & VolName_ & "'/Backups.backupdb"
    if SF_ contains CN_ then
    if VtrueList_par is "NONE!" then set VtrueList_par to ""
    set Vtrue to VolName_
    else
    set Vtrue to ""
    end if
    tell application "Finder"
    set IT_ to item ("" & Vtrue & ":Backups.backupdb:" & CN_)
    set MD_ to modification date of IT_
    end tell
    set Interval_ to ((current date) - MD_)
    if Vtrue is not "" then
    set VtrueList to VtrueList & Vtrue as list
    set VtrueList_par to VtrueList_par & Vtrue & return
    end if
    set IntList to IntList & Interval_ as list
    end try
    end repeat
    try
    set CI_ to count items of IntList
    set MinInt_ to item 1 of IntList
    repeat with i_ from 2 to CI_
    set NextInt_ to item i_ of IntList
    if MinInt_ > NextInt_ then set MinInt_ to NextInt_
    end repeat
    end try
    repeat with q_ from 1 to CI_
    set Int_ to (item q_ of IntList)
    if Int_ = MinInt_ then
    try
    set minVol to (item q_ of VtrueList)
    end try
    exit repeat
    end if
    end repeat
    activate
    display dialog "The following connected volumes contain a Time Machine \"Backups.backupdb\" folder at the root level which in turn contains a subfolder with the name of this computer (" & CN_ & "):
    " & VtrueList_par & "
    The most recently modified of the subfolders is on:
    " & minVol & "" buttons {"Unmount all volumes except
    " & minVol & " (and the startup volume)", "Cancel"} default button 1 with title "TIME MACHINE BACKUP FOLDERS ON THIS COMPUTER"
    if button returned of result contains "Unmount all volumes" then
    beep 3 -- (or substitute code for unmounting the appropriate volumes)
    end if
    --END
    Note: this is not a competition -- I'm just curious.

    Hello osimp,
    To distinguish two volumes with same name in plain AppleScript (without denpending upon particular applications such as 'Finder' or 'System Events'), I think you can use either POSIX file object or alias object.
    if I'm not mistaken, POSIX file object has typeFileURL data, which contains mount point information. And alias object contains fertile information to track file system object dynamically not only by its path. (In order to create new alias objects for volumes with the same name, however, you'd have to distinguish them by other means, such as by using POSIX file object.)
    E.g.
    If you have two volumes named "Mac HD" and their mount points are:
    /Volumes/Mac HD
    /Volumes/Mac HD 1
    I think you can distinguish them by:
    set f1 to "/Volumes/Mac HD" as POSIX file
    set f2 to "/Volumes/Mac HD 1" as POSIX file
    or:
    set a1 to "/Volumes/Mac HD" as POSIX file as alias
    set a2 to "/Volumes/Mac HD 1" as POSIX file as alias
    and these references can be used such as:
    set d1 to modification date of (info for f1)
    set d2 to modification date of (info for f2)
    or:
    tell application "Finder"
    set d1a to modification date of a1
    set d2a to modification date of a2
    end tell
    After all, you might write a script as follows:
    --SCRIPT
    set CN_ to computer name of (system info)
    set IntList to {}
    set VtrueList to {}
    set curDate to current date (* get curDate, time origin, once *)
    set Vlist to paragraphs of (do shell script "ls /Volumes")
    repeat with v_ from 1 to count Vlist
    set VolName_ to item v_ of Vlist
    try
    set BkDB_ to ("/Volumes/" & VolName_ & "/Backups.backupdb")
    set SF_ to paragraphs of (do shell script "ls " & quoted form of BkDB_)
    (* get SF_ as string list in order to do exact comparison between each string and CN_ *)
    if SF_ contains CN_ then
    set pf to (BkDB_ & "/" & CN_) as POSIX file
    (* get pf as POSIX file in order to distinguish volumes by mount point. *)
    set end of VtrueList to VolName_ -- mount point name
    set end of IntList to curDate - (modification date of (info for pf))
    end if
    end try
    end repeat
    set CI_ to count IntList
    set MinInt_ to item 1 of IntList
    repeat with i_ from 2 to CI_
    set NextInt_ to item i_ of IntList
    if MinInt_ > NextInt_ then set MinInt_ to NextInt_
    end repeat
    set minVol to "[Not Applicable]"
    repeat with q_ from 1 to CI_
    set Int_ to (item q_ of IntList)
    if Int_ = MinInt_ then
    set minVol to (item q_ of VtrueList)
    exit repeat
    end if
    end repeat
    if CI_ = 0 then
    set VtrueList_par to "NONE!"
    else
    try
    set AppleScript's text item delimiters to {return}
    set VtrueList_par to VtrueList as Unicode text
    set AppleScript's text item delimiters to {""}
    on error errs number errn
    set AppleScript's text item delimiters to {""}
    error errs number errn
    end try
    end if
    return {CN_, minVol, VtrueList, VtrueList_par} -- # for test
    (* Rest omitted *)
    --END OF SCRIPT
    Hope this may be of some help,
    H

  • CALL TRANSACTION 'QA32'

    Hi !
    I need to call transaction QA32 from my zprogram, transfer it 3 parameter (Inspection lot, attn, plant )  and  skip first screen.
    I tried to the commands :   SET PARAMETER ID 'MAT' 
                                         SET PARAMETER ID 'werks'
                                         SET PARAMETER ID ( Id of inspection Lot ) .
    And then the command call Transaction 'Qa32;
    However  the navigate didn't work ok.
    How do i find the proper ID of SET PARAMETER of qa32 ?
    When i tried to use call transaction  Qa32  using BDC table and give it
    the proper recording of  Qa32,  i get an error:   can't  find the screen  the inspection lot . How can i solve the problem ?
    nav

    SET PARAMETER ID 'MAT'  FIELD lv_matnr.
    SET PARAMETER ID 'WRK' FIELD lv_werks.
    SET PARAMETER ID 'QHK'  FIELD lv_qhrk.
    CALL TRANSACTION 'QA32' AND SKIP FIRST SCREEN.
    Do F1 on the field u want to see the Parameter ID, then press the technical settings button on the pop-up u will get another screen, in that u can get the parameter id.
    See teh sameple code for calling a transaction
    FORM user_command USING r_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
    data:     lv_werks    LIKE v_mmim_lc-werks,   "plant
              lv_matnr    LIKE v_mmim_lc-matnr,   "Material
              lv_lgort    LIKE v_mmim_lc-lgort,   "Storage Location
              lv_charg    LIKE v_mmim_lc-charg.   "batch
       read table i_output into w_output index rs_selfield-tabindex.
        lv_matnr = w_output-matnr.
        lv_werks = w_output-werks.
        lv_lgort = w_output-lgort.
        lv_charg = w_output-charg.
        SET PARAMETER ID 'MAT' FIELD lv_matnr.
        SET PARAMETER ID 'WRK' FIELD lv_werks.
        SET PARAMETER ID 'LAG' FIELD lv_lgort.
        SET PARAMETER ID 'CHA' FIELD lv_charg.
        CALL TRANSACTION c_transaction_call AND SKIP FIRST SCREEN .
        CLEAR w_output_copy-prueflos.
        Clear:     lv_matnr,
                   lv_werks,
                   lv_lgort,
                   lv_charg.
    ENDFORM.
    Hope this solves ur query.

  • AppleTV and iTunes without Leaving Computer On All The Time/NAS iTunes Server

    I begrudge having to leave my iMac on all the time just so now and again I can play music, pictures and video from it through AppleTV. My iMac is 2 floors up from the AppleTV, and as there is no wake on LAN working (I can't get it to work if there is (I have Lion)) I don't want to go up there to turn the Mac on when I want to use AppleTV.
    So I have read some articles about iTunes servers on NAS drives and wondered if that would be a good solution, anyone try them?
    If I did have my iTunes library on a NAS drive with an iTunes server, when I start iTunes on my iMac will it then load the iTunes Library as it does now like if it was a local library? So I can still manage it in the same way as I do on my Mac.
    I assume then I could have another computer use the same library on the NAS? (although wont do it the same time due to conflicts)
    I have iCloud/Match so not so bothered about music as I can play from the Cloud (although its hit ad miss sometimes), but I have videos and pictures I stream to AppleTV so they are more important. I don't want to have a computer left on all the time so I can use AppleTV.
    If this is not possible, then I am thinking of getting a Macbook for the lounge, but then I don't want to have to plug/unplug my external hard drives into it all the time, which I am likely to swap with the main iMac too.
    Thanks a lot

    P.S. I only play music from iCloud as my iMac is not on. So if I can stream to AppleTV without having a computer on, then I would do that to be faster, work all the time, and save bandwidth.

Maybe you are looking for

  • Server setup to support user profiles across multiple macs

    I want to do something that I thought would be obvious, but can't figure out how to do. Here's the scenario: we have 10 or so macs in our office and 20 employees, many of whom are part time and need to share workstations. Currently, each user is assi

  • Bought Compaq Presario CQ20-205TU No Drivers? XP not supported?

    Hello everybody, I just bought used HP Compaq Presario CQ20-205TU, and I wish to re-install it with my XP Professional So I Download some drivers and softwares (from HP)...., to my "stupidity" I forgot to double check the drivers. I thought everythin

  • How can I make audio come out of the phone speaker rather than the standard speaker in android?

    just like the title says. is this possible? Has anyone sussessfully done this?

  • Process in progress page

    I have a file upload page that is designed to take the uploaded file and do a bulk load into a database. This process can take a few minutes. It would be nice to give the user some sort of warm and fuzzy that the server is really doing something. Is

  • OC4J licence

    Hello, I want to ask you about OC4J license. Does OC4J have a price and license as a standalone commercial product. Or we can use it within JDeveloper or as a standalone software only for development and testing. Could I use OC4J within commercial We