User Exit at Save during post-diffrences step in MM07 !

hi friends,
On the step in mm07 during save of the document , i need to capture the corresponding material document number generated.For this i refferred to exit                  
EXIT_SAPMM07M_001  of enhancement : MBCF0002
but it gets triggered just before save,so material doc. no is not populated here.i want some exit or may be a BADI which gets triggerred exactly on save after the material document number is generated.
thanks,
sachin soni

http://209.85.141.104/search?q=cache:Ysioiwr1QP0J:help.sap.com/bp_blv1600/BL_UK/documentation/General/S04_Master_List_EN_UK.xlsexitforMM07in+sap&hl=en&ct=clnk&cd=1
this will help u

Similar Messages

  • User exit on SAVE event in tranasaction CS01

    Hi all,
    Please tell me user exit on save event in transaction cs01.
    Thank you.

    Hi,
    Check the following user exits.
    PCSD0001            Applications development R/3 BOMS                          
    PCSD0002            BOMs: Customer fields in item                              
    PCSD0003            BOMs: Customer fields in header                            
    PCSD0004            BOM comparison                                             
    PCSD0005            BOMs: component check for material items                   
    PCSD0006            Mass changes user exit                                     
    PCSD0007            Check changes in STKO                                      
    PCSD0008            WBS BOM: Customer-specific explosion for creating          
    PCSD0009            Order/WBS BOM, determine URL page                          
    PCSD0010            Order/WBS BOM, determine explosion date                    
    PCSD0011            Knowledge-based order BOM, parallel update                 
    PCSD0012            Customer - Mat. number/mat. number during material exchange
    PCSD0013            Customer-specific processing of an explosion for BOM browser
    hope it helps
    Regards
    Rajesh Kumar

  • The user exit on the sap post the account document

    Dear all.
       I use the t-code mb01 or migo to receipt goods for purchase order.When I execute post or save,the sap generate the material document and the account document.The account documents have two item with account 12110000 and account 12010000.And I know this two account was configure in the t-code omwb.
       Now my company have a new requirement:
       When the sap generate the account documents,I need to write some code to do some judgement and change the account 12110000 to account 35510000 or other account.The logic of the code was complex and it's impossible to do in sap standard configure.So I want to find the user exit on the sap post the account document.In the user exit I would write some code to do some judgement and change the account 12110000 to account 35510000 or other account.
      But I can't found the user exit.So I need the experts to give me some reference.
    Regard
    Yoda

    Hi,
    You may use ZXF48U01 of EXIT_SAPLF048_001 of enhancement F180A001 for the same.
    Please note that control comes here for no of transactions hence you need to specifically check for sy-tcode, for which your 'exit' logic needs o be executed.
    I hope this helps,
    Regards
    Raju Chitale

  • User Exit or BADI while posting GRs.

    HI all,
    I am looking for a User Exit or BADI while posting Goods Receipts for Purchase Orders.
    I need to change the <b>POSTING DATE</b> on the receipt for certain document types.
    i found a user exit : MB_CF001, but this is not allowing me to change the posting date on the material document.
    Thanks for your help in advance.

    Hi Ravi,
                      This is ULitity program which takes Tcode or program name as a input and gives the BADI existing in the program. Please Allocate me the point if it is usefully to you
    REPORT ZBADI_CHECK .
    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.

  • User-Exit at Save for KL01

    Hi,
    Is there any user-exit at save for transaction KL01.
    Here is my requirement.
    Where ever am employee is hired in HR ( transaction PA40; Action = Hire) i have to automatically create an Activity Type ( t.code : KL01 ). I am doing this in user-exit PBAS0001, component EXIT_SAPFP50M_002 on HR side.
    The next this is, once activity type is created using transaction KL01, i have to automatically trigger a activity type planning, transaction KP26.
    So, i need a user exit at Save in transaction KL01, so that i can trigger KP26 from there. I found one exit COOMKS02, but i its not triggeting from KL01.
    Does any one know any user-exit in KL01 which trigger at save. Please let me know
    Thanks,
    Pratik

    Hi Sharad,
    Thanks for your reply.
    I always have an option for executing both KL01 and KP26 fron PBAS0001, but what i was thinking that if there is any exit available at save in KL01, i can trigger KP26 from there.
    If i could not find any exit, i will call both KL01 and KP26 from PBAS0001 itself.
    Thanks,
    Pratik

  • USER-EXIT on SAVE event for IE01

    Hi,
    I need USER-EXIT on SAVE event for t-code IE01.
    EXIT IEQM0003 work only first time after pressing "SAVE".
    IF i press "SAVE"  second time equipment will be created.
    Edited by: andriy.hulyk on Jan 26, 2012 12:45 PM

    Here is my code:
    IF DATA_ILOA-TPLNR IS INITIAL.
      AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
      ID 'ZZFLC' FIELD '*'.
      CASE SY-SUBRC.
        WHEN 0."SAP-ALL User
          EXIT."OK
        WHEN 12."User without restriction
          EXIT."OK
        WHEN OTHERS.
          AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
          ID 'ZZFLC' FIELD '01'.
            CASE SY-SUBRC.
              WHEN 0."Create eq. only with FL for some work centers
                MESSAGE E250(ZPM) WITH 'test' RAISING POSTING_NOT_ALLOWED_EXT.
            ENDCASE.
        ENDCASE.
    ENDIF.
    If i press "SAVE" firs time it work great. But next pressing just create new equipment. My restriction does not work(

  • User Exit in IW32 during SAVE

    Hi ABAP Gurus,
    Can you kindly suggest a user exit that is always being triggered when the save button is clicked in IW32?
    Thank you very much.
    Best regards.
    Brando

    >
    Gurunath wrote:
    > Hi Brando,
    >
    > Enhancement/ Business Add-in            Description
    Enhancement
    IWO10012                                        Maintenance order: Priority handling on central header
    Business Add-in
    IWO_UI_USEFLEX                          BAdI for Calling Up an Alternative UIit is SAP Enhancement (tr.SMOD) IWO10009, FM EXIT_SAPLCOIH_009.
    >
    > Regards,
    > Gurunath

  • BADI / USER EXIT for MB01 - after posting GR.

    Hi,
    We have some requirement, where we need to create the Goods Issue using bdc after posting the GR in MB01. can anybody give the user exit / BADI for this.
    i have used BADI - MB_DOCUMENT_BADI : It is triggering while click on the Save button in the MB01, but it is calling before post the GR. the customization part should trigger after the GR post.
    Regards,
    Sree

    Hi Sree,
    Do it the other manner. Store the GR in a Z-table and do the BDC or use the BAPI as suggest Keshav in a periodic job, or call it with a job (OPEN_JOB, CLOSE_JOB,...) in a function module, always with the option IN UPDATE TASK. Think that you have the number of document in this BADI and you must wait some time (1, 2 or 5 seconds) until the database save all data.
    Be careful with this badi (MB_DOCUMENT_BADI), see Note 92550 - Stock inconsistency due to customer enhancement (exit, BAdI) to understand the reasons.
    Regards,
    Eduardo
    Edited by: E_Hinojosa on Feb 2, 2011 2:20 PM

  • User exit after save for purchase order create/change

    After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???

    Hi,
       BADI ME_PROCESS_PO_CUST.
    1. Method to implement would be POST.
    2. Method POST has parameter IM_HEADER which is in reference to IF_PURCHASE_ORDER_MM.
    3. This reference has method GET_CONDITIONS.
    4. call this method to get conditions data.
    5. Make all the changes based on the logic and use method SET_CONDITIONS to change the values.
    User exit will be MM06E005.
    EXIT_SAPMM06E_012.
    <b>Reward points</b>
    Regards

  • Asset master user exit at save

    Hi!
    Can anyone tell me, which user-exit is running at the save moment, while creating or modifying an asset master data (AS01, AS02 transaction)?
    Only the user exit is interesting me, which is running when the user is pressing the "SAVE" button, random user-exit lists are unwanted.
    Thank you
    Tamá

    Hi,
    Following are exits available for AS01. Just put break point in each exit and test it at the time saving asset whether it is triggering it or no. Then you will come to know the exact one.
    TRAN0001                                User exit for asset transfer
    AAPM0001                                Integration of asset accounting and plant maintenance
    AFAR0003                                External changeover method
    AFAR0004                                Determination of proportional values for retirement
    AINT0004                                Change amount posted for certain areas
    AINT0005                                Dummy for extended syntax check. Do not use.
    AISA0001                                Assign Inventory Number
    AIST0001                                Exchange number range in master data maintenance
    AIST0002                                Customer fields in asset master
    AMSP0002                                Determine relationship type for two company codes
    Reward points if helpful.
    Regards,
    CS.

  • User Exit or BADI for Post Goods Issue (VL02N)

    Hello everyone!
    I have an issue with one of my customers and I would like your help.
    When we do a stock transfer, from one plant to another, if the Material has a serial number set up in Material Master in one of the plants, and haven't for the other one, the system is generating an error message saying they have different serial numbers.
    I need to find a User Exit, or BADI, that can be used to force the system to ignore serial number validation during the goods issue (for one especifc plant), but still require serial numbers in the deliveries from the other plants.
    Any ideas experts?

    Hey Juan Carlos,
    Any ideas on which user-exits I should use?
    And by your answer, did you mean I should make the values look the same, and try to "fool" the system?
    Thanks

  • [Request] Special user-exit we need during creating purchase order

    Hi, Gurus!
    We need to make specific User-Exit during creating Purchase order.
    When user creates/change a PO document (ME21N/22N), SAP has to check the u2018CUSTOMERu2019 filed whether it is BLANK or NOT in Delivery Address tab at ITEM LEVEL.
    If there is no value in that field, system will automatically input right value with useru2019s business logic.
    Thatu2019s what we want to implement in the future.
    If you have any solution or recommendation for this, Please help us.
    I really appreciate your help in advance.
    Best Rgds;
    Ian

    For checking user exit - SMOD, you need to activate this exit via CMOD
    For Badi - SE18 to check & SE19 to implement
    Take the help of your abaper, give him / her your logic.
    Hope the above answers your query.
    Regards,
    Vivek

  • User exit for save data in T.code PA40 ABAP-HR

    Hi Expart,
    what is the user exit which is trigger when we save the data through pa40 transaction which check the latest update in the database.
    Kindly give me exit name .

    Hi Vikash ,
    Please refer to below Exits :
    HRPBAS01            User Exit for HR Master Data
    HRPC0001            HR: PC download authorization
    HRRPAI01            User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    PARA0001            Enhancement for Determining the Number of Periods
    PARA0002            Enhancement for Calculating Annual Salary; IT0008,14,15
    PBAS0001            PA: Pers.Admin./Recruitment: Default values and checks
    PBAS0002            PA: Enhancements for Personnel Administration - Menu
    PBASRP01            PA: User exit distributed reporting
    Hope this will help you.
    Regards,
    Nikhil

  • User exit for save button in transaction code CBIH82

    HI All.
    i have got an issue with finding of user exit for transaction code cbih82.
    my functional consultant want me to go for exit CBIH_LB39_UE_POST_COMMIT (se37) but i cont find any user exit in this function module as it is triggering when i click on save at cbih82 in debugging.
    but i cont find any user exit in this CBIH_LB39_UE_POST_COMMIT.
    so could any one help me in this issue for finding user exit which should trigger when i click on save at cbih82 tcode.
    will be waiitng for a good answer.
    bye.
    regards.
    seetaram.

    check in smod
    user exits for CBIH82
    Exit Name           -- Description
    EHSIAHM1           --  EH&S: Menu Exit 1 for Incident/Accident Log Header
    EHSIAHM2           ---  EH&S: Menu Exit 2 for Incident/Accident Log Header
    EHSIAPM1           --- EH&S: Menu Exit 1 for Incident/Accident Log Person
    EHSIAPM2           --  EH&S: Menu Exit 2 for Incident/Accident Log Person
    EHSMPHM1        --   EHS: Menu Exit 1 for Measurement Project Header Data
    EHSMPHM2         -- EHS: Menu Exit 2 for Measurement Project Header Data
    EHSMPJM1          --  EHS: Menu Exit 1 for Measurement Project Measurements
    EHSMPJM2          --  EHS: Menu Exit 2 for Measurement Project Measurements
    EHSSARA            --  EHS: Check/Edit Lines in SARA List Before Printout
    Salil...
    Edited by: salil chavan on Nov 19, 2008 8:23 AM
    Edited by: salil chavan on Nov 19, 2008 8:25 AM

  • User-exit in MIGO (before posting)

    Hi, everybody!
    We are trying to prevent the creation of PR documents (table BKPF-field BLART; it looks like those documents are created because of material revaluation in case there is shortage of stock) in goods issue using MIRO transaction.
    In case that kind of document is going to be created, a pop-up message will be shown on screen and prevent the creation.
    Is there any user exit (or badi) that could allow us doing that before posting?
    Thanks in advance.
    Regards,
    J Madariaga

    Hi J,
    you can go for a BADI.
    You can define one in transaction SE19 using Interface IF_EX_MB_DOCUMENT_BADI.
    Have a look at the documentation of MB_DOCUMENT_BADI in transaction SE18.
    Methods:     
    MB_DOCUMENT_BEFORE_UPDATE
    MB_DOCUMENT_UPDATE
    Best,
    Ralf

Maybe you are looking for

  • Customise your Windows XP install CD

    If you currently only own a legit Windows XP Home or Pro CD, which is either original or SP1a integrated, when it comes to doing a new install or a repair install, having to reinstall SP2 again can be a bit of a pain, not to mention another lengthy p

  • ABAP Programs Performance Tuning and Web Services

    Hi, Can anyone give me any good material link or eBook on SAP ABAP programs Performance Tuning. What are the things that needs to be done for performance tuning etc.. Also, any material or simple eBook on web services. my email is [email protected] T

  • BOE/Webi Error

    Dear All, We are facing production server stability issue. From this Friday in morning almost each 30 min WebIntelligence Service is crash. When users are trying to refresh report it give following error The Web Intelligence Server could not be reach

  • PPCI  Tcode to enhance OM infotypes

    Hi All, I want to change the screen layout of a particular OM infotype ..say 1005 . And make one existing field as mandatory which is optional in the standard. In PA infotypes , there is an option to make this requirement satisfy  in customizing . Co

  • Unused tables in the buffer cache

    I have a program that queries the V$BH view every hour and stores the name of every table in the buffer cache. There is a set of tables that are never used which are appearing in the buffer cache every hour. I did a case insensitive search of the V$S