How do I get the calling program?

Hi,
I have been using a function module for a long time which is called by quite a number of programs. Now I want it to react differently dependent on the calling program.
I could use a new optional parameter of course transferring the program id. In that case I have to change quite a number of programs.
I was just wondering if there is a possibility to get the information of the calling program on the fly. (In the debugger you can find your calling program easily in the 'call stacks'). Does anyone know how to retrieve this information?
Thanks in advance.
Regards Johannes

Hi,
I am quite overwhelmed by the amount of answers.
Actually ufortunately neither of the solutions offered solve my problem.
1.) sy-cprog gives the name of the main program and not the name of the module/include/method that has called my function.
2.) The function 'RS_EU_CROSSREF' was unknown to me. It is very interesting but it is a cross reference und shows all calling programs and not the one that was actually calling the function.
Does anyone has got any other ideas?
Regard Johannes

Similar Messages

  • How do I get the iTunes program to go to a particlar site to obtain the music that is on an external hard drive

    I have reinstalled iTunes after a small calamity, but I had a backup file of all my music on an external hard drive. Question 1. Where does the program find the music as what has come up is not complete? Question 2. How do you get the program to look in a particular drive for the music that is there?
    Cheers

    Where are you trying to put the folder? At the top level of the volume? That top level is only writable by the system (or an authenticated admin, which is why it's asking for your admin password).
    If you are trying to move into a folder, repeat the "Get Info" on the folder into which you are trying to move. You want to see that your current account has "Read & Write" privileges.
    Yes, third-party NTFS drivers can affect the behavior of volumes they control. (One could say that is the whole point of their existence.) They are supposed to be act just like native volumes, but they don't always succeed. I have no specific knowledge of whether Tuxera NTFS drivers would cause the problems you are seeing; I use a different brand..

  • I paid for the annual subscription for lr and ps. when i download the programs it showed me using the trial version which has now expired. how do i get the full program i paid for?

    I paid in full for one year for lr and ps. Both apps show as a trial version and ps is now expired. How do I get the full use of the programs I paid for?

    Moving this discussion to the Adobe Creative Cloud forum.
    Oclan and Cesarguez if you have a valid membership and it is not being authorized then there is likely a connection failure between the computer and our servers.  Please see Sign in, activation, or connection errors | CC, CS6, CS5.5 - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html for information on how to resolve the connection failure.

  • How do I get the Messages program on my Macbook Air to work properly?

    When I use the Messages program on my computer (I have a Macbook Air), it does not receive all of my iMessages... It will get some of them, but not all of them. Is this normal?
    For example, it will receive messages from someone I am already messaging on my laptop. But only if I keep replying on my computer. It seems if I reply on my phone for one message they stop going to my laptop.
    I do NOT get new messages from other people. I have to write to them First on my laptop.
    I also hate how it doesn't update.. It only shows convos that were on the laptop. Not on the phone AND laptop.
    Just wondering if there is anyway to make them work simultaneously! Thank you to anyone who answers!

    Associate your mobile number with your Apple ID, if you haven't already done so.
    Sign out of iMessage on the Mac:
              Messages ▹ Preferences ▹ Accounts ▹ Sign out
    and on the iPhone:
              Settings ▹ Messages ▹ Send & Receive ▹ Apple ID ▹ Sign out
    Then, on the phone, tap
              Use Your Apple ID for iMessage
    Sign back into iMessage on both devices and test.
    Credit for this solution to ASC member SmittyLove and to Glenn Fleishman of tidbits.com.

  • Itunes asked me to do an update- I did- it will no longer load. How can I get the itunes program to work?

    Itunes has onced worked on my computer with previous settings. I was asked by Itunes to make a necessary update, which I did. Now Itunes will not work on my computer.

    atoo2 wrote:
    I just did the IOS8 update on my Ipad retina which had 300  photos it asked me to do an iCloud back up which i did but it deleted all my previous photos and now i only have recent photos how do i get back all my old photos? It said befor that my icloud was out of storage but i didnt know it didnt have my old photos, they arnt back up on itunes either is there any way I can get them back?
    Please see the bold.  If you're out of icloud storage, then you won't be able to backup to icloud unless you purchase more storage, but yet you said you backup to icloud.
    If you really did backup to icloud no data would be loss - sounds to me that it didn't backup since you had no more free icloud storage space.
    iCloud: iCloud storage and backup overview

  • How do i get the call duartion thing showin on ma ...

    this is a really silly question...but i jus forgot wher to find this setting on ma N73ME...
    when u pick up a call...in the white conversation box u can activate the setting for showin the call duration....wher do i find tht setting!??!
    aftr i formatted my phone i jus cant find it!!!
    plz help!!!

    11-Nov-200711:55 AM
    sid1907 wrote:
    ther is no option of tht sort on ma phone
    is i cause of the update i did?!!?
    i got N73 ME
    It is on LOG >> Option >> Setting >> Show Call Duration >> On. Hope you will find it.
    C6-00 with 8GB MicroSD

  • How do I get the install program to install in a different directory?

    I think I know what the problem with FF. It is my computer hard disk. I think there is a bad sector where the program gets installed. Sometimes after the third attempt to get into FF it lets me reset and works. But as soon as I have a problem with FF and close FF it has problems again. The installer normally installs in C: programs (x86). I would like to direct it to just c:\programs directory. Then how will I make sure the new place points the profile in the right way?

    Firefox on Windows is a 32-bit application and thus needs to be installed in "C:\Program Files (x86)"
    Only 64-bit applications belong in "C:\Program Files\"

  • How do I get the setup program for the updated version to run after it has downloaded?

    Whenever I open Firefox and repeatedly while I have it open I am urged to install the new version (4.0.1). I have hit the download button multiple times and each time the .exe file appears to download without problems, but then I don't get a prompt to install it. I have searched my HD for "4.0.1" and "setup" but can't find the setup file. I'm using a 64-bit Toshiba with Windows Vista Home Premium, and I have never had any problems with Firefox or other upgrades in the past.

    Associate your mobile number with your Apple ID, if you haven't already done so.
    Sign out of iMessage on the Mac:
              Messages ▹ Preferences ▹ Accounts ▹ Sign out
    and on the iPhone:
              Settings ▹ Messages ▹ Send & Receive ▹ Apple ID ▹ Sign out
    Then, on the phone, tap
              Use Your Apple ID for iMessage
    Sign back into iMessage on both devices and test.
    Credit for this solution to ASC member SmittyLove and to Glenn Fleishman of tidbits.com.

  • How do i get the idvd program to cary out onestep dvd feature

    one step dvd feture on my idvd program will direct me to take certain actions, then will only repete the directions after i have completed the actions.

    Tracy Rapier wrote:
    I see the controler but not in full screen mode
    ⌥⌘C to show or hide controller, in Full Screen mode or not.

  • How can I get the keyboard program InKey to work with InDesign?

    I use InKey to type special characters, particularly underlined vowels, for another language. This has worked fine in Microsoft Word with most Unicode fonts. However in InDesign, the underlines do not line up under the letter; or, more commonly, they just display as a pink space or box after the letter. Simply using the Underline format on these letters is not sufficient to be able to check their spelling.

    Oh, cool! I never handle any Mayan stuff in my job, but many of my academic cohort have done so. Mostly Tzotzil.
    Anyhow: your sample font was Times New Roman. If you can't see the combining glyphs, then you're using an out-of-date version of the font, or something else is wrong. . Did you maybe start your work on a contemporary version of Word in WIndows, and now you've shifted to using a Mac with an older version of Office? THere are plenty of nulls in TNR (which are usually codepoints not in Unicode, usually a sign of some kind of hacky workaround on the part ofthe font designer). There should be a real combining macron below right about here, in between the crazy upper Latin and the Greek caps :
    So I'd want to know: what font are you using for this? If not TNR, then I'd suggest Gentium. I might even suggest dropping TNR for Gentium. Judging by your screen name, you may well already be aware of SIL. If not - oh hey, they make fonts for people who are in your shoes! Go check 'em out. The fonts are free, and pretty reliable. And Gentium may already have a precomposed with-line-below glyph for your typesetting needs.
    The Kerning dropdown lets you adjust the spacing between letters in a letter-by-letter way. Selecting all of your text and picking "Metrics" is the way to go here - unless you are a designer who thinks that the capital D is way too far away from the lowercase i, and want to tweak the kerning manually. "Optical" is for large font sizes where body-text-style kerning is too spacious. Avoid using it at small font sizes.

  • I paid for the annual subscription for Creative Cloud. but when i download the programs it showed me using the trial version. how do i get the full program i paid for?

    i bought 2 license for CC but i can't download full version for this. it always show like "download trial version". Please advise

    Please check if the 2 license are for CC team or CC individual, if it is for Team then you need to assign seat by sending the invite from the admin console & the user has to accept the invite.
    Unable to license a trial product with Creative Cloud for Team
    If it CC individual then please refer to:
    I'm a Creative Cloud member, why is my app launching as a trial? Mac OS 10.7.4
    creative cloud software says my free trial has expired, but I have a paid subscription
    https://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    Regards
    Rajshree

  • Get the calling system in the remote FM

    Hello,
    how can i get the calling System in a FM, which was called over remote RFC from another System?
    Best regards,
    TomSd

    Hi thomas,
    1. we can refer to the calling system
      using 'BACK'
    2. ie. if we call using
      call function 'abc' destination 'BACK',
      then it will call rfc in the calling system.
    regards,
    amit m.

  • How to get data from the called program using SUBMIT in a background job?

    Hi Experts,
    I've a program which creates a background job using JOB_OPEN and JOB_CLOSE function modules.
    Between the above function modules I need to call a program using SUBMIT VIA JOB statement.
    My problem is, How do I fetch some data in an internal table in the called program to the calling program after the SUBMIT statement?
    I tried to EXPORT and IMPORT the data, but they are giving a failed sy-subrc when using this background job.
    Kindly let me know your inputs and valuable suggestions.

    Kumar,
    When we execute a program as a background job then the output will be sent to Spool which needs to be fetched again.I guess we need to use Submit via spool as mentioned by Rajat.
    Check these threads to get some idea
    submit report to spool & import spool id
    Re: Generate Spool for a report
    K.Kiran.

  • How can i get the source code from java concurrent program in R12

    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    Zulqarnain

    user570667 wrote:
    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • I would like to read a text file in which the decimal numbers are using dots instead of commas. Is there a way of converting this in labVIEW, or how can I get the program to enterpret the figures in the correct way?

    The program doest enterpret my figures from the text file in the correct way since the numbers contain dots instead of commas. Is there a way to fix this in labVIEW, or do I have to change the files before reading them in the program? Thanks beforehend!

    You must go in the labview option menu, you can select 'use the local
    separator' in the front side submenu (LV6i).
    If you use the "From Exponential/Fract/Eng" vi, you are able to select this
    opton (with a boolean) without changing the labview parameters.
    (sorry for my english)
    Lange Jerome
    FRANCE
    "Nina" a ecrit dans le message news:
    [email protected]..
    > I would like to read a text file in which the decimal numbers are
    > using dots instead of commas. Is there a way of converting this in
    > labVIEW, or how can I get the program to enterpret the figures in the
    > correct way?
    >
    > The program doest enterpret my figures from the text file in the
    > correct way since the numbers contain dots instea
    d of commas. Is there
    > a way to fix this in labVIEW, or do I have to change the files before
    > reading them in the program? Thanks beforehend!

Maybe you are looking for