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]

Similar Messages

  • VA02 User exit - authorization (AND same requirement for IW32)

    I require user exits in VA02 and IW32 that allows me to stop some users profile from changing Sales Orders and Service Orders.
    Our idea is to create an Autorization object and asign it to a user profile.
    When users try to Modify a Sales order or a Service Order, system should verify authorization object first. If not then user cannot access to the document.
    User exits should be available when document is going to be open, not after opening (meaning that user exits where saving do not work either).
    Thanks for your help

    If you require some user to use VA02 or IW32 then at the t-code level you can set the authorization.
    But when you say "User exits should be available when document is going to be open, not after opening", it is confusing.
    Userexit works only after the document is "opened"
    You can try fieldexit.
    This weblog (/people/ashish.mohapatra/blog/2007/11/28/sd-userexit--i) may also be helpful to you.

  • 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 for saving a sales order

    hi
    wats the user exit when saving a sales order?

    Hi,
    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
    tables : modsap
    tcode : cmod,smod
    Reward if usefull

  • How can we identify what are all user exits are there for sales orders,deli

    Dear All,
    How can we identify what are all user exits are there for sales orders,deliverys and invoices
    thanks
    nitchel v

    Hi Nitchel
    There are many ways to find out the user exits..
    For example for VA01.
    Goto Transaction ie VA01:
    goto System-- Status
    doubleclick on the program name ie SAPMV45A
    SE38 -> Enter the program name and in the program( SAPMV45A) goto -- attributes
    get the package name from here ie VA
    note the package(VA) and get back to main screen
    goto SMOD tcode  and click on find button in the package spec giv the package name ie VA and execute it
    you will find list of exits available
    check out the exit that suits ur requirement
    goto cmod and create a new project and implement in that user exit.
    You will get the following exits in SMOD..
    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
    For Delivery you will get .. here the package name will be VL.
    V02V0001  Sales area determination for stock transport order
    V02V0002  User exit for storage location determination
    V02V0003  User exit for gate + matl staging area determination (h
    V02V0004  User Exit for Staging Area Determination (Item)
    V50PSTAT  Delivery: Item Status Calculation
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields
    V50R0001  Collective processing for delivery creation
    V50R0002  Collective processing for delivery creation
    V50R0004  Calculation of Stock for POs for Shipping Due Date List
    V50S0001  User Exits for Delivery Processing
    V53C0001  Rough workload calculation in time per item
    V53C0002  W&S: RWE enhancement - shipping material type/time slot
    V53W0001  User exits for creating picking waves
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    For Billing VF01..Package is VF..
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    Or another way is ..
    - Get the program name for that T-Code
    - Go to that program
    - In that program, search for word 'EXIT' or 'CUSTOMER-FUNCTION' by using where-used list which will give u the list of user exits for that program
    And also you can check in the tables in SE16 for user exits..
    MODSAP - Stores SAP Enhancements
    MODSAPT - Stores SAP Enhancements - Short Texts
    MODACT - Stores Modifications
    And there are other ways as well , pls check the forum for this ,
    Regards,
    Vvieks
    Note : If you have any specific requirement then pls let us know , we will guide you

  • User exit or BADI to internal order (CO)

    Hi,
    I need a user exit or BADI to in order to shoot workflow, this user exit or BADI it must have I number of the order to be created to pass it to it to workflow
    Regards
    Dayana

    Hi Dayana,
    try user exit:
    COOPA002            Customer function for master data maint. - internal orders     
    reward points if useful.

  • Is there a user exit to modify PO line item level..

    Dear Friends,
    Is there a user exit to modify PO line item level..
    Ravi

    Hi...I'm not sure on any available customer exits for this purpose. However you can use the check function exit 'EXIT_SAPMM06E_012' of customer exit MM06E005 and using memory pointers you can change the item level data.
    The other option is to use BADI ME_PROCESS_PO_CUST's method PROCESS_ITEM to change the item level value. I would prefer the BADI rather than the customer exit.. Hope it works..
    Thanks,
    Jude

  • User-exit for transaction co13: PP Order Cancel Confirmation

    Hello!
    Whether prompt, please,
    exist what that user-exit for transaction co13: PP Order Cancel Confirmation?
    Thanks,
    Anton.

    Hi Antonio,
    Please check this all user exits (SMOD) available for CO13.
    CONFPP01  -  PP order conf.: Determine customer specific default values 
    CONFPP02  -  PP order conf.: Customer specific input checks 1           
    CONFPP03  -  PP order conf.: Cust. specific check after op. selection   
    CONFPP04  -  PP order conf.: Customer specific input checks 2           
    CONFPP05  -  PP order conf.: Customer specific enhancements when saving 
    CONFPP06  -  PP Order Confirmations: Actual Data Transfer               
    CONFPP07  -  Single Screen Entry: Inclusion of User-Defined Subscreens  
    CONFPS01  -  PS confirmation: Determine customer specific default values
    CONFPS02  -  PS confirmation: Customer specific input checks 1          
    CONFPS03  -  PS confirmation: Customer specific check after op. selection
    CONFPS04  -  PS confirmation: Customer specific input checks 2          
    CONFPS05  -  PS confirmation: Customer specific enhancements when saving
    CONF0001   -  Enhancements in order confirmation                         
    CONFPI01   -   Process order conf.: Calculate cust.specific default values
    CONFPI02   -   Process order confirmation: Customer spec. input checks 1  
    CONFPI03   -   Process order conf.: Cust. spec. check after op. selection 
    CONFPI04   -   Process order conf.: Customer specific input checks 2      
    CONFPI05   -   Process order conf.: Cust. spec. enhancements when saving  
    CONFPI06   -   Process order confirmation: Actual data transfer           
    CONFPM01  -  PM/SM order conf.: Determine cust. specific default values 
    CONFPM02  -  PM/SM order confirmation: Customer specific input checks 1 
    CONFPM03  -  PM/SM order conf.: Cust. spec. check after op. selection   
    CONFPM04  -  PM/SM order conf.: Customer specific input check 2         
    CONFPM05  -  PM/SM order conf.: Cust. specific enhancements when saving 
    Regards,
    Ferry Lianto

  • 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 and BADI for Sales Order

    Dear Experts,
                        please give me available user exits and BADI for sales order .i want to take the data from sales order at the time of sales order posting .

    Hi,
    In debugging you can find some Enhancement Spots where you can implement your code. This lets you ignore the need for access key, but its a time consuming process spotting out the exact enhancement point.
    Regards
    Karthik D

  • User-exit wich modify batch number in vl31n

    Hi,
    I have another question.
    What is user-exit wich modify batch number in vl31n transaction ?
    Regards,
    Greg.

    Hi
    Find the available exits with the following program:::
    *& Report  ZFINDUSEREXIT
    report  zfinduserexit.
    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).
    execute this code.
    <b>type the transaction. u will get the user exits</b>
    If there are no available user exits you could go for badi's.
    To search for a badi, go to se 24 display class cl_exithandler. double click on method get_instance, get a break point on case statement. execute and start the required transaction in new session. look for variable exit_name. It would show the available badi's.
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • User exit to modify sales order pricing condition

    Hi Experts,
    I need ot modify Sales Order Header Condition (ZFRH), Condition Value (KWERT) for Transaction VA01 & VA02
    I agree there are many user exits which will modify XKOMV-KWERT structure and can populate what ever value we insert.
    But the value we insert is inserting into line item condition and the total of all line items is populating in Header .
    I need to modify only Header condition without populating Line items
    Thanks ,
    Basheer .

    Hi:
    Program : MV45AFZZ
    search for USEREXIT_NUMBER_RANGE.
    BR,
    Manthana

  • User Exit: Saving data in Production Order Header Long Text

    Hi PP Gurus,
    Can any one let me know which user exit can be used to save some data in the Long Text of Production Order Header.
    We try PPCO0007, it works well on ECC, but my client's system version is 4.7, it does not work.
    In 4.7 version, is there any other User Exit or BADI can be used to comply with this requirement?
    It's quite common requirement, hope someone can help me. Thanks.
    Best regards,
    Sun Qiang

    Hi All,
    Thank for your reply.
    After saving the text using 'SAVE_TEXT' function module and commiting it you need to update the 'ltext' field in AUFK table.
    SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
    wa_aufk-ltext = 'D'.
    MODIFY aufk FROM wa_aufk.
    It works in Enhancement PPCO0007.
    This call can be closed. Thanks.
    BR
    Qiang

  • Service order IW32 - change header data while saving with UE

    Hello
    I have the following problem. I need to clear while saving
    order in IW31/2 one single fields this is CAUFVD-ABGSL
    but I cannot find any user exist that could allow me to CHANGE this field I tryied to use :
    IWO10009 IH-Auftrag: Kundenprüfung zum Zeitpunkt 'Sichern'
    but it has only CAUFVD as importing parameter *"  IMPORTING
    *"     VALUE(CAUFVD_IMP) LIKE  CAUFVD STRUCTURE  CAUFVD
    while I need to change one field while saving order
    Did somebody dealt with this problem
    I will be really gratefull for help
    Best regards
    Bogumila

    Hi,
    I've had a request for one of my customers to automatically change this field as well.
    Apparently, it was possible to change the CAUFVD structure, but it wasn't updating the database table AUFK.
    First of all, I wrote a new function module to update it straight in the AUFK database table, using the order ID and the provided RA key. This because using FM BAPI_ALM_ORDER_MAINTAIN threw an error.
    FUNCTION Z_0PM_CHANGE_RA_KEY.
    *"*"Update Function Module:
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(IV_AUFNR) TYPE  AUFNR
    *"     VALUE(IV_RA_KEY) TYPE  ABGR_SCHL
         UPDATE aufk SET abgsl = iv_ra_key WHERE aufnr = iv_aufnr.
    ENDFUNCTION.
    Then in user exit PPCO0001 - FM EXIT_SAPLCOBT_001 I'm calling this in an update task, to avoid any current object locks while saving. It's working both in transactions IW31 and IW32:
    SELECT SINGLE absl FROM z0pmrakey
            INTO lv_ra_key
            WHERE auart = lv_auart_rep
              AND ilart = lv_ilart_rep
              AND eqtyp = lv_eqtyp_rep.
          CALL FUNCTION 'Z_0PM_CHANGE_RA_KEY' IN UPDATE TASK
            EXPORTING
              iv_aufnr       = lv_aufnr
              iv_ra_key      = lv_ra_key.
    In case you have any questions, please ask.
    Kind regards,
    Joris

  • User exit to modify EKKO-IHREZ ( Your reference field )

    Hi All,
    We are using Badi ME_PROCESS_PO_CUST to modify You reference ( EKKO-IHREZ ) field during purchase order creation . This badi is called when purchase order is created  through ME21N and when PO is created through BAPI . This badi is not called when PO is created through ME21 .
    Can you please let me know if there is any other user exit/ badi ( or any other way ) where we can modify EKKO-IHREZ when PO is created through ME21 . I checked few user exits but all are having EKKO as the Importing parameter so changes  made to IHREZ  will not be reflected .
    Thanks and Regards,
    Kiran.

    Hi,
    Have you tried with BTE function modules, try using "01000730     APO Plug-In: Purchase Order" Event, only you have to enter BERE transaction, execute with F8, locate 01000730 event, select it and then press "Sample Function Module" button, copy the function module sample "SAMPLE_INTERFACE_01000730" by your own ZFUNCTION where you will have the posibility to make changes to EKKO-IHREZ field see the parameters you can acces and make all the programming you need like:
    FUNCTION ZSAMPLE_INTERFACE_01000730.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_EKKO) LIKE  EKKO STRUCTURE  EKKO OPTIONAL
    *"     VALUE(I_CALL_MRP) DEFAULT ' '
    *"  TABLES
    *"      T_XEKPO STRUCTURE  EKPO OPTIONAL
    *"      T_XEKET STRUCTURE  EKET OPTIONAL
    *"      T_XEKKN STRUCTURE  EKKN OPTIONAL
    *"      T_YEKPO STRUCTURE  EKPO OPTIONAL
    *"      T_YEKET STRUCTURE  EKET OPTIONAL
    *"      T_YEKKN STRUCTURE  EKKN OPTIONAL
    ToDo
    I_EKKO-IHREZ = 'MY_IHREZ_VALUE'.
    ENDFUNCTION.
    Activate it.
    Then go to transaction FIBF, then go to menu "Settings->Process Modules->...Of an SAP Application", once there create a new entry and set 01000730 for the process and your ZFUNCTION name in the Function Module Field, save changes and make a test to see if it works fine.
    I hope it helps.
    Regards,
    Moises Grappin.

Maybe you are looking for

  • Home sharing does not work with new mountain lion update.

    home sharing does not work with new mountain lion update. Does anyone else have the same issue. Updated all computers in my home, deauthorized and reauthorized each computer. turn off home sharing and turned it back on. don't know what else to do..pl

  • Help with actions

    Hi, I'm pretty good with actions, I use it every day.  (I'm running v 7). I have a bunch, a couple thousand 35mm slides to scan in and make each one a .jpg.  I'm scanning in 20 slides at one time, making a 300 meg file.  I want to have actions rememb

  • P.o for scheduling agreement

    Dear SAPians Is it necessasry to create a Purchase Oredr for scheduling agreement or can it be directly send to a vendor

  • Cpu load on 350 bridge

    Hi, any idea to monitor the cpu load on a 350 bridge? (snmp, telnet, ..) Regards Alex

  • Catch user entry error in JOptionPane.showInputDialog()

    i just want to know if the user entered a String instead of a int... i tryed instanceof but didnt worked.. m_sQuantite = JOptionPane.showInputDialog("How much do you need : " + itmSelect.toString());