Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

USER Exit or BADI in ME29n

Former Member
0 Kudos

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.

7 REPLIES 7

Former Member
0 Kudos

hi,

try BADI: ME_PROCESS_PO_CUST

regards,darek

Former Member
0 Kudos

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

Former Member
0 Kudos

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

kesavadas_thekkillath
Active Contributor
0 Kudos

bADI ME_PROCESS_PO_CUST

Former Member
0 Kudos

Hi '

]try this user exits

LMEXF001

M06B0001

M06B0002

Former Member
0 Kudos

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

Former Member
0 Kudos

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