How  to print warning messages in MIGO transcation

Dear Guru's
While iam doing modification in userexit(ZXMBCU02) for MIGO. i have to get the warning message.
if i maintain the message type warrning it is not getting in the pop-up window. if i maintian the same
message type in Error mode.. iam getting that in the pop-up window. so can any one help me.
i tried with this code:
if i_mseg-bwart = '101' or
   i_mseg-bwart = '105'.
  clear: lv_bsart,
         lv_mwskz,
         lv_mwskz1.
  select single  bsart
    from  ekko
    into  lv_bsart
   where  ebeln = i_mseg-ebeln.
  select single  mwskz
    from  ekpo
    into  lv_mwskz1
   where  ebeln = i_mseg-ebeln
     and  ebelp = i_mseg-ebelp.
  if sy-subrc = 0.
    select single mwskz
      from zmm_taxcode_v0
       into lv_mwskz
       where bukrs = i_mseg-bukrs
         and bsart = lv_bsart.
    if sy-subrc = 0.
      if lv_mwskz1 = lv_mwskz  .
        message w000(8i) with 'PO contains' lv_mwskz
          'Tax code, Capture Excise invoice, then do MIGO'.
      endif.
    endif.
  endif.
endif.
Thanks and Regards
Gsana

Hi,
The solution is to call the form naco_log of the standard program sapfm07r :
PERFORM naco_log IN PROGRAM sapfm07r
USING 'W' '8i '000'....

