How to get the displayed message when using FM:  ABAP4_CALL_TRANSACTION

Hi, 
I am calling FM ABAP4_CALL_TRANSACTION from MS-Excel.  This FM works perfectly for me except the system messages that SAP returns are not always understandable or intituative.  My question is there another FM or Table that I can use to convert the data from MESS_TAB to a more meaningful message for the users?
Examples listed below:
Normal T-Code Message
FM Message in MESS_TAB
Real Meaning
Fill in all required entry fields
COBL-RMVCT        
Field COBL-RMVCT is a required field
Document 400000000 was posted in 130
4000000000 130
Document 400000000 was posted successfully
Thanks for your Help

Hi Karim,
when you have the parameter to generate the message, you can use the following RFC function module:
BAPI_MESSAGE_GETDETAIL
The module has the following interface:
*"*"Lokale Schnittstelle:
*"  IMPORTING
*"     VALUE(ID) LIKE  BAPIRET2-ID
*"     VALUE(NUMBER) LIKE  BAPIRET2-NUMBER
*"     VALUE(LANGUAGE) LIKE  BAPITGA-LANGU DEFAULT SY-LANGU
*"     VALUE(TEXTFORMAT) LIKE  BAPITGA-TEXTFORMAT
*"     VALUE(LINKPATTERN) LIKE  BAPITGA-LINKMASK OPTIONAL
*"     VALUE(MESSAGE_V1) LIKE  BAPIRET2-MESSAGE_V1 OPTIONAL
*"     VALUE(MESSAGE_V2) LIKE  BAPIRET2-MESSAGE_V2 OPTIONAL
*"     VALUE(MESSAGE_V3) LIKE  BAPIRET2-MESSAGE_V3 OPTIONAL
*"     VALUE(MESSAGE_V4) LIKE  BAPIRET2-MESSAGE_V4 OPTIONAL
*"  EXPORTING
*"     VALUE(MESSAGE) LIKE  BAPIRET2-MESSAGE
*"     VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
*"  TABLES
*"      TEXT STRUCTURE  BAPITGB OPTIONAL
Best regards
Thomas

