MODX_FUNCTION_ACTIVE_CHECK always called before SMOD / CMOD exit?

Hello,
am I right to assume that the function module MODX_FUNCTION_ACTIVE_CHECK is always called before a SMOD / CMOD customer exit function module is called?
I have already searched SDN and SAP Notes and SAP Help, but I could not find a clear statement.
Kind regards
Martin
Edited by: Martin Schlegel on Feb 4, 2008 4:28 PM

Hello Mike, thank you for your fast answer.
Like you, I have the impression that this function should be called alle the time before an SMOD/CMOD enhancement EXIT_... Function is called.
But I would like to be 100% sure.
Kind regards
Martin

Similar Messages

  • Program execution during RIMODAC2..will it  always reach to cif user exit

    Hello ,
    We are implementing cif user exit for Purchase Order at R3 side to capture additional date field. So logic to capture additional date field is put in user exit CIFPUR01. We have  RIMODAC2  background job for Purchase order running on daily basis.
    if there is no change in standard Purchase Order objects. When RIMODAC2 is executed  for purchase order Integration models ..will  program execution still always reach to R3  user exit part of the program irrespective of if  any change in standard purchase order object has happened or not.
    Will appreciate your answer.
    Thank you
    Best Regards
    Nilesh Patil

    Nilesh,
    I am no longer sure I understand the question.
    RIMODAC2 activates the model.  Once a model is activated, if someone changes certain specific fields in an R/3 object, then these changes are sent to SCM, either immediately or via change pointers.  All this happens irrespective of IM userexits.
    If this same field in this same object is changed in R/3, and a userexit also has been implemented, the  userexit will execute according to its design,  performing whatever task it has been programmed to do.
    If you create and implement a userexit, it begins working at that moment in time that it is installed.  Data that flowed across 'yesterday' to SCM is not affected.  Data that flows across 'tomorrow' will be affected.  Data in R/3 will usually only flow across to SCM if there is some kind of triggering event, usually a database 'change' transaction (e.g., ME22N for POs) The mere act of installing a userexit will not generally affect existing data on either side.  The userexit only affects data that flows across the IM. Unchanged records in the R/3 database will generally not be sent to SCM by the IM, and will not be subject to userexit processing.
    It is not generally the responsibility of a functional consultant to explain the workings of a userexit to a technical consultant.  It is enough that the functional identifies the userexit, and specifies the business requirement in as much detail as possible.  The developer is then responsible for carrying out the coding.  Technicals are generally expected to be competent enough to determine from the userexit docs, and from the surrounding code, how a userexit works.  They can also raise a message to SAP.  In the end, it is all just ABAP, although userexit implementations can be quite challenging. SAP seldom provides enough details in their documentation.   Once the Technical has finalized the code, Functional and Technical together then perform unit testing, before passing the mods to users for integration testing.
    If your client's coders are unable to manage the task, perhaps they should engage your company to provide technical expertise, as well as functional expertise.
    Best Regards,
    DB49

  • Call transaction in user exit?

    Hi
    can we say "call transaction" in the background?.while using user exit...
    regds
    gunjan

    Hi Gunjan
    I've to consider you ( or your exit) are in trx, so if you need to update some tables or another object don't belong to main trx, you make sure to do the updating only if the main trx is finished successfully.
    So it's usually placed the code for updating in a exit called before saving.
    But also you make sure the saving is done successfully, SAP usually does the saving in update tusk, so it has to call a COMMIT to start the saving action.
    When the COMMIT is called you can be sure the saving'll be done.
    So if you run your code in update tusk, you'll be sure your action'll start after saving.
    For these reason you should insert your code in a form called in update tusk.
    PERFORM UPDATE_MY_DATABASE ON COMMIT.
    So only when the system'll do the commit your code'll work.
    Max

  • My phone is saying a number is invalid when its always worked before

    so i was talking to this person and then i fell asleep around 12AM i get a txt from them and i try to txt them back and it keeps saying that there number is invalid but it has always worked before and when i try to call them it rings once or twce then beeps and i believe it goes to a dial tone will some one pplease help me its important that i cantact this preson!!!

    Try doing a soft reset.  You will need to power your phone off and remove the battery, wait 5 seconds, then place the battery back in and power the device on.   Once you have done so, make sure that you are getting at least 3 signals bars on your phone.  Hope this helps!

  • Differences between SMOD & CMOD

    Dear All,
    Experts can you clear some doubts which have on the above functionalities I know that CMOD can be used to define an project and handle the required enhancements and in SMOD you can select the available User Exits and chart down your required enhancements, now coming to LIS structures enhancements can be done by both using SMOD & CMOD my question is when do this have to be used in regard to LIS Structures, If I enhance the communication structures in LIS I guess I can only use the SMOD where as if enhance the extract structure i can still use CMOD, when is the best option to use out of CMOD & SMOD can experts throw light on this or point out some white papers on the same.
    Thanks & Warm Regards,
    Fayak.

    Hi Fayak,
    cmod and smod doesn't apply only for the bw datasource enhancements. They are neccessary for all enhancements you do in a R/3 system. As you already mentioned, you can use smod for maintaining one special enhancement. But this enhancement will not work unless you assigned it to a project and activated the project. This is what you do in cmod. You create a project and assign enhancements to the project. You can have lots of enhancements in one project. But without activating the project, these enhancements will not work.
    Hope this helps
    regards
    Siggi

  • Action method called before the listener

    hi all;
    i have a command_link as follows:
    <h:command_link action="#{someBean.someMethod}" >
         <f:parameter name="param" value="0"/>
         <h:output_text value="#{someBean.someProperty}"/>
         <f:action_listener type="com.myListener" />
    </h:command_link>
    my problem is that the listener is called AFTER the bean method is called. i need my bean to use data that is set by the listener so i need the listener to be called BEFORE that method.
    on EA4 i used the getPhaseID but now its gone and i cant seem to find the proper replacement.
    i tried the immediate="true" attribute on the command_link with no success, the results were the same.
    any help is appreciated.

    I believe that what's really going on here is that
    "action" should always be processed after all action
    listeners, when, in fact, it's always processed first.
    I'll raise this on the EG.
    AIUI it's even more confusing than your description implies. There seem to be three things
    that can be triggered from a <command_button> or <command_link>:
    1. ActionListeners registered using a nested <action_listener> tag.
    2. An action listener method declared using the actionlistener attribute.
    3. An action method declared using the action attribute.
    I don't think the spec defines a relative ordering for all of these possible event handlers, but I
    think it works like this:
    A. All the action listeners are called in an undefined order. This takes care of all those in
    category (1) above. Since one of the listeners is the system-defined default listener,
    at some point during this processing, the action method (which is REALLY the application code)
    is also called. However, since the spec is vague, you don't really know where this happens relative to
    the other listeners.
    B. The method referred by the actionlistener attribute in category 2 above is called.
    I would have thought that the most intuitive order would be:
    1. All of the action listeners, whether added using <action_listener> or declared using the
    actionlistener attribute.
    2. The method referred to by the action attribute (i.e. the real application code).
    I think the current implementation, where (2) is done by a system-defined actionlistener, gets in the
    way of achieving this, and that would have to change in order to produce a well-defined result.

  • Orarrp, IE file download dialog screen always asks before opening

    orarrp 1.3.4 working, but under IE5.5, the File Download dialog
    screen is activated when the web.show_document(<url>,'_BLANK')
    call is made, where the extension of the file is ".rrpa".
    The checkbox which reads "Always ask before opening this type of
    file" is checked and disabled. This means that user intervention
    is always required.
    When I open the .rrpa file directly in IE (the file is available
    on a locally attached drive -- that is, not as a URL at this
    point), IE opens and immediately prints the .rrpa file.
    Obviously the restrictions here are based on internet security
    settings, however, I've been unable to overcome this problem.
    There do not seem to be options in IE, nor in the
    characteristics of the file types themselves.
    Question: How do I set my environment to enable the "Always
    ask ...." check box, so it can be uncheck?

    I have no solution to my problem -- just more research results.
    From MS's support database, article Q232077, IE has a
    predefined, hard-coded list of file extensions that it
    inherently distrusts, which results in the "Always ask before
    opening" option to be checked and grayed out. The hard-coded
    list does NOT include orarrp extensions (such as .rrpa), but
    instead, extensions like .exe, .com, .bat, .cmd.
    Nonetheless, ".rrpa" is still seems to be treated as a
    permanently distrusted application -- I do not know why.
    To quote the aforementioned article: "[T]he File Download dialog
    box is not preventable in any way. This includes the use of HTML
    tags, script in the page, hosting the WebBrowser control, and
    changing security zone options."
    The article does go on to describe IE/Windows only solutions:
    <IFRAME> tag pointing to a shared Windows directory using MS's
    UNC; and ActiveX/cab construction and deployment. Clearly,
    neither is a solution.
    I can't quite conclude that there is no solution under IE, but
    its close.

  • EXIT_SAPLIE01_007 is called BEFORE mblnr is created, so how to get mblnr ??

    In a reply to a previous question, Rich suggested intercepting the MIGO goods receipt posting process by activating enhancement IQSM0007 which uses function module EXIT_SAPLIE01_007 and include ZXQSMU06.
    I did this, but the problem is:
    <b>This exit is called BEFORE the actual mseg mblnr number is created.</b>
    So how can I find out what mseg mblnr is created in the posting process ?
    If I don't know this, I don't know what mseg record to add my custom fields to - the ones that I capture on a custom screen inside the exit ...
    Thanks for any advice or clarification anyone can provide.
    djh

    Hi,
    You can use the exit EXIT_SAPLMBMB_001 OR BADI MB_DOCUMENT_BADI method MB_DOCUMENT_UPDATE...
    In this user exit the MBLNR number is populated ..
    This user exit is called in the FM MB_POST_DOCUMENT..
    The MB_POST_DOCUMENT is called in update task..
    If you want to debug switch on the update debugging..
    THanks,
    Naren

  • ManagedConnection.cleanup called before XAResource.end

    I am the developer for a JCA 1.5 resource adapter named DTPRA. Note that DTPRA works with WebSphere Application Server, WebLogic Application Server and JBoss Application Server.
    I have never tested DTPRA with the Sun App Server, so I downloaded Sun Java System Application Server Enterprise Edition 8.2 (build b25-fcs) to test DTPRA.
    After overcoming a number of other issues, I encountered a problem which has me stalled at this point.
    I tried a simple transaction request. At the end of the �active� phase of processing, the App Server called the ManagedConnection.cleanup method prior to calling to the XAResource.end method. When the XAResource.end method was called later, DTPRA threw the exception because the state was wrong (the managed connection was no longer involved in a transaction). Here is an excerpt from the DTPRA trace:
    06/27/07 13:27:32.340  RA=dtpra        TYPE=FINER   THD=0084e723-service-j2ee       
    DtpInteraction.execute: returning from execute a value of true
    DtpConnection.destroyInteraction: Entering method
    DtpConnection.close: Entering method close (for connectioncom.unisys.dtp.connector.DtpConnection@557c15)
    DtpConnection.closeConnection: no interactions to close
    DtpConnection.closeConnection: connection com.unisys.dtp.connector.DtpConnection@557c15 no longer active
    DtpManagedConnection.fireConnectionClosedEvent: Firing Connection closed event; 1 listeners() registered
    DtpManagedConnection.cleanup: Entering method
    06/27/07 13:27:32.340  RA=dtpra        TYPE=FINE    THD=0084e723-service-j2ee       
    DtpManagedConnection.cleanup: Clean Up Request: 1 connection(s) active
    06/27/07 13:27:32.340  RA=dtpra        TYPE=FINER   THD=0084e723-service-j2ee       
    DtpManagedConnection.cleanup: ManagedConnection cleanup successful
    DtpXAResource.end: xa_end called flags = TMSUCCESS (0x4000000)
    06/27/07 13:27:32.340  RA=dtpra        TYPE=FINEST  THD=0084e723-service-j2ee       
    DtpResourceAdapter.createXid: txHelper is null...
    06/27/07 13:27:32.340  RA=dtpra        TYPE=SEVERE  THD=0084e723-service-j2ee       
    DtpManagedConnection.transactionCompleted: Throwing exception.
    javax.resource.spi.IllegalStateException: XA_END Received but ManagedConnection not currently participating in transaction, error code: NO_TRANS
          at com.unisys.dtp.connector.DtpManagedConnection.transactionCompleted(DtpManagedConnection.java:1014)
          at com.unisys.dtp.connector.DtpXAResource.end(DtpXAResource.java:160)
          at com.sun.jts.jta.TransactionState.beforeCompletion(TransactionState.java:125)
          at com.sun.jts.jta.SynchronizationImpl.before_completion(SynchronizationImpl.java:62)
          at com.sun.jts.CosTransactions.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:120)
          at com.sun.jts.CosTransactions.TopCoordinator.beforeCompletion(TopCoordinator.java:2491) The Sun App Server behavior looks incorrect to me. I reviewed the JCA 1.5 spec (page 6-43 shows a nice diagram), and it looks like the App Server is supposed to call XAResource.end before the App Server calls ManagedConnection.cleanup. This is what DTPRA expects and gets with the other App Servers.

    I set ALLOW_MULTIPLE_ENLISTS_DELISTS to true and restarted the App Server.
    This worked! Now XAResource.end is called before ManagedConnection.cleanup, as I expected. No errors occur and the transactions are committed properly.
    Thanks a lot for your help.
    But now I have some follow up questions:
    1) I searched the Sun document online and did a google. I did not find anything on the property ALLOW_MULTIPLE_ENLISTS_DELISTS. Is this documented somewhere?
    2) At some point I will probably need to document for my users how to use DTPRA with the Sun App Server. But I am wondering what side effects, if any, there are if I were to tell my customers to always set this property when using DTPRA with Sun App Server. Can you tell me more about this property?
    Thanks again!

  • I can no longer transfer drm protected wma audiobooks to my ipod. I'm ussing overdrive media console, it always worked before, before ios 5 that is. Any ideas?

    I'm ussing overdrive media console, it always worked before, before ios 5 that is. Any ideas?

    I'm ussing overdrive media console, it always worked before, before ios 5 that is. Any ideas?

  • Call an applications 'user exit' from a PL/SQL procedure

    My question is a technical PL/SQL question related to Oracle Applications. I need to call a standard applications 'user exit' from a stored PL/SQL procedure. Can anyone tell me if this is possible and how to do it?
    (i.e. I am attempting to call the AR user exit SALESTAX)
    Thanks,
    Michelle Dodge

    Hi,
    Read this thread, perhaps is there your response :
    Host...
    Nicolas.

  • The call was cancelled by the caller before the remote party answered

    Hi,
    We have a Lync 2010 Enterprise deployment in a single site with 2 FE and Mediation Server collocated.
    When dialling a number from a PSTN phone the call gets routed via our PBX/PBX Gateway/Mediation Server/FE Server to the desktop Lync client successfully.
    As soon as the user answers the call with the Lync client the call 'hangs' and terminates without hearing anything on either side.
    The snooper logs show:
    Error:
    SIP/2.0 487 Request Terminated
    Partial Content:
    User-Agent: UCCAPI/4.0.7577.4398 OC/4.0.7577.4398 (Microsoft Lync 2010)
    Ms-client-diagnostics: 52092;reason="The call was cancelled by the caller before the remote party answered"
    Content-Length: 0
    Please help?
    Vinkie

    What kind of gateway are you using to connect to your PBX and how?  What is your media set to?  G.711 μ-law or a-law?  I'd check media settings there as a starting point. 
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".

  • Apps Adapter API is called before Db Adapter inserting data

    Hi All,
    I am using a bpel process which calls db adapter to insert/update data in staging table, after this activity i am calling a Apps Adapter PLSQL API where it takes the data from staging table and performs some functionality. But the problem here is Apps adapter PlSQL API is getting called before isnerting data in staging table.
    Below are the steps in BPEL Process,
    1. receive activity
    2. data transformation
    3. invokes db adapter through merge operation to insert/update in staging tables
    4. invoke Apps Adapter PLSQL API
    Error is thrown at Apps Adapter invoke activity, saying null values. presently we used a wait activity before invoking apps adapter.
    Do the invoke of Apps Adapeter doesnt happen after Db Adapter inserting data?
    Thanks,
    Ra

    Hi Team,
    Even I faced the same problem.
    I am checking, do we have any configuration setting to avaoid these kind of problem.
    Even my process has point 2 & 3 in a single sequence and point 4 in another sequence.
    Any help to resolve this problem is greatly appreciated.
    Thanks for your help in adavance.
    Cheers
    Chandru

  • My Premiere Elements 9 on Windows 7 no longer opens (it always did before); now at the welcome scree

    My Premiere Elements 9 on Windows 7 no longer opens (it always did before); now at the welcome screen it "blinks" once then hangs, without any of the components initializing- please help

    If that does not work, then I would see this FAQ Entry: http://forums.adobe.com/thread/792580?tstart=0
    It starts with a general checklist for getting PrE set up properly, then goes into some links on tuning up one's system and OS, and finally has links to many troubleshooting articles, plus tools to help one troubleshoot issues.
    Good luck,
    Hunt

  • HT1926 says apple mobile device failed to start. verify you have sufficient privelsdges to start system services. its always updated before.

    says apple mobile device failed to start. verify you have sufficient priveledges to start system services. its always updated before.

    See section 5 of TS1538: iOS: Device not recognized in iTunes for Windows or alternatively this uninstall & reinstall iTunes post.
    tt2

