Can we save the warning message in the message log of Lead.

Hi,
I have an requirement where i have to raise an warning message while "creation of lead from campaign" on campaign UI, I can raise that warning message using below code.
DATA lr_message_service TYPE REF TO cl_bsp_wd_message_service.
lr_message_service = cl_bsp_wd_message_service=>get_instance( ).
lr_message_service->add_message( iv_msg_type = if_genil_message_container=>mt_warning
iv_msg_id = 'ztest'
iv_msg_number = 006
iv_msg_level = '1' ).
but how can i retain this warning message in the lead message log ? "when ever i will open that lead again that warning message should be there"
thanks & regards
raman khurana.

Hi,
Below are the steps to write to the log and then read it,
1. Create a Log useing FM BAL_LOG_CREATE. This will return the log handle.
2. Add messages to log using FM BAL_LOG_MSG_ADD. Importing parameters are log handle and the message.
3. You can read the log by passing the log handle to FM BAL_GLD_SEARCH_MSG. This will return the message handle.
4. Now pass the message handle to FM BAL_LOG_MSG_READ. This inturn return the message id and class. Pass the msg. details to FM BAL_DSP_TXT_MSG_READ to read the message text.
Regards,
Arun Kumar

Similar Messages

  • Can't save an edited PDF to the same folder it originated from

    Can't save an edited PDF to the same folder it originated from. Error "cannot save the document is read-only or is open by someone else" and then it prompts to save the document to another folder or change the name of the document.  This is not what I want to do! Using WIndows 7

    Hi JC_AUS,
    Thank You for posting on the forums. This can happen if the preview of the document is opened in preview pane in Windows Explorer.
    Kindly switch off the preview pane and then try the same.
    Thanks,
    Vikrantt Singh

  • How can i save some image- profiles in the memory (RAM) of a system?

    How can i save some  image- profiles in the memory (RAM) of a system?
    (and then I want to read out the memory and save the profiles in a HDD, but first it has to write in a memory, because the write-speed is better by the memory )

    There must be an underlying premise for this question that I'm missing... When you run code everything is in memory... Programming 101. Create a variable, set a value to it, and it's in memory. Create a front panel control set a value to it and it's in memory. Data carried by the wires you use to connect your code is in memory. Or are you asking about controlling how that memory is managed - physical vs swap file?

  • How can I save a page with all the links for offline reading

    how can I save a page with all the links for offline reading

    Maybe '''Pocket''' is what you want?
    [https://addons.mozilla.org/en-US/firefox/addon/read-it-later/?src=search Pocket (Mozilla Addons)]

  • Can I save treo 650 unlocked gsm sms messages to my snow leopard mac?

    Can I save treo 650 unlocked gsm sms messages to my snow leopard mac?
    - jpg 
    Post relates to: Treo 650 (Unlocked GSM)
    Post relates to: Treo 650 (Unlocked GSM)

    Hard reset the device since there is nothing on it http://kb.palm.com solution id 887 lists the instructions to do so.
    Post relates to: Centro (Sprint)

  • Can't save a report file in the Reports Builder

    dev environment : w2k, Oracle92iDS(rel 2) and patch set 9.0.2.2.0
    Problem description :
    Saving a report corrupts the report file(jsp, rdf) in the reports builder, when a report has the bind variable used in the functions.
    I can execute the report well, if I don't try to save .
    The moment the file is saved and the report can never be reopened and run.
    Please note it works fine when there is no bind variabled used in the function. Here are the steps to reproduce.
    Can someone verify this, if so is there an workaround for this problem on the Reports Builder?
    ===
    set serveroutput on
    create or replace
    package Q_REP_test
    as
    type drec is record
    sdate date
    type dreccursor is ref cursor return drec;
    Procedure Get_sysdate(retdate out dreccursor);
    procedure add_days_tocurdate(no_of_days in number, retdate out dreccursor);
    end q_rep_test;
    show errors
    create or replace
    package body q_rep_Test
    as
    procedure Get_sysdate(retdate out dreccursor)
    is
    begin
    open retdate for
    select sysdate retdate from dual;
    end;
    procedure add_days_tocurdate(no_of_days in number, retdate out dreccursor)
    is
    begin
    open retdate for
    select sysdate+no_of_days retdate from dual;
    end;
    end q_rep_test;
    show errors
    ===
    Invoke the SP as follows:
    ===
    function QR_1RefCurDS return q_rep_test.dreccursor is
    tempc q_rep_test.dreccursor ;
    begin
    q_rep_test.add_days_tocurdate(:p_1,tempc);
    return tempc;
    end;
    ===
    1. Create a report
    2. create an user parameter(p_1)
    3. add a pl/sql as above
    4. run it(to verify the report works)
    5. save it.
    6. close the report
    7. Open it again, you get an as
    "REP-0002: Unable to retrieve a string from the Report Builder Message file". Now it is corrupted and can't be used at all.

    Mac OS X 10.9.2
    MacBook Pro Retina 15" Late 2013 w/ nVidia GT 750M
    Adobe Audition 6.0 Build 732 (64 bit)
    Downloaded WAV file from internet in a ZIP. Unzipped it. Played it in iTunes. Quit iTunes. Right clicked the file and chose Open With and Adobe Audition CC. I'm pretty sure this is the first time I've opened Audition on this computer, since I just recenly upgraded from an older MacBook. Edited the WAV, had the issue. Read the forums, closed and was prompted to save. Saved and then it finished closing. Right clicked on the file again and chose Open With and Adobe Audition CC. Now the file gave me the option to Save or Save As depending on how much further I edited the file, which was just cutting out more of the track. The razor tool, though, still not available. Had to put the cursor where I wanted, then used the Shift and Home buttons to select the beginning part of the track and the Delete key to remove it.

  • Can I save a file based on the Thumbnail only?

    I recently had a HD problem and have lost some files that were not backed up. The thumbnail for the images involved still exist in Lightroom with the "?" in the corner.
    Is there any way I can save the thumbnail out of the lightroom catalog as a JPG or other image file?
    Thanks
    Bruce.

    THANK YOU SEAN!!
    I downloaded LRViewer and have used it to salvage several images so far. Some of them the image is quite small as I didn't view it in Lightroom very large however many of the images that I particularly like I did view in larger format so I am managing to get usable images of several of the pictures I was most upset over having lost.
    You are the Best
    Thanks
    Bruce

  • How can I save a cast member to the hard drive?

    Hi,
    I am using 'canvas' from the Paintbox library.
    I found a line of code on the forum to create a 'new' cast member.
    Now, I'd like to save that new cast member to the hard drive.
    BuddyApi doesn't have an option to do that, and I haven't had any luck with the Xtras lists I've found.
    How can I accomplish this?
    Thanks in advance for your assistance,
    BigDaddy

    To elaborate, this is how you would call the Xtra in your code:
    -- create the instance of the xtra
    objImg = xtra("ImgXtra").new()
    -- get the member's image we want to save
    imgToSave = member("foobar").image
    -- set the path and filename for the bitmap
    strFileName = the moviePath & "foobar.jpg"
    -- call the ix_saveImage method, with required parameters
    success = objImg.ix_saveImage(["image": imgToSave, "filename": strFileName])
    -- returns 1 if successful, 0 if not
    if success then
       -- something here
    else
       -- something else here
    end
    -- clear the xtra object instance
    objImg = VOID
    The other optional parameters such as format and flags can be set, if you like, and the info can be found in the imgXtra.txt document.

  • How can I save a PDF without specifying the directory?

    When I try to save changes I made to a PDF (highlighting and/or commenting), I'm prompted to specify which directory I'd like to save to, and I have to verify that "yes, I want to overwrite the existing file that has the same name". I just want to save the changes I made to the file I made the changes in. Is there a setting I can change to skip all the hassle?
    I'm using Adobe Reader XI and windows 8.1.
    Thank you,
    Ted

    I don't think it is a good idea to put it in /usr/bin at all but if you must, isn't it safer to move it there, as Trilby suggested? And change the permissions appropriately? That doesn't strike me as especially wise but it seems better than symlinking to an executable in your home directory from /usr/bin.
    One way to mitigate security threats is to limit the PATH root uses. So for an ordinary user, you might include /usr/local/bin or ~/bin. But for root, you wouldn't include these. This makes it a little bit harder to run something malicious as root inadvertently. If you start symlinking to executables in your home directory from /usr/bin, you defeat this. For example, I use this PATH for root:
    /usr/bin:/usr/sbin:/bin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl
    So root can't even run stuff under /usr/local on my machine without explicitly giving the path. But if I symlinked from /usr/bin to stuff under ~/, there would be no point in the restriction.
    EDIT: but I just realised sudo can... damn!
    Last edited by cfr (2012-06-24 00:39:59)

  • How can I save VI's with all the subvi's.

    Dear Sir or Madam,
    I wrote a vi that I want to share with another person. I have sent the
    vi to my friend and he told me that he received it, but he need the
    SUBVI'S.
    I have many subvi's in the main vi including some commercial libraries.
    Therefore I want to be sure that the next time all the subvi's will be
    send with the main vi. How can I do this??? This is my question.
    I was playing around the saving options, but I am not comfortable with
    the results.I am using LABVIEW 6i.
    Many, many thanks for your patience and any help( I am a non-expert in
    programming).
    Luis Díaz
    [email protected]

    Select Save with Options>Development Distribution. You'll be prompted for the name of a .llb to save all of the VIs in. You can refer to the on-line help or the LabVIEW User Manual for more information.

  • I capture a video but can't save it .How to halndle the problem via JMF?

    Hi everyone, I'm starting to use JMF and faced the problem
    The problem is to save captured video in .avi or .mov formats.I managed to capture and play it in a player, but can't save it .On the other hand when I used processor to capture and save the video , I've succeeded .But my task is to combine these two actions. Give a hint please.
    All kind of replies will be greatly appreciated.
    Edited by: postvard on Feb 25, 2009 12:03 AM

    >
    You need to get the StreamWriterControl on the DataSink, rather than the Processor.I doesn't seem to work.
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.io.IOException;
    import javax.media.CannotRealizeException;
    import javax.media.Control;
    import javax.media.DataSink;
    import javax.media.Format;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.NoDataSinkException;
    import javax.media.NoProcessorException;
    import javax.media.Processor;
    import javax.media.ProcessorModel;
    import javax.media.format.VideoFormat;
    import javax.media.protocol.DataSource;
    import javax.media.protocol.FileTypeDescriptor;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.media.control.MonitorControl;
    import javax.media.control.StreamWriterControl;
    public class MyProcessor extends JPanel {
         private MediaLocator locator=null;
         private Processor processor=null;
         private DataSource dataSource=null;
         private DataSink filewriter=null;
         private Format[]formats=new Format[1];
         public MyProcessor() throws NoProcessorException, CannotRealizeException, IOException, InterruptedException {
              setLayout(new BorderLayout());
              FileTypeDescriptor outputType = new FileTypeDescriptor(FileTypeDescriptor.MSVIDEO);
                   Format[]format=new Format[1];
                   format[0]=new VideoFormat(VideoFormat.YUV);
              locator=new MediaLocator("vfw://0");
              processor=Manager.createRealizedProcessor(new ProcessorModel(locator,format, new FileTypeDescriptor(FileTypeDescriptor.MSVIDEO)));
              Control controls[] = processor.getControls();
              for(Control c:controls){
              if(c instanceof MonitorControl){
              MonitorControl mc = (MonitorControl) c;
              mc.setEnabled(true);
              if (mc.getControlComponent() != null) {
              add("Center", mc.getControlComponent());
              dataSource= processor.getDataOutput();
              MediaLocator dest = new MediaLocator("file:record1.avi");
              try {
              filewriter = Manager.createDataSink(dataSource, dest);
              Control[] dataSink_controls= (Control[])filewriter.getControls();
         for(Control c1:dataSink_controls){
              if(c1 instanceof StreamWriterControl){
                   StreamWriterControl stream_size=(StreamWriterControl)c1;
                   if(stream_size!=null){
                        stream_size.setStreamSizeLimit(30000);
              filewriter.open();
              } catch (NoDataSinkException e) {
              System.exit(-1);
              } catch (IOException e) {
              System.exit(-1);
              } catch (SecurityException e) {
              System.exit(-1);
              try {
              filewriter.start();
              } catch (IOException e) {
              System.exit(-1);
         processor.start();
         //Thread.currentThread().sleep(20000);
    //     processor.stop();
    //               processor.close();
    //               filewriter.stop();
    //               filewriter.close();
         public static void main(String[] args) {
              try {
                   MyProcessor processor1=new MyProcessor();
                   JFrame frame=new JFrame();
                   frame.setSize(300,300);
                   frame.add(processor1);
                   frame.setVisible(true);
              } catch (NoProcessorException e) {
                   e.printStackTrace();
              } catch (CannotRealizeException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              } catch (InterruptedException e) {
                   e.printStackTrace();

  • How can I save a PDF and retain the high resolution of the images it contains?

    I'm using the trial version of Acrobat XI. The images are 1440dpi but always save at 120dpi. The PDF is for the content of a picture book so I need to be able to save them at a minimum of 300dpi. Any help would be very much appreciated.

    Have just discovered that although the properties for each of the photos states 1440dpi they vary from 696 to 2131 pixels on the height dimension of 10cm!
    Thanks to your help in guiding me to the Preflight profiles, I've now at long last produced a file that does the job! Thank you!!!
    I created my file in Word, saved it as a PDF (3.72MB), replaced the images with the original files (Word had made them tiny), then used the Digital Printing (Color) profile to Analyze & Fix the PDF, thus creating a PDF (98MB) that was suitable to upload. There is no doubt a more succinct and less Heath Robinson method but I wasn't able to find it!

  • How can I save some music locally and the rest to an external drive or NAS?

    I love my MBP w/ 16 GB RAM and SSD drive EXCEPT ... the SSD drive is lacking storage.
    I'm trying to find a way to store select songs/photos/videos locally and the rest on an external drive or better yet a NAS, while still getting the convenient use of iPhoto and iTunes.  Ideally, I would configure certain albums/playlists to stay local while the full library of media is on the external storage and when I plug in my iPhone/iPad the new photos/videos would upload to the external storage.
    Has anyone discovered a way to do this?
    Do I need to consider other programs like Lightroom to pull this off?

    Setting it up the way you have with the library on the internal and just the media on the external makes it a lot more tricky to move things around. If it was all on the external you could do in the time it takes to copy the files plus about 20 seconds.
    You can use the same library file, except in that file are references pointing to the media files on the USB drive.  Are you planning on doing this with the same USB drive that you are using right now>?  It is possible it may work.  If the configuration is that you have SongA on USB drive Fred, as long as the drive remains named Fred then you should be able to move it to a different point of attachment.  If you are planning on using a different USb drive you can try renaming the new USB drive to the exact same name as the existing one and maybe trick iTunes into not noticing the difference.
    This is where having as much detail as possible when posting an issue is helpful so we don't have to consider every possible configuration.

  • Can not save in Photoshop 7.0; error message

    I have been modifying several jpeg images - changing background color mostly. Some of them save successfully, others do not.  There is no apparent difference between the verious jpegs (size, etc).
    On the ones that will not save, I get the following error message:  "Could not complete your request becaause of a program error".
    I have tried various things to fix that I have found by Goolgling - changing the printer, re-loading Photoshop.
    Any other ideas would be welcome.

    Jana,
    Can you tell us what the full specs. are, for your I/O sub-system, i.e. your HDD's (Hard Disk Drives) size, free-space, controller type, and speed?
    A "partition" is the creation of several "logical volumes" on a single "physical HDD." It was required, going back in time, when the OS's, and the programs, of that day, could not address larger HDD's. As a "for instance," PS could only see 4GB of HDD space, for use as Scratch Disks. I cannot recall just when PS could see, and use, larger HDD's, but think that it was as of CS (the next version after PS 7). Also, there was an important update for PS 7, and it think that it was PS 7.0.1. If you have not applied that update, I would do so.
    Good luck,
    Hunt

  • How can I save to web without getting error messages and having my computer tell me there is no memory or freezing up and shutting down? I've read many other suggestions but have tried those things and none have worked. I have photoshop 12.

    Photoshop: Selecting Save for Web gives error: "Could not complete this operation. An unknown operating system error has occurred."
    I have tried all of the solutions I've found, but none work for me or my two systems (windows 7 and windows 8.1)
    Many times I get the message only when saving a web file that there is not enough memory: My windows 8 has 2 TB and 10 Gigs of ram. I took it into the shop to see if something was wrong with the hard drive or ram, but when I hooked up my windows 7, I'm having the exact same issues. Please help.
    I tried this:
    I set ram to 100%, I changed my preferences in editor to not run anything to do with auto analyzer, I renamed the file auto analyzer to put a space in as someone said to do... I even did the following...
    Reset Photoshop's Save For Web preferences:
    1. Quit Photoshop
    2. Delete the "Adobe Save For Web 12.0 Prefs" file:
    Mac: Users/[Username]/Library/Preferences/Adobe Save For Web 12.0 Prefs
    Windows XP: Documents and Settings/[Username]/Application Data/Adobe/Save For Web/12.0/Adobe Save For Web 12.0 Prefs
    Windows 7 and Vista: Users/[Username]/AppData/Roaming/Adobe/Save For Web/12.0/Adobe Save For Web 12.0 Prefs
    Whenever I "save for web" and save something to the root of C:/ it will work, but the next time I "save for web" it produces the error. I was able to fix it by going into User Account Control settings and scaling down to "never notify." It requires a reboot, but the next time I "saved for web" it worked fine.
    If you do this, be sure to change the UAC back to "default" as it is a security measure.
    FYI you will have to restart anytime you tweak UAC.
    To change UAC in Win 7 go to control panel>Action Center>Change User Account Control Settings and drag the slider to "never notify."

    Try this: press F10 or tap the Alt key to display the menu bar temporarily, then
    View > Toolbars > Menu Bar
    If that doesn't work, you could reset your toolbars to factory default using Firefox's Safe Mode. First, make a backup of your computer for safekeeping. To back up Firefox, see [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information].
    Next, start Firefox in Firefox
    [http://support.mozilla.com/kb/Safe+Mode Safe Mode], and check only the box to reset toolbars. Be careful not to "reset" anything else if you didn't back up.
    Hope this helps.

  • How can I save a page offline? the "complete" option in "save as" produces a folder w/ 36 kb files that will not open.

    the "complete" option in "save as" produces a folder w/ 36 kb files that will not open anything - can't I save the page as a single offline file?

    This is not really an answer just my comments on your question.
    I am sure I recollect efforts being made to get mhtml to work with FF.
    Probably the important thing to remember about .mhtml is that if other browsers do support it they may need addons, and may not necessarily render the content correctly/consistently.
    There are FF addons designed for archiving webpages, you could try them, but that then assumes the recipient has the same software.
    You could simply save the page from FF to your XP pc; then offline open it with and save it using IE, before then emailing using FF, and attaching the .mht or mhtml file that you have now created on your PC.
    As an alternative method, in some cases it could be worth considering taking a screen grab of the required page, then sending that to the recipient as a single email attatchment using either a bitmap or jpeg file format for instance.
    Something such as an airline booking may be designed with a print option, possibly it could be worthwile looking at sending the print file itself as an email attachment.

Maybe you are looking for

  • Is this a bug of ISW?

    Hi,all I'm using ISW to synchronize the users from AD to DS, the version of ISW is 04Q3 SP1(my DS version is 5.2p4). And I found this problem: One user, it's password in DS is "pwd1", and it's pwssword in AD is "pwd1" too, so the user was synchronize

  • Identification of wiki required : Urgent help

    Hi, I dont know whethere I am putting my question at right place or not. But I need very urgent elp to solve the proble. My Problem : We have web page in which there will be many widget and one of the widget will be "Wiki widget". After clicking the

  • Add Flagged Photos To Selected Event / Select By Date

    So I am having to bite the bullet and re-import all of my referenced pics to try and consolidate them eventually into my managed library. I start with my first folder, import it, select the 103 photos in the Event with a view of then going to the exi

  • HT1688 2 ios6 contacts with 2 mobile numbers.

    Have personal and business iPhone as does my better half. When we send an iMessage it just says the contact name no matter which mobile number you select so after a few messages you have no clue which you used. Can type the phone number but it will a

  • Quote number text.............URGENT

    Hi experts, I have a scenario IDOC to Third party to Send POs. we have a new requirement to send some additional 'Vendor Quote text' with the PO.     This is being printed on the 'Print PO'. Do you, know from where or which text element     this is c