R/3 User Exit Call from ITS

Hi ,
In an user exit i want to find out if a call has been made from ITS ..
is there any FM or system variable set.. based on which I could find out ?

call function 'ITS_PING'
       exceptions
            its_not_available = 1
            others            = 2.
  if sy-subrc eq 0 .
******* called from ITS
else .
**** not called from ITS
endif .
Raja

Similar Messages

  • Dumb question about E messages generated in user exits called from dialogs

    After a user enters goods receipt info in MIGO and hits POST, there is a user exit (EXIT_SAPLIE01_007) which receives a copy of the goods receipt table (xmseg) from MIGO and lets you do whatever you want before the MIGO update task is called.  In other words, you're still in the MIGO dialog process.
    I have successfully used this exit before to pop an editable ALV that lets the user enter custom data per line item, and then store this data in memory so it can be accessed in MB_DOCUMENT_BADI or in the equivalent XMBC exit (enhancement MB_CF001).
    But here's my question.
    Suppose I generate an "E" message in EXIT_SAPLIE01_007. 
    Will this stop the MIGO "POST" so that the update task isn't called?
    And will the text of the "E" message be displayed at the bottom of the main MIGO screen (the one you hit "POST" from) ????
    Edited by: David Halitsky on Feb 21, 2008 9:03 PM
    Edited by: David Halitsky on Feb 21, 2008 9:04 PM

    Hi David,
    it seems that you will get it:
    E in Status bar
    +behaviour:     +
    PAI processing is terminated, and control returns to the current screen. All of the screen fields for which there is a FIELD or CHAIN statement are ready for input. The user must enter a new value. The system then restarts PAI processing for the screen using the new values. Error messages are not possible in POH or POV processing. Instead, a runtime error occurs.
    according to help [http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaabc35c111d1829f0000e829fbfe/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaabc35c111d1829f0000e829fbfe/frameset.htm]
    best regards,
    Wojciech

  • User exit call customer function 002 is not getting trigerred

    Hi
    I am using the user exit call customer function 002 in the function module idoc_input_proact to trigger and idoc.my problem is that the user exit is not geting triggered.
    please help me gurus as this the last day for finishing thw work.
    regards,
    Asish dash

    it means tthat, u are applying a wrong exit in the pgm.
    try to once again search for the suitable exits for your program.
    try this:
    how to find the customer exits for a particular transaction
    check out the pgm in this thread:
    Re: Find User Exits
    regards,
    padma

  • How to code the user exit userexit_number_range from mv45afzz

    Hi, i need to modify the user exit userexit_number_range from mv45afzz, this is an standard include so when i try to modify i get the request for the my access code.
    Can someone explain me what is the procedure to modify an user exit.
    Do i need to request an access code to modify this user exit.
    am i complete lost in the proces of coding user exits?
    i have already check many of the message posted.
    thank for advance

    Hi
    MV45AFZZ is a customer user exit to add customer functionality....so when u change first time..you need to provide access key...for the object...
    Take a Print screen of the screen displayed and send it to basis guy..who can provide you with access key for that object..then u can enter that value and modify the user-exit...
    To add your code into this user-exit...u need to place the cursor in the routine u want to change..and press Insert button on the Tool bar... which will open up space for u to enter the code...
    Thanks
    Balu

  • Skip user exit call at BDC run.

    Hi All,
    1)  I have a BDC program that updates email addresses for existing sales orders & contracts in T-code VA02 & VA42.
    2)  In include MV45AFZZ i have added a piece of code that raises a pop-up message for those items whose profit centre is not   maintained.
    It's a genuine case that my BDC won't execute successfully for those sales orders where profit centre is not maintained for its items. The reason the pop-up message is displayed and BDC won't skip that.
    Note : I could have used warning/information message but due to some constraints i used the pop up message. I wanted a message to be displayed with all the line items missing their respective profit centres. The message was displayed but the screen was greyed out i.e. in display mode. So i used pop up message and handled the screen accordingly.
    The main issue now is:
    My BDC won't work as the pop-up message cannot be skipped by the BDC . Can you suggest something
    1) So that the code in the user exit won't be trigerred at the BDC call or BDC run?
                                                              OR
    2) Pop-up should only be displayed when user works with T-code VA02 or VA42 and not at BDC run
    ~Arya.

    Hi,
    Please check for the system parameter sy-binpt.
    for eg:
    IF SY-BINPT NE  'X'
    CODe.....
    ENDIF.
    Thanks & Regards
    Suresh Krishnan
    Edited by: Suresh Krishnan on Jan 30, 2012 12:06 PM
    Edited by: Suresh Krishnan on Jan 30, 2012 12:06 PM
    Edited by: Suresh Krishnan on Jan 30, 2012 12:06 PM
    Edited by: Suresh Krishnan on Jan 30, 2012 12:07 PM
    Edited by: Suresh Krishnan on Jan 30, 2012 12:07 PM

  • User Exit call

    Hello friends,
    how to call a client proxy from a user Exit.

    Satya,
    You can also refer these blogs for more info on creating and sending the data from outbound proxy to XI.
    Have a look:
    OutBound Proxy (Client Proxy)
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    In your case you will write your code (data extraction logic) inside the exit rather than creating a Z progarm as mentioned in the above blogs. )
    Regards,
    Sarvesh

  • User Exit called when online ATP check with GATP

    Hi Guys,
    I got requirement as below,
    Manipulate the GR time defined in the unloading point when the ATP confirmation of sales order is done with GATP online.
    I noticed that the online GATP check from R/3 to APO is not going via normal CIF way of communication or at least even i de-registered CIF queue monitoring, the data transfer can still go through properly.
    There are two questions popped up:
    1. Any body knows the background routine how the data are transferred between R/3 and APO when online GATP is done, and how to debug this process?
    2. Which functional module or exit user is called when online GATP check is done from R/3 sales order?
    If anyone knows something you are also welcome to share your expertise!
    Thanks!
    Tony

    hi! Tony
    These are the Exits in online GATP
    EXIT_/SAPAPO/SAPLATPT_001      APO ATP: Set ATP Segment                           
    EXIT_/SAPAPO/SAPLATPT_002      APO ATP: Select Substitutions                      
    EXIT_/SAPAPO/SAPLATPT_003      APO ATP: Initialize ATP Controller                 
    EXIT_/SAPAPO/SAPLATPT_004      APO ATP: Check for the Existence of a Location Alias
    EXIT_/SAPAPO/SAPLATPT_005      APO-ATP: Handling of Data at End of Check          
    Regards
    Vaibhav Sareen

  • Giving report format option to user while calling from Menu?

    Dear Gurus....How can we give our user the choice to choose the report format while it is being called from a drop-down menu (mmb file)? Plzzz be careful that giving the Desformat parameter on report parameter form is not a good option here. I'm looking someway to pass this optional parameter from the calling form or menu.

    Dear Magoo...I meant that I've a program unit (procedure) which takes all the required information to run a report (including report file name, parameters if necessary, destination, server name etc and report desformat). Initially I was giving the user a Poplist on entry forms to choose the report desformat and then passed it to the procedure to call a report. Now I've attached the reports on menu (mmb file) and attached that procedure to menu calling the report. but when I'm placing the poplist on the form to which menu is attached, then procedure gives the error of bad bind variable/expression due to that poplist. Is there anything wrong from my side? Got my words magoo?

  • User exit called many times

    Hello Friends,
    I am writing a particular code in a user exit of the FM  IDOC_INPUT_MATMAS01 , the problem is that the user exit is called some 4 times in the program and my logic gets repeated 4 times . Is there any way to over come this ?
    Comradely ,
    K.Sibi

    Hi Sibi,
    You can put a check based on sales/purchasing organization (VKORG) for which  IDOCs are processed.
    Or, you can put a validation check  on
    1) partner type & partner number,
    2) message type,
    3) idoc basic type & extension,
    before executing your user exit code.
    Also Check the link below:
    Creating Idoc filter for MATMAS
    Regards,
    Nisha Vengal.

  • How to find the user exits called at the time of posting the IDOC?

    Hi,
        Could anyone please how to find the user exits while posting a idoc?

    Hi,
    One way to ahive this is by, be ready with IDOC postiong,
    then go to ST05 transaction and activate the trace after checking Table Buffer Trace.
    Now post the IDOC then deactivate the trace.
    Now come back to ST05 and display trace and search for calls starts with EXIT_.
    Regards,
    Manoj Kumar P

  • To determine the user exit name from teh transaction code

    hi folks,
    when i change teh partner number of ship to party and if i press teh SAVE button a user exit is getting triggered , i want to find out teh name of that user exit thats getting triggered as soon as i press that SAVE button .........
    thanks in advance,
    rajeev

    hi rajeev,
    try this link.
    http://www.erpgenie.com/abap/code/abap26.htm
    Regards...
    Arun.
    Reward points if useful.

  • To determine the user exit name from teh transaction code   (va02)

    hi folks,
    when i change teh partner number of ship to party and if i press teh SAVE button a user exit is getting triggered , i want to find out teh name of that user exit thats getting triggered as soon as i press that SAVE button .........the transaction code is va02
    thanks in advance,
    rajeev

    hi rajeev,
    try this link.
    http://www.erpgenie.com/abap/code/abap26.htm
    Regards...
    Arun.
    Reward points if useful.

  • Is there a user exit called when a module pool program is launch ?

    Hello,
    I know the exit 'EXIT_SAPLSABE_010' and it's very usefull for adding code before a report is launch.
    But this exit is not called when a program is a "Module pool" type.
    Is there a way to add my own code before this kind of program is launch ?
    Thanks in advance,
    Simon
    Edited by: Simon Desbonnets on Mar 9, 2010 2:23 PM

    Thanks for your answer.
    No it's not for initializing values. It's for logging statistics into a specific table (program name, date ...).
    The event "load-of-program" can be use for one program, it's not what I'm looking for.
    I would like to know if there is an exit that is called each time a module pool program is executed.

  • How Transport Screen 0111 of User Exit MM06E005 from Development to Quality

    Hi Gurus,
    Greetings!!!
    I have implement a Screen Exit MM06E005 for my PO Requirement (ME21N, ME22N, ME23N).
    I am able to see the added screen details in my Development Client
    However, after transporting the request to Quality, I am unable to see the screen.
    When I check in Quality I got the details as 'the screen does not exist in  quality'.
    In development Server I checked that the screen is in Package ME and not in my Transport request.
    Please let me know how to transport this screen(0111) to the Quality Server.
    Thanks in Advance.
    Regards,
    Renwa.

    Hi Denny,
    You please check this below things.
    1) Check the screen is activated or not
    2) May be you activated the screen and placed in different transport request
    3) Deactivate all and keep then in another transport request and transport.
    Regards,
    Madhu.

  • Passing Values to a User Form called from a button

    Good Afternoon
    Experts:
    Recently, Edward Neveux pointed me in the direction of how to find information on displaying a Form when clicking a button on a screen.  I use this line of code to show a screen after clicking on a button on the Item Master Data screen:
    <b>g_B1Connection.Application.ActivateMenuItem("ITEMBINMAINT")</b>
    Now I need to pass information from the Item Master Data screen to this screen I am displaying from the button click.
    Can this be done?
    Thanks,
    Ed

    Hi Ed
    What information do you need to pass ?  If is information from controls on the Item Master Data screen what you could do is ...
    1.  On the load event of the Item Master Data capture Form with either
             mstrFormUID = oForm.UniqueID  ' string variable to use it later on expresion like below
         or
             moForm = SBO_Application.Forms.Item(oForm.UniqueID) ' SAP form type variable
    2.  Notice that both variables are modal, so once you have uploaded your form the parent form (Item Master is kept on memory).  With these form you can then code your way to obtain the existing value on the Item Master screen to your screen.  For Instance,
            oForm.Items.Item("URText").Specific.Value = moForm.Items.Item("5").Specific.Value  ' Passing value from "Item Number" textbox to your text box on your screen.
    hope it helps

Maybe you are looking for

  • MacBook hdmi lcd display - help needed!

    Hi all, I'm connecting my MacBook to my 32" Vizio lcd via hdmi (using a mini-dvi to dvi adaptor & dvi to hdmi cable). When I mirror displays, one of two things happen: (1) either the Vizio display is too small and has black bars around it, or (2) the

  • BADI's being used in MP000100 (module pool program for Infotype 1)

    Hi, In module pool program MP000100( for Infotype 1 i.e. HR related), what are the BADI's being used in PBO module of screen no- 2000 ? I need to add some codes, if there is no BADI then where i can add codes as i need to default organizational field

  • Entourage 2008 calendar deleted. How can i restore it from time machine backup?

    I have my Entourage 2008 calendar sync with ical. I accidentally deleted Entourage on the left column of ical, and it deleted the calendar on on Entourage. I want to restore the calendar. I have used time machine to backup my hard drive. I just don't

  • About database connections

    what is better and why .. making the DB connections in the run time or in the compile time? thanks in advance

  • Battery won't charge - yet another

    Recently, I decided that I would start using my Lombard again out of the house. It works fine on the AC adapter. First thing I did was replace the small PRAM battery. Then I noticed my old batteries would not charge(they were both over 5 years old).