Maybe you are looking for

  • With "Download Headers" option checked, opening plain text emails results in cropped body text

    When I open raw plain text emails (i.e. not formatted as HTML) I only see the first 255 characters of the email body; all of the remainder is chopped off, and never appears no matter how many times I re-open the email. I have narrowed this down to my

  • Oracle ebs installation on windows 2008 R2

    Hi Hussein, I am doing oracle EBS installation on windows 2008. As per installation doc below are the pre-requisite The Prerequisites Software are: 1.Chose and Operating System windows 2008 (32 bit): Select the Windows Operating system and install it

  • Waterfox cookies not being saved

    Hi, Just the last couple of days now I have found when opening a session of Waterfox, that my cookies been cleared. I have checked the cookies.sqlite file, and on occasions when this has happened the file has gone from 1024 KB, to 512KB. The cookies.

  • Zen Micro Problem, somewhat embarrassing

    So here is my issue, in fifteen words or less: I accidentally dropped my Zen Micro in the toilet. Now, once you've all stopped laughing hysterically, here is what I did. It was completley submerged for perhaps second, I immediately pulled it out. The

  • HT4009 In app purchases, now the game has been changed

         I made several in app purchases over the last 6 weeks to level up a few characters on a Marvel game.  Now, the developers have changed the specs of the characters to "fun balance" the game.  This has essentially ruined my characters, not to ment