Messages using macro

Hi All,
I am doing some validation based on line items of user exit for PO creation (ME21N) and  PO creation (ME22N) and wanted to show warning messages for each line item .
With macro its working fine messages are getting triggered but displayed message only for the first line items.
my question is how to append the messages in message where it displays all the messages for all line items.
Regards
Sagar

Hi Anurag,
Thanks for your reply n what you understand is correct but I want to know that code to append the message.
now I am putting messages just like
macro name  ' '  ' '  ' '.
here in this way they display the message but not all the messages means only for first line item.
Please do tell me the that standard way of appending message.
Thanks
Sagar

Similar Messages

  • How to return error message using macro or others ways

    Hi !
    I need your help to find a technical solution.
    We have an alv object with 2 parameters (a checkbox and a writable field which is for address mail.) When you push the button B1, the function module SX_INTERNET_ADDRESS_TO_NORMAL is called to verify the email address.
    If I use the classic way to show the exceptions returned by the function module, the user can read the message but when he does an action on the program this dump. (The program has been killed.)
    I am looking for a way to show the error message and the possibility to change the email address. I think that using a popup information would work but I do not find this way very nice. Can I use macro to have the message on the status? In positive case, could you explain me how to use it?
    Thanks!

    check the context in which the message statement is running, [here in sap library - message processing|http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaae335c111d1829f0000e829fbfe/frameset.htm], you will get the answer why!

  • Why we should use Macros if we have function Module

    Why we should use Macros if we have function Module and what is the Advantage of Macros than function Module
    Moderator Message: Interview-type questions are not allowed.
    Edited by: kishan P on Oct 7, 2010 2:22 PM

    Put it this way... if you have blueprints for a car you wouldn't want to produce only one car, would you? You would want to produce as many as needed. In another example, you don't want to be able to use only 1 window in Windows. Each window has common features but have different values. That's the purpose of non-static entities
    However, there are instances that you want to have only one value for something. That's when you use static entities.
    Get it? =)

  • Email Notifications Using Macro's

    Hi Experts
    What is the prerequesite for Sending email notifications using Macros in the APO DP & SNP, as we have the Document Function(Macro Element) in the Macro Builder.
    How to use Document Macro Element?
    Sai

    Hi Sai,
        We have created same macro for client requirement. Just check the following logic Take appropriate logic & apply.
    Logic:
    IF key figure 1 > ( 5% of Key figure 2 + Key figure 2) then system show warring Massage,Alert & send to Users.
    IF key figure 1 > ( 10% of Key figure 2 + Key figure 2) then system show Error Massage,Alert & send to Users.
    Macro:
    New macro
    step1: calculation : ( 1 Iterations : W 25.2008; W 25.2008 )
    Row: New macro aux. row1 ( Frm W 25.2008 ) =
    ( ( ( 5 / 100 ) *
    Row: Additional Field 2 ( Frm W 25.2008 )
    ) +
    Row: Additional Field 2 ( Frm W 25.2008 )
    Row: New macro aux. row2 ( Frm W 25.2008 ) =
    ( ( ( 10 / 100 ) *
    Row: Additional Field 2 ( Frm W 25.2008 )
    ) +
    Row: Additional Field 2 ( Frm W 25.2008 )
    step : send message : ( 1 Iterations : W 25.2008; W 25.2008 )
    IF
    New condition
    Row: Additional Field 1 ( Frm W 25.2008 ) greater than Row: New macro aux. row1 ( Frm W 25.2008 )
    IF
    New condition
    Row: Additional Field 1 ( Frm W 25.2008 ) less than Row: New macro aux. row2 ( Frm W 25.2008 )
    Information ( warning )
    MAIL WITH WARNING
    ELSEIF
    New condition
    Row: Additional Field 1 ( Frm W 25.2008 )
    greater than
    Row: New macro aux. row2 ( Frm W 25.2008 )
    Information ( error )
    MAIL WITH ERROR
    ENDIF
    ENDIF
    Hope this will help you...
    Regards
    Sujay

  • Why can I send email from my iPad, but my iMac which is connected to the same modem keeps telling me that it can't send the message using the same server?

    I have an iPad 2, connecting via Wifi to an Actiontec Q1000 modem.  The iMac (3.06 GHz Intel Core 2 Duo, 4 GB 1067 MHz RAM, running OS 10.8.2) is also hard wired to the same modem.  Internet access is via CenturyLink.  Main email is from Shaw cable in Calgary (Phoenix is a vacation property), not through CenturyLink.
    Can receive email on the iMac, but every time I try to send, I get a pop up saying "Cannot send message using the server .......".  Further prompts me to verify the address in the email, and SMTP settings in Mail preferences, or to select a different outgoing mail server.  I've tried using a number of servers, always the same result.
    Using same settings in both devices.

    Mail is not my forte, but what I noticed was that you have Centurylink and presumably have your Mail set up with their settings? But then you mention Shaw/vacation property/etc - you can send out email only through the server that you have set up as an account using the ISP you are using. If you switch places, do you have separate accounts set up with both Centurylink and Shaw so you can switch and use whichever one you're at? A Phoenix ISP won't work with a Mail POP account unless you're in your home - Phoenix - area.
    Do you have a data plan with your iPad? That would explain why that works - it'll function sort of like a cellphone - works anywhere where there are signals.

  • "cannot send email message using the server icloud" on 10.6.8

    I use mail from my desktop, not from iCloud on the Internet. I have a MacBook Pro with 10.6.8 Snow Leopard. My mail was working fine until yesterday.
    It says "Cannot send message using the server iCloud. connections to the server smtp.me.com on the default ports timed out. Select a different outgoing mail server from the list below.
    The list has:
       ICloud offline
       and Icloud
    Neither of them work.
    What has Apple changed regarding this in September?
    (I know others have posted similar message, but they were on 10.7)

    Same problem here.
    Recently an @icloud.com version (alias) of my existing @me.com email address appeared on my account. I can still send messages form the OSX build in Mail client as long as I am using the @me.com version of my email, but I do get this message when I try to use the new @icloud.com account.
    My account with iCloud states that both @me.com and @icloud.com versions of my email are active.
    Would be nice to know if this is a temporary problem of if this is a permanent one.
    The settings on the outgoing mail server are default as retrieved from apple when I configured the @me.com email for the first time. I went through the troubleshooting suggestions as provided on Apple website, double checking all the settings, no joy. At the very list I can still use the old @me.com alias with no problem (for now)
    MacBook Pro / Mountain Lion 10.8.2

  • "Cannot send message using the server....."

    Hi all,
    Considering the nature of the problem I am about to relate I would have to say at the outset that I would be very very surprised if other people have not come across this problem, so here goes...
    We have around 60 users of Apple Mail from both 10.4 and 10.5, so varying degrees of versions of Apple Mail however most if not all are updated to 10.4.11 and 10.5.2.
    We have been plagued with people being frustrated about emails bouncing back with an immediate error which is basically the following...
    "Cannot send message using the server smtp.xxx.com:user
    Sending the message content to the server failed.
    Select a different outgoing mail server from the list below etc etc"
    I am sure a lot of you have seen this error.
    However, it is totally random but I am at the end of my tether with it. It generally revolves around emails with attachments and can be totally random. I was trying to send a screenshot today, very small screenshot, using the Apple-Shift-4 technique, sent the .png file, then saved it out as a .jpg, nothing. Tiny file, around 5k. Got the error above, took it out, sent no problem. Other similar files on the desktop refused to send but a .pdf did. I then thought it might be our server, so sent teh same attachments using my .mac account. Same result and failed to send. Reports from other users in our group show that they too get random results, maybe moving the attachment in the email makes it go, sometimes putting it before your signature, sometimes putting your signature copied and pasted in so many times makes it work, all sorts of methods but all resulting in the same conclusion, Apple Mail can be very unreliable.
    We have even migrated some users to Entourage and the problem disappears. Even to Thunderbird, but those users miss the search capability as it is quicker and more reliable. So they want to go back.
    Considering I have been struggling with this issue back in the day when we were on the Apple Mail related version in 10.4 I was hoping that the version released in 10.5 would remedy the problems. Sometimes I feel it has just got worse.
    Is anyone else experiencing this sort of difficulty in Apple Mail, I really feel isolated and at a loss with how to remedy this for so many users.
    If anyone can share their experiences and how they have got around similar issues in Mail I am all ears and open to any suggestions.
    Thanks everyone for taking the time to read through this. There is more but the experiences are so random it is not worth trying to put it all down.
    Thanks again.
    Gerry McCoy

    I went in to Connection Doctor and. oddly enough, for this Mac account it said I was on Port 25. Si I changed it to Port 587 and saved the changes.
    Still, I have the same problem with the same error messages.
    I go back to the mail preferences > Accounts > Advanced and it shows Port 143 still there grayed out.
    What about SSL - it's not checked.
    Odd that this problem only seems to be from one .mac account emailing to another .mac account. Could the server be down?

  • Cannot send message using the server (null)

    i use mail 2.1.
    i have a .mac account and have three other email accounts attached to my mail account.
    lately, i cannot send any email.
    the switchiing ports fix hasn't helped either.
    this is the error message:
    CANNOT SEND MESSAGE USING THE SERVER (null)
    The server response was: 5.1.0 <email [email protected]>...
    From address does not match authentication.
    Use the pop-up menu below to try a different outgoing mail server. All messages will use this server until you quit Mail or change your network settings.
    Message from: email <[email protected]>
    Send message using: [there is a combo box here with all the four accounts servers listed]
    no matter which one i pick it doesn't work and no email is sent.
    anyone have this error before? or now how to fix it?
    i'd be appreciative.
    thanks
    1.67 GHz Power PC PowerBook G4   Mac OS X (10.4.6)   Sony HDR HC3 HD HandyCam MiniDV

    I was having a similar problem (don't feel like typing all the details)
    I was about to to delete my com.apple.mail.plist, when finally it hit me.
    I ran ethereal (again, I'm sorry, but learning how to use ethereal is a topic unto itself). Following the TCP stream (ie. looking at the smtp messages being sent back and forth) I came across two problems. For some reason my port number was set to 567 or something like that, when it's supposed to be 25, as I had originally set it to.
    Once I corrected the port number I started receiving an error message from the smtp server. It said the return email address could not be authenticated. (using xyz.com as an example) The correct return email address was supposed to be [email protected], but for some reason it was changed to john@xyz in the account settings.
    Anyway, to get to the point, another thing to check is that your return address has been set correctly, and if all else fails, make sure you have X11 installed and use fink to install and run ethereal. This will let you know if you are actually connecting to the server, and will show you any error messages.
    PS. I think this problem started occurring with the last update made to mail. I believe it somehow corrupted my settings. This would explain how my port number could have been changed to the default port number of .mac mail.

  • OSX Mail - Cannot send message using the server ....

    Hi there,
    Mac Pro with OSX 10.6.
    *Can receive mail, but can no longer send email* using the program Mail.
    Been getting the popup "Cannot send message using the server [shawmail.vc.shawcable.net] for the past 3 days. I hadn't changed anything about my computer, and have had the Mac for 2+ years. So this just started doing it on it's own.
    I had a technical support guy from my service provider even interface with my computer, where he could see my desktop right over the internet, and he couldn't get it fixed either.
    I googled this problem, and found solutions like:
    1. Uncheck "Use SSL" (Done that, and it was never checked "on" to begin with)
    2. Make sure Authentication is set to none, with no password (done that, and it wasn't set with a password to begin with)
    3. Delete [user]/Library/Preferences/com.apple.mail.plist (done that, didn't do anything)
    4. We even totally deleted my account, and started a new fresh one. Didn't work
    The tech support guy did show me a way to email online, using the same email account. That worked, but it's a hassle to go onto a web-based email program -- it's not my preference. So, with great certainty, it's not my service provider, because I was able to send emails on this web-based email program using my email account.
    So there, I'm stumped.
    Hopefully someone can help. What's bizarre is that googling this problem, I have found many other people that say it happens arbitrarily, out of nowhere.

    I can't believe how ridiculous this issue is. i have been searching for days for a solution to this. i have tried EVERY recommendation on these forums and nothing works. It appears that this issue dates back to TIGER. I had this problem back in January and just bagged figuring it had something to do with iweb. I bought a new html program and was able to send out my newsletter last month no problem. Suddenly, one month later- here i am again, unable to send out my newsletter with no help from Apple or verizon, or these forims, or anyone else. To think that a company that I have stood behind and loved so much can't be be bothered fixing such a simple issue that has been going on now through  5 OS's (I am using Lion but I had the issue using leopard as well)  is a disgrace.

  • Message uses a character set that is not supported by the internet service

    Does any one have any advice on how to fix this problem?
    E-mails sent from my iphone 3G periodically arrive in an unreadable form at the recipient. The body of the e-mail has been replaced with the message "This message uses a character set that is not supported by the internet service...." The problem e-mails also include an attachment that contains an unformatted text file containing the original message surrounded by what appears to be lots of formatting data that is displayed as gibberish.
    This occurs sometimes, but not always, even with the same recipients. I am sending e-mail through a G-mail account that is configured on the iphone using IMAP. I have tried the gmail account to use the two available formatting options for mail, but neither fixes the problem.
    I have also upgraded to 2.01 and restored a few times without impact.

    Hi,
    I got somewhat similar problem with special charecters(German umlaud �,�,�..).
    I create a file with java having special charecters in it. Now if I open this file I am able to view the special charecters in it.But If I attach this file send it using following code then receiver can not see the umlaud charecters in it.They get replaced by _ or ?
    MimeBodyPart mbp2 = new MimeBodyPart();
    FileDataSource fds = new FileDataSource(fileName);
    mbp2.setDataHandler(new DataHandler(fds));
    mbp2.setFileName(output.getName());
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp2);
    msg.setContent(mp);
    Transport.send(msg);
    From you message it looks like you are able to send the mail attachment correctly(by preserving special charecters).
    Can you tell me what might be wrong in my code.
    I appriciate your efforts in advance.
    Prasad

  • HT1296 When I send a message on MESSAGES using my iPad2, they do not show up on my iPhone or my MacBook Mountain Lion messages. Did I miss a setting on any of the devices as I thought iCloud took care of syncing all of my devices

    When I send a message on MESSAGES using my iPad2, they do not show up on my iPhone or my MacBook Mountain Lion messages. Did I miss a setting on any of the devices as I thought iCloud took care of syncing all of my devices

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    http://www.macobserver.com/tmo/article/messages_why_your_chats_dont_show_across_ cross-device/

  • E63 - how to reply to a message using 1 click inst...

    Dear all,
    I would be interested to know how one replies to a text message using 1 click instead of 3, via Nokia E63. The reply sequence that I currently have to follow is
    1) click Options
    2) select Reply
    3) then select Via text message
    Is there a direct means to get to the reply window with one click instead of three clicks?
    I hope there is one because it takes time and becomes inconvenient to wait.
    Thank you for assistance in this regard.
    Regards,
    S Ahmad
    Solved!
    Go to Solution.

    Hi sahmad7
    I tried replying a message in one step but didn't succeed.
    The least steps number I was able to do is 2
    Before entering the message press Options then reply, and the phone will open SMS writing screen directly.
    Other than that, try to get a program that is able to do that.
    I hope that helps you, and please let me know
    Phones I bought from 1st till now:
    3210 / 3310 / 3410 / 6310 / 6600 / 6020 / N72 / E51 / X2-00 / 5310 xpress Music / E90 Communicator
    If you like my post or it helped you, Give me Kodo

  • I am trying to use macro express and adobe acrobat 9 profession keeps shutting down, why is this happening?  I tried to run as administrator already as well on both Macro Express and in Adobe and it still keeps shutting down.

    I am trying to use macro express and adobe acrobat 9 profession keeps shutting down, why is this happening?  I tried to run as administrator already as well on both Macro Express and in Adobe and it still keeps shutting down.

    same problem, it's been happening to me for a week or two now i'm thinking about backing up my documents and just wiping it completely, see if that works. Has anyone else tried this? I'm loosing time and have already lost a good few hours of work as it just crashes randomly. need help!!!
    - saving these threads on my favourites cause i'm about to crash . . .

  • I have an iMac, and have a Verizon DSL account. Recently, my Mac Mail keeps requesting the passwords on my account every few minutes, and will not allow me to send messages using Mac Mail. I cannot edit the outgoing server; how can I send emails?

    I have an iMac, and have a Verizon DSL account (3 email addresses). Recently, my Mac Mail keeps requesting the passwords on my accounts every few minutes, and will not allow me to send messages using Mac Mail (the message says that the outgoing server was rejected. I cannot edit the outgoing server, and the keychain will not save my passwords (the ports are valid). How can I change the outgoing server to send emails, and how can I avoid having Mail request my passwords every 2 minutes? Verizon, as usual, will not provide support to iMacs.

    Is there an email saved in your drafts or outbox folder?  I suspect that Mail is continually trying to send it, and each time Google is rejecting the email message.
    You can open the message and then delete it from your Outbox folder.  Then try removing all @gmail email addresses from it and seeing whether you can send to the other folks.  I suspect that will work.
    With email, if an SMTP server *can* verify email addresses, sometimes it will and it will refuse to send messages.  If a message has to be relayed across servers, no verification is done, and you'll get a bounce if an email address is bad.

  • How do I get my iPad to receive messages using my iPhone number? I could do it before the update.

    I have recently updated my iPad mini and iPhone 4S to 7.0.4.  Since then I have not been receiving or seeing messages I have received or sent. If I was to dend a message using my phone then I could see it on my iPad as an example. But I cannot now. Any ways to rectify this? 

    You are probably going to have to sign out of/turn off Messages on the phone and the iPad and then start all over again and enable messages on the phone first so that the number is accessible again to use on the iPad in Settings>Messages>Send and Receive at>You can be reached by iMessages at. You need to be able to select your phone number in there.
    This kb article explains it in detail.
    http://support.apple.com/kb/HT5538

Maybe you are looking for

  • T440P [20AN] - Lync 2013 Crashing When Sharing Desktop - Intel Driver

    Hello, After updating to the latest video drivers from the ThinkVantage Update Retriever, our Lync clients crash when sharing desktop on our T440P series and X240 series.  I noticed when I uninstall the video driver I am able to screen share without

  • FRM-12545

    Hello, I am trying to create a new Database in the OEM and I come accross FRM-12545 error. What can I do about this ? PT

  • Uknown file format when trying to open Sample

    Hi, I am using Flash 8 and I tried to open one of the sample files (animation.fla) that comes with the Sample.zip archive in http://www.adobe.com/support/documentation/en/flash/samples/ and I get the following error: "Undefined file format" I can't o

  • Importing registered serves fails in MSSM 2012

    I exported servers two days ago, and did a clean install of Win7, now when I try to import that sqlservers.regsrvr I face this error: =================================== Key not valid for use in specified state.  (System.Security) Program Location:  

  • Safari on in the background

    I've noticed that Safari is repeatedly running in the background and doesn't allow us to logout from the account or shutdown without force quitting it, and when you do, you have to be the Administrator. What's the reason for this? We use Firefox for