User Exit or BADI  when saving Internal Orders

Hello, I need a user exit or BADI when saving a Internal Orders to shoot a workflow
REGARDS
Dayana

Hi
Why do you need a user exit or BADI.
Create a Custom Business Object(SWO1) and Create a New Event(SW01) and link it to the B.O. Or you could also create a CO Validation and use it for triggering a Validation and as a last resort you go for User Exit or Abap code.
Check if you have some workflow expertise in your tech team and you should be fine.
Thanks,
Praveen

Similar Messages

  • User exit or BADI while saving purchase order

    Hello,
    I want to use an user exit or BADI while saving of purchase order. The objective is to check the material group of the line item while saving. We don´t want to allow to save purchase orders for one material group.
    Can you please guide me.
    Thanks
    Srinivasan

    Hi
    The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
    You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
    Typical applications for this BAdI include:
    Processing of own objects
    Processing of additional data on standard objects
    Implementation of additional checks and derivationsChange of data in standard fields
    Change in field selection
    you can use this BADI for checking the material group
    Thanks & Regards
    Kishore

  • User-Exit or BAdI when saving an asset?

    Hi experts,
    I would describe our problem and I wish you could guide us to the best solution.
    We have create a Workflow that synchronises the creation of a functional location with the asset (because we don't find any user-exit that allowed this requirement). The process is the following:
    1.- First of all, Workflow validates that WBS Element of the functional location exists. In afirmative case, it continues to step nº 2. Otherwise, WorkItem is cancelled.
    2.- We create a functional location with tx. IL01 and as a result of that, a WorkItem is created related to some specific user. He opens the SAP Business Workplace and approve it.
    3.- Then, when he approves that WorkItem we call to the method BAPI_FIXEDASSET_CREATE1 that creates the asset.
    Now we would like to get some User-Exit or BAdI that makes our data persisted before the user press SAVE button, because i have to inform the asset and subnumer to the functional location with the number of the asset we have just created.
    Could that be possible?
    Lots of thanks.
    Javi

    Hi,
    I am still having trouble with this topic...
    No enhancements posted at the message before solved the described problem. So I started to think in another way...
    At the Workflow circuit defined to synchronise functional locations with asset master, we would like some function like "CreateBright" in Object "EQUI_EXT" (tx. SWO1). Inside the code, there is a call function to "AAPM_AA_SYNC_BY_WORKFLOW" that automatically creates the equipment and join the asset master.
    In functional locations, we don't have this function so what can I do to have the same concept in functional creations and not equipments? Any idea?
    Lots of thanks for the answers.
    Javi

  • User exit not active when saving sales orders

    while creating a sales order (VA01)   i need  to update  the  storage location  based on  division . for this the badis  and user exits  are not triggering   while creating a sales order for the above requirement
    any solution........
    <removed by moderator>
    thanks in advance..
    <Subject edited. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]>
    Edited by: Mike Pokraka on Aug 7, 2008 8:38 AM

    JVP,
    MV45AFZZ this is the include which is trigger while creating SO.
    use  FORM USEREXIT_FIELD_MODIFICATION   to write code.
    your code look like if sy-tcode = 'VA01'.
    update field.
    endif.
    Amit.

  • User Exit or Badi when opening a Work Order

    I am looking for a user exit or badi that triggers when a work order is opened or better yet when the components tab/button is clicked.

    Check the following enhancments:
    PPCO0018            Check for changes to production order header
    PPCO0019            Checks for changes to order operations
    PPCO0012            Production Order: Display/Change Order Header Data
    PPCO0013            Change priorities of selection crit. for batch determination
    PPCO0008            Enhancement in the adding and changing of components
    PPCO0007            Exit when saving production order
    PPCO0001            Application development: PP orders
    Hope this  helps
    Rajeev

  • User Exit or BADI on saving of Sales order cost estimate (CK51N)

    Hi,
    Can any one share with me what are the User Exit or BADI that gets triggered on saving of Sales order cost estimate (CK51N).
    Regards,
    Bijay

    Hi
    Check the link
    Need Enhancement Spot or BADI for transaction ck51n
    Regards
    Sanil

  • User Exit or BADI for Blocking process orders from R/3 to APO?

    Dear Experts,
    I am looking for a user exit or badi to block the process orders from R/3 to APO. As per standard it is not transferring orders which are clsd(closed status). Means that it is not updating live cache but its reading from R3.
    We are facing some problems in cif queues which are not correctly maintained in R3 side. We dont want to touch those orders bcoz its very old data which is not required for planning.
    There will be huge data which needs to be deleted while transferring through cif.
    Please give any user exit (outbound intial transfer) from R/3.
    Or any sugg. I apprecite your inputs...
    Thanks
    Cris

    Hi Cris,
    You can use user exit APOCF004 - Inbound Processing: Production Order/Planned Order in APO to prevent orders coming to APO by deleting orders which are not intended to goto APO from internal tables IT_ORD and IT_OUT.
    Hope this helps.
    Best Regards,
    Ramesh M

  • User Exit  for ko01 ( Creation of Internal Order )

    Hi,
    My requirement is to validate the Business Area & Profit Center based on the Responsible Cost Center entered. EVEN if the Business Area & Profit Center are valid entries as per the data, they should be replaced by the Business Area, Profit Center with respective Responsible Cost Center entered by user. Please help me its urgent.
    Regards
    Vikram

    Hi
    The follwoing user exits and badis available:
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    COOPA002                               
    Customer function for master data maint. - internal orders     
    COOPA003                               
    User-Defined Fields in the Order Master                        
    COOPA004                               
    Customer function: Print order master data                     
    COOPA_01                               
    Customer check modules for internal orders                                                                               
    Business Add-in                                                                               
    INTERNAL_ORDER_EXTND                
       Master Data Extension for Internal Order    
    If it is helpful rewards points.
    Regards
    Pratap.M

  • MB1B User exit or Badi before saving transaction

    Dear friends ,
    I need to identify a user exit or badi that I can use to populate one field in tcode MB1B before saving.
    How could I find it ?!
    best regards,
    Ale

    Hi Alessandro,
      Hope you find this useful..
    For Finding user exits
    [http://www.erpgenie.com/sap/abap/code/abap26.htm]
    Find a BADI called from within an SAP transaction
    The following steps will allow you to simply find a BAPI that is linked to an SAP transaction code.
    1. Execute transaction SE37 or SE80 and find function module 'SXV_GET_CLIF_BY_NAME'.
    2. Insert a breakpoint in it.
    3. Now go to the SAP transaction you want to find a BADI in.
    4. When you execute it, it will stop at the above function module.
    5. Look at the value of field EXIT_NAME.
    6. This will provide you with the name of the BADI that is available in your SAP transaction code.
    This technique can be used to find out the BADI for given transaction.
    Follow below steps.
    Go to transaction ST05, select buffer trace and click on activate trace button.
    Now run your transaction code for which you want to find out the customer exits.
    Go back to ST05, click on deactivate trace and display trace.
    A popup screen "Set Restrictions for Displaying Trace" appears. Now, filter the trace on Objects V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. The BADI name is the name after the IF_EX_.
    E.G: in the name IF_EX_ME_PROCESS_PO_CUST BADI name is ME_PROCESS_PO_CUST.
    How to find BADI
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.
    5. Then run your transaction.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
    Regards

  • User exit or BADI after saving in ML81N

    Hi,
    I have created a Custom tab at header level in ML81N. In this tab the user enters the data which is to be stored in Ztables once the entry sheet is successfully saved. I am searching for BADI or user exits for saving the data. Can anyone tell me user exit or BADI which is triggered after saving the data?
    Thanks in advance.

    Hi Poorvi,
    Please get your results from the search.
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=userExitBadiML81N

  • User Exit/ Enahancement/BADI in the sales order creation process

    Hi,
    We have an EDI  process for creating a sales order, we want to change one of the partners on some of the lines according to the document type,
    We know how to do it using the MV45AFZZ user exits but we want to do it using a BADI or an Enhancement,
    Can anyone help us find a User Exit/ Enahancement/BADI ?
    Thanks,
    Mickey

    Hi,
    Thanks for the quick  answer,
    i created an implementation for this BADI and put a break point there but it didnt stop there,
    i also tried a break point on FM "SXV_GET_CLIF_BY_NAME" to see if this BADI is on the list but i didnt find it,
    i tried creating the sales order via VA01 and via the IDOC process,
    Thanks,
    Mickey

  • User Exits or BAdis' for the Service Order create Transaction

    Hi all,
              I need to Replace a field, "Product" in the "Item Details" area  of the create Service Order Transaction(CRMD_BUS2000116) with some custom field.
    Are there any Exits/BAdi which will help me in doing this..
    Thanks in advance
    Sethu

    Hi Sethu,
    The user exits / BADI's for the Transaction(CRMD_BUS2000116 are not avaliable:
    The following info from one forum to search user exits / BADI's  that you can use: There are multiple ways of searching for BADI.
    • <b>Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).</b>
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.
    Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    <b>Go to TCode: SE84->Enhancements->Business Add-inns->Definition</b>
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    Also have a look at below report which will list BADIs.
    REPORT  Z_FIND_USER_EXITS.
    TABLES : TSTC,TADIR,MODSAPT,MODACT,TRDIR,TFDIR,ENLFDIR,SXS_ATTRT ,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,
                 P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
      IF NOT P_TCODE IS INITIAL.
        SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
      ELSEIF NOT P_PGMNA IS INITIAL.
        TSTC-PGMNA = P_PGMNA.
      ENDIF.
      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 in ('SMOD', 'SXSD')
        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:/(105) SY-ULINE.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
          sort jtab by OBJECT.
          data : wf_txt(60) type c,
          wf_smod type i ,
          wf_badi type i ,
          wf_object2(30) type C.
          clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
          LOOP AT JTAB into wa_tadir.
            at first.
              FORMAT COLOR COL_HEADING INTENSIFIED ON.
              WRITE:/1 SY-VLINE,
              2 'Enhancement/ Business Add-in',
              41 SY-VLINE ,
              42 'Description',
              105 SY-VLINE.
              WRITE:/(105) SY-ULINE.
            endat.
            clear wf_txt.
            at new object.
              if wa_tadir-object = 'SMOD'.
                wf_object2 = 'Enhancement' .
              elseif wa_tadir-object = 'SXSD'.
                wf_object2 = ' Business Add-in'.
              endif.
              FORMAT COLOR COL_GROUP INTENSIFIED ON.
              WRITE:/1 SY-VLINE,
              2 wf_object2,
              105 SY-VLINE.
            endat.
            case wa_tadir-object.
              when 'SMOD'.
                wf_smod = wf_smod + 1.
                SELECT SINGLE MODTEXT into wf_txt
                FROM MODSAPT
                WHERE SPRSL = SY-LANGU
                AND NAME = wa_tadir-OBJ_NAME.
                FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
              when 'SXSD'.
    For BADis
                wf_badi = wf_badi + 1 .
                select single TEXT into wf_txt
                from SXS_ATTRT
                where sprsl = sy-langu
                and EXIT_NAME = wa_tadir-OBJ_NAME.
                FORMAT COLOR COL_NORMAL INTENSIFIED ON.
            endcase.
            WRITE:/1 SY-VLINE,
            2 wa_tadir-OBJ_NAME hotspot on,
            41 SY-VLINE ,
            42 wf_txt,
            105 SY-VLINE.
            AT END OF object.
              write : /(105) sy-ULINE.
            ENDAT.
          ENDLOOP.
          WRITE:/(105) SY-ULINE.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No.of Exits:' , wf_smod.
          WRITE:/ 'No.of BADis:' , wf_badi.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(105) 'No userexits or BADis exist'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(105) 'Transaction does not exist'.
      ENDIF.
    AT LINE-SELECTION.
      data : wf_object type tadir-object.
      clear wf_object.
      GET CURSOR FIELD FIELD1.
      CHECK FIELD1(8) EQ 'WA_TADIR'.
      read table jtab with key obj_name = sy-lisel+1(20).
      move jtab-object to wf_object.
      case wf_object.
        when 'SMOD'.
          SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
          CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
        when 'SXSD'.
          SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
          CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
      endcase.
    Hope it will help you.
    Regards,
    Arjun
    <b>Reward points if it helps</b>

  • User Exit/Dynamic Actions when saving Business Event

    Hi,
    In Training & Event Management, is there such a thing as a user exit/dynamic actions that will be invoked when saving a Business Event?
    Thank you.
    Regards,

    Hi
    Please check out the following Business Add in
    RHPV0001
    HRTEM00MASTERDATA 
    HRTEM00NET_ACTIVITY
    HRTEM_HANDLE_BOOKING
    Reward points, if helpful.
    regards
    waz

  • User exit Or Badi for  creating Service order while modifying sales order.

    Hi Experts,
    I am creating Notification using transaction IW51.
    In IW51 there is a button to create a sales order.
    I click on sales order button and create a sales order.
    Now notification and sales order are created.
    Now i go in transaction VA02 and click on avalibility check push button .It gives me some popups in which i select copy all options.Then  i click on save button
    .At this point service order gets created.
    My requirement :
    Before the service order gets created i want to pass the notification data ; for ex- Equnr(Equipment number) to service order.
    Thanks & Regards,
    Chetan

    Hi,
    Are you saying first create notification,then service order
    and then Sales order.
    But the requirement is create notification then sales order and when you go in va02 and while modifying the sales order and create service order.
    Thanks & regards,
    chetan.

  • User exit or badi for saving the data in mm01

    Hi All,
    I added one custom screen in mm01  using SPRO ,as well as i added 2 new fields in makt table using Append statement, now the problem is am not able to save the custom screen data in standard makt table  can any one  help me in this ,tell me which Badi or Exit is useful for this requirement.
    Thanks,
    Priyanka
    Edited by: priyankanukala on Feb 21, 2012 7:55 AM
    Edited by: priyankanukala on Feb 21, 2012 8:01 AM
    Edited by: priyankanukala on Feb 21, 2012 8:04 AM

    Hi
    You don't need them. See Note 44410 - Integrating cust.-specific fields in matl master for further information, and copy the code for PAI event in your custom dynpro. You need something similar to this:
    process after input.
    *coding......
      chain.
        field: mara-zzfield1,
               mara-zzfield2.
        module checks_on_zz on chain-request.
      endchain.                                               
    * coding .......
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Feb 21, 2012 9:26 AM

Maybe you are looking for