Skip to Content

How to issue warning message in BADI ME_PROCESS_PO_CUST

Hi Guys,

I have already checked the forum regarding this. There are lots of threads. Unfortunately none of them helped me. I must be missing some thing in my code.

I tried issuing warning message in BADI ME_PROCESS_PO_CUST and method PROCESS_ITEM.

First i tried with normal message statement

MESSAGE w001(00) WITH text-001 text-002.

Didn't worked.

Next tried calling standard macros

  DATA:mmmfd_cust_01 TYPE mmpur_metafield VALUE 90000000.
  call method cl_contextfield_mm=>set_current_field
                                  exporting im_field = mmmfd_cust_01.
  mmpur_metafield mmmfd_cust_01.

mmpur_message_config 'W' 'X' ' '.      "Tried all permutations here
mmpur_message_forced 'W' '00' '001' text-001 text-002 '' ''.

Still no solution

Tried with macro mmpur_message also

Can some one helpme out to solve this issue.

Thanks,

Vinod.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

8 Answers

  • Best Answer
    Jan 10, 2009 at 05:40 AM

    MESSAGE WITH text-001 text-002 type 'W'.?Did you try this way?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 12, 2009 at 05:54 AM

    Hi,

    
     INCLUDE mm_messages_mac. "useful macros for message handling
     mmpur_message_forced 'W' 'ME' '303' text-001 '' '' ''.
    
    

    Regards

    Sandipan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Work! Thank you. in this case:

      i try use MESSAGE 'TEST' TYPE 'E', it can be display in PO check dialog.but MESSAGE 'TEST' TYPE 'W' not work!

      At last

      INCLUDE mm_messages_mac. "useful macros for message handling
      mmpur_message_forced 'W' 'ME' '303' 'testtest' '' '' ''.

      thank you again!

  • avatar image
    Former Member
    Jun 16, 2009 at 08:20 AM

    Hi Vinod,

    Did you find any solution for this issue? as even I am facing the same issue.Request your help.

    Thanks

    SV

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2009 at 04:08 PM

    Hi,

    Any solutions to issue warning message while creating a PO. I am also facing the same issue and searched all over the SDN but cudn't find exact solution for this.

    If any one has found a solution please do post it.

    Thanks & Regards.

    Kumar.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 09, 2010 at 10:22 AM

    Hi,

    Any solutions to issue warning message while creating a PO. I am also facing the same issue and searched all over the SDN but cudn't find exact solution for this.

    I would need to display the warning message at the bottom of ME21N tcode while creating PO.

    If any one has found a solution please do post it.

    Regards,

    Rpn

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 28, 2014 at 08:59 PM

    Use this function POPUP_TO_DISPLAY_TEXT never fail

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 03, 2014 at 08:23 AM

    New OSS note released for this issue 1709562.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 20 at 11:24 PM

    The macro mmpur_message should be work.

    MMPUR_MESSAGE ‘W’ ‘MM’ ‘123’ msgv1 msgv2 msgv3 msgv4.
    Add comment
    10|10000 characters needed characters exceeded