User exit not stopping

Hi All,
I am MM consultant, i need help with user exit.
I am trying to test if one user exit M06B003 would be triggered before saving the Purchase Order in ME21n.
I have gone to SMOD, opened this user exit, it opened a function module by name EXIT_SAPMM06B_001.
In this function module there wasa include module ZXM06U18.
I have selected a beak point on this include.
and created a newsesion with ME21n.
when i fill up all details, and saved, it got saved and gave a PO number, it didnot stop at that user exit.
what might have went wrong. this exit is not yet used, not atleast once.

Hi Vinay,
Not sure about the exit you're using. However it's important to have in mind that the user exits works only in determined code functions. For example, that exit you're using maybe it doesn't goes through when you save the document. Maybe it's for the validation when you enter some field in the PO.
You should check if this is the case. If this scenario does not fit to your requirement you should try to find another exit for the moment of saving the document with the data you need.
Hope it helps.
Regards,
Gilberto Li

Similar Messages

  • 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

  • User exit -Note 103678 : ALE Transfer terms of Payment

    Hi,
    We are using Inter--company STOS and intending to use ALE to automatically post the Intercompany A/P MIRO created off of the P.O/SD billing Invoice.
    Base line date was not getting filled and SAP came back saying to check the Note :103678.
    iisue was : Segment E1EDk03 024  date field was not getting filled
    I followed like this..
    I used user exit:ZXM08U26
    in EXIt_SAPLMRMH_015.
    CALL FUNCTION 'FI_TERMS_OF_PAYMENT_PROPOSE'
      EXPORTING
        I_BLDAT         = E_RBKPV-BLDAT
        I_BUDAT         = E_RBKPV-BUDAT
        I_ZTERM         = E_RBKPV-ZTERM
      IMPORTING
        E_ZFBDT         = E_RBKPV-ZFBDT
      EXCEPTIONS
        TERMS_NOT_FOUND = 1
        OTHERS          = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Acxtivated ..
    Still I am having same issue.When i keep a break-point its not stopping at this point..
    Any ideas?
    Regards
    Vara

    Hi Michael,
    Currently I am facing the same problem in my system. I am creating an invoice from external system(SAP SRM) and generates an IDOC in SRM and same is coming to ECC. In ECC for creating invoice we have two mandatory fields house bank(hbkid) and section code(secco). These fileds data is not coming from SRM IDOC so i need to pass these fileds data before posting the IDOC.
    I am using EXIT_SAPLMRMH_015 for passing these fields data. I tried to debug the exit but it is not stopping. Same steps follwoed suggested by you.
    I written the below code for this  but still data is not filling . I request you to give me your suggestions on this.
    DATA: S_RBKPV TYPE  MRM_RBKPV OCCURS 0 WITH HEADER LINE.
    DATA: W_SCACD LIKE LFA1-SCACD.
    S_RBKPV = E_RBKPV.
    IF  E_RBKPV-LIFNR IS NOT INITIAL.
      SELECT SINGLE SCACD FROM LFA1 INTO E_RBKPV-SECCO WHERE LIFNR = E_RBKPV-LIFNR.
      SELECT SINGLE VBANK FROM ZMM_HOUSEBANK INTO E_RBKPV-HBKID WHERE BUKRS = E_RBKPV-BUKRS
                                                                AND   GSBER = E_RBKPV-GSBER.
      IF SY-SUBRC EQ 0.
        E_CHANGE = 'X'.
      ENDIF.
    ENDIF.
    Regards,
    Ravi

  • User Exit not getting triggered

    Dear all,
    we are creating a workflow for PR Release which needed release strategy customization. so we are trying to set the release stratagy by changing the communciation structure CEBAN-USRC1 field.
    for this, i had done the following things:
    1. SMOD->M06B0005->components->EXIT_SAPLEBND_004->INCLUDE ZXM06U31 (double clicked) wrote few lines of code.
    2. CMOD-> created a proj ZMM_PREL->assigned Enhancement M06B0005 under enhancements tab-> EXIT_SAPLEBND_004-> activated all
    (User exit, project eveything).
    Now my problem is when i create a PR, this user exit does not get triggered at all. I am working on ECC6.0 the same code which i did in Ecc5.0 for my previous client is still working fine.
    Can anyone please guide me where i might have gone wrong?
    Thank you,
    Regards,
    Lakshmi

    Hi,
    HAve u verifiyed that the user-exit u r using is triggered whenever u create ou PR.?
    First of all u have to put breakpoints at each and every user-exits provided for that transaction, then check which user exit is getting triggered when u carete ur PR. and thenafter write ur code in this user-exit only.
    Reward is useful.
    Regards,
    Harsha

  • User-exit not getting triggered in VA32

    Hello Experts,
    Iu2019ve a requirement and Iu2019m working on Change Scheduling Agreement u2018t-code VA32u2019. According to requirement I need to capture all header data and data in Sales, Item Overview, Item Detail and Ordering party tabs. Iu2019ve set the break points in almost all the user-exits but only one FM (EXIT_SAPLV45L_002) of exit u2018V45L0001u2019 is getting trigger. Even though other exits/FM has all the tables as import/export parameters which I need but they are not getting triggered. Can anybody please tell me which user-exit / BADI I should use to capture the required data?
    Thanks.

    Hello Experts,
    Thanks a lot Vijay for you reply. Iu2019ve seen user exits of MV45AFZZ include and looks like USEREXIT_SAVE_DOCUMENT_PREPARE is the correct user exit. But I havenu2019t use Includes before can you or anybody else please tell me how to write code in include. I know how to search an include in a program but not sure how to add code in the user exit.
    Thanks

  • User Exit not getting Triggered in Quality Server

    Hi,
    In FM 'IDOC_INPUT_DESADV' Iam using an User Exit 'EXIT_SAPLEINM_006' ,
    which is getting triggered in Development server.But when I moved it to Quality,
    The User Exit is not getting triggered.Thou the Exit is assigned to Enhancement
    and that in turn is assigned to Project, still the problem persists.
    Can any one suggest me what could be the problem.
    Regards,
    Kiran B.

    Kiran,
    Check the <b>Project</b> of that enhancement is active or not. not the enhancement.
    <b><REMOVED BY MODERATOR></b>
    Satish
    Message was edited by:
            Alvaro Tejada Galindo

  • Inbound idoc values when updated from user exit not saved

    I'm trying to process some user exits of an inbound idoc from WE19.
    The values get correctly populated to IDOC_DATA internal tables of IDOC_INPUT_ORDRSP function module in debug kode
    but when the new idoc is generated from WE19 , those segment values (populated by exit) are not shown/saved.
    The user exit is EXIT_SAPLEINM_007.
    Is it not possible to populate segment values of inbound idocs from using user exits. If yes , then during testing using WE19 , every time a new idoc is created it should display those values into the concerned segments. Please help.

    Hello,
    yes is possible it ...
    I think the problem is:
    or
    you have something wrong when to append the new line on internal table
    or
    the exit used is not correct: read the documentation on EXIT_SAPLEINM_0**

  • User exit not being called

    Hi,
    We have implemented user exit EXIT_SAPLMRMH_015, include ZXM08U26.
    Problem 1:
    When we tested in development system by processing a Idoc in debug, mode this user exit got called and the code in the user exit (include ZXM08U26) was executed.
    Now we moved our changes to the quality system. Again we tested in quality by processing a idoc in debug mode. The user exit is getting called, but the code is not getting executed ( its not going inside include ZXM08U26). Why?
    Problem 2:
    In quality when I try to put break points in include ZXM08U26, a message pops up saying "The position of a breakpoint could not be ascertained". Why cant I put breakpoints?
    The project (in CMOD) and the include (ZXM08U26) are all active in quality.
    Thanks in advance.
    Mick

    When you create/change a project, you must create a correction. This correction contains only the attributes and the SAP enhancements associated with a project, as well as a program that is automatically started with the transport and activates the project in the target system.  Since activating a project affects all components, you should transport all components associated with a project at the same time, in other words with the same transport request. To ensure that the project is activated automatically in the target system, the correction that contains the program concerned must also be in the same transport request. If this is not the case, or the project has not been activated in the target system for other reaons, you can also activate it by manually starting the program (RSMODACT).

  • Notification User-Exit not triggered

    Hi all,
    We have configured the system to automatically create a notification when creating an order (Define Notification and Order Integration)
    However, when saving the order (without accessing the notification) we find that the Notification save user-exit (QQMA0014) is not triggered.
    Has anyone found a work-around for this?
    Also posted [here|http://www.sapfans.com/forums/viewtopic.php?f=7&t=328408]
    PeteA

    Pete,
    It is a common issue. The logic of not calling this exit being that it can prevent notification save and that is not desirable when created in conjunction with the order.
    No specific workaround that I know. Depending on what you exit does it might be possible to duplicate the logic into one of the order exits/Badis. Alternatively into a notification exits that is called - generally at create rather than at save - QQMA0025 for example.
    -Paul

  • Billing user exit not letting internal order assignment

    Hello,
    I am assigning an internal order to a line item in billing user exit EXIT_SAPLV60B_004. But when the accounting document posts the IO field is blank.
    System is letting me assign line item text using the same exit.
    Please suggest a solution.
    Thanks,
    Sanjay W.

    Hi
    Is the IO also available in Sales Order? I think the Sales Order Account Assignment has a priority over what you try to enter at the time of release to Accouting interface, specifically with relation to Account Assignment. Logically SAP will loose track if IO is not there in the Sales Order and you try to update the same through the Exit
    Regards
    Sanil

  • User exit not getting triggered while creating the vendor

    Hi all,
    I wanted to extend the idoc(crermas01) according to my reqiurement.
    But when I am trying to create a vendor using the IDOC cremas01 the user exit EXIT_SAPLKD01_001 is not getting triggered.
    Can anybody tell me the reason why it is happening so...........
    Thanks and regards,
    Vinil.

    Is your Idoc generated after the execution?
    Where is you break-point, it is inside EXIT_SAPLKD01_001. Please note FM EXIT_SAPLKD01_001 will not be called unless it is implemented using project (CMOD) and project is active.

  • User-exit not triggered(variable)

    Hi mates,
    I have two variables A (fiscal year), B(calmonth interval) and both of type user-entry(replacement type).  I defined C varible of type user-exit(replacement type). In C, i'm reading A & B values and checked whether B's interval is in A.
    eg: A input is 2007 (means 04.2006 to 03.2007).
    B  input interval 03.2006 to 10.2006.
    In C i'm checking whether B's interval is in A (fiscal year).
    Based on B's value, dynamically i have to show  input & output layouts. I defined one function module for C, but it's not triggering after entering input values in plng folder.
    How to trigger user-exit immediately after user enter input values? (without selecting dependent input or output layout tabs, these input or output layout uses varible B interval values for dynamically showing calmonth columns).
    Previously i defined few varibles like above, there user-exits triggered only after i choosing related input or output layout tabs.
    thanks,
    Raju

    The user exit written in the variable will be triggered if that variable is used anywhere in folder or layout or function or called in the logic of any other variable. In your case, C is not used anywhere that why it is not executing this code. For the required functionality, you have to create planning function of type exit and place this code. Run this function on layout open or folder opening something like this.

  • ESS CATS user exit not triggered

    Hi,
    I am making some validations on the time sheet using enhancement cats0006, but that user exit is not triggered in the portal, in ESS.
    I have my project activated through tr. CMOD, the user exit is triggered in R/3 using transaction CAT2.
    What could be the reason ?
    Thanks,
    Stefan
    Edited by: Stefan Kolev on Jan 24, 2012 10:51 AM

    Solved

  • User exit not work in bdc background mode

    i have bdc program for creating sales order. I also use some user-exits.  When i run the program in foreground, user-exit works fine, but in background, the program can't stop in user-exit. Do you have any idea about what kind of problem can cause to this?

    Call transactions with bdc tables in Sales Orders execute the user exit code!  I've never seen user exit code excluded, unless by program code.  What do you mean by "stop" in background.  Of course, you can't make it stop there in background.
    Post relevant code and we'll see what we can tell you.  What does the code do?

  • 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.

Maybe you are looking for

  • How to use check box in a table

    i have a field in a internal table in which i have to put "X" if the user checks on a check box, for a particular row. please provideme with the required code . Thankyou. Upendra

  • Report with goods receipt value and invoice posting value

    Is there any standard report with goods receipt value and invoice value (the value with which invoice is posted.

  • Burning multiply copies of dvd?

    I just finished burning my movie in idvd and I was wondering is it possible to make multiply copies of the dvd in idvd? or do I have to make copies from the file in idvd? Thanks!

  • How to raise IP profile and improve BB speed?

    Hello, my BB speed is much slower than I would like; i ran the tests and found the following: Download speedachieved during the test was - 3.82 Mbps  For your connection, the acceptable range of speeds is 0.6 Mbps-7.15 Mbps.  Additional Information:

  • 3750-E - hardware not supported by firmware

    Hello, I have got new 3750 e-series which has universal image installed on it. I need to put this switch in stackwise with non-e-series 3750. The problem is that non-e-series are running IP BASE IOS and I wanted to put the same IOS on 3750 e-series.