User exit for the purpose of changing invoice quantity

hi all,
    In Tcode vf01, when i input the delivery number and press Enter, program will goto the next screen. There's a subscreen, which number is 104 in program SAPMV60A. These screen reflects the data of each item, and the fields of this subscreen is uneditable.
    For the invoice quantity column, my function wanna convert the current value to a new value which is the multiple of 100 automatically after a invoice is created.
    For example,  789450 should be converted to 789400,   999999 should be converted to 999900,etc. 
    Although  I got a solution to converted the value, but i don't know where i can add my code, cause i can't find the corresponding user exit.
    could anyone tell me the corresponding user exit, please?
    Thanks in advance.
    Desmond.

Hello Desmond
I know that partail invoicing can be carried if you choose the field value "K  in item category customizing
for field relevance for billing.This will open up the quantity field and allow you to change the quantity lower than the delivery quantity.
Thanks
Vikas

Similar Messages

  • User-Exit for the Me22n

    Hi,
       I am Mohan. I faced on Problem with the User Exit. I write the user exit for the ME21n for PO Creation. While Creation of the PO the Purchase Requition is mandatory. it is working for the ME21n. But PO creation is another two ways is there. Those are ME22N (Purchase order---> Create) and ME23N
    (Purchase order---> Create) for this case also my condition applicable but it is not working for this case. How to write the Code for this. by using Sy-ucomm  also. but it is not working.
    Please help me.
    Regards,
    Mohan

    Following the user exit's related to ME22N transaction.
    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
    M06B0004 Number range and document number
    M06B0005 Changes to comm. structure for overall release of requisn.
    M06E0004 Changes to communication structure for release purch. doc.
    M06E0005 Role determination for release of purchasing documents
    ME590001 Grouping of requsitions for PO split in ME59
    MEETA001 Define schedule line type (backlog, immed. req., preview)
    MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
    MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1 Enhancement to Document Overview ME21N/ME51N
    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
    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
    Regards.

  • User exit for Purchase order to change RESB-SOBKZ

    Hai,
    The requirment is to change the purchase order's RESB-SOBKZ.
    The purchase orders will be created in r/3 from APO & the same PO would be published back to APO.
    I have to change the above metioned field at the time of PO save in R/3.
    The RESB-SOBKZ  actually changes the purchase orders Individual & collective indicator based on its value.
    Can any one know what is the user exit for this?
    I have checked 'EXIT_SAPLCPUR_001' but it dosn't have the RESB related structure.
    Thanks,
    Bhaskar

    Hi,
        I know this is very late reply to your query but i think this is the correct answer for which you are looking for.
    you were searching in a right direction...just try to see the User Exit  EXIT_SAPLMEPI_006 on R/3 side in which you will find the RESB-SOBKZ field in CP_POSITION parameter in Changing Tab,Assoicated Type = MEPI_PO in which SOBKZ field is there on 16th position.
    Regards,
    Saurabh

  • 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

  • User Exit for VF01 upon creation of Invoice

    Hi All,
    We have USEREXIT_SAVE_DOCUMENT in MV45AFZZ once the sales order is saved......similarly do we have a same user exit once the invvoice is saved??I need this to populate my custom table once the invoice have been saved.....If yes can you please let me know........i'm currently working with SDVFX001-EXIT_SAPLV60B_001,but just in case if it has any such please do let me know so that i can be more specific on coding my requirement

    EXIT_SAPLV60B_008 is triggered when an SD invoice is transferred to accounting (SD -> FI), so it is not triggerred if:
    - an invoice is not relevant for accounting;
    - an invoice is relevant for accounting but some of its data result in an error that occurs before the system starts transferring the document to FI.
    So you can use that exit to be informed of invoices being created and posted to FI.
    regards

  • User exit for the release of Purchase Order

    Hi Friends,
    I am searching for a user exit which should trigger at the time of Purchase Order release in ME29n transaction.
    If anyone can help me for the same....!!!
    I need the exact exit which triggers at the release of PO....
    Points will be rewarded for the needful replies.
    Regards,
    Mandeep.

    HI,
    Finding the user-exits of a SAP transaction code
    Enter the transaction code in which you are looking for the user-exit
    and it will list you the list of user-exits in the transaction code.
    Also a drill down is possible which will help you to branch to SMOD.
    report zuserexit no standard page heading.
    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.
    *---End of Program
    USE THIS PROGRAM TO GET ANY USER EXIT BY GIVING THE TCODE.
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    REGARDS,
    PRIYA.
    Edited by: Priyadharshini Veluswamy on Mar 13, 2008 9:21 AM
    Edited by: Priyadharshini Veluswamy on Mar 13, 2008 9:40 AM

  • User Exit for the Funds Management Update

    Hi Experts ,
    My requirment is to make the movement type 261 as stastical . This should be reflected in COO11 T Code, Please suggest me the User Exit Or The BADI.
    Thanks in Advance,
    Regards,
    Manish

    Self Solved.

  • User exit for SO creation while changing the net price for  item

    Hi folks,
    Is there any user exit or BADI to change the net price in the item label of Sales order??
      My req. is that--- i need to change the net price of sales item if the cond type is 'ZUR1 ?
      how can i achive this?
    Regards
    pabi

    Hi
    The user exits and badis for va01 tcode:
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    V45L0001                             
      SD component supplier processing (customer enhancements)       
    V45E0002                               
    Data transfer in procurement elements (PRreq., assembly)       
    V45E0001                               
    Update the purchase order from the sales order                 
    V45A0004                              
    Copy packing proposal                                          
    V45A0003                               
    Collector for customer function modulpool MV45A                
    V45A0002                              
    Predefine sold-to party in sales document                      
    V45A0001                               
    Determine alternative articles for product selection           
    SDTRM001                              
    Reschedule schedule lines without a new ATP check              
    V60F0001                             
      SD Billing plan (customer enhancement) diff. to billing plan   
    V46H0001                               
    SD Customer functions for resource-related billing             
    V45W0001                             
      SD Service Management: Forward Contract Data to Item           
    V45S0004                              
    Effectivity type in sales order                                
    V45S0003                               
    RP-relevance for incomplete configuration                      
    V45S0001                              
    Update sales document from configuration                       
    V45P0001                               
    SD customer function for cross-company code sales                                                                               
    Business Add-in                                                                               
    BADI_SD_SCH_GETWAGFZ                   
    Scheduling Agreement: Read WAGFZ from S073                     
    BADI_SD_V46H0001                       
    SD Customer functions for resource-related billing             
    If it is helpful rewards points
    Regards
    Pratap.M

  • User Exit For PR Create and Change

    Hi,
       Please help me for finding User Exit while creating Purchase Requisiton(Me51/Me51n)  and aslo changing Purchase Requisiton(Me52/Me52n).
    Mainly i want to exit for validating Plant and material code while creating and changing PR.
    Thanks,
    Sunil sahoo

    Hi,
    Use the exists
    M06B0001  Role determination for purchase requisition release
    M06B0002  Changes to comm. structure for purchase requisition release
    Regards,
    Nandha

  • User Exit for PO (Purchase Order) Change

    Hi,
    I want to know the SAP Standard User Exit that is triggered ONLY during changing / modification of PO(Purchase Order).
    Thanks in Advance.
    RK

    ME_PROCESS_PO_CUST
    use above BADI for ME22N/ME21N,often we use method PROCESS_HEADER
    PROCESS_ITEM our most of the requirement meet by these methods only,check once if your requirement does meets with these two methods?
    if not than you may implement some more method which are in ME_PROCESS_PO_CUST, for more help you may read documentation,there is well enough documentation already there for each method.
    and for ME22/ME21 you may use
    ME_PURCHDOC_POSTED
    and method POSTED.

  • User exit for sale order qty change

    Hi all,
    In our industry we are creating Sale Order for MTO Scenario by using T.Code VA01 . Most of the time after taking the MRP run and raising PO for BOM components, Users are changing the qty in the sale order . eg. and due to that it is becoming difficult to make necessary change in production programe. .Now please give me solution/ userexit  so that anybody cannot change the sale  order qty and it must be check the authorised userid to do necessary change in sale order.
    I am waiting for your valuable suggestion.
    Thanks & Regards

    Hi LIMAYE,
      You can use user exit include 'MV45AFZZ'.
    Make necessary changes in FORM USEREXIT_MOVE_FIELD_TO_VBAP.
    XVBAP will contain the old values before making the changes. You can comapare the quantity wtih VBAP field.

  • I need user exits for the following criteria

    when cancelling the billing document using the transaction VF11 ,i want to know the user exits when saving the cancelled document in VF11.
    Note:At the saving time billing block has to change.

    Hi Amit,
    For deliveries check the followings txn :
    VL10A                Sales Orders Due for Delivery             
    VL10B                Purchase Orders Due for Delivery            
    VL10C                Order Items Due for Delivery                                
    VL10D                Purch. Order Items due for Delivery       
    VL10E                Order Schedule Lines due for Deliv.       
    VL10F                PurchOrd Schedule Lines due for Dlv.      
    VL10G                Documents due for Delivery                
    VL10H                Items Due for Delivery                    
    VL10I                Schedule Lines due for Delivery           
    VL10U                Cross-System Deliveries                   
    Check Also :
    VA05                 List of Sales Orders               
    VA07                 Compare Sales - Purchasing (Order) 
    VA08                 Compare Sales - Purchasing (Org.Dt.)

  • How to find the user exit for the T-code 'RECN'

    Hi friends,
    I have a requirement as-
    In 'General Data with Fast Entry' tab of tcode 'RECN' there are 2 fields as contract conclusion date and contract end date.
    Now, the requirement is as if entered contract end date is less than contract conclusion date then we have to display a warning message as "contract end date cannot be less than contract conclusion date".
    So, how to find the right user exit to enter the code.
    Plz help me.I will surely reward points.
    Thanks,
    Rishi

    Hi Rishi,
    If User exits and BAdi's are not provided,  then  you will for Enhancement points.
    Procedure:
                     When you are in a particular transaction, Go to System--> status and you find the standard program of that particular screen. Go to SE38 and give that program name, display mode.
    After that you click on the spiral icon there onthe top. Then,
    You go to menu bar, Edit> Enhancement opitons> show implicit enhancement options.
    You will be shown the points where you need to write the code.
    For creating it you will go to Edit >  Enhancement opitons> Create.
    By this you will add some code in the standard programs.
    Reward points if it helps you.
    Cheers,
    Swamy Kunche

  • User Exit for the PO Create in 4.6c version

    Hi Experts,
    We have a requirement where we want to note the PO number
    generated in ME21n, schedule a job to run for upadating the same PO( putting Vendor Confirmation ),
    after the PO is successfully created.
    Can someone help me the with the exits available in 4.6c for
    picking the PO number generated in ME21n. And also , exit where we can scedule
    the job of same PO change, ensuring that the PO has been created in database.
    We want the following :
    1. During PO create , note the PO number
    2. During PO create, schedule a job for the same PO update.( to put Vendor confirmation )
    3. Ensure that the job runs afer PO is succesfully created in database.
    4. Use the Exit available by SAP.
    Note we are in SAP 4.6C version. The BADI, ME_PROCESS_PO_CUST is not available in
    4.6C
    Thanks to all for giving valuable suggestions.
    Regards,
    Purva

    Hi Purva,
    Get the PO new PO number from this Enhacement :MM06E005
    Exit:EXIT_SAPMM06E_013
    Here you can get the created PO number in
    the field I_EKKO-EBELN.
    Thanks.
    Note:Reward Points if you find useful.

  • Problem with User exit for Purchase Order creation/change

    Hi Everyone,
    I have a requirement where I have to implement an enhancement for the standard transaction(ME21N/ME22N). I need to modify a particular field of the item table (EKPO) based on a few comparisons from the header values (After save of PO). I am using the enhancement MM06E005 and its corresponding exit  EXIT_SAPMM06E_013. While debugging I notice that the value is getting changed; but as soon as the control comes out of the FM, the change is not being reflected. Hoping to find a solution for this.
    Thanks & Regards,
    Indudhar P.G

    Hi Guys,
    Now I am using the BADI "ME_PROCESS_PO_CUST". But the control is not stopping at the method even though I set a breakpoint. It just saves the PO after I click save. Is this because my document type of PO is Stock Transfer Order. Can I use this BADI for STO's? and moreover how do I process each item line in this method. Does "ls_mepoitem = im_item->get_data( ).
    "  fetch all the item lines?
    Thanks and Regards,
    Indudhar P.G

Maybe you are looking for