Need a user exit to modify the quantity schedules in a sales contract

Hi,
  I am using ECC 6.0 with IS OIL. Need a user-exit to update the quantity schedule(table OIA05) in the sales contract VA42.
I have a new field called timestamp in the table OIA05 which needs to be updated with the timestamp value.
I tried the user exit MV45AFZZ in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT to update the values. But the new values are not being reflected. Can you please help me in this regard.
Thanks,
Best regards,
Ajith

that will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
Yep, that is exactly it.    So after the APPEND statement, simply fill the fields of the <accit>.
append initial line to im_document-item ASSIGNING <accit>.
<accit>-field1 = 'Blah'.
<accit>-field2 = 'Blah'.
Regards,
Rich Heilman

Similar Messages

  • User exit to modify the segment E1IDB02 data

    Hi SAP Experts,
    I have a requirement to change the data in the segment E1IDB02  field FIIKONTO before generating the IDOC.
    I'm using the transaction code F110 for payment and the program in payment run transaction is RFF0EDI1,  message type PAYEXT and the Basic Idoc type PEXR2002.
    I have tried the user exit 'EXIT_SAPLIEDP_002' to modify the data, but it is not triggering that user exit I guess, even tried by putting 'BREAK-POINT' as well but still it is not stopping the control at that particular point.
    This is for outbound idoc creation.
    note : I have activated everything like project, function module etc.
    Please kindly let me know whether I am using the correct user exit or not and if not please kindly provide me the correct user exit.
    Thanks in advance.
    kalikonda.

    Hi Pawan,
    Thanks for your prompt reply.
    I tried all ways as you told but still it is not stopping.
    Also implemented the sap note 937966 (RFFOEDI1: User exits EXIT_SAPLIEDP_002 and PEXR2002)
    but still no result.
    Is there any other way where I can modify the data in the segment  E1IDB02?
    Thanks,
    kalikonda.

  • Rule based ATP Check - User Exit to modify the item

    Hi all,
    We are working with standard rule based ATP check to change the plant in the Sales Order item.
    That creates a new subitem with the new plant determination, and changes the Item Category of the original item.
    My doubt is: Is there any User Exit in this process to do the system change something else in the Sales Order items?
    << Moderator message - Please do not offer points >>
    Thanks!!
    Edited by: Rob Burbank on Oct 8, 2010 2:20 PM

    Hi Roger,
    Please clarify more what do want to change exactly example any Z field to be copied from main item to sub item.
    You can use exit USEREXIT_MOVE_FIELD_TO_VBAP ,  USEREXIT_MOVE_FIELD_TO_VBAK 
    Thanks,
    Pavan Verma

  • Badi or user exit to split the quantity ,weight ,volume in vl02n tcode

    hi ,
    Can anybody help me spltiing the quantity ,volume , weight in vl02n tcode if any uerexit or badi  based on some condition
    Edited by: anitasha123 on Mar 18, 2010 4:16 PM

    hi ,
    Can anybody help me spltiing the quantity ,volume , weight in vl02n tcode if any uerexit or badi  based on some condition
    Edited by: anitasha123 on Mar 18, 2010 4:16 PM

  • VA01 user-exit to modify net price of line item...

    Hello Experts,
    Is there a user-exit to modify the net price value of a line item upon 'ENTERING' in
    VA01 transaction?
    Hope you can help me guys. Thank you and take care!

    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
    Pls. reward if useful...

  • User Exit to Modify SD Item Category

    Dear Experts:
    I would like to make use of a SD user exit to modify the default item category determined in a sales document. What is the best user exit to use? Would that be form USEREXIT_MOVE_FIELD_TO_VBAPKOM in include MV45AFZB?
    Thanks,
    Dan

    Hi Brad:
    Thanks for the response. Looking at the comment from SAP, I would even think this is the official one to use.
    Cheers,
    Dan

  • User exit to change the value of ltbp-wempf

    Hi,
    Is there any user exit to modify the value of ltbp-wempf during Transfer requirement creation ?

    It is also ok, if i can get a way to modify MSEG-wempf during production declaration. (MFBF)

  • Needed a User Exit to cross-check the mtrll master at the time of making PR

    Hello Experts,
                          As per the requirement from my client I need a USER Exit in PR where before saving the PR the system should check the Material Master of every line item for the Material Type and MRP controller fields.
    for the particular combination of material Type and MRP controller, the system should propose an account assignment which could be achieved but User Exit is required.
    Please help.
    Thanks in advance
    and Regards
    Yawar Khan

    Hi Ravi,
                Thanks for the reply, I will check back.
    Regards,
    yawar Khan

  • User exit/BADI AFTER the database commit in va01 va02

    Hi All
    I need an user exit/BADI <b>AFTER the database tables are updated</b> when save button is pressed on VA01/VA02, both these user exits are fired before that.
    Regards
    Badari

    Check out all these exits
                                                                                    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 
    SDAPO001            Activating Sourcing Subitem Quantity Propagation

  • Need a user exit to add custom partner function in sales order @ item level

    Hi,
    Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
    Thanks,
    Thiyagi

    HI Leo
      To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
       Naren is right to point out on the same.
      If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same. 
       I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
    Kind Regards
    Eswar

  • To find a user exit which update the Invoice header data

    Hi,
    I need a user exit which will update the invoice header data. For eg I need to update the fields RBKP_V-ESRNR and RBKP_V-ESRRE in table RBKP_V. I was using this user exit EXIT_SAPLMRMP_010 (Program ZXM08U16).But this is not working fine as this has no exporting parameter nor tables of structure RBKP_V.
    I need for transaction MIRO.
    Kindly help ...
    Points will be rewarded
    Thanks in advance

    Hi jayasree,
    with the help of the below given program you can find out the requried user exit by giving the T code (MIRO).
    *& Report Z_USEREXIT_DISPLAY *
    Title : Display UserExits *
    Transport Request No : *
    Modification Log *
    ModNo Date Consultant Description of Change(s) *
    REPORT z_userexit_temp
    NO STANDARD PAGE HEADING
    LINE-SIZE 200
    MESSAGE-ID zz.
    T A B L E D E C L A R A T I O N S *
    TABLES: tftit,
    e071,
    e070.
    S T R U C T U R E D E C L A R A T I O N S *
    TYPES: BEGIN OF x_tstc,
    tcode TYPE tcode,
    pgmna TYPE program_id,
    END OF x_tstc.
    TYPES: BEGIN OF x_tadir,
    obj_name TYPE sobj_name,
    devclass TYPE devclass,
    END OF x_tadir.
    TYPES: BEGIN OF x_slog,
    obj_name TYPE sobj_name,
    END OF x_slog.
    TYPES: BEGIN OF x_final,
    name TYPE smodname,
    member TYPE modmember,
    include(15), "Include name
    END OF x_final.
    I N T E R N A L T A B L E D E C L A R A T I O N S *
    DATA: it_tstc TYPE STANDARD TABLE OF x_tstc WITH HEADER LINE.
    DATA: it_tadir TYPE STANDARD TABLE OF x_tadir WITH HEADER LINE.
    DATA: it_jtab TYPE STANDARD TABLE OF x_slog WITH HEADER LINE.
    DATA: it_final TYPE STANDARD TABLE OF x_final WITH HEADER LINE.
    V A R I A B L E S D E C L A R A T I O N S *
    U S E R I N P U T S S C R E E N *
    S E L E C T I O N S C R E E N *
    SELECTION-SCREEN: BEGIN OF BLOCK blk01 WITH FRAME TITLE text-t01.
    PARAMETERS: p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blk01.
    S t a r t o f S e l e c t i o n *
    START-OF-SELECTION.
    PERFORM get_tcodes. "Get Tcodes
    PERFORM get_objects. "Get Objects
    E n d o f S e l e c t i o n *
    END-OF-SELECTION.
    PERFORM display_results. "Display Results
    *& Form get_tcodes
    Get Tcodes
    FORM get_tcodes.
    SELECT tcode
    pgmna
    INTO TABLE it_tstc
    FROM tstc
    WHERE tcode = p_tcode.
    IF sy-subrc = 0.
    SORT it_tstc BY tcode.
    ENDIF.
    ENDFORM. " get_tcodes
    *& Form get_objects
    Get Objects
    FORM get_objects.
    DATA: l_fname LIKE rs38l-name,
    l_group LIKE rs38l-area,
    l_include LIKE rs38l-include,
    l_namespace LIKE rs38l-namespace,
    l_str_area LIKE rs38l-str_area.
    DATA: v_include LIKE rodiobj-iobjnm.
    DATA: e_t_include TYPE STANDARD TABLE OF abapsource WITH HEADER LINE.
    DATA: l_line TYPE string,
    l_tabix LIKE sy-tabix.
    IF NOT it_tstc[] IS INITIAL.
    SELECT obj_name
    devclass
    INTO TABLE it_tadir
    FROM tadir FOR ALL ENTRIES IN it_tstc
    WHERE pgmid = 'R3TR' AND
    object = 'PROG' AND
    obj_name = it_tstc-pgmna.
    IF sy-subrc = 0.
    SORT it_tadir BY obj_name devclass.
    SELECT obj_name
    INTO TABLE it_jtab
    FROM tadir FOR ALL ENTRIES IN it_tadir
    WHERE pgmid = 'R3TR' AND
    object = 'SMOD' AND
    devclass = it_tadir-devclass.
    IF sy-subrc = 0.
    SORT it_jtab BY obj_name.
    ENDIF.
    ENDIF.
    ENDIF.
    *- Get UserExit names
    LOOP AT it_jtab.
    SELECT name
    member
    INTO (it_final-name, it_final-member)
    FROM modsap
    WHERE name = it_jtab-obj_name AND
    typ = 'E'.
    APPEND it_final.
    CLEAR it_final.
    ENDSELECT.
    ENDLOOP.
    *- Process it_final contents.
    LOOP AT it_final.
    l_tabix = sy-tabix.
    CLEAR: l_fname,
    l_group,
    l_include,
    l_namespace,
    l_str_area.
    l_fname = it_final-member.
    CALL FUNCTION 'FUNCTION_EXISTS'
    EXPORTING
    funcname = l_fname
    IMPORTING
    group = l_group
    include = l_include
    namespace = l_namespace
    str_area = l_str_area
    EXCEPTIONS
    function_not_exist = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    IF NOT l_include IS INITIAL.
    *- Get Source code of include.
    CLEAR: v_include, e_t_include, e_t_include[].
    v_include = l_include.
    CALL FUNCTION 'MU_INCLUDE_GET'
    EXPORTING
    i_include = v_include
    TABLES
    e_t_include = e_t_include.
    IF sy-subrc = 0.
    LOOP AT e_t_include.
    IF e_t_include-line CS 'INCLUDE'.
    CLEAR l_line.
    l_line = e_t_include-line.
    CONDENSE l_line NO-GAPS.
    TRANSLATE l_line USING '. '.
    l_line = l_line+7(9).
    it_final-include = l_line.
    MODIFY it_final INDEX l_tabix TRANSPORTING include.
    ENDIF.
    ENDLOOP.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDLOOP.
    ENDFORM. " get_objects
    *& Form display_results
    Display Results
    FORM display_results.
    FORMAT COLOR COL_HEADING.
    WRITE:/1(150) sy-uline.
    WRITE:/ sy-vline,
    2(23) 'Extension Name',
    24 sy-vline,
    25(39) 'Exit Name',
    64 sy-vline,
    65(74) 'Description',
    140 sy-vline,
    141(9) 'Include',
    150 sy-vline.
    WRITE:/1(150) sy-uline.
    FORMAT RESET.
    SORT it_final BY name member.
    LOOP AT it_final.
    CLEAR tftit.
    SELECT SINGLE stext
    INTO tftit-stext
    FROM tftit
    WHERE spras = 'EN' AND
    funcname = it_final-member.
    WRITE:/ sy-vline,
    it_final-name COLOR COL_KEY, 24 sy-vline,
    25 it_final-member, 64 sy-vline,
    65 tftit-stext, 140 sy-vline,
    141 it_final-include, 150 sy-vline.
    WRITE:/1(150) sy-uline.
    ENDLOOP.
    Regards
    Srinivas

  • User exit to modify a service order (IW32)

    Hi
    I require a user exit to modify a service order (IW32) that is generated via the repair procedure functionality linked to a Sales order.  
    I need to change at the operation level:
    1-      Add an operation with the service material from the sales order.  Get the purchasing group data from the material master.
    2-      Change the first operation -  replace the default purchasing group
    THanks

    Sid,
    [PM/CS User-Exits etc|http://pjatkin.users.btopenworld.com/documents/PMCSUserExits.pdf]
    Might be possible by using IWO10009 (at save user-exit) with function modules:
    CO_BP_AFVG_BT_FETCH
    CO_BT_AFVG_UPDATE
    PeteA
    [www.pjas.com]

  • Need a user exit for Export Control check in Sales Order fro VA01/VA02

    Hi ,
         I need a user exit for Export Legal Control process in Sales Order.since Ship-to country in the Sales Order is not always the ‘ultimate destination country’ User Exit needs to be built in with following logic
    1.     Check to see if ‘ultimate destination country’ field is maintained in Sales Order
    2.     If a value is maintained then for the Export control checks use ‘ultimate destination country’ instead of the Ship-To country (step 1)
    3.     If no value is maintained then use Ship-To country as default
    The user exit is called when the user creates or changes a Sales Order.
    Can anybody help ?
    Thanks

    Hi,
    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
    SDAPO001 Activating Sourcing Subitem Quantity Propagation
    <b>Reward points</b>
    Regarsd

  • User Exit to stop the creation of PO

    Dear All,
    I have a typical problem , we have 2 servers both running on ECC 6.0.
    I tried creating a PO and I kept a break point in the exit EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) in server1 and the control stops here and I can check all the values from the table EKKO .
    I implemented my user exit in server 2 in the same exit EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) , when I tried to debug , I was suprised to see that the control never comes in this FM EXIT_SAPMM06E_013 , but server 1 and server 2 are both ECC6.0
    Is there any customization which I had to check from my end , so that the control can go through this user exit.
    Even if I don't implement this user exit , shouldn't the flow be going the way it was in server 1 ( I mean control going through EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) Kindly advise..
    Best Regards,
    Srinivas Gummadi.

    Hi Srinivas,
    You need to create a project in CMOD and assign the enhancement to the project.
    The project should be activated otherwise the user exit will not be triggered.
    Regards,
    Vinod

  • How can i do a variable User exit that present the values before execute

    Hi Gurus,
    How can i do a variable User exit that present the values before execute, i need this:
    a variable that calculate SYS-DATUM until 30 days before (I got the code) but this  variable run automatic because is user exit, i want this variable but first present the values, not execute automatic, this is because the users want the report that automatic present the values , help

    Hi,
    Refer the below links,
    http://documentation.softwareag.com/natural/nat424mf/pdf/ops_mf/conf_usrex.pdf
    http://www.erpgenie.com/component/content/article/1097
    http://www.apentia-online.at/UP/Apentia/files/Article/SAP_BW_User_Exits_and_BAdIs.pdf
    Hope it helps you,
    Regards,
    Ravindra.

Maybe you are looking for