Similar Messages

  • How to get the log information when using a class?

    Hi All,
    I have a simple question, which I don't know how to solve. I am using org.apache.commons.logging.Log and LogFactory to do some logging. A typical situation is exemplified in the following code snippet.
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    class LogClass {
        private static final Log LOG = LogFactory.getLog(AClass.class);
        public void logit(){
            LOG.debug("This is the debugging log.");
    public class AClass{
        public static void main(String[] args) {
            LogClass l=new LogClass();
            l.logit();
    }But this way, I do not get the log information from the class LogClass. Could anybody please help?
    Many thanks.

    jschell wrote:
    jverd wrote:
    ...configuration in log4j.xml or log4j.properties.And far as I recall you need one of those two also. If there is no config then there is no output.I thought it used some default config if no file is present, but I could be mistaken. Either way, it adds to the possible problems that the OP could be having, any of which are consistent with his rather vague question.
    1) He's passing the wrong class to the LogFactory, and hence getting a logger with the wrong name, so he's seeing a different name than he expects in the output that's being produced.
    2) His config file does not contain the proper format to include the actual classname, independent of the logger's name, so he's missing a piece of desired information in each line of the output that's being produced.
    3) His config file indicates a threshold that's less verbose than the level at which his code is logging, so no output is present when he wants it.
    4) His config file is missing (or not where it's expected to be), so no output is being produced at all.
    5) His config file is missing (or not where it's expected to be), so a default level or format is being produced, effectively the equivalent of one of the misconfigurations described in #2 and #3.
    Since the OP seems to have vanished, we may never know.

  • After closing out, FF will not restart, says it is already running forcing me to reboot. I have removed and re-installed FF and still get the same message when trying to open the internet using FF. How can this be fixed?

    When I close out Firefox, and return later to use the internet, I click on Firefox and it gives me a message stating that Firefox is already running and needs to be closed before restarting or reboot my system. This occurs every time Firefox is closed and attempt to re-start it,,, not only at times,,,, EVERY time.
    I have tried removing Firefox from my system and re-installing to fix this issue however,,, this did not work. After re-installing, I still get the same message when attempting to restart Firefox.
    I have also tried Ctrl, Alt, delete to open the task manager and find there is no task to close.
    I do not have any problems when using IE, I prefer to use Firefox as it is faster and crashes less than IE.
    I am very frustrated at having to reboot my system each time I want to use the internet.
    How can this problem be repaired?

    There are various causes for this error, see [[Firefox is already running but is not responding]] for details.

  • I get the following message when opening itunes: "the registry settings used by the itunes drivers for importing and burning cd's and dvd's are missing" how do I repair? downloading latest virsion of itunes doesn't work

    I get the following message when opening itunes: "the registry settings used by the itunes drivers for importing and burning cd's and dvd's are missing. Downloading the latest version does no fix the problem

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Hi. I get the following message when trying to update or install an application: "impossible to connect to iTunes store". Does anyone know how to fix this? Thanks!

    Hi. I get the following message when trying to update or install an application: "impossible to connect to iTunes store". Does anyone know how to fix this? Thanks!

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

  • IOS updates - I keep getting the following message when I try to update my iPad2 - unable to install update, an error occurred installing IOS 8.1.2.  How can I fix this?

    IOS error messagge - I keep getting the following message when I try to update my iPad2 - unable to install update, an error occurred installing IOS 8.1.2.  How can I fix this?

    Which way are you trying to update? WiFi or iTunes? In either case, I would try restarting/rebooting all devices and then try again.
    IF you are using iTunes, eject your iPad, quit iTunes, reboot your computer and reset your iPad by holding down on the sleep and home buttons until the Apple logo appears on the screen. After the iPad starts up, connect to iTunes and try again. You may also want to disable your firewall and antivirus software when you try to update using iTunes. Sometimes those will interfere with the download.
    If you are using WiFi, reset the iPad as described above and try again.
    If WiFi updating will not work, try using iTunes, if iTunes will not work, try using WiFi.

  • HT1923 When I try to uninstall iTunes I get a message saying iTunes 64 msi can not be located and I should enter an alternate path. How would I know where it it is? I get the same message when trying to install the update to iTunes 10.6.1.

    When I try to uninstall iTunes I get a message saying iTunes 64 msi can not be located and I should enter an alternate path. How would I know where it it is? I get the same message when trying to install the update to iTunes 10.6.1.

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I get the following message when installing 11.0.5 "The feature you are trying to use is on a network resource that is unavailable" for windows install

    I get the following message when installing 11.0.5 "The feature you are trying to use is on a network resource that is unavailable" for windows install

    I just found a way to get Fixit to Run.  Go to http://support.microsoft.com/fixit/ and then pick "Install or upgrade software or hardware" and run Fixit from the "Run" button on the webpage.  I just picked run, instead of save, and ran it directly from the web page for each of the apple software.  If the window doesn't come up full size, hit "Tab" twice and then "Return".  You'll be able to see the prompts from there.  Have it attempt to uninstall iTunes on its own.  Repeat the process for any of the other Apple products, including Bonjour and iCloud.  Then, go to the iTunes website and install from there.  I had a downloaded copy and installed from there, but it came up with an error about missing the apple help, or something like that.  It allowed me to uninstall, and I reinstalled direclty from the website, and it all works now.

  • Why do i get the following message when i attempt to open my backup file for lightroom cc?  "Lightroom cannot use the catalog named "Lightroom Catalog" because it is not writable and cannot be opened".  This message just started coming  up after downloadi

    why do i get the following message when i attempt to open my backup file for lightroom cc?  "Lightroom cannot use the catalog named "Lightroom Catalog" because it is not writable and cannot be opened".  This message just started coming  up after downloading lightroom cc (previously using lightroom 5)...am i backing up properly or not???

    Open Pictures folder and move the files named lrcat-journal and lrcat.lock to Desktop.
    Make sure that , they are not inside Pictures folder any more and try to open backup from Lighrtroom and check..
    Any LRcat file with .lock extension , move it to Desktop.

  • When I try to update Firefox it repeatedly says Firefox must be closed to proceed with install. I even get the same message when I try to uninstall the existing version of firefox. How do I close Firefox???

    When I try to update Firefox it repeatedly says Firefox must be closed to proceed with install even tho Firefox is closed. I get the same message when I try to uninstall the existing version of Firefox. How do I close Firefox??? The same thing happens when I try to update other programs. When a program is off what else do I have to do to turn it off??

    If you get an error message that you do not have sufficient permissions or have other problems with updating to update then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • Why do I get the following message when I open an APP. Connect to ITUNES to use push notifications. What do I need to do to resolve this issue.

    Why do I get the following message when I open an APP. Connect to ITUNES to use push notifications. What do I need to do to resolve this issue.

    I have had the same problem since the iOS 7 update, but with regards to the Find Friends app. uninstalling and reinstalling the app has not fixed the problem

  • I get the following message when I open Photoshop: Photoshop detected graphics hardware that is not officially supported...which asks me to "uncheck the use Graphics Processor...but there is no Graphics Processor to check ?????? What do I need to do? I ha

    I get the following message when I open Photoshop: Photoshop detected graphics hardware that is not officially supported...which asks me to "uncheck the use Graphics Processor...but there is no Graphics Processor to check ?????? What do I need to do? I have ignored this in the past and Photoshop seems to work OK but still I wonder why this opens every time I start Photoshop. Thanks for considering my question.:>)

    As you can see use Graphics Processor is NOT checked. Now what? And a special thanks for answering me about this. :>)
    Diana

  • Help!  How do I download software for a HP Laserjet Professional P1100? I keep getting the same message when I have downloaded the file "Your security preferences allow installation of only apps from the Mac App Store and identified developers" Help!

    How do I download software for a HP Laserjet Professional P1100? I keep getting the same message when I have downloaded the file "Your security preferences allow installation of only apps from the Mac App Store and identified developers" Help!

    You can change the settings in Security & Privacy to "Anywhere"...
    That should work... as to whether the printer driver will work, that's another question.
    Good luck,
    Clinton

  • Firefox will no longer play videos and keeps telling me to download the latest version of Adobe Flashplayer which I have done 5 times but still get the same message when I try to play videos. I can play videos on Internet Explorer and Google Chrome .

    Recently when I try to play a video on Firefox I get the same message that I need to download the latest version of Adobe Flash Player. At least 5 times I have downloaded Adobe Flash Player 11 Active X and Adobe Flash Player Plugin 64 bit. Problem is that even though I have the latest version I still get the same message when I try to watch videos on Firefox. The frustrating thing is I can watch videos on Internet Explorer and Google Chrome as well as on Safari. How does that make sense?
    Today, I upgraded to Firefox 10.0.2 (x86eng-us) hoping that would enable me to watch video on Firefox but it made no difference either. I would rather use Firefox as my default browser but if I can't get help so I can view video on it I will be forced to use another browser.

    Hi arpriltime,
    Have you looked at our [https://support.mozilla.org/en-US/kb/firefox-crashes-or-flash-plugin-crashes Flash plugin troubleshooting section]? There is a lot of useful information in there that should help you get to the bottom of your issue.
    Hopefully this helps!

  • I keep getting the following message when I try to install firefox.."your computer must be restarted to complete a previous install of firefox" I've restarted numerous times..keep getting the same message

    I keep getting the following message when I try to install firefox.."your computer must be restarted to complete a previous install of firefox" I've restarted numerous times..keep getting the same message

    Have a look at the solution to a similar problem: https://support.mozilla.org/en-US/questions/921375?s=%22Your+computer+must+be+restarted+to+complete+a+previous+upgrade+of+Firefox.+Do+you+want+to+reboot+now%3F%22&r=0&e=sph&as=s
    If that doesn't work, you can uninstall FF and do a clean install. You'll prob lose your bookmarks, history, etc, though, so if you do this set up Sync first! https://support.mozilla.org/en-US/kb/what-firefox-sync-and-how-do-i-use-it

Maybe you are looking for

  • IS-OIL Delivery confirmation

    Hello colleagues We have a problem with delivery confirmation(tr. o4h1) It is very interesting situation because we can confirm a delivery but Shipment Status is still 2(without loading). Supply chain consists of planning shipment(tr. o4f1, sh.status

  • Apache-zip.jar name attachment file bad encoding

    I have following code. which create zip archive, but name attachment files bad encoding. name attachment files in encoding UTF-8. letters of Russian alphabet -"имя.txt". get - "¯à¨ï⨥  à鸞.txt" OS - Ubuntu 9.10 64-b package action; import org.apach

  • Start process from Portal

    Hi everyone! I need to implement process start as a link in portal. I've created and tested WSDL in NWDS. I also assigned start event for the process. So it works and starts fine from the WS navigator. Now I need to make it available in portal. I hav

  • Elements 12 Organizer CRASH

    Quando estava no Elements Organizer a importar mídia já com 72% concluido de um total de 13326, bloqueou/fechou e o Windows deu esta mensagem: Origem Elements 12 Organizer Resumo Deixou de funcionar Data ?15-?04-?2014 20:49 Estado Relatório enviado D

  • What is this micro sim card ?

    What is this micro sim card and is this phone not work with regular sim card which available in india.