Userexit in VA42

Hi
I have a requirement to enable a screen in VA42 Tcode.
VA42- Change contract
when you a display a contract ,double click on an item and go to 'billing plan' tab,
there we can see table with fields 'billing date', 'billing value' and 'currency'...you can see more fields if they are not hide.
those fields should be enabled to make changes to the date or any field.
right now, once the item is billed there can't be any changes be made to the date... checked from help.sap
is there any USEREXIT so that I can use it to make the screen enable for input other than modifying the sap std code.
please let me know.
Thanks

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

Similar Messages

  • We need userexit or badi's for VA41, VA42

    I need to validate two points in the data in the Screen  --> Extras --> Technical Objects into the transaction VA41 or VA42. 
    First:
    In each item from the sales order the material number XVBAP-MATNR into the Program SAPMV45A Screen # 4001 must be the same in the structure RIWOL-MATNR (OBJK table) corresponding, into the Program SAPLIWOL Screen # 220
    Second:
    Aditionally, validate the records created into this Object List using the Program SAPLIWOL Screen # 220, against the target quantity VBAP-ZMENG for each item.  It (the recors) mustn't be greater than this target quantity.
    Thanks in advance,
    Carlos

    Hi,
    Use the userexit...USEREXIT_SAVE_DOCUMENT in the include MV45AFZZ..
    Check this documentation..
    FORM USEREXIT_SAVE_DOCUMENT *
    This userexit can be used to save data in additional tables *
    when a document is saved. *
    If field T180-TRTYP contents 'H', the document will be *
    created, else it will be changed. *
    This form is called at from form BELEG_SICHERN, before COMMIT *
    FORM userexit_save_document.
    Regards

  • Userexit for changing line item from header, tcode VA42, VA41

    Hi All,
    I have a Zfield (VBAK) for the sales document (contract) at the header level in Additional tab.
    Also the same zfield is present in VBAP table for all line items.
    When this field is maintained by the user using Tcode VA41 or VA42 the line item zfield should also get updated.
    I am trying to find out if User Exits
    1. USEREXIT_MOVE_FIELD_TO_VBAK
    2. USEREXIT_SAVE_DOCUMENT_PREPARE
    might work. Can anyone tell me if there is access to line items in the above 2 user exits which I can modify.
    Thanks,
    Kajal

    Hi Breakpoint,
    Yes I did use table XVBAP in uesr exit SAVE_DOCUMENT_PREPARE.
    But somehow my changed values in XVBAP table is not reflected in the table VBAP.
    Am I missing something here.
    My piece od code  in the user exit :
    FORM XVBAP_ZZREBREL_CHANGE  TABLES t_xvbap STRUCTURE vbapvb
                               USING  P_VBAK_ZZREBREL TYPE vbak-zzrebrel.
    data wa_xvbap type vbapvb.
      IF p_vbak_zzrebrel = 'X'.
        LOOP AT t_xvbap into wa_xvbap.
          wa_xvbap-zzrebrel = 'X'.
          MODIFY t_xvbap from wa_xvbap INDEX sy-tabix TRANSPORTING zzrebrel.
          clear wa_xvbap.
        ENDLOOP.
      ENDIF.
    ENDFORM.

  • Workflow query for change contract - VA42

    Hi,
    Has anybody worked on workflow for contract changes VA42. I have a requirement as when we change the contract, data is not updated properly for some line items. Can anybody please tell me how workflow is getting trigger once we change something in VA42. Any userexit or any configuration ?
    Many Thanks,
    Niki

    Try using change documents to trigger a workflow event - transaction SWEC.

  • Userexit for veda

    Hi gurus,
    I need to update a Ztable whenever a line item in a contract(va42) is extended.
    I coded in the userexit userexit_save_document like this:
    if vbak-vbtyp = 'G'.
      if xveda[] is not initial.
        append lines of xveda to it_xveda.
        call function 'Z_UPD_ZSD_WBS_ROLLOFF'
          in update task
          tables
            post_tab  =  it_xveda.
      endif.
    endif.
    While debugging I observed that the table xveda sometimes gets rows and sometimes remains empty though I modified the enddates of some line items.
    How to catch the "Contract data" tab values in the userexit ?
    Please help.

    We have used this previously in userexit_save_document_prepare:
    * export Tech Object list to memory
        call function 'IWOL_EXPORT_BUFFER_TO_MEMO'
             exporting
                  iwol_buf_to_mem_id = 'TECH_OBJ_CHECK'.
    * import Tech Object list from memory
        import briwol_buf to briwol_mem
               iser02_buf to iser02_mem
               from memory id 'TECH_OBJ_CHECK'.
    * free memory
        free memory id 'TECH_OBJ_CHECK'.
    * if no-one has entered the Technical Objects screen, then the above
    * Function Module will return empty tables. If the internal tables are
    * empty then check view table VISER02 for entries. If no entries found
    * here either you can assume that the contract item has no assignments
        loop at xvbap.
          read table briwol_mem with key objnr = xvbap-objnr.
          if sy-subrc ne 0.
            clear viser02.
            select single * from viser02 where sdaufnr eq vbak-vbeln
                                           and posnr   eq xvbap-posnr.
            if sy-subrc ne 0.
              message i066(ie) with vbak-vbeln xvbap-posnr. " no assignment
            endif.
          endif.
        endloop.

  • Userexit For TCODE J1IJ depot excise invoice

    hi
    I want to know is there any userexit for depot excise invoice. That we can use to check weather excise entry date that is (J_1IRG23D-CPUDT) is equal to likp-WADAT_IST . Any info will be really helpful.
    Thank you

    Hi,
    Use this program SAPMJ1IJ in this program there are 4 includes.
    First try with  MJ1IJF01
    So check with your abaper which exit is working in this include.you can do it by setting break-point.
    Also check other includes MJ1IJTOP  MJ1IJO01  MJ1IJI01
    Thank you,

  • BADI/UserExit for MIGO in Stock Transfer

    Hi Gurus,
    I have a requirement.
    When posting a GR in MIGO, if the material has been flagged to go through inspection, MIGO post the batch to quality inspection.
    Now, when a batch has already gone through inspection (for example in another plant) and its released (passed) and its been transferred to another plant, if we are receiving this batch doing a post GR in MIGO, it automatically post it to quality inspection again.
    Is there a BADI, UserExit or way to skip this inspection and post the batch to unrestricted stock since its already gone through inspection in the previous plant and has a Decision Code A0 (accepted etc).
    We don't want to change the material master for this because we still want the material/batch to go through quality inspection if its hasn't already been.
    Thanks..
    Baz
    Edited by: Basil Balogun on Sep 23, 2010 1:49 AM

    Hi,
    Try the possibilities of MB_MIGO_BADI. I think in method LINE_MODIFY, POST_DOCUMENT and perhaps PAI_DETAIL.
    I hope this helps you
    Regards,
    Eduardo

  • Sales Order Costing. Error values, need BAPI or Userexit or Enhancements

    Hi Experts,
    I have a situation to solve the Errors in Sales Order Costing.
    My Error is,  its not splitting values equally,,, (BOM Item Price Values)
    for example...
    let i have a parent Item A.
    and Child Items as A1, A2, A3.
    Now the Qty of A is 100. for each item the price value is 50. so the total value is 5000/-
    Now If i need one A, then I need 8 A1's, 4 A2's, 3 A3's.and let think A1 value and A2 value and A3 value (single Unit ) are equal. and let the value be 100.
    but in BOM i can see all the values of A1, A2, A3 as same. (500, 500, 500) but it should be (800, 400, 300)
    The single Unit Price is not multiplying with Quantity, but its equally splitting.
    Please tell me Can I find and BAPI or Userexit or any enhancements or any Configurations to do.
    Thanks & Regards
    Dileep .C

    no replies and my thread was dead.

  • Regarding contract sales tab value not updating into the standard VA42 t-co

    Hello Experts!!!
    How to add screen shots in sdn...
    so that i can add my screen shots in SDN
    The below shown screen shot is the output of our Zprogram.The table field name:VBKD-BZIRK, where is has been marked as red colur in box.
    While dropping the from Source contract to Target Contract, where the value is not picking to the target contract and finally it is not displaying in the Standard VA42 transaction
         Input value
    That same field should come in the final alv output and also include in the va43 transaction sales tab( sales district)
    This value must then be inserted into every document which is being transferred.
    The above input field dragged from Source Contract to Target Contract, the picked value should reflected in the VA42 transation , but it is not effecting.
    Regards,
    Preethi...

    i already used same But it's not working
    s_order_header_inx-updateflag = 'U'.
    Line items
      REFRESH: i_order_item_in, i_order_item_inx.
      LOOP AT t_data INTO wa_data.
        LOOP AT t_data_item INTO wa_data_item WHERE vbeln = wa_data-vbeln. .
    BAPISDITM
          i_order_item_in-itm_number = wa_data_item-posnr.
          i_order_item_in-profit_ctr = wa_data_item-profit_ctr.
    BAPISDITMX
          i_order_item_inx-itm_number = wa_data_item-posnr.
          i_order_item_inx-updateflag = 'U'.
          i_order_item_inx-profit_ctr = 'X'.
          APPEND: i_order_item_in, i_order_item_inx.
        ENDLOOP.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = wa_data-vbeln
          IMPORTING
            output = wa_data-vbeln.
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            salesdocument     = wa_data-vbeln
            order_header_in   = s_order_header_in
            order_header_inx  = s_order_header_inx
            behave_when_error = 'P'
          TABLES
            return            = it_return
            order_item_in     = i_order_item_in
            order_item_inx    = i_order_item_inx.

  • USEREXIT FOR transaction J1IJ

    Hi
    My user wants that date in J1IJ that is excise from depot sale should same as PGI date. If it is not same it should throw some error. Is there any userexit available for the same.
    Any information will be of great help.
    Regards
    Jalaj

    Hi Jalaj,
    Use any one of  these user exits
    MJ1IJI01.
    MJ1IJF01.
    Regards
    Ram

  • User exit at item level for billing block field default for VA41 or VA42

    Hi All,
    I want user exit at item level for contract (VA41or VA42) for the field Billing Block in the Billing document tab
    which has to populate with some default value.
    Which user exit i need to check.
    Regards
    Jai

    Hi,
    Use subroutine USEREXIT_FIELD_MODIFICATION in Include MV45AFZZ.
    Make sure this is for only tcodes VA41 and VA42 because this wil trigger for sales order also.
    Regards,
    Ashok.

  • Display error message in userexit

    I have a checking which implement in userexit. When the criteria meet, it will block po saving and display error message. I would like to know how to display the error message. Thanks!

    Use like this for first approach else if second one were serve you purpose than you may go with second one also.
    DATA: mid  TYPE sy-msgid VALUE 'SABAPDOCU',
          mtype TYPE sy-msgty VALUE 'I',
          num  TYPE sy-msgno VALUE '014'.
    MESSAGE ID mid TYPE mtype NUMBER num.

  • Need userexit while saving the billing document (VF01)

    HI Folks,
    I need a userexit while saving the VF01 transaction code. My requirement is i need to check if there is any intercompany invoice was created before the delivery related invoice
    By default SAP creates delivery related invoice . I have checked lot of userexits with package VF but none is working and also gone through the standard userexits RV60AFZ*, still didn't find any good one for my requirement..
    All your help is highly appreciated..
    waiting for your replies.
    Regards,
    raj

    Hi,
    I have done some analysis before posting the question and one mistake i done is i have checked theUSEREXIT RV60AFZC and i checked XVBRK AND XVBRP instead of VBRK and VBRP...also whie saving this  is not called, it is called when we press enter and also when we press SAVE button in the initial screen.
    I missed the small thing...
    Thanks for the link..
    Regards,
    Nagaraj

  • Userexit while saving the billing document

    Hi all,
    Is there any userexit while saving the billing document..I want to define minimum invoice value in system.
    Regards,
    Puneet Makkar

    Hi,
    In preceding project, i had the same requirement.
    Price condition : copy from std price for minimum value.
    Use condition category (for specific determination price for invoice).
    In price procedure : apply requirement to active only for invoice (std = 22).
    Re determination of price during creation of invoice :
    use RV61AFZA with the value of condition category to adapt pricing type (ex : X).
    modify copy rule (Tcode VTFL) for item : use new value for pricing type (ex : X).
    Regards,
    Lionel

  • Pls help me to identify in the SD userexit what triggers "del of items"

    Here's the background of the problem. (it is difficult to explain the problem and I will try my best).
    When processing certain IDOCs, something in the SD userexit is causing the change logs of vbap records to be set with a message for every item "Item has been deleted".  I could not reproduce the problem in either the development or QA environment. It is happening in production and it happens when the IDOC is processed every night by a batch job running a standard SAP program RBDAPP01.
    It then becomes too late for me to debug the issue in production...and I can't real mess around with idoc procesing in production either..
    Since it has become impossible to reproduce the problem in QA or Dev , I am trying to figure out how to prevent it from happening...
    (I know fixing the existing records is another problem) I'm trying to figure out what code in the user exit thinks that it should log a message "Item has been deleted" for every item of vbap. The item itself is not deleted or marked for deletion..it;s just that this is appearing in the change history...  
    Can anyone suggest what may be causing this issue.,..
    Thanks....
    Sam
    Edited by: SammyBoy on Apr 8, 2011 10:39 PM
    Edited by: Sam on Apr 8, 2011 10:40 PM

    If u want to add Items data, u have to handle the Table control by writing the complete code.
    U have to write code for 2 items, when u press enter u will get new row to enter new record one by one.
    Narendra

