Copy exception message from MS05 to MD05

Hi All,
   I have a requirement wants to copy the exception messages from Transaction MS05 to MD05. This one i can do by direct update of the table which is not preferred. Is there any other way to do this using any bapis or Functions or Badis.
I would always appreciate your suggestion.
Thanks in advance,
Satya
[email protected]

Hi,
     define an exception and short text to it.
then after the select query fire the exception.
see the sample code..
function z73390_fdivide.
""Local interface:
*"  IMPORTING
*"     REFERENCE(NUMBER1) TYPE  I DEFAULT 0
*"     REFERENCE(NUMBER2) TYPE  I DEFAULT 0
*"  EXPORTING
*"     REFERENCE(ANS) TYPE  P
*"  EXCEPTIONS
*"      ZERODIVIDEERROR
  if number2 eq 0.
    message e000(zgem) with 'Divide by Zero' raising zerodivideerror.
  endif.
  ans = number1 / number2.
Regards,
Niyaz
endfunction.

Similar Messages

  • Do you have an option for block all incoming message and request EXCEPTED messages from my contacts?

    Please help!!To whom it may concernDear Madam/Sir who works for Skype & Microsoft  Dear all who can really help,  Do you have an option for block all incoming message and request EXCEPTED messages from my contacts? or Do you have any solution to solve my problem from begin to now in present time?  Even though, I set the Privacy settings: - Allow calls from... "people in my Contact list only"- Automatically received video and share screens with "people in my Contact list only"- Allow IMs from "people in my Contact list only"  I still received unknow users sent me messages in every day, contact requests etc. And they're all clearly spammings and identity thefts.  I only wanna contact with my family and my freinds here with Skype via my Windows device and my mobile phone (w/Android OS).  And this is the only way to contact with them, because they could use Skype only in overseas.  BUT I don't need new friend from other unknow Skype member.   I keep blocked all unknow spammers in every day.  However in this morning, I feel so scared with Skype on my mobile, I looked at my mobile Skype, I saw it automatically showed me the list of all blocked members. BUT they were all unblocked (contact unblocked) by my mobile (Android version) Skype itself automatically, and listed them one by one on the screen, and about 30 seconds later, they all were disappeared suddenly.  I don't know what do to now, is it indicating my account was hacked?And how could I found out all those members again and block them again and delete all of them for ever?  I appreciate if you would improve the privacy protection. Thank you very very very much. 

    Hrm... that may be true and this may be a function of the phone email client that Apple just doesn't do.
    No, I can easily MANUALLY delete the messages. I would prefer if I didn't have to do it twice, tho. Once on the mail server and once on the phone.
    What I think the phone needs to do is, when it checks the POP, anything NOT there should be removed locally. I think you are correct on POP; the phone will poll the mx (mail exchanger) and the mx will pass off the messages to the phone. The phone then keeps ALL of that unitl you manually delete it.
    If, say, I remove a message from the mx, I would like the phone, when next polls, to see that that particular message isn't on the server anymore and remove it locally.
    Perhaps it's just me but if I delete the message on the mx itself, via my ISP's webmail interface, I really don't want to have to remove it again from my phone.
    thxs!
    cheers
    rOot

  • How do I Copy text messages from android to Iphone

    Hi,
    can some one help me how to copy text messages from my Samsung Andriod S3 phone to New Iphone5?    

    You could send it per mail/message/facebook etc.
    There is nothing like a duo-cloud as far as i know.
    Cheers,
    Charly

  • How do I copy SMS messages from phone to memory ca...

    After I change the option of saving the messages from phone memory to memory card on my E90, I don't see any of the messages stored on the previous choice in INBOX. This is ok, I understood this.. But.. How do I copy the messages from phone memory to memory card for example ? Reply pls..

    I think I kind of solved this issue.. Try doing this. Copy all files from memory card to a back-up folder in your PC, after connecting the phone to the PC via 'Data Transfer Mode', by clicking CTRL+A while in Memory Card in Windows Explorer. (Doing this, you will also copy the hidden files, if you haven't clicked the option to view hidden files and folders in Windows Explorer). Afterwards, format the memory card via phone, or simply CTRL+A + Delete from explorer to fully erase the microSD card. In phone, messages, in other settings, choose phone memory to store SMS messages, and then.. tell a friend to send you an SMS message, or simply send one to yourself. After receiving the message, go back to settings->Other, save sms messages to:, choose Memory Card, and the phone should ask you, whether to move or not the original messages. If you choose to move them, and NOT to save the original messages, entire messages from phone should move to the memory card. (If you would have chosen to save the original messages, the mesages that you move, would STILL BE in the phone memory.) If you want to do this again, to move them from memory card back to phone memory, change the memory to save sms messages (and if at first you have chosen NOT to save original messages, the phone should 'ask' you again for the same question.)
    And, btw, if you're probably curious.. (as I was ) where the messages were saved, in memory card, after the first time you copy the messages to memory card, check the memory card via 'Data Transfer' mode on your PC's Windows Explorer. I found them in the 'private' folder somewhere.. There should be a mail and mail2 folder there.. Also, the phone browsers, FExplorer, and Y-Browser won't be able to access the private folder. (For security reasons, bleah )
    Afterwards you can copy all software folders, images, music files, documents, etc. from the backed-up memory card folder you created at the first steps, since we all know E90 is a smart cutie, and will automatically detect all files, software, etc., after you copy-paste them.
    Cheers, hope this helps
    Message Edited by cybercreep on 02-May-2008 12:46 PM

  • Copying archive messages from C3-00 to Nokia Suite

    I can copy/sync messages from my Inbox and Sent from my C3-00 to Nokia Suite, but cannot find out how to copy from the Archive folder in my fone to Nokia Suite. Any ideas, please?

    Hi,
    Welcome to the forum!
    We've verified that you can only copy messages to Nokia Suite are the Inbox and sent items.
    Hope this helps.

  • Copying Text Messages from Phone Memory

    I have managed to backup all my text messages from SIM Card to Computer, but I still have around 55 messages in my Phone (in Phone Memory), I need to backup them as well,
    Could anyone please tell me how can I copy text messages from Phone Memory to SIM?
    The reason I need to copy them onto SIM Card because the Original Phone can’t be connect to PC so I have to copy all Text Messages onto SIM and use another latest phone to connect to PC,
    thanks

    you will probably have to send them to another phone via forward of sms to email, or forward of sms to sms.

  • Error getting application exception message from client EJB 3

    Hi, somebody nkow what is the error?
    I have this simple session bean deploy in a jboss 4.0.5 GA application server
    My interface:
    package server.ejb.usuarios;
    import javax.ejb.Remote;
    @Remote
    public interface Prueba {
         public void getError() throws Exception;
    }My Session bean implementation:
    package server.ejb.usuarios;
    import javax.ejb.Stateless;
    import server.ejb.usuarios.Prueba;
    public @Stateless class PruebaBean implements Prueba {
         public void getError() throws Exception {
              throw new Exception("Mensaje de error");
    }Simple, i can deploy this bean on my application server, now i have this client code:
    package clientold;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import server.ejb.usuarios.Prueba;
    public class MainPruebaError {
          * @param args
         public static void main(String[] args) {
              Context ctx;
              try {
                   ctx = getInitialContext();
                   Prueba pruebaSession = (Prueba) ctx.lookup("PruebaBean/remote");
                   pruebaSession.getError();
              } catch (NamingException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch(Exception e){
                   System.out.println("Get error from server: " + e.getMessage());
                   e.printStackTrace();
         private static Context getInitialContext() throws NamingException {
              Properties prop = new Properties();
              prop.setProperty("java.naming.factory.initial",
                        "org.jnp.interfaces.NamingContextFactory");
              prop.setProperty("java.naming.provider.url", "127.0.0.1:1099");
              prop.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
              return (new InitialContext(prop));
    }and my client catch the exception but i can�t get the correct exception message. I need pass custom message from my server to my clients and wrap it in a exception, but when i run this example got the next output:
    Get error from server: [Ljava.lang.StackTraceElement;
    java.lang.ClassNotFoundException: [Ljava.lang.StackTraceElement;
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
         at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1624)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
         at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
         at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
         at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
         at org.jboss.remoting.Client.invoke(Client.java:525)
         at org.jboss.remoting.Client.invoke(Client.java:488)
         at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
         at $Proxy0.getError(Unknown Source)
         at clientold.MainPruebaError.main(MainPruebaError.java:21)What is the problem??, i must see on the output
    Get error from server: Mensaje de errorbut i have :
    Get error from server: [Ljava.lang.StackTraceElement;why???, is only a simple application exception and don,t work, somebody can help me??
    i have tried to use an interceptor class for get the exceptions and work, but without interceptor, dont work
    thanks

    I can resolve this problem change the JDK version used to develop my clint application and to run the jboss application server.
    Current, in JBoss 4.0.5, the JDK requirement is JDK 5, and i was using JDK 6.

  • How to get only current exception message from tables

    Hi
    In my sceanario , I want to have the list of Current MRP exception messages list from table
    I understand that MRP detailed lists, including all exception messages, are stored in transparent table MDKP and cluster table MDTC.
    I can tell ABAPer to write a report for me , to read the data from these tables , but I guess these tables contain old exception message also , which are not currently appearing in MRP list
    How to get only current exception message
    Rgds,
    sandeep

    Sandeep,
    MDTC contains only data from the most recent MRP run.  So, all messages you see are those which are currently valid.
    The messages might have first appeared during a previous run, but they still need to be addressed.
    Before you invest a lot of time and effort into writing and debugging a custom report, you should probably try to use the standard SAP functionality found in MD06.  On the Processing indicator tab, you can select "Only with new exceptions".  Here you can tag a material/plant as 'processed', and thereafter, the exceptions that existed there before you tagged the part will not be re-displayed.
    Best Regards,
    DB49

  • Manual Copying of Messages from OVI

    Hi,
    I am using OVI suite 3.1.1.90. and NOKIA E6
    I am annoyed by copying each and every message induvidual message from the OVI suite.
    My conversations have grown big and just wanted to know is there any way of copying the whole conversation from a single person to a word/text file? or is there any specific file or file location in windows where ovi saves these conversations?
    TIA
    Ash321

    spook291 wrote:
    I need to be able to extract the text messages -- I am assuming that when say my daughter sends me a text message this is actually and SMS message?
    Well, there are many possible ways to interpret "text message". SMS is one. MMS is another.  And those are the two "standard" text messaging things, which are part of your voice-level services (as opposed to your data level and BB-proprietary level services). This KB lists all of the databases that should be contained within the backup file:
    KB03974 BlackBerry smartphone database list
    spook291 wrote:
    Again, any help for this RIM novice would be greatly appreciated.  I am not a programmer or even a beta tester type .. just a basic hardware geek with some pretty good skillsets on a puter.  
    Make sure that the version of MagicBerry you are using is compatible with the version of the Desktop Software you used to create the backup file you are trying to parse.
    Take a new backup to see if, for some reason, the one you created was damaged
    Try other parsing apps
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to remove copy of message from .Mac server

    To autoremove the copy of a message on the .Mac server, Mail help says "choose Mail > Preferences and click Accounts. Select a .Mac or IMAP account, click Mailbox Behaviors, and change the option for storing messages on the server."
    Unfortunately, that option seems to be missing from both the "Mailbox Behaviors" and "Advanced" tabs.
    I have a separate pop account from another ISP that does have the option under the "Advanced" tab.
    Does anyone know how to do this for the .Mac account?
    Thanks!
    Jim
    iMac 24"   Mac OS X (10.4.9)   Mail version 2.1.1

    A .Mac type account with Mail is really an IMAP account and behaves in the same way.
    There is no option to automatically remove messages from the server for an IMAP account's Inbox mailbox with any email client such as the Mail.app.
    You can access a .Mac account as the following account types with the Mail.app.
    .Mac
    IMAP
    POP
    And as the following account types with another email client on your Mac or on another computer - a Mac or Windows PC.
    IMAP
    POP
    I access my .Mac account as a .Mac type with Mail and as an IMAP account with Outlook Express on my Windows XP notebook at work.
    A benefit of an IMAP account is the ability to keep all server stored mailboxes available and synchronized with an email client on different computers.
    If you want to access your .Mac account as a POP account with Mail will require deleting and recreating the account selecting POP as the account type instead of .Mac or IMAP.
    If you are not storing the account's Sent messages on the server with Mail, before deleting the account you need to transfer all sent messages from the account's Sent mailbox to a user created "On My Mac" location mailbox which is stored locally on the hard drive.
    When deleting an account with Mail, the account named folder at Home > Library > Mail which stores the mailboxes for the account is also deleted along with the mailboxes for the account.
    This will not affect any messages currently stored on the server in the account's Inbox mailbox.

  • Need to copy text messages from a specific person to PC

    I am need to make a copy of text messages from a specific person that I currently have on my phone.  I am wanting to transfer them to my PC and print out copies from there.  How do I do this?  I installed Handsent and tried to retrieve them that way but was unable to.  Also tried SMS backup and restore from the Market.  I am anticipating needing these messages in court. 

    Try an sms backup application that sends to an email address.
    Also the xml file created by sms backup & restore should be readable by excel or Internet Explorer.

  • Copying/Moving messages from Memory card to phone ...

    Hello,
    I had a nokia 5800, when i was changing my phone, i copied all my (important) text messages to the memory card and later i bought a nokia e71x. I inserted the same memory card and then went to my messages>settings>Other> and changed the path from phone memory to the memory card. All my messages appeared in my inbox.
    Now, i want to move all those messages into my phone memory and for some reason i can't do it. I don't wanna access my messages from the memory card cuz its slow. I tried to move all those messages inside the phone and also through PC SUITE but no luck...
    SO BASICALLY I WANT TO MOVE ALL MY TEXT MESSAGES FROM THE MEMORY CARD TO PHONE MEMORY.
    Can anyone please help?
    Thanks in advance.

    First of all if size of your mp3 was a concer then you should have used the Music Manager in PC Suite to convert them to aac as they would be super small in size.
    Next use File Manager to move from the card to the phone. Better to sva eringtones on the phone or you would lose the 'link' everytime you take your card out.
    Two ways to set the ringtone for everyone. First would be to set it in your profile. And the other would be to set it to Groups... and the last one, each contact at a time.
    Ericssson EH 237, Ericsson EH 337, Ericsson GH 388, Siemens S25, Nokia 6210, Nokia 7250, Nokia 6230, Nokia 6280 & O2 Atom , Nokia N95, Nokia 5800 XpressMusic

  • Copying text messages from 5800 to mac

    hi guys
    i've got a 5800 Xpress Music and I want to copy all my text messages from phone to Mac because of a low memory problem.
    but iSync doesn't have an option to let me do this.
    if anyone knows of software that can be used that would be much appreciated!
    cheers

    you can use ovi suite to copy all your txt msg into your mac, you can sync all your message there..

  • Is there any way to copy email messages from an iPhone to a computer (pc or mac)?

    My pc with my mail database was formatted and the mails lost. I have about 1000 mails on my iPhone that I desperately want to transfer back to my desktop.
    My mail was on a POP server and I have no copies anywhere other than on the iphone.
    I am not concerned about future email messages  - my question is about transferring existing messages from the iphone to a computer.
    Any help is much appreciated, in have googled this to death and can't find a solution!!

    This might help..
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Exception message from FM

    Hi all,
    In my Function Module under Exception i defined Exception E01 and raise exception when there is no row found using SY-SUBRC.
    And in my report i want to show error text.
    CALL FUNCTION 'Z_FM_TEST1'
    EXPORTING
    MAT_TYPE = MAT_TYPE
    TABLES
    TAB_MARA = MARATABLE
    EXCEPTIONS
    E01 = 1
    OTHERS = 2
    IF SY-SUBRC = 1.
    MESSAGE e0001(E01).
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    How to do it
    Sachin

    Hi,
         define an exception and short text to it.
    then after the select query fire the exception.
    see the sample code..
    function z73390_fdivide.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(NUMBER1) TYPE  I DEFAULT 0
    *"     REFERENCE(NUMBER2) TYPE  I DEFAULT 0
    *"  EXPORTING
    *"     REFERENCE(ANS) TYPE  P
    *"  EXCEPTIONS
    *"      ZERODIVIDEERROR
      if number2 eq 0.
        message e000(zgem) with 'Divide by Zero' raising zerodivideerror.
      endif.
      ans = number1 / number2.
    Regards,
    Niyaz
    endfunction.

Maybe you are looking for