Skip to Content
avatar image
Former Member

USER Exit or BADI in ME29n

Hi Guys,

While releasing the PO in ME29N, I need to validate some conditions, if conditions are satisfied; I need to stop the release of the PO and display the message.

Could you please suggest any USER Exit or Baid for the same?

Thanks,

Gourisankar.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Feb 18, 2010 at 12:40 PM

    Hi

    try the below way,

    go to SE84-->click enhancement option from the list -->double click on user exit or BADI > give ME in package parameter > execute .

    here u will get all the user exits and BADIs for the ME29n

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 18, 2010 at 10:39 AM

    hi,

    try BADI: ME_PROCESS_PO_CUST

    regards,darek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 18, 2010 at 10:39 AM

    You will get all details in BADI ME_PURCHDOC_POSTED of ME29N details..

    please check

    Edited by: Sachin Bidkar on Feb 18, 2010 11:40 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 18, 2010 at 11:31 AM

    Gauri ,

    below are the user extis for me29n.

    AMPL0001 User subscreen for additional data on AMPL

    LMEDR001 Enhancements to print program

    LMELA002 Adopt batch no. from shipping notification when posting a GR

    LMELA010 Inbound shipping notification: Transfer item data from IDOC

    LMEQR001 User exit for source determination

    LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt

    LWSUS001 Customer-Specific Source Determination in Retail

    M06B0001 Role determination for purchase requisition release

    M06B0002 Changes to comm. structure for purchase requisition release

    M06B0003 Number range and document number

    M06B0004 Number range and document number

    M06B0005 Changes to comm. structure for overall release of requisn.

    M06E0004 Changes to communication structure for release purch. doc.

    M06E0005 Role determination for release of purchasing documents

    ME590001 Grouping of requsitions for PO split in ME59

    MEETA001 Define schedule line type (backlog, immed. req., preview)

    MEFLD004 Determine earliest delivery date f. check w. GR (only PO)

    MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.

    MEQUERY1 Enhancement to Document Overview ME21N/ME51N

    MEVME001 WE default quantity calc. and over/ underdelivery tolerance

    MM06E001 User exits for EDI inbound and outbound purchasing documents

    MM06E003 Number range and document number

    MM06E004 Control import data screens in purchase order

    MM06E005 Customer fields in purchasing document

    MM06E007 Change document for requisitions upon conversion into PO

    MM06E008 Monitoring of contr. target value in case of release orders

    MM06E009 Relevant texts for "Texts exist" indicator

    MM06E010 Field selection for vendor address

    MMAL0001 ALE source list distribution: Outbound processing

    MMAL0002 ALE source list distribution: Inbound processing

    MMAL0003 ALE purcasing info record distribution: Outbound processing

    MMAL0004 ALE purchasing info record distribution: Inbound processing

    MMDA0001 Default delivery addresses

    MMFAB001 User exit for generation of release order

    MRFLB001 Control Items for Contract Release Order

    and below are teh badi for me29n

    ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer

    ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.

    ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer

    ME_PURCHDOC_POSTED Purchasing Document Posted

    these are some of the badi 's which are availabel ,[ if you are looking for other badi go to se80 and put package as ME and then goto ENHANCEMENT u may get your required info ] hope these will be helpful.

    Regards

    Pradeep sarvade

    Edited by: pradeep on Feb 18, 2010 5:07 PM

    Edited by: pradeep on Feb 18, 2010 5:11 PM

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 18, 2010 at 11:58 AM

    bADI ME_PROCESS_PO_CUST

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 18, 2010 at 12:36 PM

    Hi '

    ]try this user exits

    LMEXF001

    M06B0001

    M06B0002

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 18, 2010 at 10:09 PM

    Hi

    Just use BADI ME_PROCESS_PO_CUST, method CHECK

    To stop the release process, here is a code example

      DATA: ls_header      TYPE mepoheader,
     
      INCLUDE mm_messages_mac.                              "useful macros for message handling
    
      ls_header   = im_header->get_data( ).                  "Get header info
    
      IF  ls_header-bukrs =  'xxxxxx'                                     
         mmpur_message_forced 'E' 'ZM' '100' '' '' '' ''.    "Register message type E of displaying later on
         ch_failed = 'X'                                                    "Failed, release will not be done
      endif.
    

    Dinh Q.

    Edited by: Dean Q on Feb 18, 2010 11:09 PM

    Add comment
    10|10000 characters needed characters exceeded