Maybe you are looking for

  • Imported Jar file not loaded at run time ORA-105100

    Oracle 9iDS forms Version 9.0.2.9.0 Oracle 9iAS Release 2 I have imported java classes from a jar file into my form. I have it working in client server. Added the entries to the classpath in the default.env and system environment variable for develop

  • Video clipped to luminance range 16-235

    This QuickTime video-only file consists of a single frame divided into 255 rectangles (17 across by 15 down), each containing a different 8-bit luminance level (0 to 254 inclusive): http://www.rtr.myzen.co.uk/steps255.mov When imported by almost any

  • To fetch first name and last name of 1000 pernrs in one database hit

    Hi All,   We have around 1000 pernr for whom we need to fetch the firstname and lastname from PA0002 .Since as of now we are using the HR_READ_INFOTYPE ,it will be called 1000 times ,which ultimatly increasing the runtime.    Do any one know how to f

  • Iweb 08 "adding a personal domain

    I've got I life 08 on my powerbook and I'm trying to add my personal domain by following the instructions and I can't get by this message... The domain names you entered don't match. Please try again It says to enter my domain and confirm it so I've

  • [SOLVED] mkfifo: cannot create fifo '': No such file or directory

    Hi, I'm trying to get Bar working on bspwm but I'm getting an error whenever I try to load it. mkfifo: cannot create fifo '': No such file or directory At first I fiddled with it a bit and it didn't work. I figured I was making some syntax errors or