Similar Messages

  • How to add warning message while using 'print' function in Adobe LiveCycle Designer

    I am trying to make pdf document for my company which requires adding a warning message while anyone use 'print' function from the page...
    Does anyone know how to add warning message on LiveCycle Designer
    Also my supervisor mentioned something using 'nag' if that rings any bell

    No you shoudl never go into the XML source unless uinstricted to do so.
    You can open the script editor (under the window menu). It will appear above the drawing area but below the toolbars. You can resize it if there is not enough room. When you click on an object in the form you can choose an event to script against in the Show dropdown. In your case you will want to choose the prePrint event. A line will show up that indicates the object that is associated with the script as well as the event and other information. Add your script below this line. Once that is done you are finished and your form is ready for testing.
    Paul

  • How to print the message in 2 lines?

    How to print the message in 2 lines?
    Here i am having it like this... MESSAGE i000(zm) WITH lv_uname.
    here I want to print lv_uname in 2 lines because it lengthy one.
    Thanks,
    Sridhar.

    No man, itas not comming..I am using the below logic to print my message:
        CONCATENATE text-I01 lv_printdate1 text-I02 INTO lv_printname
    SEPARATED BY space.
        MESSAGE i002(zm) WITH lv_printname.
    its printing in a single line...

  • How to print error messages in browser?

    When I visit a jsp file in browser, there's some errors in the jsp file, so the browser returns
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.
    I want the detail error messages, so I can debug my problem. How to print error message in browser or find the message in some log file?

    Hi Kanaraja,
    Thanks for your answer. I need to get certain information from the list. So, I use LIST_To_ASCII FM. However, may I know the ascii_tab should be type to what? And after this FM, do I have to use another FM to display the ascii list?
    data ABAPLIST type ABAPLIST OCCURS 0.
    SUBMIT  RPCALCU0 VIA SELECTION-SCREEN
    with PNPXABKR = 'US'
    with PNPTIMRA = 'X'
    with PNPPABRP = '10'
    with PNPPABRJ = '2003'
    with PNPPERNR-LOW = '100750'
    with PNPPERNR-LOW = '109202'
    with PNPPERNR-LOW = '100255'
    with PNPABKRS-LOW = 'US'
    with SCHEMA = 'ZUSP'
    with RADI_EDT ='X'
    with EDT_VARI = 'CUS&SAP_US'
    with TST_ON = 'X'
    EXPORTING LIST TO MEMORY and RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject       = ABAPLIST
    EXCEPTIONS
       NOT_FOUND        = 1
       OTHERS           = 2.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        list_index         = -1
      TABLES
        listasci           = asci_tab
        listobject         = ABAPLIST
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
    IF sy-subrc NE '0'.
      WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
    ENDIF.

  • How to show warning message in am

    How to show warning message in am but not Stop , it still can go ahead.
    Thank you very much.

    jamras ,
    If i got you correct you wanna show user a list fo warnings after that have occured in some method in AM, and show them to user collectively, and the processing of the page should not stop in the above. What you need to do for it, is instead of throwing warning message in AM, collect all warnings in a arraylist or vector. when you navigate back to CO, iterate through this arraylist/vector and for each use pagecontext.putDialogmessage(oaexception).In this way you will be able to show all warning messages on page and your processing will not stop!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to print a message in forms in oracle apps

    Hi all
    i am using oracle apps r12
    In when button trigger how to print a message when the button is pressed.
    I tried message('HELLO'); this works in oracle forms but in oracle apps its different and i searched so for and used like this
    fnd_message.set_name( 'FND', 'FND_GENERIC_MESSAGE' ) ; but it doesnt works
    Regards
    Srikkanth

    Hi
    Thanks for your kind response.
    Can you please give me the steps to call a form from another form in oracle apps i am using apps r12.
    I have created a custom form and attached in the special menu and in that form i have two button are there. When the use click the one button another form(custom form) need to called. Can you please provide me the steps.
    Whether it is different from oracle form builder like CALL_FORM('FORM_NAME', ACTIVATE) like this.
    Regards
    Srikkanth

  • Don't know how to repair "Warning" message

    Hi all,
    I opened a file using Adobe Acrobat 8.2, which came on a new Dell laptop I purchased just before the holidays. Just as I started to move the side cursor to advance the page a warning box appeared that said:
    Warning: A serious error has been detected and Adobe Acrobat 8 Standard cannot continue. Please reinstall the application and try again." When I click OK it closes the whole pdf file.
    I can't reinstall anything as I have no disk - the laptop didn't come with anything - all programs were preloaded. What do I do and how can I reinstall Adobe Acrobat?
    I've run all my cleaners, debuggers, defraggers, malware, etc and everything is clear. I really need help as I can't open school documents without this! Help! I truly appreciate it!

    Thank you, Anubha.To tell you the truth, I wasn't thrilled with the prospect of paying around $500 to get the newest version. Something interesting happened this afternoon, though, when I opened my laptop. As soon as it connected to the internet, a request for Adobe update popped up, and I watched in great surprise as it automatically "removed" files and then "re-installed" files.
    Bottom line, everything is working again. I don't know whether there is some feature that detects when a repair is needed, but a repair it did!Thank you again and thank you to the Adobe gods!Art
          From: Anubha Goel <[email protected]>
    To: Art627 <[email protected]>
    Sent: Wednesday, March 25, 2015 10:13 PM
    Subject: You have been mentioned by Anubha Goel in Re: Don't know how to repair "Warning" message in Adobe Community
    |
    You have been mentioned
    by Anubha Goel in Re: Don't know how to repair "Warning" message in Adobe Community - View Anubha Goel's reference to you  Hi Art627, I am sorry but Acrobat 8 is a very old version and Adobe no more provides support for this product.You might find download link for Acrobat 8 pro on Adobe's Other downloads link, but not for Acrobat 8 standard.Please let me know what is your OS version.I would suggest you to install and use the latest version of Acrobat i.e. 11.0.10 which is compatible with your OS as well as offers enhanced features and functions. Choose to download a 30-day free Adobe Acrobat trial version from here:Download Adobe Acrobat free trial | Acrobat XI Professional Now, see how it goes. Regards,Anubha 
    Participate in the conversation by replying to this email
    To stop receiving these messages whenever you are mentioned, go to your preferences and disable notifications for direct social actions. |

  • Need to convert Error message to Warning message in MIGO

    Hi Guys,
                   I need a warning message instead of error message in MIGO.
    For example if a material is having shell life expiry when i am doing GR,if I dont enter the Manufacturing date.Its gives a error meesage.
    The error message is in program MM07MMHD, MESSAGE e018(12).
    In configuration when i press F4 its has only one value 'E'.
    So how to change this to warning (W) instead of 'E'.
    Thanks,
    Prasad.

    Hello,
    Check the message in these T.Code and change category from E to W.
    OPJB for production messages
    OBA5 for CO messages
    OMT4 for material master messages
    OMCQ Batch and quantity related.
    Also you can check SE91 for this.
    Regards,
    Pallavi

  • Warning message in MIGO - Diference on Qty of entry/Qty in delivery note

    Hello,
    I want to set a warning (or even error) message when, in MIGO transaction, the quantity in the delivery note is higher than the quantity in unit of entry set up (both in the quantity screen).
    A message regarding the difference between the quantity in unit of entry and the quantity order is standard and is already set.
    How can I proceed?
    Thank you,
    Gonçalo.

    Hi,
    Thanks for the help, but I still can't manage to set the warning message. In fact I tried to set it on OMRM and in spro-mat management-purchasing-environment data-define messages. The only message I get in MIGO is M7021 (difference between the quantity order and the quantity in unit of entry (quantity details)... but I also want a message to occur in case of a difference in quantity of delivery note and qty in unit of entry.
    I set as much messages as possible, do you know what's the message regarding this warning on table V_160M_
    Thanks again,
    Goncalo.

  • How to display warning message in PL/SQL?

    Hi,
    I would like to know how to display a warning message in PL/SQL?
    Thanks and Regards,
    SC

    PL/SQL is not an interactive programming language, so there is generally no place to print any sort of message, no place to prompt the user for input, etc.
    A SQL*Plus script can use the SQL*Plus client as a very basic way of interacting with users using the PROMPT command to accept input and using DBMS_OUTPUT to print messages to the console (assuming the script does a SET SERVEROUTPUT ON to enable printing the results). Other applications may have similar sorts of scripting possibilities, generally based on a subset of the commands SQL*Plus supports.
    Justin

  • How to Capture warning message in SHDB recording

    Hi SDN,
    I am getting problem in Recording FB03 through SHDB.
    when i am clicking on save as complete button i am getting a warning message as duplicate entry.
    when click on enter button the actuval object got saved bu from recording it is not captured.
    how we can continue with this

    Hi
    Sorry
    i know that
    i don't want to display messages.
    when i am recording a Transaction code.
    i am getting a warning message as check for duplicates.
    when click on enter button that warning message is got disappiared but that enter click is not recorded in FB03 recording.
    when i process that recording it is stopping that transaction code at that warning message in BDC.
    please suggest

  • How to print the messages in page.

    Hi all,
    i have one page, this page having required fields.
    in page i print the message like ** indicates required fields*
    how to reslove that issue.
    plz help me.
    Thanks

    Please let me know if my understaning about your requirement is wrong.
    If you think the result is not what you expected could you please be bit elaborative on your requirement.
    Regards,
    Peddi.

  • How to show warning message in two Lines.

    Hi,
    Can some one please let me know how to show a warning message in two lines. I have created a Message in EBS in two lines but it still displays on the page in a single line.

    use bundled exception.
    ArryList peerExceptions = new ArrayList();
    peerExceptions.add(new OAException(....));
    peerExceptions.add(new OAException(....));
    OAException.raiseBundledOAException(exceptions);
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error message to Warning message in MIGO?

    Hi,
    When we are executing MIGO 411 K transaction we are getting error message 'Enter Vendor Number'. I want to supress change error message to warning message.
    Because my requirement is populate vendor dynamically based on combination of Material, Plant, Storage location and Batch. I got user exit for this User-exit (EXIT_SAPMM07M_001) when click on check button.
    We found a User-exit (EXIT_SAPMM07M_001) triggered when User clicks on 'CHECK' button. But since the vendor field (LIFNR) is a mandatory field in MIGO 411 K transaction, its throwing an error message 'Enter Vendor Number'. So unable to proceed further.
    so i want to change error message into warning message and then i will proceed.
    error message i m getting is " Enter vendor number for special stock k".
    Or is there any other to populate the vendor dynamically based on Material, Plant, Storage location and Batch. please help..
    thanks

    This error is dynamic call so you can't make this one as warning message but why don't you try to add the search criteria based on your requirement to the field of vendor in migo.
    e.g. when you do F4 or drop down you will see the list of vendor you can get from diff way.......so add one more earch criteria for your reqs here.

  • How to convert Warning message Appl.Area V1 mess.No 428 to Error Message

    Hi,
    Can any one please tell me how to make a warning message to error message in Scheduling Agreement, message no is 428 and application area is V1, this message comes when the user exceeds the target Qty in Schedule line.

    If a message is a custom message, then by changing the message type from W
    (warning) to E(Error) we can convert the message type into error message. This is done with the help of development guy. A change in the code is needed.
    If it is a standard message, then it depends on w hether we have teh access to change the message type. If access is there, then it is possible to change the message from Warning to Error. i.e. If we are capturing std SAP message in our code and displaying then we can change it, else if SAP message is displayed directly, we cant change it.
    So, to change it, capture the error message from SAP in some Zcode and then convert that message into a custom message of message type E.
    The whole change needs ABAP support.
    Reward if it helps.

Maybe you are looking for

  • How can I edit an outlook email prior to the form being distributed?

    I have recently upgraded from Acrobat X Pro 9 to version 10.1.3 and am now unable to use the below feature. Before, when distributing a pdf form, I would use the 'desktop email application' option, and when I clicked 'submit' on the form, it would go

  • Report designing problem

    Dear All, I have developed a report in which input is calyr/month (interval) and comparison calye/month. I have to display purchase value , qy etc ... I have done that. But now the requirement is i have to calculate average price(month)  which is  to

  • I need to see whats taking so much space my HDD is full and dont see of what

    my HDD is full and dont see big files at all pls help i want to delete stuff but the stuff that i have does not have big files at all. there must be folder some where that i cant see them

  • No "load" option in Duotones

    Win 7 64, CS5 Cannot access "Load" button in Duotone Options. ( Under Image, Mode. ) No Load option is shown.  All tutorials say to click on Load.  Additional Plug-in folder is checked. under Preferences, Plug-Ins. Presets/Duotones/Pantone(R)Duotones

  • Performance of WLNG

    Request the people working on WLNG to provide with its performance statistics (throughput,scalability,reliabiity) and comparision matrix with other vendors like oracle, telenity and IBM